I know there are a few topics talking about this but I haven't seen any with step by step instructions on how to do it. Can anyone let me know how to do this for Ubuntu 13.10 and the latest version of Groovymame with Cave support?
I can build a version of mame without patching diffs but when I patch in the hiscore/cave/groovy diffs they say it's correct but after a while of compiling I get an error.
Compiling src/osd/sdl/watchdog.c...
Compiling src/osd/sdl/sdlmidi.c...
Compiling src/osd/sdl/switchres.c...
make: *** No rule to make target `obj/sdl64/osd/sdl/dview.o', needed by `obj/sdl64/libosd.a'. Stop.
make: *** Waiting for unfinished jobs....
Compiling src/osd/sdl/debugwin.c...
This is how I do it.
1. Fresh install of Ubuntu 13.10
2. Install tools needed:
sudo apt-get install build-essential libgtk2.0-dev libgnome2-dev libsdl1.2-dev libqt4-dev libqt4-gui libsdl-ttf2.0-dev
3. Get mame source from
http://www.mamedev.org/release.html4. Get groovymame diff from
https://code.google.com/p/groovyarcade/downloads/list5. Get latest hiscore and cave diff from
http://www.systempixel.fr/extra/6. I found that the diff files cannot be found correctly unless I run this from the /mame/src directory
~/mame/src$ find . -type f -not -name uismall.png | xargs perl -pi -e 's/\r\n?/\n/g'
~/mame/src$ patch -p1 < hi_151.diff
~/mame/src$ patch -p1 < 0151_groovymame_015.diff
~/mame/src$ patch -p1 < cavesh3_0151_new.diff
~/mame$ make TARGET=mame PYTHON=python2 OPTIMIZE=2
If I don't patch the diffs mame builds fine. Any ideas?
thanks.