I recently started to be aware of a problem in our family. Ever since we configured Mythgame to run Xmame games, we started to ignore native Linux games. This is a shame, because often the quality of such games is much higher, and besides, they are open source, which I strongly believe in.
I looked around for help configuring Mythgame to run Linux games, and was unable to find a way to make a game player that would play any Linux game. So I devised the following solution:
Step 1: Set up directories for pseudo-roms, command switches and snapshots
mkdir /usr/share/games/roms
mkdir /usr/share/games/switches
mkdir /usr/share/games/snaps
Step 2: Define a player in Mythgame
Player name: Linux
Type: OTHER
Command: %s `cat \`dirname %s\`/../switches/\`basename %s\``
Rom Path: /usr/share/games/roms
ScreenShots: /usr/share/games/snaps
Step 3: Populate the directories with data
cd /usr/share/games/roms
ln -s /usr/games/oolite
ln -s /usr/games/starvoyager
cd /usr/share/games/snaps
cp ~synrg/snaps/oolite.png .
cp ~synrg/snaps/starvoyager.png .
cd /usr/share/games/switches
touch oolite
echo "-f" >starvoyager
2 replies on “Mythgame player to run native Linux games”
SDL wont accept keyboard when doing this… do you have a fix?
Killerwiki,
This problem sounds familiar. I believe I did have a problem with this at one point, but I no longer have the problem. I am now using mythgame 0.20-svn20070609-0.2, so perhaps it was buggy in an earlier version and is now fixed.