paulo@0: ______________________________________________________________________ paulo@0: paulo@0: Guide to compiling LOCKJAW on Microsoft Windows paulo@0: by Lardarse and tepples paulo@0: paulo@0: You will need the following files: paulo@0: paulo@0: * Dev-C++ 5.0 Beta paulo@0: http://prdownloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe paulo@0: * devkitPro Updater paulo@0: http://www.devkitpro.org/ paulo@0: * Allegro 4.2.0 paulo@0: http://www.pineight.com/lj/all420.zip paulo@0: * Minimal DirectX 7 SDK for MinGW paulo@0: http://alleg.sourceforge.net/files/dx70_mgw.zip paulo@0: * libogg 1.1.3 paulo@0: http://www.pineight.com/lj/libogg-1.1.3.zip paulo@0: * libvorbis 1.1.2 paulo@0: http://www.pineight.com/lj/libvorbis-1.1.2.zip paulo@0: * DUMB 0.9.3 paulo@0: http://www.pineight.com/lj/dumb-0.9.3.zip paulo@0: * JPGalleg 2.5 paulo@0: http://www.pineight.com/lj/jpgalleg-2.5.tar.gz paulo@0: paulo@0: ______________________________________________________________________ paulo@0: Install MinGW paulo@0: paulo@0: Put all of those files into a folder on your desktop. Run the Dev-C++ paulo@0: installer, installing into C:\Dev-Cpp, and using the default settings, paulo@0: unless you have a reason for not wanting to associate C source file paulo@0: types with Dev-C++. paulo@0: paulo@0: ______________________________________________________________________ paulo@0: Install MSYS and devkitARM paulo@0: paulo@0: Run the devkitPro Updater. It will ask you if you want to get a newer paulo@0: version. Answer yes to this, and then install everything that it asks paulo@0: to, except devkitPSP and devkitPPC. MSYS should be installed into paulo@0: C:\devkitPro\msys, and just press Enter to all of the questions that paulo@0: it asks when installing it. The other parts will install without user paulo@0: intervention, unless the downloading is interrupted. paulo@0: paulo@0: ______________________________________________________________________ paulo@0: Make MinGW and MSYS available paulo@0: paulo@0: Right-click My Computer and go to Properties -> Advanced -> paulo@0: Environment Variables. Add MINGDIR = C:\Dev-Cpp and make sure paulo@0: that Path starts with C:\Dev-Cpp\Bin;c:\devkitPro\msys\bin; paulo@0: paulo@0: Extract dx70_mgw.zip into C:\Dev-Cpp, over-writing files as paulo@0: necessary. Extract the other 5 files that were downloaded earlier paulo@0: into C:\, where each one will be in its own folder. Now open a paulo@0: command prompt (Start -> Run -> cmd) and enter the following commands: paulo@0: paulo@0: ______________________________________________________________________ paulo@0: Make and install required libraries paulo@0: paulo@0: cd \ paulo@0: cd allegro paulo@0: fix.bat mingw32 paulo@0: make paulo@0: make install paulo@0: cd \ paulo@0: cd libogg-1.1.3 paulo@0: sh configure --prefix=C:\Dev-Cpp --disable-shared paulo@0: make paulo@0: make install paulo@0: cd \ paulo@0: cd libvorbis-1.1.2 paulo@0: sh configure --prefix=C:\Dev-Cpp --disable-shared paulo@0: make paulo@0: make install paulo@0: cd \ paulo@0: cd dumb-0.9.3 paulo@0: make paulo@0: paulo@0: This command will ask you 2 questions. Answer M to the first paulo@0: and Y to the second. paulo@0: paulo@0: make install paulo@0: cd \ paulo@0: cd jpgalleg-2.5 paulo@0: fix.bat mingw32 paulo@0: make paulo@0: make install paulo@0: paulo@0: At this point you can now close this window. paulo@0: paulo@0: Now open another command window and navigate to the folder where you paulo@0: have Lockjaw installed. You may prefer to use a different folder paulo@0: than your usual playing folder. If you are going to be compiling paulo@0: a lot, and you are using Windows XP, then you may want to install paulo@0: the Open Command Window Here powertoy: paulo@0: http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx paulo@0: paulo@0: Once you are in the folder, just type in make, and within a few paulo@0: seconds, it should be compiled. The lj.exe will be roughly twice the paulo@0: size of that in the official distribution; you can fix this with UPX. paulo@0: http://upx.sourceforge.net/ paulo@0: paulo@0: Now to try to do something intersting with it... paulo@0: paulo@0: Now grab yourself a drink. You deserve it...