The following are instructions on how to build with Visual Studio 2008 the latest development version of Supermodel 32-bit or 64-bit from the SVN repository.
These steps have been tested with Visual Studio 2008 Professional on Windows 7. I have no idea whether they will work with Visual Studio 2008 Express Edition or Visual Studio 2010 or even with other versions of Windows.
[Update: daytona has reported that these steps work fine with Vistual Studio 2010 and Vista]
Steps
1. Check out the latest development version of Supermodel from the main trunk in the SourceForge SVN repository with a suitable SVN client, eg:
- Code: Select all
svn co https://model3emu.svn.sourceforge.net/svnroot/model3emu/trunk trunk
2. Download the SDL v1.2.14 source (http://www.libsdl.org/release/SDL-1.2.14.zip) and unpack into trunk\Libraries.
3. Download the ZLib v1.2.4 source (http://sourceforge.net/projects/libpng/files/zlib/1.2.4/zlib124.zip/download) and unpack into trunk\Libraries.
4. Download and install the Microsoft DirectX SDK (June 2010) (http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6812).
5. a) Open the Visual Studio solution Supermodel.sln held in trunk\VS2008,
5. b) Choose whether to build a Debug or Release version of Supermodel (the Debug version builds quicker but runs slower) and whether to target Win32 or x64 architecture,
5. c) Start the build! It will take a while to compile everything but if all goes well you should end up with the following files and directories (amongst many others) in the output directory:
- Code: Select all
README.txt
LICENSE.txt
Supermodel.exe
SDL.dll
Config\Supermodel.ini
Saves\
NVRAM\
These files are all that are needed for Supermodel to run (you can ignore the others that are in there).
5. d) If you want to run supermodel from within Visual Studio then before you do so you should go to the property pages of the Supermodel project and set the command arguments as required (ie to point to a ROM) and change the working directory to $(OutDir) (otherwise Supermodel won't be able to locate its Supermodel.ini config file).
Enjoy!