Back to the index page  
Log in to check your private messages
compiling original rott source code

 
Post new topic   Reply to topic    ROTT editing and modding Forum Index » General Forum
View previous topic :: View next topic  
Author Message
admin
Site Admin

Joined: 30 Oct 2006
Posts: 406

PostPosted: Wed Jan 09, 2008 3:35 pm    Post subject: compiling original rott source code Reply with quote
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. Razz

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!
View user's profile Send private message Send e-mail Visit poster's website
dopefish7590

Joined: 06 Oct 2007
Posts: 324

PostPosted: Tue Feb 26, 2008 3:32 am    Post subject: Reply with quote
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
View user's profile Send private message
admin
Site Admin

Joined: 30 Oct 2006
Posts: 406

PostPosted: Tue Feb 26, 2008 10:49 am    Post subject: Reply with quote
Hey dopefish, do you mean for compiling the original rott.exe or icculus's rott port?
_________________
ROTT lives!
View user's profile Send private message Send e-mail Visit poster's website
dopefish7590

Joined: 06 Oct 2007
Posts: 324

PostPosted: Wed Feb 27, 2008 4:18 am    Post subject: Reply with quote
Original... but you need the ported libraries for it to work...
_________________
-Swim, swim, hungry
View user's profile Send private message
jbailey

Joined: 02 Mar 2008
Posts: 127

PostPosted: Sun Mar 02, 2008 3:49 pm    Post subject: Reply with quote
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...
View user's profile Send private message
dopefish7590

Joined: 06 Oct 2007
Posts: 324

PostPosted: Sun Mar 02, 2008 7:20 pm    Post subject: Reply with quote
Ah, so you got my message? Smile
_________________
-Swim, swim, hungry
View user's profile Send private message
admin
Site Admin

Joined: 30 Oct 2006
Posts: 406

PostPosted: Mon Mar 03, 2008 11:50 am    Post subject: Reply with quote
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?
View user's profile Send private message Send e-mail Visit poster's website
jbailey

Joined: 02 Mar 2008
Posts: 127

PostPosted: Mon Mar 03, 2008 1:04 pm    Post subject: Reply with quote
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...
View user's profile Send private message
admin
Site Admin

Joined: 30 Oct 2006
Posts: 406

PostPosted: Mon Mar 03, 2008 2:56 pm    Post subject: Reply with quote
Ah ok. Could you create those project files, please ? Very Happy I would if i knew how. Embarassed
_________________
ROTT lives!
View user's profile Send private message Send e-mail Visit poster's website
dopefish7590

Joined: 06 Oct 2007
Posts: 324

PostPosted: Mon Mar 03, 2008 7:57 pm    Post subject: Reply with quote
Any way that you could link me to some conversion libraries so I can compile on a Mac?
_________________
-Swim, swim, hungry
View user's profile Send private message
jbailey

Joined: 02 Mar 2008
Posts: 127

PostPosted: Mon Mar 03, 2008 8:16 pm    Post subject: Reply with quote
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...
View user's profile Send private message
jbailey

Joined: 02 Mar 2008
Posts: 127

PostPosted: Mon Mar 03, 2008 9:28 pm    Post subject: Reply with quote
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...
View user's profile Send private message
darkportrait

Joined: 21 Feb 2009
Posts: 12
Location: winnipeg canada

PostPosted: Mon Feb 23, 2009 8:57 pm    Post subject: Reply with quote
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?...
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
admin
Site Admin

Joined: 30 Oct 2006
Posts: 406

PostPosted: Fri Feb 27, 2009 11:38 pm    Post subject: Reply with quote
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!
View user's profile Send private message Send e-mail Visit poster's website
darkportrait

Joined: 21 Feb 2009
Posts: 12
Location: winnipeg canada

PostPosted: Mon Mar 02, 2009 8:33 am    Post subject: Reply with quote
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?...
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    ROTT editing and modding Forum Index » General Forum All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group Web Hosting Directory
Xbox by Scott Stubblefield



Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com