View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: zsnes config question
PostPosted: Mon Sep 05, 2005 11:24 am 
Offline
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
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.

_________________
AMD BE-2400
ASUS M2N-E Motherboard
4GB Ram
Nvidia 9400 Fanless
2 HDHomerun (dual tuner)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 11:46 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 8:57 am 
Offline
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
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.

_________________
AMD BE-2400
ASUS M2N-E Motherboard
4GB Ram
Nvidia 9400 Fanless
2 HDHomerun (dual tuner)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 11:05 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject: solved
PostPosted: Tue Sep 06, 2005 5:45 pm 
Offline
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
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

_________________
AMD BE-2400
ASUS M2N-E Motherboard
4GB Ram
Nvidia 9400 Fanless
2 HDHomerun (dual tuner)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 6:06 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu