[mythtv-users] MythGame game player command

Brad DerManouelian myth at dermanouelian.com
Sun Oct 29 06:29:51 UTC 2006


Either something changed recently or I just forgot how I had this  
working before. In any event, I just loaded xmame and a bunch of  
roms, but the command myth is issuing isn't correct.

I have this:
mysql> select * from gameplayers;
+--------------+------------+-------------+------------------------ 
+---------------------------+--------------------------------- 
+----------+------------+-----------+
| gameplayerid | playername | workingpath | rompath                |  
screenshots               | commandline                     |  
gametype | extensions | spandisks |
+--------------+------------+-------------+------------------------ 
+---------------------------+--------------------------------- 
+----------+------------+-----------+
|            1 | MAME       |             | /usr/share/xmame/roms/ | / 
usr/share/xmame/screens/ | xmame -video-mode 2 -fullscreen | MAME      
|            |         0 |
+--------------+------------+-------------+------------------------ 
+---------------------------+--------------------------------- 
+----------+------------+-----------+
1 row in set (0.00 sec)

mysql> select * from gamemetadata LIMIT 1;
+--------+-------------+----------+-------------+------+----------- 
+----------+------------------------+----------+-----------+--------- 
+-----------+---------+---------+
| system | romname     | gamename | genre       | year | publisher |  
favorite | rompath                | gametype | diskcount | country |  
crc_value | display | version |
+--------+-------------+----------+-------------+------+----------- 
+----------+------------------------+----------+-----------+--------- 
+-----------+---------+---------+
| MAME   | 88games.zip | 88games  | UnknownMAME | 19xx | Unknown    
|     NULL | /usr/share/xmame/roms/ | MAME     |         1 | Unknown  
| f8a71e32  |       1 | 0       |
+--------+-------------+----------+-------------+------+----------- 
+----------+------------------------+----------+-----------+--------- 
+-----------+---------+---------+
1 row in set (0.00 sec)

But when I launch the game from myth, it hangs. ps tells me this is  
the command that's trying to launch:
mythtv    8561  8277  1 23:22 ?        00:00:00 xmame -video-mode 2 - 
fullscreen /usr/share/xmame/roms/ dkong.zip
Seems there's a space between the path and the rom name. Any ideas  
how to make it NOT do that? There's no space in the database for the  
rompath. If I add the path in manually in the command, it adds the  
path in twice (with a space after the second one).


More information about the mythtv-users mailing list