truelight@0: Compilung OpenTTD using MS VC6.0 truelight@0: truelight@0: truelight@0: Step 1 truelight@0: ------------------ truelight@0: Downloaded: truelight@0: Useful.zip http://sourceforge.net/project/showfiles.php?group_id=103924&package_id=114307&release_id=228633 truelight@0: SDL.zip http://www.libsdl.org/release/SDL-1.2.7-win32.zip truelight@0: DirectX7.0 SDK http://www.tt-forums.net/download.php?id=15989 truelight@0: (or alternatively the latest DirectX SDK from Microsoft) truelight@0: afxres.h http://www-d0.fnal.gov/d0dist/dist/packages/d0ve/devel/windows/AFXRES.H truelight@0: truelight@0: truelight@0: Step 2 truelight@0: ------------------ truelight@0: Put the newly downloaded files in the VC lib and include directories truelight@0: (Where D:\program files\ is your local location of VC) truelight@0: truelight@0: truelight@0: * zconf.h [useful.zip] truelight@0: * zlib.h [useful.zip] truelight@0: * afxres.h truelight@0: in truelight@0: D:\Program Files\Microsoft Visual Studio\VC98\Include truelight@0: truelight@0: * zlibstat.lib [usefull.zip] truelight@0: * SDL.lib [SDL.zip truelight@0: * libpng.lib [usefull.zip] truelight@0: in truelight@0: D:\Program Files\Microsoft Visual Studio\VC98\Lib truelight@0: truelight@0: You can also make custum directories, for libraries (.lib) and includes/header files (.h) and truelight@0: add it to the VC paths via: truelight@0: Tools -> Options -> Directories -> show directories for: truelight@0: a) include files (the include dir: D:\Program Files\Microsoft Visual Studio\VC98\DirectX 7 SDK\include ) truelight@0: b) library files (the lib dir, D:\Program Files\Microsoft Visual Studio\VC98\DirectX 7 SDK\lib ) truelight@0: truelight@0: truelight@0: Step 3: DirextX SDK truelight@0: ------------------ truelight@0: (This should work with the latest DirectX SDK as well.) truelight@0: The installation with DirectX 7 was odd, so you'd better use the version available via the forum, see also truelight@0: the download link on top. truelight@0: truelight@0: Copy the DirectX 7 SDK files, leaving the directory stucture intact, to the directory: truelight@0: D:\Program Files\Microsoft Visual Studio\VC98\ truelight@0: thus resulting in truelight@0: D:\Program Files\Microsoft Visual Studio\VC98\DirectX 7 SDK\include and truelight@0: D:\Program Files\Microsoft Visual Studio\VC98\DirectX 7 SDK\lib truelight@0: truelight@0: Step 3.1 truelight@0: truelight@0: Add these two folders to the search path of VC. truelight@0: In VC6.0: Tools -> Options -> Directories -> show directories for: truelight@0: a) include files (the include dir: D:\Program Files\Microsoft Visual Studio\VC98\DirectX 7 SDK\include ) truelight@0: b) libraru files (the lib dir, D:\Program Files\Microsoft Visual Studio\VC98\DirectX 7 SDK\lib ) truelight@0: truelight@0: truelight@0: Step 4 truelight@0: ----------------- dominik@614: Copy the following files from Transport Tycoon Deluxe to the data folder truelight@0: sample.cat truelight@0: trg1r.grf truelight@0: trgcr.grf truelight@0: trghr.grf truelight@0: trgir.grf truelight@0: trgtr.grf truelight@0: dominik@614: (Alternatively you can use the TTD GRF files from the DOS version: TRG1.GRF, TRGC.GRF, TRGH.GRF, TRGI.GRF, TRGT.GRF. Those filenames have to be uppercase to be detected correctly. A few minor graphical glitches with the DOS graphics remain. E.g. the autorail button in the rail toolbar doesn't look as nice as with the Windows graphics.) truelight@0: truelight@0: Step 5 truelight@0: ----------------- truelight@0: Compile ... truelight@0: truelight@0: truelight@0: Step 6 truelight@0: ----------------- truelight@0: truelight@0: Now it should work, it worked for me :) truelight@0: truelight@0: Go ahead and make that patch! truelight@0: truelight@0: Happy Hacking! truelight@0: truelight@0: truelight@0: truelight@0: ------------------ truelight@0: written by Dribbel truelight@0: