View Full Version : Win32 ROTT
Lon Matero
12-25-2002, 09:02 AM
I can confirm that the icculus.org ROTT port is now working under Windows, Santa's hat and all! I downloaded SDL and SDLMixer libraries, the current CVS code, and changed to SHAREWARE 0 SUPERROTT 1 in delvop.h; then compiled succesfully in Visual Studio .NET. After copying SDL.dll, SDL_mixer.dll, and the new rott.exe into my full version ROTT directory, the game worked natively under Win32. Gameplay is also at the correct speed in WinXP unlike the DOS version. Looks like the biggest thing missing currently is the sound.
- Lon Matero
Joe Siegler
12-25-2002, 01:45 PM
And other email from them:
Not to flood your inbox, but we got ROTT running on win32, too. Both
Cygwin and Visual Studio.NET will build it, you'll need the SDL libs and
headers, and will probably need to tweak the project files to point to
the right directories (this Windows development thing is pretty foreign
to me. images/icons/smile.gif ).
The changes are in icculus.org's CVS. We accept patches, but don't send
us bug reports for win32; it was just done to show it could be done quickly.
A prebuilt version is here:
http://icculus.org/rott/rott-win32-test.zip
Install the DOS shareware version, and unzip that archive over the
installation (it'll put a win32 rott.exe and the SDL DLLs in
there)...and run it.
That makes three major platforms this thing runs on in less than a week.
If we get bored over the holidays, we'll probably do MacOS 9 and BeOS,
too. images/icons/smile.gif
Have fun, and Merry Christmas!
--ryan.
<font size="2" face="Verdana, Arial">
jimbob
12-25-2002, 02:30 PM
yeey \o/ _o .o. o_ _o .o. o_ <--- happy dance
Kev_Hectic
12-25-2002, 02:35 PM
Now I have to wonder if someone could port ROTT to the Dreamcast (http://www.dcemulation.com/) ?. the same way Doom and Quake was ported images/icons/grin.gif
Crezzy_man
12-25-2002, 02:47 PM
This works great. Although it's only the shareware episode and my sound and music don't work (is it just me or is it just not supposed to work?) but it's a great start. Seriously.
Did anybody else notice that if you use EKG mode with ludicrous gibs, they all blow up in an un-random, dome sort of way? It's pretty cool....
IwantMORE
12-25-2002, 07:33 PM
Didn't work on my XP machine, said I was missing some file, I'll track down the missing file tomorrow and try again...
IceColdDuke
12-25-2002, 07:45 PM
The damn thing, opens then closes for me =(.
The Stinger
12-25-2002, 07:54 PM
Originally posted by IceColdDuke:
The damn thing, opens then closes for me =(. <font size="2" face="Verdana, Arial">you'll need the shareware episode images/icons/smile.gif
I had the same problem
PigeonRat
12-25-2002, 08:14 PM
Lol, says I need MSVCR70.dll images/icons/grin.gif Anyone got a link to it images/icons/rolleyes.gif
PigeonRat
12-25-2002, 08:18 PM
Don't worry, I found it online.
PigeonRat
12-25-2002, 08:49 PM
Haha, this rocks images/icons/grin.gif
It runs great on my Win2000 machine. Can't wait for the sound. images/icons/smile.gif
TeamKill
12-28-2002, 11:13 PM
This works awesome! My only complaint is that it keeps turning off autorun whenever the map switches, I go back to the menu, or I Alt-Tab it. Glad to finally play Rott on my laptop!
Makasin
12-29-2002, 02:42 AM
damn this is sweet!!!
now all we need is some 3d or some higher rez graphics.
is it legal to download the full version? after all, the source was released
Night Hacker
12-29-2002, 03:41 AM
Originally posted by makdude101:
damn this is sweet!!!
now all we need is some 3d or some higher rez graphics.
is it legal to download the full version? after all, the source was released <font size="2" face="Verdana, Arial">No. the source code was released, that is all. None of the data was released. If you want to play it, you can play the shareware version or buy the full version (they still sell it at 3DRealms here).
You might even find it in a bargain bin somewhere, Electronics Boutique is great for selling used games as well and might have it if you have one of thier stores in your area.
Is there another way to get the source code that was used for the VS.NET build? (e.g. in one zip file - can somebody host it?)
Or am I just missing the link? Frankly, it's a pain in the rear to download 250 small files one at a time.
Java the Hutt
12-30-2002, 10:36 PM
Getting the sound to work with this build of the Win32 rott.exe
You need to edit the sound.rot file and add these values:
</font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">;Rise of the Triad Sound File
; (c) 1995
Version 14
;
; Music Modes
; 0 - Off
; 1 - UltraSound
; 2 - Sound Blaster
; 3 - Sound Man 16
; 4 - Pro Audio Spectrum
; 5 - Awe32
; 6 - SoundScape
; 7 - Wave Blaster
; 8 - General Midi
; 9 - Sound Canvas
; 10 - Adlib
MusicMode 6
;
; FX Modes
; 0 - Off
; 1 - UltraSound
; 2 - Sound Blaster
; 3 - Sound Man 16
; 4 - Pro Audio Spectrum
; 5 - Awe32
; 6 - SoundScape
; 7 - Adlib
; 8 - Disney Sound Source
; 9 - Tandy Sound Source
; 10 - PC Speaker
FXMode 6
;
; Music Volume
; (low) 0 - 255 (high)
MusicVolume 254
;
; FX Volume
; (low) 0 - 255 (high)
FXVolume 254
;
; Number of Voices
; 1 - 8
NumVoices 8
;
; Stereo or Mono
; 1 - Mono
; 2 - Stereo
NumChannels 2
;
; Resolution
; 8 bit
; 16 bit
NumBits 16
;
; Midi Addresses
; $300
; $310
; $320
; $330
; $340
; $350
; $360
; $370
; $380
MidiAddress $330
;
; ReverseStereo
; 0 no reversal
; 1 reverse stereo
StereoReverse 0
;
; Sound Blaster Settings
SBType 6
SBPort $220
SBIrq 9
SBDma8 1
SBDma16 5
SBMidi $330
SBEmu $220[/code]</blockquote><font size="2" face="Verdana, Arial">The sound effects are a little rough. Some of the effects produce scratchy sounds. Sadly, the music does not work in this build images/icons/frown.gif
I have looked at the latest code on their cvs server, and it looks like they added music support. I do not have Visual Studio .NET, so I cannot compile their code. images/icons/mad.gif
All I have is Visual Studio 6.0. If I am bored, I might try to compile their code with that compiler.
relnev
12-31-2002, 12:46 AM
Originally posted by Java the Hut:
The sound effects are a little rough. Some of the effects produce scratchy sounds. Sadly, the music does not work in this build :(
<font size="2" face="Verdana, Arial">The sounds in that build are screwed up because of a bug in SDL_mixer.dll, if you want to try compiling a newer version, download the current CVS version from http://www.libsdl.org/projects/SDL_mixer/
Rott King
12-31-2002, 01:07 PM
Surprisingly, all i had to do to get ROTT to run on my comp was: 1. Download CPU Killer 2. Run Install 3. Turn off CPU Killer 4. Play ROTT. Sound works, music works, it's a miracle! images/icons/grin.gif
Java the Hutt
12-31-2002, 08:30 PM
Another way to set up the SOUND.ROT file is to start rott.exe with the SOUNDSETUP parameter. i.e.:
</font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">ROTT.EXE SOUNDSETUP[/code]</blockquote><font size="2" face="Verdana, Arial">Pick the SoundScape option for both sound f/x's and music.
I have Win2K, so I have to use the Win32 version of Rott. I am not sure how usefull this is for the DOS rott under Win95/98/ME.
I downloaded the latest code from icculus and created a Win32 version with Visual Studio 6.
The music and sound f/x's now work with their port. I still see tons of compiler warnings. images/icons/confused.gif
Now I remember why C/C++ cross-platform delvelopment gave me so much grief in previous jobs. images/icons/wink.gif
Crezzy_man
12-31-2002, 11:43 PM
Man, I'm using a Turtle Beach Santa Cruz with my Windows XP. There's probably no chance of me getting my Midi to work (unless somebody intergrated it with Directsound?)
The Stinger
01-01-2003, 08:50 AM
Originally posted by Java the Hut:
Another way to set up the SOUND.ROT file is to start rott.exe with the SOUNDSETUP parameter. i.e.:
</font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">ROTT.EXE SOUNDSETUP[/code]</blockquote><font size="2" face="Verdana, Arial"><font size="2" face="Verdana, Arial">thx, that worked for me. sound works in the dos version on my comp but when ever I try to select a music card the snd crashes. I do the same thing with the windows version and it works great with music and sound. Too bad this windows rott.exe only works on the shareware.
Java the Hutt
01-01-2003, 10:44 PM
I found a missing feature in the SDL_mixer library. The volume control does not work for the native Win32 midi feature.
The void native_midi_setvolume(int volume) function in the native_midi_win32.c file has no code, so changing the music volume does nothing.
This code adds volume control for the midi music in the Win32 ROTT. You will have to download the SDL_mixer code and compile it yourself.
</font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">void native_midi_setvolume(int volume)
{
int calcVolume = volume << 1;
if(calcVolume > 255)
{
calcVolume = 255;
}
else if calcVolume < 0)
{
calcVolume = 0;
}
midiOutSetVolume((HMIDIOUT)hMidiStream, MAKEWORD(calcVolume , calcVolume));
}[/code]</blockquote><font size="2" face="Verdana, Arial">It is kind of cool to have a working Win32 ROTT with sound and music. images/icons/cool.gif
Mr. Person
01-05-2003, 04:34 AM
Nice.
Dave2
01-05-2003, 11:19 AM
That code doesn't work for me images/icons/frown.gif
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.