|
Downloading TEP
Whilst TEP currently comprises of a lot of decent code it's probably of limited of interest to anyone but developers. This is why we only distribute source at present. Once the 3d engine is reintegrated we will be doing a multi-platform binary release.
However, if you are a developer please download and compile the latest WIP.
Stable source distributions can be found at Maksim's site but for the latest (possible uncompilable) source grab a snapshot. You'll also find the API Docs and a web-based CVS tree at that site.
Compiling TEP
Compilers/Assemblers
- A C++ compiler :)
- If you're using Linux you should have g++ already. Please use an up-to-date version of either gcc or egcs, 2.95.2 or 2.91.66 respectively are recommended.
- If you're stranded in Win32 land I suggest you get out :) Seriously, you'll require Microsoft's beautifully broken MS VC++ 6 [5 certainly won't work]. In addition to being the bane of my life (thanks to some of its template bugs) it's available to buy at your local computer shop for a reasonable enough £500 or something.
- Traditionalist DOS users will be interested in obtaining DJGPP, the excellent port of gcc to DOS. Make sure you have the latest 2.95.2 release: we've had reports of problems with 2.95.1.
- NASM
TEP contains large portions of assembly language in the x86 rather than AT&T syntax and hence requires a seperate assembler. NASM is a truly superb multi-platform assembler. Both source and binaries are available for your favourite platform.
- fromdos (Linux only)
fromdos was historically necessary to convert Maksim's DOS encoded files to proper UNIX-style. It's used by the mklnxtep script so it's worthwhile having, though TEP may well work without (the script will just complain at you).
Libraries
Compulsory Libraries
Plugin Libraries
TEP can use various graphics libraries. One of the below is required.
Linux
Win32
DOS
Compiling from CVS
- Get the latest CVS branch from a snapshot (current CVS is on invitation only).
Linux/DOS
- chmod u+x mklnxtep
- ./mklnx(dos)tep
- make -f <makefile>
Where <makefile> is:
- lnxtep.mak for X11Allegro
- lnxggtep.mak for LibGGI
- dostep.mak for DOS
- Jason pointed out that you might have to change the makefile since newer versions of freetype have a nasty habit of placing their header files in -I/usr/local/include/freetype for some goddamn reason :).
Win32
- Win32 users use the VC++ workplace TEP.DSP file.
...and finally
- Run TEP: ./(xxx)tep
- Press return to get past the object prompt and use tilde or the top left hand key on your keyboard to leave the console.
|