Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Maximus Arcade VS Batch Files  (Read 12898 times)

0 Members and 1 Guest are viewing this topic.

Jefferson

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 169
  • Last login:January 14, 2024, 08:50:59 pm
Maximus Arcade VS Batch Files
« on: February 15, 2010, 08:40:44 pm »
I've read loads of related issues on the forums but they're either not exactly the same problem, or they've given up (or resolved the problem and not posted the solution)

PCs and command lines are new to me, and I spent hours getting a batch file to even launch an .exe (mostly super mario war and mugen)... I discovered that the .bat had to be in the same folder as the exe. I was then able to right-click and make a shortcut of these .bat's, which I put into a 'batch files' folder on the desktop (they work here too) that I point MA to. They work in windows but not Maximus. I renamed them to .lnk's. They too work in windows, but not Maximus. Just a black screen in both cases.

Here's that code:
@ECHO OFF
"C:\Documents and Settings\Jeff\Desktop\BATCH GAMES\smw\SuperMarioWar.exe"
exit

Now, I had heard that I should use doublequotes (") when my filepath has spaces in it.
I had heard that I ought to use ~1, when any step in the filepath has lots of characters, but that never worked.
I had heard that I ought to use the command START before the whole path, but that never worked.

Please help! Is it just super specific? Is there some setting I'm overlooking in MA? I hope I've been specific enough in my list of symptoms^...

Kman-Sweden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:October 23, 2015, 07:29:00 am
  • Up the Irons!
Re: Maximus Arcade VS Batch Files
« Reply #1 on: February 16, 2010, 12:54:05 am »
First I used the shortcuts created when installing the games as batchfiles. (.lnk files)
They worked nicely until i installed a game called Perfect Cherry Blossom. After that nothing worked any more.
So I deleted all the batchfiles I had (.lnk files) from my bachfiles folder and created "real" batch files using this as a template.
Code: [Select]
:: Mad Dog McGee
::
@ECHO OFF
"C:\Program Files\Arcade\PC\MadDog\MDM.exe"
exit

My batch files folder is at "C:\Program Files\Arcade\PC\Batch files".
Make shure you rescan your batchfiles folder before creating new ones, and again after creating new ones. That way your sure your trying to start games using the new ones. Also, there's a tool in MA to help you create batch files.. I haven't tried it... Have you?
Good luck.

-Edit-
DeLuSioNaL prompted for this type of batch file...
Code: [Select]
:: The Embodiment of Scarlet Devil
::
@ECHO OFF
C:
CD "\Touhou\The Embodiment of Scarlet Devil\"
th06e.exe
Good luck again..
« Last Edit: February 16, 2010, 12:57:45 am by Kman-Sweden »

Jefferson

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 169
  • Last login:January 14, 2024, 08:50:59 pm
Re: Maximus Arcade VS Batch Files
« Reply #2 on: February 16, 2010, 03:03:53 am »
Hey Kman.. thanks for the leads... unfortunately, I can get them running from the same folder from the .exe, and from my 'batch files' folder in Windows, but not from MA when I point it to that same folder (this goes for both yours and delusionals codes)... I heard that MA creates shortcuts but I havent used it... all I see are pre-launch, post-launch and active-launch in the configuration menu. Doesnt seem like any of those... Im running MA 2.10 which seemed to fix some of this stuff for some people, but not me...

I'd just pile all my mugen and smw filetrees in one folder to point to MA, but then the level editors and debug .exes all show up in my frontend. lame!

any advice out there? I may have a priest look at my comp soon.

Kman-Sweden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:October 23, 2015, 07:29:00 am
  • Up the Irons!
Re: Maximus Arcade VS Batch Files
« Reply #3 on: February 16, 2010, 06:11:37 am »
I think you're looking under the wrong tab in MA... look further to the right.. I'll try and look it up for you...
Did you rescan your batch folder?

Kman-Sweden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:October 23, 2015, 07:29:00 am
  • Up the Irons!

Necro

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1031
  • Last login:November 29, 2022, 08:22:22 pm
  • Building a 'Classic' MAME Cab
Re: Maximus Arcade VS Batch Files
« Reply #5 on: February 16, 2010, 08:54:18 pm »
What, exactly, happens when the two programs are opened?  Or is it the exiting that causes it to go crazy?

Jefferson

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 169
  • Last login:January 14, 2024, 08:50:59 pm
Re: Maximus Arcade VS Batch Files
« Reply #6 on: February 16, 2010, 11:45:43 pm »
Thanks so much Kman, dunno how I overlooked that. Super Mario War runs perfect, fullscreen from startup.
A weird wrinkle popped up though: All my MUGEN games get the same error after the startup logos:

"Error message: Cannot find character: chars/C:\Documents"

anyone ever tackle that? The original exes dont have this problem so I assume its something in MA.

In the MA batch file commandline I'm starting from C:, without quotes:
C:\Documents and Settings\Jeff\Desktop\MUGEN\Super Marvel vs. Capcom v.4.6\SMvC EoH.exe

Ill play around for a bit.

Jefferson

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 169
  • Last login:January 14, 2024, 08:50:59 pm
Re: Maximus Arcade VS Batch Files
« Reply #7 on: February 17, 2010, 12:02:46 am »
updates!

i tried using quotes in the commandline of the MA batch file creator. No dice.

I tried making a batch file off of a 'homemade' batchfile that resides in the same folder of the mugen .exe. DICE!

that homemade batch file's code is:
@ECHO OFF
"C:\Documents and Settings\Jeff\Desktop\MUGEN\Super Marvel vs. Capcom v.4.6\SMvC EoH.exe"
exit

applying this formula to the others! How do I get it to auto-fullscreen like supermariowar? as is I have to press alt-enter.

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:June 08, 2025, 06:02:40 pm
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: Maximus Arcade VS Batch Files
« Reply #8 on: July 14, 2010, 01:10:14 pm »
If I remember correctly, to make Mugen fullscreen it's an actual option in the ini file for mugen.  Can't recall exactly.  I'll see if I can dig mine out and post it here when I get a chance.

D
Stop by my Youtube channel and leave a comment:

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: Maximus Arcade VS Batch Files
« Reply #9 on: July 22, 2010, 04:27:47 pm »
Did you recreate those batch files through the official release of Max 2.10?  I haven't had that issue. The only game I have that issue with is Mugen.

Try this, when in the batch config screen under the exit tab click "close all additional processes started during launch" and see if that does anything

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:June 08, 2025, 06:02:40 pm
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: Maximus Arcade VS Batch Files
« Reply #10 on: July 22, 2010, 05:34:17 pm »
Also, make sure you create the batch files from within the frontend version of the preferences.  By hitting Ctrl+P from within the Frontend menus.  DO NOT create it by double-clicking on the preferences.exe.  There are known bugs when doing it that way as noted here:  http://forum.arcadecontrols.com/index.php?topic=104358.0

D
« Last Edit: July 22, 2010, 05:47:31 pm by DeLuSioNal29 »
Stop by my Youtube channel and leave a comment:

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:June 08, 2025, 06:02:40 pm
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: Maximus Arcade VS Batch Files
« Reply #11 on: August 07, 2010, 12:49:52 am »
If I remember correctly, to make Mugen fullscreen it's an actual option in the ini file for mugen.  Can't recall exactly.  I'll see if I can dig mine out and post it here when I get a chance.
Sorry it took so long.  :)  You need to make sure you edit the mugen.cfg file located in the data folder in the Mugen directory.  Make sure the line that says Stretch under the video option is set to:  Stretch = 1

Code: [Select]
[Video Win]
 ;Enter the width and height of the resolution you want to set here.
 ;The optimal resolution is 320x240, but if your video card has problems
 ;You may want to try 640x480.
Width  = 640
Height = 480

 ;This is the color depth at which to run MUGEN. You should set it to
 ;16 bit color unless your video card has problems with it.
 ;16-fastest, 24,32-slower, 8-slowest/worst
Depth = 16

 ;Set this parameter to 0 to disable screen stretching, and set it to 1 if
 ;you want to scale it up to fit the current resolution.
Stretch = 1

 ;Set this parameter to use a resolution-doubling filter. You will
 ;need a fast machine to use these filters. You will need to increase
 ;the screen resolution to at least 640x480 for these modes.
 ;0 - off
 ;1 - diagonal edge detection
 ;2 - bilinear filtering
 ;3 - horizontal scanlines
DoubleRes = 2

 ;DirectX mode
 ;Choose from Hardware, Software, Windowed, Overlay, Safe and None
 ;Hardware and Software run in full-screen. Windowed and Overlay
 ;run in a window. The windowed modes require you to set Depth to
 ;whatever color depth you are using for you desktop. The best results
 ;are when you run in 16-bit color. There is no advantage to running
 ;in 32-bit color. If Hardware, Software and Windowed fail, try Safe.
 ;None uses GDI to draw, so it's very slow. Use None only if
 ;you cannot get anything else to work.
 ;Overlay is not supported by all video cards, but can be faster than
 ;Windowed if it works.
DXmode = hardware

 ;Set to 1 to enable vertical retrace synchronization. Do not enable
 ;if BlitMode = PageFlip.
VRetrace = 0

 ;Drawing mode
 ;Choose from Normal and PageFlip
BlitMode = PageFlip

Also, for the batch files, I found a new way of doing it (no more ugly black batch file box to see when it starts).  In Windows, create a shortcut for the actual mugen.exe file by right clicking on it and dragging it to your batch files folder in MA - then select "create shortcut here" from the context menu".  Rename the shortcut to what ever you want to be displayed in MA.  Rescan the batch files folder.  Bam! it will appear in the list and work perfectly.

Hope this all helped.

D
Stop by my Youtube channel and leave a comment: