Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: PiNPOiNT on July 30, 2004, 04:31:53 pm

Title: Possible to run zsnesw.exe as a command line?
Post by: PiNPOiNT on July 30, 2004, 04:31:53 pm
I  have the tweaked modified version of zsnes (zsnesw.exe) which is set to allow you to have the ESC key as your quit button. but for some reason it doesnt want to run the roms in the command line form like the normal zsnes can.  

Does anyone know if its just my machine being nuts? or is it not possible for zsnesw to run as a command line?

Title: Re:Possible to run zsnesw.exe as a command line?
Post by: TalkingOctopus on July 30, 2004, 05:44:06 pm
It works just fine for me for me.  Here is what it looked like:

G:\Emulators\SNES\zsnesw>zsnesw G:\Emulators\SNES\ALL SNES USA ROMS\a.smc

My mamewah settings are:
Show DOS Box = 1
Send ROM Path = True
Use Long Filenames = False
Send ROM Extension = True
Title: Re:Possible to run zsnesw.exe as a command line?
Post by: Howard_Casto on July 31, 2004, 01:19:02 pm
umm, that's not an answer....

You posted your mamewah cfg file and didn't explain the real problem.... he never said he was using mamewah.  

Pinpoint, your problem probably lies in filenames......

zsnes was originally a dos application and thus it doesn't work well with spaces and/or long filenames.  Your solution is to either pass a short 8.3 filename (not every fe supports this)  or to encapsulate the entire path to the rom in quotes.    Most support either one or the other, so you should be fine.  
Title: Re:Possible to run zsnesw.exe as a command line?
Post by: TalkingOctopus on July 31, 2004, 02:01:53 pm
I think it was an answer.  

I said that the modified version worked through the commandline and I showed the exact command that I used to get zSnes to run from the commandline (G:\Emulators\SNES\zsnesw>zsnesw G:\Emulators\SNES\ALL SNES USA ROMS\a.smc).  Perhaps the mamewah settings were a bit out of place, but you can use them to construct the proper command.

I think that you are right about the filenames.  When zSnes does not have a valid path to a rom, it does nothing, which is probably what happens when pinpoint trys to run it.
Title: Re:Possible to run zsnesw.exe as a command line?
Post by: Arcade Addict on August 20, 2004, 11:36:19 pm
I run this as described above, actually through mamewah, and the initial game loads fine throught he mamewah menu.  When I escape from the initial game it does not bring me back to mamewah (as with other emulators), rather, it brings me to the zsnes GUI.
 
Is that normal?  I would have expected the zsnes GUI to remain hidden.  I'll be  running this from a cabinet so would prefer to not navigate the zsnes menus with a mouse unless truly necessary.
Title: Re:Possible to run zsnesw.exe as a command line?
Post by: TalkingOctopus on August 20, 2004, 11:54:06 pm
There is a special version of zSNES that maps the escape key to exit.  Download the modifed zsnes as well as other emulators modified for front ends here:

http://www.screenshotarchive.com/downloads_emus.htm (http://www.screenshotarchive.com/downloads_emus.htm)
Title: Re:Possible to run zsnesw.exe as a command line?
Post by: visciouslymamed on August 21, 2004, 09:12:51 am
The wip build has a GUIDisable switch in the cfg. Works like a charm from the cmdline. :)

http://www.ipherswipsite.com/zsnes/ (http://www.ipherswipsite.com/zsnes/)
Title: Re:Possible to run zsnesw.exe as a command line?
Post by: Arcade Addict on August 21, 2004, 07:16:46 pm
There is a special version of zSNES that maps the escape key to exit.  Download the modifed zsnes as well as other emulators modified for front ends here:

http://www.screenshotarchive.com/downloads_emus.htm (http://www.screenshotarchive.com/downloads_emus.htm)

Thanks, this is the version I've been using (with the modified esc key).  The problem is that after using the esc key the game stops as it should, but the zsnes GUI then displays.  Since mamewah acts as my game list and GUI I would prefer that the zsnes GUI not display at all.

The WIP version recommended by visciouslymamed has a flag to prevent the GUI from displaying, but does it also use the esc key to stop the game?  If not, can this same flag be used on the version from screenshotarchive?

Thanks
Title: Re:Possible to run zsnesw.exe as a command line?
Post by: DaveJ-UK on August 21, 2004, 08:34:41 pm
Have you set your MAMEWAH emu?.cfg file with the execution settings stated by TalkingOctopus?

And set the most appropriate resolution? (I use 640x480)

Mine works fine with these settings. I had to reconfigure the buttons within zsnes -just run the executable manually- since they're not the same as MAMEs, but that's about it.
Title: Re:Possible to run zsnesw.exe as a command line?
Post by: visciouslymamed on August 21, 2004, 11:06:10 pm
The wip will exit when you press Esc when the gui is turned off. ;)

You will need the gui to setup controls and options, but after that is done, just change GUIDisable = 0 to GUIDisable = 1. Now when you launch zsnesw from your fe, it will exit back to the fe. ;D

A couple of games I own were fixed in the wip build, which is why I started using the wip. Then I noticed the gui switch. I just thought I would point out the switch to others. :)
Title: Re:Possible to run zsnesw.exe as a command line?
Post by: stuzza on August 22, 2004, 02:57:24 am
The wip will exit when you press Esc when the gui is turned off. ;)

You will need the gui to setup controls and options, but after that is done, just change GUIDisable = 0 to GUIDisable = 1. Now when you launch zsnesw from your fe, it will exit back to the fe. ;D

A couple of games I own were fixed in the wip build, which is why I started using the wip. Then I noticed the gui switch. I just thought I would point out the switch to others. :)

Thanks for the heads up on this one!  I'll check it out.  About time they added a no gui switch!