First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 46210
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: james lische <robotslave69@hotmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 46210 depends on: Show dependency tree
Bug 46210 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-30 00:02 0000
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 From Mr. Bones. 2004-04-11 20:00:26 0000 -------
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 From james lische 2004-04-11 23:01:59 0000 -------
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 From Mr. Bones. 2004-04-14 00:40:12 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug