Building Supermodel on Ubuntu Linux

Steps for building Supermodel on Ubuntu Linux
The following are instructions on how to build on Ubuntu the latest development version (or a particular release) of Supermodel from the SVN repository.
These steps have been tested on Ubuntu 10.04 32-Bit & 64-Bit and Ubuntu 11.10 32-Bit. Apart from step 1 (which simply ensures that Ubuntu has the correct packages installed) the steps should be pretty much the same for other versions of Ubuntu and for other distributions of Linux.
Steps
1. Ensure you have the necessary tools installed (this only needs to be done once):
2. Download the source from SVN:
a) To download the latest development version:
b) To download a particular SVN revision of the code:
where REVISION is the revision number, eg 264
c) To download a particular release:
where VERSION is the release number, eg 0.1.2a or 0.2a.
NOTE: version 0.1.2a does not build under Ubuntu 11.10.
d) Alternatively, download the latest release's source in a tar file from http://www.supermodel3.com/Download.html.
3. Compile the source:
4. Run the emulator:
where PATH_TO_ROMS is the path to where all your ROMs are and GAME is the name of the game's ROM.
NOTE: for version 0.1.2a, the location of the outputted executable is different and there is no Supermodel.ini to copy.
See http://www.supermodel3.com/Usage.html for more help with running Supermodel.
Enjoy!
The following are instructions on how to build on Ubuntu the latest development version (or a particular release) of Supermodel from the SVN repository.
These steps have been tested on Ubuntu 10.04 32-Bit & 64-Bit and Ubuntu 11.10 32-Bit. Apart from step 1 (which simply ensures that Ubuntu has the correct packages installed) the steps should be pretty much the same for other versions of Ubuntu and for other distributions of Linux.
Steps
1. Ensure you have the necessary tools installed (this only needs to be done once):
- Code: Select all
sudo apt-get install subversion build-essential libsdl1.2-dev libglew1.5-dev zlib1g-dev
2. Download the source from SVN:
- Code: Select all
mkdir Supermodel
cd Supermodel
a) To download the latest development version:
- Code: Select all
svn co https://model3emu.svn.sourceforge.net/svnroot/model3emu/trunk
cd trunk
b) To download a particular SVN revision of the code:
- Code: Select all
svn co -r REVISION https://model3emu.svn.sourceforge.net/svnroot/model3emu/trunk
cd trunk
where REVISION is the revision number, eg 264
c) To download a particular release:
- Code: Select all
svn co https://model3emu.svn.sourceforge.net/svnroot/model3emu/tags/VERSION
cd VERSION
where VERSION is the release number, eg 0.1.2a or 0.2a.
NOTE: version 0.1.2a does not build under Ubuntu 11.10.
d) Alternatively, download the latest release's source in a tar file from http://www.supermodel3.com/Download.html.
3. Compile the source:
- Code: Select all
ln -s Makefiles/Makefile.SDL.UNIX.GCC Makefile
make
4. Run the emulator:
- Code: Select all
cd bin
mkdir Config NVRAM Saves
cp ../Config/Supermodel.ini Config
./Supermodel PATH_TO_ROMS/GAME.zip
where PATH_TO_ROMS is the path to where all your ROMs are and GAME is the name of the game's ROM.
NOTE: for version 0.1.2a, the location of the outputted executable is different and there is no Supermodel.ini to copy.
See http://www.supermodel3.com/Usage.html for more help with running Supermodel.
Enjoy!