FPS Limiting for the main menu display code
[tennix.git] / README.win32
blob6f2d546408541e5b08ddd7862dd84b33616c691c
1 Tennix can now be built on win32! :)
3 Guide on installing SDL + MSYS + MinGW on Win32:
4 http://www.netadelica.com/coding/sdl/install.html
6 Cross-compiling on a Debian System (untested!)
7 http://wiki.njh.eu/MinGW-Cross-Compiling_mit_SDL
9 You also need the win32 development packages of
10 SDL_mixer and SDL_image, these can be found here:
12 http://www.libsdl.org/projects/SDL_mixer/
13 http://www.libsdl.org/projects/SDL_image/
15 For SDL_mixer and SDL_image, copy the *.h files
16 to c:\mingw\include\SDL\ and the *.lib files to 
17 c:\mingw\lib\. The .dll files have to be copied 
18 to the tennix source folder, so they can be 
19 found and copied to the binary release archive.
22 You should also consider installing UPX and ZIP 
23 into your $PATH, so the .exe file can be compressed
24 and the "zip" utility (from InfoZIP) is needed for
25 the "release-win32" makefile target, which will create
26 a zipfile with the binary release, ready to be distributed :)
28 =====================
29 Additional notes on Git + Win32 resources + InnoSetup
30 =====================
31 ** GIT **
32 You can download and bootstrap Git ported to Windows from
33 http://code.google.com/p/msysgit/. Simply download the 
34 "GitMe-0.4.2.exe" (or newer) and run it to install Git and
35 a local version of msys to c:\msysgit\.
37 You will be able to use Git on tennix's public repository,
38 see the Tennix website for more information.
40 ** Win32 resources **
41 We are now using Win32 resource files to have an icon in the
42 Windows executable an to store the layout of the startup 
43 dialog (that is only displayed in Windows atm).
45 I've edited the "tennix.res" file (which contains the icon and
46 the dialog layout) with "XN Resource Editor", which is a freeware
47 resource editor for Windows, but you might want to use another
48 resource editor of you choice.
50 URL: http://www.wilsonc.demon.co.uk/d10resourceeditor.htm
52 ** InnoSetup **
53 Make sure you have installed InnoSetup 5 if you
54 want to generate a setup installer. You also have to set
55 the $PATH variable to point to the Inno Setup install dir
56 on your hard drive (eg c:\program files\inno setup 5\). 
57 To check if you have set it up correctly, open your msys
58 shell and type "iscc". It should respond with "Inno Setup
59 5 Command-Line Compiler" and some generic information.
61 When you have set up iscc correctly, simply do a "make 
62 release-win32-setup" to compile a single setup executable
63 with innosetup and tennix.
65 Thomas Perl <thp@perli.net>, 2007-11-21
66 =====================
69 Enjoy,
70           thp     2007-05-12