LinHES Forums http://forums.linhes.org/ |
|
zsnes config question http://forums.linhes.org/viewtopic.php?f=14&t=5927 |
Page 1 of 1 |
Author: | Joker [ Mon Sep 05, 2005 11:24 am ] |
Post subject: | zsnes config question |
I have zsnes installled and running through mythtv, however I have been unable to setup my gamepad to work properly with it. I quit mythtv and ran zsnes from a terminal and the gamepad works fine from the terminal. I also ran zsnes as root and setup the gamepad and it all worked fine. But when I run zsnes in mythtv the gamepad does not work. if I run mythfrontend as root from a terminal the gamepad works fine. so I think this is a user issue but I do not know how to proceed from here. any help would be appreciated. |
Author: | cesman [ Mon Sep 05, 2005 11:46 pm ] |
Post subject: | |
Have you ran mythfrontend as the user mythtv in a terminal? Try to do what you want to do then quit the frontend. If there is an error, you should see it in the terminal. |
Author: | Joker [ Tue Sep 06, 2005 8:57 am ] |
Post subject: | |
I ran /mythfrontend -v all >zsneslog in a terminal as user mythtv, I verified which user I was by typing /whoami There were no error messages and zsnes reports detecting the gamepad correctly in the log, it just does not seem to be picking up the correct input config file. I also tried starting zsnes from a terminal using the same command line options as myth passes to start it. the controller worker fine with those command line options. I did this for both mythtv user and root user. Do you know how I can change the command line options mythfrontend passes to start zsnes? I was thinking that if I could start zsnes with the gui enabled (by default mythfrontend disables the zsnes gui) I could configure the controller from there, or at least see where it is trying to call the input config file from. |
Author: | cesman [ Tue Sep 06, 2005 11:05 am ] |
Post subject: | |
You'd have to edit the string in the db. Sorry, I have not done this so I cannot give exact direction. Be sure to backup the db first. Webmin is your friend. Be sure to backup the db first. |
Author: | Joker [ Tue Sep 06, 2005 5:45 pm ] |
Post subject: | solved |
I found an easier solution while googling on how to modify the db. I wrote a little shell script to start zsnes with the options I wanted and pointed myth to it, reconfigured the gamepad, then pointed myth back to the real zsnes and problem solved. Thanks for the help |
Author: | tjc [ Tue Sep 06, 2005 6:06 pm ] |
Post subject: | |
The general pattern for updating the settings table can be found in this thread: http://mysettopbox.tv/phpBB2/viewtopic.php?t=5179 The key you want is probably one of these: Code: mysql> select * from settings where value like '%nes%';
+---------------------+-------------------------------+----------+ | value | data | hostname | +---------------------+-------------------------------+----------+ | NesBinary | /usr/games/fceu-sdl | black2 | | NesRomLocation | /myth/games/nes/roms | black2 | | NesCRCFile | /home/media/games/nes/nes.crc | black2 | | NesScreensLocation | /myth/games/nes/screens | black2 | | SnesBinary | /usr/bin/snes9x | black2 | | SnesRomLocation | /myth/games/snes/roms | black2 | | SnesScreensLocation | /myth/games/snes/screens | black2 | | SnesEmulator | SNES9x | black2 | | PlaybackBrightness | 50 | black2 | +---------------------+-------------------------------+----------+ 9 rows in set (0.00 sec) |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |