OK, that description was a little brief, so here is a little more detail.
SDL MAME doesnt need to be "installed". It has been designed (beautifully IMHO) to be more like the windows version.
When the build has completed, you will see the binary in the root directory called mamepm. Here is what I see:
Code:
admin@mario:~/Desktop/sdlmame0108$ pwd
/home/admin/Desktop/sdlmame0108
admin@mario:~/Desktop/sdlmame0108$ ls -l makefile
-rw-rw-r-- 1 admin admin 11629 2006-08-12 10:51 makefile
admin@mario:~/Desktop/sdlmame0108$ ls -l mamepm
-rwxr-xr-x 1 admin admin 34416765 2006-08-31 14:56 mamepm
The executable that you want to run is mamepm. Here is the basic usage:
Code:
admin@mario:~/Desktop/sdlmame0108$ ./mamepm -help
M.A.M.E. v0.108 (Aug 31 2006) - Multiple Arcade Machine Emulator
Copyright (C) 1997-2006 by Nicola Salmoria and the MAME Team
....
To get a basic configuration file, you would do something like this:
Code:
admin@mario:~/Desktop/sdlmame0108$ ./mamepm -createconfig
admin@mario:~/Desktop/sdlmame0108$ head mamepm.ini
#
# CONFIGURATION OPTIONS
#
readconfig 1
skip_gameinfo 0
#
# PATH AND DIRECTORY OPTIONS
#
So, now it built OK, you need some ROMS to test with! There are actually some free ones available legally at mame.net. Be sure to download this as is to the roms subdirectory, so MAME can see them:
Code:
admin@mario:~/Desktop/sdlmame0108/roms$ pwd
/home/admin/Desktop/sdlmame0108/roms
admin@mario:~/Desktop/sdlmame0108/roms$ wget http://www.mame.net/roms/robby.zip
--15:56:12-- http://www.mame.net/roms/robby.zip
=> `robby.zip'
Resolving www.mame.net... 64.237.35.239
Connecting to www.mame.net|64.237.35.239|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28,175 (28K) [application/zip]
100%[====================================================================================>] 28,175 51.06K/s
15:56:13 (51.00 KB/s) - `robby.zip' saved [28175/28175]
admin@mario:~/Desktop/sdlmame0108/roms$ ls -l
total 28
-rw-r--r-- 1 admin admin 28175 2000-04-19 23:44 robby.zip
To run this game fullscreen, you would type:
Code:
admin@mario:~/Desktop/sdlmame0108$ pwd
/home/admin/Desktop/sdlmame0108
admin@mario:~/Desktop/sdlmame0108$ ./mamepm robby
Using SDL single-window soft driver (SDL 1.2)
To run this game in a window, you would type:
Code:
admin@mario:~/Desktop/sdlmame0108$ pwd
/home/admin/Desktop/sdlmame0108
admin@mario:~/Desktop/sdlmame0108$ ./mamepm robby -window
Using SDL single-window soft driver (SDL 1.2)
The mamepm.ini file has *heaps* of options for you to play with. Some more information. If you want to see what MAME is looking for inside the ROM zip file, you would type something like this:
Code:
admin@mario:~/Desktop/sdlmame0108$ ./mamepm robby -listroms
This is the list of the ROMs required for driver "robby".
Name Size Checksum
rotox1.bin 4096 CRC(a431b85a) SHA1(3478da56addba1cdd98cbef7a15b17fca9aed2cd)
rotox2.bin 4096 CRC(33cdda83) SHA1(ccbc741a2fc0b7385ca42afe5b377432249b44cb)
rotox3.bin 4096 CRC(dbf97491) SHA1(11574baf04af02b38ae147be8409de7c34e87611)
rotox4.bin 4096 CRC(a3b90ac8) SHA1(8c585d26011c9ea047895a0388835ff2bb80e1ff)
rotox5.bin 4096 CRC(46ae8a94) SHA1(218edcc5257c9cc58c5e667fff64767b313daaab)
rotox6.bin 4096 CRC(7916b730) SHA1(c5166625a404da4a93a1a7ae21d01fdb6e78680e)
rotox7.bin 4096 CRC(276dc4a5) SHA1(d740b30c28f6a94ee2348291e80d57af5c2e2d99)
rotox8.bin 4096 CRC(1ef13457) SHA1(4dc1ee9ce2a28c4ba75e630fbfe4659cd68d3a66)
rotox9.bin 4096 CRC(370352bf) SHA1(72cd35b4306b46de3d2a3e4e46fa4917ed9d18cb)
rotox10.bin 4096 CRC(e762cbda) SHA1(48c274a859963097a90f80c48366250301eddb5f)
And this should be the list of files in the zip:
Code:
admin@mario:~/Desktop/sdlmame0108$ zipinfo roms/robby.zip
Archive: roms/robby.zip 28175 bytes 10 files
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:46 rotox1.bin
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:46 rotox10.bin
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:46 rotox2.bin
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:46 rotox3.bin
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:46 rotox4.bin
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:46 rotox5.bin
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:46 rotox6.bin
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:47 rotox7.bin
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:47 rotox8.bin
-rw-a-- 2.2 ntf 4096 bx defX 24-Mar-97 17:47 rotox9.bin
10 files, 40960 bytes uncompressed, 26931 bytes compressed: 34.3%
If you want to make sure the ROMS are ok, you could do:
Code:
admin@mario:~/Desktop/sdlmame0108$ ./mamepm robby -verifyroms
romset robby is good
1 romsets found, 1 were OK.
Hope that helps? Enjoy MAME!
Bookmarks