ZSNES No Gui Mode
Moderator: ZSNES Mods
ZSNES No Gui Mode
I am using a plugin for mythtv for linux (for the curious inquire at www.mythtv.org ) called mythgame. It basically handles a frontend for all gaming emulation, and catalogs all of my games. Now it adds two switches to the command line " -m -j " particularly, -m is supposed to disable gui and -j to disable mouse. Now that is all fine, except that this commandline never works. Even if i exist myth and try to launch from a terminal window, same results. If I launch without the nogui switch (-m), things work fine.
The command line is basically:
/usr/local/bin/zsnes -m -j %1, where %1 is the game name and path. Every time this command will just return the usage of zsnes. Any idea what I could do about this?
The command line is basically:
/usr/local/bin/zsnes -m -j %1, where %1 is the game name and path. Every time this command will just return the usage of zsnes. Any idea what I could do about this?
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
I confirm. Latest WIP and 1.36 can't use -m switch.
-j works ok.
-j works ok.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
-m works fine for me with CVS.
Just make sure you have it loading a game from the command line, -m is pointless if you don't have a game loaded.
A side note, glibc versions > 2.2 seem to have trouble loading a game from the command line, don't know why yet.
Just make sure you have it loading a game from the command line, -m is pointless if you don't have a game loaded.
A side note, glibc versions > 2.2 seem to have trouble loading a game from the command line, don't know why yet.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
Duh, of course I give it a game to load. :þNach wrote:-m works fine for me with CVS.
Just make sure you have it loading a game from the command line, -m is pointless if you don't have a game loaded.
It doesn' t work.
I'm using glibc 2.3.3, so that may be the cause.A side note, glibc versions > 2.2 seem to have trouble loading a game from the command line, don't know why yet.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
I still haven't tested, but I bet the problem is related to the fact that ZSNES immediately exits if you run it from another directory than it is located in.
Example:
C:\>Emulators\SNES\ZSNES\zsnesw.exe smw.zip -m -j
^if the ROM path is not correct, ZSNES would exit without any error at all. It would appear as if the command was completely ignored.
Example:
C:\>Emulators\SNES\ZSNES\zsnesw.exe smw.zip -m -j
^if the ROM path is not correct, ZSNES would exit without any error at all. It would appear as if the command was completely ignored.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
I run it from any directory and have no trouble at all.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
As I already said: glibc versions > 2.2 are broken. Someone screwed up getopt() in them. I currently have someone looking into the problem with glibc.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- New Member
- Posts: 3
- Joined: Tue Nov 02, 2004 9:28 pm
Any luck with glibc?
I just set up a Fedora 2 box and I've run into this same problem. Fedora Core 2 comes w/2.3.3 and obviously that does not work for command line. I've tried the latest WIP version and still no love... I am running a home theater program called mythTV and it uses command line arguements to load games. I prefer zsnes over snes9x because of it's features (like full screen actually working) but I can't use it without command line capabilities.
Is this a bug being worked on or is there a work around yet?
I've set up all my options in the gui so all I need is:
Is this a bug being worked on or is there a work around yet?
I've set up all my options in the gui so all I need is:
Code: Select all
zsnes /location/of/games/game.zip
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
It's not zsnes' fault. What are we supposed to do, submit a bug report to the glibc guys ?
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- New Member
- Posts: 3
- Joined: Tue Nov 02, 2004 9:28 pm
I didn't mean to imply that zsnes had a bug. I was wondering if the zsnes developers had a patch for glibc or a work around. Since this affects you, I thought you might be working on it. I realize your difficulties and in no way assume you can make glibc do anything. My appologies for not being clear.
-
- Regular
- Posts: 317
- Joined: Tue Sep 14, 2004 12:48 am
- Location: In a small padded white room
- Contact:
Take a look at this thread in the official bug topic. There is a patch that might fix it for you.jasonwoods wrote:I didn't mean to imply that zsnes had a bug. I was wondering if the zsnes developers had a patch for glibc or a work around. Since this affects you, I thought you might be working on it. I realize your difficulties and in no way assume you can make glibc do anything. My appologies for not being clear.
It allows me to pass command line game args to zsnes 10/24 WIP, where before I could not. I use glibc 2.3.4.
http://jdrrant.blogspot.com/ - CODEpendent Blog
http://games.technoplaza.net/ - Emulation Goodies
http://games.technoplaza.net/ - Emulation Goodies
-
- New Member
- Posts: 3
- Joined: Tue Nov 02, 2004 9:28 pm
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
I'm sorry, but your request has come in too late.jasonwoods wrote:I hope the zsnes team will include this patch in the next release!
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding