Site hosted by Angelfire.com: Build your free website today!

Compile Analog+
minus multiple mice feature

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

  1. If you don't have it yet, Download mingw_for_mame.zip from mame.net or here.
  2. If you have not installed it yet, Install mingw_for_mame. Details can be found here.

Step two: download and setup source files

  1. Download and extract the current official mame source files.
  2. 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+).
  3. If you downloaded the diff file:
    1. Extract the diff file into the c:\mame57Analog folder.
    2. Change to the c:\mame57Analog in a dos box.
    3. Type patch -u -p 1 -i [diff file name] (or patch -u -p 1 < analogplus57.dif)
  4. If you downloaded the source files:
    1. 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.
  5. You need to edit a total of three lines in two different files
    1. Edit src/windows/windows.mak
      1. Goto line 31 and comment out the line, resulting with:
        # -ldinput8
    2. Edit scr/windows/dxversion.h
      1. 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!

  1. Open a DOS window, if you don't have one open already. Make the c:\mingw\bin folder in the path.
  2. Type make
  3. After mame:Analog+ is finished compiling, you might want to rename it; the compiled name is: mameanalog.exe
  4. Type mameanalog -cc or whatever you renamed it to. You can edit the .ini file to your personal settings.
  5. 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.

Main Site:

speedhost

Mirrors:

prohosting
anglefire

 

I'll redo the page again. (WIP)