ugenn Posted August 25, 2004 Share Posted August 25, 2004 Which hardware/CPUs should be built for a CPS2 only mame?If anyone has successfully built such a mame, can he post a copy of his mame.mak? Thanks. Link to comment Share on other sites More sharing options...
Agozer Posted August 25, 2004 Share Posted August 25, 2004 Well, there is CPS2MAME, but i don't know anything about it's current status. It's been around for a long time too. If you wanted to know anything else, I can't help. Link to comment Share on other sites More sharing options...
ugenn Posted August 25, 2004 Author Share Posted August 25, 2004 Well, there is CPS2MAME, but i don't know anything about it's current status. It's been around for a long time too. If you wanted to know anything else, I can't help.That's ok. I've already gotten it to build. Currently testing SFA3. Link to comment Share on other sites More sharing options...
ugenn Posted September 21, 2004 Author Share Posted September 21, 2004 (edited) Instructions for compiling CPS2 only MAME This assumes mame or xmame 0.86 (might work with other versions): Apply the following patch on the source tree with the following command: patch -Np1 < xmame-cps2.patch This patch removes the neo specific stuff from a couple of the source files so you won't get linking errors at the end of the build. If building on windows, the "patch" command should come with the cygwin environment needed to run the gcc compiler used to build mame. xmame-cps2.patch:diff -urN xmame-0.86.old/src/cheat.c xmame-0.86/src/cheat.c --- xmame-0.86.old/src/cheat.c 2004-08-23 08:10:45.000000000 +0800 +++ xmame-0.86/src/cheat.c 2004-09-21 17:17:27.533441656 +0800 @@ -7904,6 +7904,7 @@ return 1; #ifndef MESS +#define TINY_COMPILE #ifndef TINY_COMPILE { diff -urN xmame-0.86.old/src/usrintrf.c xmame-0.86/src/usrintrf.c --- xmame-0.86.old/src/usrintrf.c 2004-08-23 08:25:58.000000000 +0800 +++ xmame-0.86/src/usrintrf.c 2004-09-21 17:17:05.771749936 +0800 @@ -22,6 +22,7 @@ #endif +#define TINY_COMPILE /*************************************************************************** Edit src/mame.mak and remove all the unwanted stuff so that it looks like the following:CPUS+=Z80@ CPUS+=M68000@ CPUS+=M68EC020@ CPUS+=M68020@ SOUNDS+=YM2151_ALT@ SOUNDS+=OKIM6295@ SOUNDS+=QSOUND@ DRVLIBS = $(OBJ)/capcom.a $(OBJ)/capcom.a: \ $(OBJ)/machine/kabuki.o \ $(OBJ)/vidhrdw/cps1.o $(OBJ)/drivers/cps1.o $(OBJ)/drivers/cps2.o COREOBJS += $(OBJ)/driver.o $(OBJ)/cheat.o # generated text files TEXTS += gamelist.txt gamelist.txt: $(EMULATOR) @echo Generating $@... @$(CURPATH)$(EMULATOR) -gamelist -noclones -sortname > docs/gamelist.txt Edit src/driver.c and delete the non-CPS2 games and/or the games you don't want. Finally, run "make" for a lean, lightweight MAME. Edited September 21, 2004 by ugenn Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now