Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

openwatcom & 3d engine

33 views
Skip to first unread message

moromete

unread,
Nov 13, 2009, 2:23:50 AM11/13/09
to
Hello !

Exist a 3d engine to work with openwatcom compiler ?
Tried: delta3d, irrlicht, and not working.

Thanks !

Rugxulo

unread,
Nov 22, 2009, 10:22:46 AM11/22/09
to

Rugxulo

unread,
Nov 24, 2009, 8:13:04 PM11/24/09
to
Hi,

On Nov 22, 9:22 am, Rugxulo <rugx...@gmail.com> wrote:
>
> I've not tried building any of these, but you may wish to look into
> the following (plus derivatives):

I forgot to mention Heretic / HeXen. Both of these are based upon the
Doom engine. And I've verified that the sources (now GPLv2) indeed use
Watcom (although I didn't try rebuilding them, personally, sorry).

http://www.raven-games.com/essential.php#hr
ftp://pho...@server1.thefourwinds.net/raven-games/classics/heretic_hexen_source.zip

That file is approx. 837k, but it's really a .CAB sfx .EXE plus small
text file inside a .ZIP! Fortunately, you can use 7-Zip (7za.exe,
p7zip) to unpack it:

http://sourceforge.net/projects/sevenzip/
http://sourceforge.net/projects/sevenzip/files/7-Zip/9.07%20beta/7z907.tar.bz2/download
http://sourceforge.net/projects/sevenzip/files/7-Zip/9.07%20beta/7za907.zip/download
(that's the Win32 standalone console version, also works under DOS via
Japheth's HXRT.ZIP)

http://rugxulo.googlepages.com/7zip465x.zip (DJGPP compile)
http://rugxulo.googlepages.com/7zip465s.zip

P.S. Despite being Doom-based, I don't know of any Doom source port
that compiles in OpenWatcom. At least, all the DOS ones I've found use
DJGPP as id only open sourced the Linux port (due to sound library
licensing issues).

Rugxulo

unread,
Dec 11, 2009, 2:14:09 PM12/11/09
to
Hi,

On Nov 22, 9:22 am, Rugxulo <rugx...@gmail.com> wrote:
>

> On Nov 13, 1:23 am, moromete <romeo.petr...@gmail.com> wrote:
>
> >       Exist a 3d engine to work with openwatcom compiler ?
> >       Tried: delta3d, irrlicht, and not working.
>

> I've not tried building any of these, but you may wish to look into
> the following (plus derivatives):

There's also Wolf4GW (aka, Wolfenstein 3D), the predecessor to
Wolf4SDL. It's using 386 code, C++ too (which is a little odd since
the original was C), but annoyingly you have to recompile for each
version (Apogee, Activision, shareware, Spear of Destiny full, SOD
demo). And it annoyingly only supplies IDE project files (I don't even
know if there's a suitable tool to convert those to makefiles a la
Borland's PRJ2MAK.EXE).

Anyways, here's my quickly-hacked-together .BAT to compile it (seems
to work with non-LFN-aware DOS OpenWatcom 1.8 too):

========================================
@echo off
REM http://www.stud.uni-karlsruhe.de/~uvaue/chaos/

if "%WATCOM%"=="" goto end
if not exist id_us_a.asm goto end

set WATFLAGS=-mf -q -5r
if "%DOS4G%"=="" set DOS4G=quiet
wasm.exe %WATFLAGS% id_us_a.asm
if exist gamepal3d.cpp ren gamepal3d.cpp gampal3d.cpp
for %%a in (*.cpp) do wpp386 %WATFLAGS% -j -zp1 -ox -bt=dos -xs -xr -
w0 %%a
set WATFLAGS=
if "%DOS4G%"=="quiet" set DOS4G=

echo fil
id_us_a.obj,gampal3d.obj,id_ca.obj,id_in.obj,id_pm.obj,>wolf4gw.lnk
echo
id_sd.obj,id_us_1.obj,id_vh.obj,id_vl.obj,signon.obj,>>wolf4gw.lnk
echo wl_act1.obj,wl_act2.obj,wl_agent.obj,wl_debug.obj,>>wolf4gw.lnk
echo wl_draw.obj,wl_game.obj,wl_inter.obj,wl_main.obj,>>wolf4gw.lnk
echo wl_menu.obj,wl_play.obj,wl_state.obj,wl_text.obj>>wolf4gw.lnk

wlink name wolf4gw sys pmodew op maxe=25 op q @wolf4gw.lnk

if exist wolf4gw.exe upx -qq --best --lzma wolf4gw.exe
if exist wolf4gw.exe stubx -s wolf4gw.exe
:end
for %%a in (obj lnk err) do if exist *.%%a del *.%%a
========================================

P.S. Wolf4SDL will run in DOS via HX (HXRT + HXGUI), but it needs the
two SDL .DLLs (no problem) and MSVCRT or MSVCR71 (ugh!). Ideally, it
would be recompiled with OpenWatcom (of course) to not need the
latter. Of course, I'm not Windows savvy, so I wouldn't enjoy trying
that.

http://www.bttr-software.de/forum/board_entry.php?id=7280

Rugxulo

unread,
Dec 21, 2009, 3:54:10 AM12/21/09
to
Hi,

On Dec 11, 1:14 pm, Rugxulo <rugx...@gmail.com> wrote:
>
> And it annoyingly only supplies IDE project files (I don't even
> know if there's a suitable tool to convert those to makefiles a la
> Borland's PRJ2MAK.EXE).

No one replied like I hoped, and a quick glance didn't find anything,
but that's probably because I expected similar naming to Borland
(PRJ2MAK). And yet there is apparently such a tool included (1.8
only???): IDE2MAKE.EXE. So there. :-P

0 new messages