View previous topic :: View next topic |
Author |
Message |
admin Site Admin Joined: 30 Oct 2006 Posts: 406
|
Posted: Wed Jan 09, 2008 3:35 pm Post subject: compiling original rott source code |
|
|
I finally was able to compile the original rott source code. It was actually very easy, if only i had read the instructions more carefully.
First off, download the source code:
http://www.apogeegames.com/files/rottsource.zip
Then unpack the zip file to a directory like c:\rott
Then, download watcom, not openwatcom, but the original one, it's still available at openwatcom's site.
http://www.openwatcom.org/ftp/archive/11.0c/watcom-c-11.0c.exe
Install it. When it asks you for target compilers, select 32-bit DOS, since thats the type of appplication rott.exe is. Put your host system too, whether its xp, or whatever.
Then set your environment paths as follows. (right click on my pc, properties, advanced, environment variables)
add the following to the 'PATH' variable
c:\opencompiler\BINNT;c:\opencompiler\BINW
add the following to the 'INCLUDE' variable
c:\opencompiler\H;c:\opencompiler\H\NT
set variable 'WATCOM' to
c:\opencompiler
set variable 'EDPATH' to
c:\opencompiler\EDDAT
You need this file too.
ftp://ftp.tenberry.com/pub/wstub.zip
extract the .exe file and copy it to the rott source folder.
Then youre ready to compile. Go to terminal mode, by selecting, start, run and typing cmd. When youre in dosprompt, change directory to where you downloaded the source code, and type wmake all to compile.
That will generate a brand new rott.exe for you to try and or modify.
Have fun!
If you have any problems with this guide, let me know! |
|
 |
|
 |
dopefish7590
 Joined: 06 Oct 2007 Posts: 324
|
Posted: Tue Feb 26, 2008 3:32 am Post subject: |
|
|
If you have a Unix system (Like Mac OSX or Linux) Then... Point the terminal to the source folder (Most of the time it will be in your home folder on hda1) and type "gcc rt_main.c" then "Make ROTT". be sure you have all the header files Including an edited dos.h and other header files. _________________ -Swim, swim, hungry |
|
 |
|
 |
admin Site Admin Joined: 30 Oct 2006 Posts: 406
|
Posted: Tue Feb 26, 2008 10:49 am Post subject: |
|
|
Hey dopefish, do you mean for compiling the original rott.exe or icculus's rott port? _________________ ROTT lives! |
|
 |
|
 |
dopefish7590
 Joined: 06 Oct 2007 Posts: 324
|
Posted: Wed Feb 27, 2008 4:18 am Post subject: |
|
|
Original... but you need the ported libraries for it to work... _________________ -Swim, swim, hungry |
|
 |
|
 |
jbailey
 Joined: 02 Mar 2008 Posts: 127
|
Posted: Sun Mar 02, 2008 3:49 pm Post subject: |
|
|
One of my original goals for rott was to get it compiling under the
cygnus/cygwin compiler, I actually got it compiling, but it wasn't 100%
stable. The compiler I last used to compile the last version of winrottgl was
msvc 7, at some point, new project files will need to be created for later
compilers like the last 2 msvc compilers... |
|
 |
|
 |
dopefish7590
 Joined: 06 Oct 2007 Posts: 324
|
Posted: Sun Mar 02, 2008 7:20 pm Post subject: |
|
|
Ah, so you got my message?  _________________ -Swim, swim, hungry |
|
 |
|
 |
admin Site Admin Joined: 30 Oct 2006 Posts: 406
|
Posted: Mon Mar 03, 2008 11:50 am Post subject: |
|
|
jbailey wrote: | One of my original goals for rott was to get it compiling under the
cygnus/cygwin compiler, I actually got it compiling, but it wasn't 100%
stable. The compiler I last used to compile the last version of winrottgl was
msvc 7, at some point, new project files will need to be created for later
compilers like the last 2 msvc compilers... |
I think birger's latest winrott and glrott sources have msvc 7 project files. Could those be used? |
|
 |
|
 |
jbailey
 Joined: 02 Mar 2008 Posts: 127
|
Posted: Mon Mar 03, 2008 1:04 pm Post subject: |
|
|
Yes, so long as your going to use that specific compiler, but if you ever
want to compile winrott/winrottgl under msvc 8 & 9 (2005 & 2008)
compilers, new project files will have to be created, that's unless the
project file converters in the newer compilers successfully convert
the older project files... |
|
 |
|
 |
admin Site Admin Joined: 30 Oct 2006 Posts: 406
|
Posted: Mon Mar 03, 2008 2:56 pm Post subject: |
|
|
Ah ok. Could you create those project files, please ? I would if i knew how.  _________________ ROTT lives! |
|
 |
|
 |
dopefish7590
 Joined: 06 Oct 2007 Posts: 324
|
Posted: Mon Mar 03, 2008 7:57 pm Post subject: |
|
|
Any way that you could link me to some conversion libraries so I can compile on a Mac? _________________ -Swim, swim, hungry |
|
 |
|
 |
jbailey
 Joined: 02 Mar 2008 Posts: 127
|
Posted: Mon Mar 03, 2008 8:16 pm Post subject: |
|
|
Not sure about that, I've *never* considered doing anything on a mac, I'll
look into it though, could be a while before I have any info... |
|
 |
|
 |
jbailey
 Joined: 02 Mar 2008 Posts: 127
|
Posted: Mon Mar 03, 2008 9:28 pm Post subject: |
|
|
I've created project files for both vc8 and vc9 compilers, I tested the
files on both compilers and successfully compiled and ran the 1.34 version
of winrottgl, I also created a file set for the latest intel compiler, but since
that compiler is a plug-in to visual studio, I don't recommend using
that file set, (unless you want to), the only thing I had to change in
the source code was to temporarily disable some md2 stuff, the new
coding standard didn't like a couple of lines of code, and since I was only
trying to create project files, I simply disabled the lines for now... |
|
 |
|
 |
darkportrait
Joined: 21 Feb 2009 Posts: 12 Location: winnipeg canada
|
Posted: Mon Feb 23, 2009 8:57 pm Post subject: |
|
|
LOL
Quote: | Then, download watcom, not openwatcom, but the original one, it's still available at openwatcom's site. |
i got it do work in openwatcom using the same instuctions! well not the same instructions i was compiling shadow warrior (again! GRRRRRR) and then was like lets try rott se what i can fuck up now and it worked like nothing openwatcom seems better! _________________ ... what do i type here?... |
|
 |
|
 |
admin Site Admin Joined: 30 Oct 2006 Posts: 406
|
Posted: Fri Feb 27, 2009 11:38 pm Post subject: |
|
|
darkportrait wrote: | LOL
Quote: | Then, download watcom, not openwatcom, but the original one, it's still available at openwatcom's site. |
i got it do work in openwatcom using the same instuctions! well not the same instructions i was compiling shadow warrior (again! GRRRRRR) and then was like lets try rott se what i can fuck up now and it worked like nothing openwatcom seems better! |
Really? Did it actually compile with openwatcom? I tried it since i thought it was the only version of watcom available and i couldnt compile it. I had to get the last official Watcom from their site to compile it. Can you let me know what you did to get it to compile? _________________ ROTT lives! |
|
 |
|
 |
darkportrait
Joined: 21 Feb 2009 Posts: 12 Location: winnipeg canada
|
Posted: Mon Mar 02, 2009 8:33 am Post subject: |
|
|
admin wrote: | darkportrait wrote: | LOL
Quote: | Then, download watcom, not openwatcom, but the original one, it's still available at openwatcom's site. |
i got it do work in openwatcom using the same instuctions! well not the same instructions i was compiling shadow warrior (again! GRRRRRR) and then was like lets try rott se what i can fuck up now and it worked like nothing openwatcom seems better! |
Really? Did it actually compile with openwatcom? I tried it since i thought it was the only version of watcom available and i couldnt compile it. I had to get the last official Watcom from their site to compile it. Can you let me know what you did to get it to compile? |
im not sure as its on my laptop ill check later.. but i think its was openwatcom 13 or 11 it was the same one i used for compiling shadow warrior _________________ ... what do i type here?... |
|
 |
|
 |
|