Main > Software Forum
Hey, MAME compiling genius-types!
(1/4) > >>
Kremmit:
Help a brother out, please?

http://forum.arcadecontrols.com/index.php?topic=47866.msg471705#msg471705
headkaze:
I don't think compiling is so much the problem it's hosting the 40 odd meg file. But compiling is quite easy...

1. Download MinGW
2. Place it C:\MinGW
3. Download official Mame source from here and extract to C:\MinGW\mame32fx
4. You can get the latest patches to update it from 0.103 to 0.103u2 by using "patch -p0 -E <diffname.diff ".
5. Download Mame32FX Source and just overwrite the files extracted to C:\MinGW\mame32fx
6. Change the source code however you like
7. Launch the appropriate batch file "compile P4.bat" for a Pentium 4 optimized build, or "compile I686.bat" for a generic Intel 686 build etc.
8. It will take quite a long time to compile, once it's compiled it will create your exe.. eg. mame32FXp4.exe

Simple as (ahem) that, well it's worth learning because then you can always compile your own build, remove the nag screens etc. I chose the Mame32FX build because thats the one I use. But it should work similar to other builds.
JoyMonkey:
You forgot step nine:

9. Use UPX to compress the compiled executable from forty-something megs down to a more manageable size.
markrvp:
Kremmit:

Did you do this yet?
markrvp:

--- Quote ---4. You can get the latest patches to update it from 0.103 to 0.103u2 by using "patch -p0 -E <diffname.diff ".
--- End quote ---

I am trying to do this so Kremmit and I can make a Z axis change to MAME for beta testing the new Optiwiz.  I don't know how to do the patch.  Could you please give me step by step instructions for how to do this?

I appreciate any help available.  Below is what happened when I thought I was following the instructions.  I'm assuming I actually need an executable called patch.exe?  Where do I get it and where do I put it?  Also where should the .diff file go?
Navigation
Message Index
Next page

Go to full version