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: Possible to run zsnesw.exe as a command line?  (Read 4371 times)

0 Members and 1 Guest are viewing this topic.

PiNPOiNT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 81
  • Last login:November 19, 2010, 05:00:59 pm
  • I'm a llama!
Possible to run zsnesw.exe as a command line?
« 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?


TalkingOctopus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1722
  • Last login:August 04, 2025, 03:48:02 am
  • @!#?@!
    • My Arcade
Re:Possible to run zsnesw.exe as a command line?
« Reply #1 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
« Last Edit: July 30, 2004, 05:50:39 pm by TalkingOctopus »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19431
  • Last login:August 18, 2025, 07:59:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Possible to run zsnesw.exe as a command line?
« Reply #2 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.  

TalkingOctopus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1722
  • Last login:August 04, 2025, 03:48:02 am
  • @!#?@!
    • My Arcade
Re:Possible to run zsnesw.exe as a command line?
« Reply #3 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.
« Last Edit: July 31, 2004, 02:12:44 pm by TalkingOctopus »

Arcade Addict

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:August 20, 2004, 11:29:30 pm
Re:Possible to run zsnesw.exe as a command line?
« Reply #4 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.

TalkingOctopus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1722
  • Last login:August 04, 2025, 03:48:02 am
  • @!#?@!
    • My Arcade
Re:Possible to run zsnesw.exe as a command line?
« Reply #5 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

visciouslymamed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:December 02, 2011, 08:38:46 pm
  • I want to Build My Own Arcade Controls!!
Re:Possible to run zsnesw.exe as a command line?
« Reply #6 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/

Arcade Addict

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:August 20, 2004, 11:29:30 pm
Re:Possible to run zsnesw.exe as a command line?
« Reply #7 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

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

DaveJ-UK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 261
  • Last login:January 11, 2025, 04:20:37 am
  • Dirty Dawg
    • ChronicGames.NET
Re:Possible to run zsnesw.exe as a command line?
« Reply #8 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.

visciouslymamed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:December 02, 2011, 08:38:46 pm
  • I want to Build My Own Arcade Controls!!
Re:Possible to run zsnesw.exe as a command line?
« Reply #9 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. :)

stuzza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 499
  • Last login:May 13, 2025, 09:19:19 pm
  • I'm a llama!
    • ScreenshotArchive
Re:Possible to run zsnesw.exe as a command line?
« Reply #10 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!