View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Jul 30, 2005 12:19 pm 
Offline
Joined: Mon Jul 04, 2005 8:25 pm
Posts: 114
Couldn't find this on the forum, but it is sorta hidden in the mythTV docs:

Quote:
No joystick causing failure to launch.

By default, mythgame expects that you have a joystick installed. xmame will fail to launch because mythgame sends the option "-joytype 4" to xmame by default. You may reset this using the following command:

NOTE: The following command will set the joytype to "0" for all hosts. If you need to specify this on a per-host basis you can either modify the command below (if you know SQL), or use a tool which simplifies access to MySQL such as phpMyAdmin.

$ mysql -u root -e "update mythconverg.mamesettings set joytype=0"


FYI, if you set joytype=1 it seems to work nicely with USB gamepads.

Why they buried these startup params in a database is beyond me.


Top
 Profile  
 
PostPosted: Sun Aug 07, 2005 1:08 pm 
Offline
Joined: Mon Sep 20, 2004 4:49 pm
Posts: 26
Location: St. Louis, MO (USA)
I had a problem with mythgame on R5A16 where after verifying all the paths were set correctly, copying the catver.ini, history.dat and hiscores.dat files in the proper places, etc. - Myth still wouldn't let me actually select a game to play it.

It would display the ROMs I had in my folder, and knew which category they were in and what year they were from, but none of them would ever start.

Finally, I found out it was because the catver.ini file I downloaded was in MS-DOS file format (with line feeds and carriage returns at the end of each line of text). Unix/Linux wanted the file to have the line feed codes stripped out. Loading catver.ini into nano, hitting a character and then backspacing it again (just so nano would believe the contents of the file had indeed changed), and saving it back out on top of itself fixed it for me.

I had to tell Myth to search for my games again, one last time, so it would rebuild its index. But after that, I could finally select the ROMs and play them!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 07, 2005 1:36 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
There's a bit of discussion in this thread about other ways to do the dos2unix conversion: http://mysettopbox.tv/phpBB2/viewtopic.php?t=4759&highlight=dos2unix Including the guts of this quickie shell function substitute:
Code:
dos2unix () {
    for f in "$@" ; do
        { tr -d '\015' <"$f" | awk '{print $0}' >"$f".new ; } && mv "$f".new "$f"
    done
}


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 22 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu