Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: rhd on February 28, 2003, 02:11:06 pm
-
Does the Windows version of ZSNES (zsnesw.exe) support running games from the command line? I'm trying to hook it up to MameWah and run it in a cabinet so I want to specify the game from the command line and then exit with the escape key. I tried using the command line by starting a DOS-box, but when I add any command parameters the program doesn't run.
Thanks,
Rob
-
it works, but you have to use short filenames in the old 8.3 file format....
Remember zsnes is a uber old program and started in dos.
-
I have ZSNES working with MAMEWAH...
Try sending the ROM path as well as filename and also make sure you put the correct file extension on the end. And as Howard says, you must use short filenames. MAMEWAH should do this by default anyway - give it a go ;)
-
Once you've set up zsnesw how you want it in the gui, you
can turn it off.
Add this to the config "GUIDisable = 1" and from now on the escape key will quit.
-
That's odd, it works OK for me from the command line. I'm using version 1.337 on an XP Pro machine. Did you try adding quotes around the filename? (BTW, this is with long filenames).
Once you've set up zsnesw how you want it in the gui, you
can turn it off.
Great news! I don't know if anyone here remembers my saga trying to get the zsnes to do something like this. I think Howard will. :)
-
I'll be darned...I hooked it up to MameWah and it just worked. I also took a binary editor to the cgf file and got exit on escape-key working.
Its coming up in grayscale instead of color, but I'll fool around with it a bit more and get that working.
Thanks for the help,
Rob
-
sweet! that's the option i've been waiting for... now maybe I'll run zsnes on my machine again.
-
Hmmm thats wierd, I remember with the DOS version of ZSNES in the cfg file there was that option not to use the GUI but in the Windows version that option was not in the cfg file (or was it an ini file...). Anyways, I didn't know you could just add that yourself and expect it to work... :)
-
K, I started a new topic, but haven't had any responses yet. It can't be just me:
zsnesw causes illegal operations in Win98 SE when launched from Game Launcher. Runs fine when in debug mode, and when launched from command prompt. Must be a conflict when gl32 puts itself in the background and launches zsnesw at the same time. Anyone else with this problemo?
Thanks,
Odonadon
-
just for kicks start it within gl through my wrapper......
as gamelauncher only has to launch the wrapper and my wrapper is the thing that actually launches the game, it should help.....
I know of many people using zsnesw with gl and my wrappers in 98, so I know it possible. I doubt that's the issue your running into honestly though. Gl should load zsnesw just fine. I would suggest re-installing the emulator.
-
just for kicks start it within gl through my wrapper......
as gamelauncher only has to launch the wrapper and my wrapper is the thing that actually launches the game, it should help.....
I know of many people using zsnesw with gl and my wrappers in 98, so I know it possible. I doubt that's the issue your running into honestly though. Gl should load zsnesw just fine. I would suggest re-installing the emulator.
Awesome, thanks Howard. I bet that'll work. It seems if there's a bit of a delay between GL minimizing and zsnesw launching it works no problem (hence my success in debug mode). I'll give that a try tonight and let you know.
Odonadon
-
You guys know this GUIDisable thing....well it works, but everytime I exit ZSnes, the CFG file is re-written or something by Zsnes and it always takes out that GUIDisable flag...anyone else experience this? Will I run into problems by just making it read-only?
-
You guys know this GUIDisable thing....well it works, but everytime I exit ZSnes, the CFG file is re-written or something by Zsnes and it always takes out that GUIDisable flag...anyone else experience this? Will I run into problems by just making it read-only?
Yup, I've experienced this as well. Let's try making the file read-only. I didn't think of that. Good call.
Odonadon
-
I've had it read only for a while and there doesn't seem to be any drawbacks to this, apart from forgetting to turn it off when making changes :P
-
Yup. Made mine read-only - works fine. ZSNESW won't write to it unless you're making changes via the GUI, but you'll have to take the read-only off to enable GUI to get in there to mke changes anyway.
Odonadon