Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46210 - goosnes fails to launch snes9x when snes9x is compiled without joystick support
Summary: goosnes fails to launch snes9x when snes9x is compiled without joystick support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-30 00:02 UTC by james lische
Modified: 2004-04-14 00:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description james lische 2004-03-30 00:02:57 UTC
i had emerged snes9x, not enabling the "joystick" USE flag, because my only joystick is a sidewinder precision pro, and it just isn't suited well for most console games.
being lazy i decided to emerge goosnes to make setting options easier and it failed to launch snes9x.

Reproducible: Always
Steps to Reproduce:
1.USE="-joystick" emerge snes9x
2.emerge goosnes
3.goosnes&
4.try to run any valid ROM image through the goosnes GUI

Actual Results:  
when launched from a gnome-terminal i can see that goosnes sends a command
structured like:
"snes9x -y -stereo -nojoy -cycles 90 /mnt/spare/roms/foo.smc"
and then snes9x prints the same output as if you would have typed "snes9x
--help" and fails to launch properly

Expected Results:  
snes9x ignores joystick related options and continues running, or goosnes
doesn't send a joystick related option when none are selected.

it appears that when snes9x is emerged without joystick support that it causes
any command line options regarding joysticks to generate the 'help' message
instead of loading the ROM image and running. emerging snes9x with the
"joystick" USE flag set makes it work properly. 
perhaps the snes9x package can be modified so that when it is emerged
USE="-joystick" that it still accepts command line arguments related to
joysticks, but prints a line stating joystick support was not enabled, and then
continue running, instead of printing the help and exiting. 
or modifying the goosnes package so that no joystick options are selected by
default, and it doesn't send a -nojoy option. or adding a "joystick" USE flag to
 goosnes to remove the tab entirely.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-04-11 20:00:26 UTC
Go to the joystick tab and uncheck "Use Joystick".  I don't think it's serious
enough to work around it in the glade file when it's so easy to change via
the gui and the settings are saved so you only have to do it once.
Comment 2 james lische 2004-04-11 23:01:59 UTC
unchecking the joystick options does not work for me.
when doing this goosnes adds a '-nojoy' option to the command line. it seems to me that snes9x does not recognize the '-nojoy' switch unless it was compiled with USE="joystick". it fails to run and prints a help message.

try: 
#USE="-joystick" emerge snes9x
#goosnes&

try loading a rom image, and it won't work.

however, if it was compiled with USE="joystick", then it works just fine.  
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-04-14 00:40:12 UTC
I modified the snes9x ebuild to support the -nojoy option even if USE="-joystick"
is used.  Now it behaves as you might expect, giving usage if one of the joystick
options are passed but running just fine if -nojoy is passed via goosnes.
Very odd behavior there but the option parsing is kind of crazy in there
anyhow.

emerge the new version of snes9x to have the fun.