Login
New reply in Original Beats of Rage Source Code
Name:
Homepage:
[quote userid="24220" name="Lost in Time"][b]I Got it!!![/b] The "secret" was to use wlink instead of wcl386. I created a batch script so anyone who wants to try the original [b]Beats of Rage[/b] should be able to compile and link it easily. All they have to do is install Watcom or Open Watcom at C:\ and make sure [b]PMODEW[/b] is there. Also make sure the batch script is named "[b]COMPILE.BAT[/b]" It is here for the record. Not that beautiful but it works. :D [code] @ECHO OFF CLS ECHO ---------------------------------------------- ECHO - Beats of Rage - ECHO - Compilation Script by Lost in Time 2023 - ECHO ---------------------------------------------- ECHO - 1) Set Watcom environment variables - ECHO - 2) Clean Compilation Directory - ECHO - 3) Full Project Compilation - ECHO ---------------------------------------------- ECHO - 4) Exit - ECHO ---------------------------------------------- choice /c1234 /s Wassup? [1-4]: /n if errorlevel 4 goto exit if errorlevel 3 goto compile if errorlevel 2 goto clean if errorlevel 1 goto setenv :setenv PATH=C:\WATCOM\BINW;C:\WATCOM\PMODEW;%PATH% SET WATCOM=C:\WATCOM SET INCLUDE=C:\WATCOM\H SET EDPATH=C:\WATCOM\EDDAT SET WIPFC=C:\WIPFC echo . echo DONE! PAUSE COMPILE.BAT :clean :: CLEAN THE PROJECT @echo off echo. echo Removing OBJ, ERR and EXE files echo. del *.obj del *.err del BOR.EXE cd GAMELIB3 del *.obj del *.err cd .. echo . echo DONE! PAUSE COMPILE.BAT :compile @echo off :: DEFINE COMPILATION COMMAND SET COMPASM=wasm -5pr -fp5 -mf -bt=pmodew SET COMPC=wcc386 -5r -fp5 -mf -i=C:\WATCOM\H -bt=pmodew :: COMPILE GAMELIB FILES CD GAMELIB3 :: ASM Files %COMPASM% ASMCOPY.ASM %COMPASM% KEYBOARD.ASM %COMPASM% RAND32.ASM %COMPASM% TIMER.ASM %COMPASM% VGA.ASM :: C FILES %COMPC% ANIGIF.C %COMPC% SPRITE.C %COMPC% SOUNDMIX.C %COMPC% VESA.C %COMPC% CONTROL.C %COMPC% VIDEO.C %COMPC% PALETTE.C %COMPC% SYSTEM.C %COMPC% LOADIMG.C %COMPC% BITMAP.C %COMPC% PACKFILE.C %COMPC% DRAW.C %COMPC% SAVEPCX.C %COMPC% FONT.C %COMPC% SCREEN.C %COMPC% JOY.C %COMPC% SBLASTER.C %COMPC% SPRITEQ.C %COMPC% ADPCM.C %COMPC% TEXTURE.C %COMPC% SSPRITE.C :: COMPILE MAIN SOURCE CODE CD .. %COMPC% BOR.C :: LINK THE PROJECT wlink system pmodew file BOR.OBJ,gamelib3\*.obj echo. PAUSE COMPILE.BAT :exit echo .<- echo ------- echo - Ok. - echo ------- [/code] Thank you very much, Roel, for your time and your amazing work! Although I played many mods at the time, not much from the OpenBoR era, but the original ones, the original BoR still has me. It's very neat and well crafted. I still play it to this day, but mostly the console ports. Again, thank you Roel, Jeroen, Ian Micheal, Kirby2K, Shaun Nichols, Mr. Q (Mauricio), Master Drico, bWWd, Rameen, L@Cible, DemonCaskey, KungFuCoder, KungPow and of course Neil Corlett for porting this amazing game to PS2, Dreamcast and og XboX (or was the original XboX port made by a600? Can't remember). Well, just in case I forgot to mention someone, thanks to all the BoR community, from all over the world, who always brings me sweet memories from 20 years ago. :) That was a really, really nice time. :) That's why it's important to me my nephew could play with the original BoR source code. :) All the best! [img]att:218193[/img] EDIT: I just forgot to mention: Make sure you have [b]PMODEW[/b] directives in your [b]WLINK.LNK[/b]: File: [b]C:\WATCOM\BINW\WLINK.LNK[/b] [code] # example linker initialization file. # remember, don't put carets (^) in these! system begin 286 libpath %WATCOM%\lib286 libpath %WATCOM%\lib286\dos format dos end system begin 386 option osname='DOS/4G' libpath %WATCOM%\lib386 libpath %WATCOM%\lib386\dos op stub=wstub.exe format os2 le end system begin pmodew option osname='PMODE/W' libpath %WATCOM%\pmodew libpath %WATCOM%\lib386 libpath %WATCOM%\lib386\dos option stub=pmodew.exe format os2 le end @%watcom%\binw\wlsystem.lnk [/code] This should avoid the annoyance of calling DOS4GW.EXE before BOR.EXE. I think this is it.[/quote]
Happy
:)
;)
^_^
:haha:
:laugh:
(:
*_*
:proud:
:P
:XP:
;P
*^_^*
>:)
o)
^-^
Grinning
:D
:grin:
;D
>:D
:DD
XD
X'D
Sad
:(
:c
:s
*O_O*
._.
u_u
;_;
Misc
n_n'
u_u'
^O^
:/
:\
:|
:o
:solemn:
:really:
:frown2:
:frown3:
:hm:
:whatever:
^_^;
-_-
>_>
<_<
>.<
>_<;
>_<
?_?
O_O
>_O
D=
Small
:.
T_T
D:
:aaah:
:'(
:angry:
:baah:
=_=
:scared:
o_O
X_X
:puke:
:3
;3
:X3:
:q
O_O;
:y
B)
'_'
:{
Animated
:rofl:
:))
:((
!))
!((
:@:
Nonsense
[:)]
[:(]
:o)
:dance:
:toejam:
:earl:
Pictures
:!:
+_+
}|{
=:x
:evil:
:music:
*~O
:turd:
[O]
o0O
<3
:ducky:
:iron:
:cookie:
:cake:
:r:
8<
:m1:
:m2:
:m3:
:egg:
:egg2:
:d:
:pacman:
Icons
((?))
((!))
:v:
:dc:
Special Moves
:A:
:B:
:C:
:D:
:P:
:K:
:J:
:S:
:up:
:upright:
:right:
:downright:
:down:
:downleft:
:left:
:upleft:
:qcf:
:dp:
:hcf
:qcb:
:dpb:
:hcb:
Dev Log
Games
About
Forum
Shop