Da ich mal wieder ein MAME Derivat Testen,patchen und kompilieren musste,
hier mal eine kurze "Step by Step" Shorttrack Anleitung (Windows basierend) als Memo für die Userschaft:
Eine kompakte aber ausführliche Anleitung in Englisch findet ihr <HIER>.
1. Ordner erstellen:
-MAMECompile
Unterordner -MinGW -> MinGW environment extrahieren (32bit oder 64bit)
Unterordner -MameSrc -> MameSource Code extrahieren (1. MAME Quell Source extrahieren 2. gewünschte MAME Derivat Source wählen (zB MAMEUIFX) und Dateien im Ordner integrieren)
2. Gewünschte Diffs (Diffs&Hacks auf einschlägigen Sites) in die Root von MameSRC Ordner kopieren
3. CMD als Administrator Öffnen
4. MinGW Bin Path setzen z.B. "SET PATH=C:\MinGW\bin\"
5. Im CMD in den MameSRC Ordner wechseln
6. Patch(e) in das Source Einspielen "patch -p0 -E <diffname.diff"
7. MAME.exe Kompilieren:
z.B. "make.exe OSD=windows -j5 ARCHOPTS=-march=native PTR64=1"
Optionen:
_______________________________________________________________________
OSD=windows - If building on the Microsoft Windows platform.
OSD=winui - If building MameUI
-j3 - If your computer has a dual core.
-j5 - If your computer has a quad core.
ARCHOPTS=-march=native - To have MinGW detect your processor build.
ARCHOPTS=-march=core2 - If you are running an Intel Core 2 processor.
ARCHOPTS=-march=pentium-m - If you are running an Pentium M
ARCHOPTS=-march=nocona - If you are running an Pentium 4 (64 bit)
ARCHOPTS=-march=prescott - If you are running an Pentium 4 +SSE3
ARCHOPTS=-march=pentium4 - If you are running an Pentium 4 -SSE3
ARCHOPTS=-march=athlon64 - If you are running an AMD 64 processor.
ARCHOPTS=-march=athlon-xp - If you are running an Athlon XP processor.
ARCHOPTS=-mcpu=7450 - If you are running an Motorola G4 (greater than 7450)
ARCHOPTS=-mcpu=7400 - If you are running an Motorloa G4 (less than 7450)
ARCHOPTS=-mcpu=G5 - If you are running an IBM G5 processor.
ARCHOPTS=-mcpu=G4 - If you are running an IBM G4 processor.
ARCHOPTS=-mcpu=G4 - If you are running an IBM G3 processor.
PTR64=1 - If you are building for a 64 bit environment.
__________________________________________________________________________