|
Home
Downloads
Features
Compile Help
FAQs
Links
|
This howto is on compiling
for Win2000, WinXp, or users that don't need the multiple mouse feature.
It is easier to compile since the mingw_for_mame does not need to be edited.
Step One: Download and set up compiler
- If you don't have it yet, Download mingw_for_mame.zip
from mame.net or here.
- If you have not installed it yet, Install mingw_for_mame. Details
can be found here.
Step two: download and setup source files
- Download and extract the current official mame
source files.
- Download either the Mame:Analog+ source diff file (mame to most recent
Analog+) or straight source zip file from my download
page. If you already are using an unofficial mame, the diff file
can be used to apply the Analog+ changes along side the other changes
automatically (if the other changes do not apply to the same lines as
Analog+).
- If you downloaded the diff file:
- Extract the diff file into the c:\mame57Analog
folder.
- Change to the c:\mame57Analog
in a dos box.
- Type patch -u -p 1 -i
[diff file name] (or patch
-u -p 1 < analogplus57.dif)
- If you downloaded the source files:
- Extract the files over the official mame source files, overwriting
the files. If you are using any other changes to mame, you may need
to reapply them.
- You need to edit a total of three lines in two different files
- Edit src/windows/windows.mak
- Goto line 31 and comment out the line, resulting with:
# -ldinput8
- Edit scr/windows/dxversion.h
- Comment out the line with 0x0800, and uncomment the line with
0x0500, to result with:
//#define DIRECTINPUT_VERSION 0x0800
#define DIRECTINPUT_VERSION 0x0500
Step three: compile!
- Open a DOS window, if you don't have one open already. Make the c:\mingw\bin
folder in the path.
- Type make
- After mame:Analog+ is finished compiling, you might want to rename
it; the compiled name is: mameanalog.exe
- Type mameanalog -cc
or whatever you renamed it to. You can edit the .ini file to your personal
settings.
- Run mameanalog.exe
just like you run mame.exe!
Extras:
There are a couple compile time options you can set if you want to, look
at the makefile.
Feel free to make any changes to my code. Feel free to email me and tell
me how it goes.
|