Easy MAMECab  
  Hardware | Linux | Windows | MyCab | Links

While the following directions were written with LFS in mind, they apply equally well to Gentoo, Slackware, or Debian (or any other distro that has zlib and ncurses installed and a working compiler).

Build Linux From Scratch
Build Beyond Linux From Scratch slang, NASM, FreeType2, ALSA Driver, ALSA Library, ALSA Utilities, X11 or kernel fb or SVGAlib (1.9.19 works on 2.6.x kernels), and SDL.

Download advancemame source to your home directory
Download advancemenu source to your home directory
At a terminal enter:

tar xvzf advancemame-version*.gz
cd advancemame-version
make install

tar xvzf advancemenu-version*.gz
cd advancemenu-version*.gz
make install

You can download my LFS 5.0 scripts here. My total build (including AdvanceMAME, AdvanceMENU, and various network utilities) came in slightly under 256MB.

Remember to edit your /etc/modules.conf file, otherwise your sound card won't work. Below is my modules.conf written for an Audigy 2 zs sound card.

alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

You will have to add the appropriate devices to your /dev directory for mouse and joystick support. vi /etc/make_devices for more details. For example, by default AdvanceMAME and SVGAlib expect the mouse to be located at /dev/mouse, i.e.

ln -s psaux /dev/mouse

www.mamedev.org www.mameworld.info