DeHackEd Source Code

32 views
Skip to first unread message

Martin Howe

unread,
Jul 27, 2002, 8:56:32 AM7/27/02
to
Hi

I am having fun with the DeHackEd source code and would like to know if
anyone has a CURRENT email address for Greg Lewis. Furthermore, does anyone
have the name and current email address of the guy who wrote the Final Doom
DHE?

Regards

Martin

Just for the record, the reasons for asking are as follows (this is the
README in the zip file that I have prepared of the progress that I have
achieved so far):

This is just having some fun with DeHackEd version 3.0 source code. I
I wanted to extend DeHackEd to support TNT's BOOM extensions.

I wanted to port it to Windows, at least as a 32-bit console [character]
graphics program. This is possible because the LCC compiler includes the
TCCONIO package which maps the more-or-less standard Borland(r) TurboC(r)
calls to their nearest Win32 equivalents. (Weird, I didn't know Windows
even HAD such things until I looked in the source code of TCCONIO).

Currently disabled features unless you compile with TurboC++ 3 under DOS:

* graphics
Because this is a Windows port so no MCGA screen Hardware access.

* mouse
Because this is a Windows port so no MS-DOS mouse calls to call.

* sound
Because this is a Windows port so no SB Hardware access, even if you HAVE
one. For this reason, the original DeHackEd doesn't do sound on my Win2K.

* run doom
I havent' actually disabled this one yet, but I should, given time. It
ought really to be configureable to run your favourite source port or
wad-launcher instead. Give me time!

* Final Doom
This is the 3.0 source code as released by Greg lewis. I don't know if
the guy who did Final Doom DHE ever released his modifications.

I only use the mouse, but YYMV. Also I don't know what the effect of
trying to run DOOM from within DeHackEd would be under Windows as I
have never done this even with the original DeHackEd. I just use DeHackEd
as a user-friendly editor and feed the patch files into a source port.

Right now, I just want to fix any outstanding bugs, whether resulting from
portability issues (e.g, things like assuming "sizeof(int)==2") or left
from the original (e.g., unconditionally "fclose"-ing the patch file in
files.c; if the file doesn't exist, you are trying to fclose a NULL
pointer! DOS ignores it, but of course Windows gets an access violation).

Then I want to look at BOOM extensions. Finally, I am looking at the SDL
or similar multi-platform library to get back the mouse etc again. I am NOT
looking to rewrite as a GUI app as I have no experience of such things, just
a few excercises from various tutorials. When I have time it might be a good
way to learn GUI programming under Windows, but I don't have THAT sort of
time right now. I've gotten by well enough on <stdio> until now :-)


LEGAL NOTES

This is just me having fun and experimenting and I am allowing people to
see what I have done so far for the sake of curiosity. This code has NOT
been properly tested at this stage so it is probably faulty. USE IT AT
YOUR OWN RISK. If using this code kills your dog, burns your collection
of Winona Ryder* postcards and trashes Windows, it is your responsibility;
YOU HAVE BEEN WARNED. If you are not comfortable with beta/test software
then do not use it.

*[insert name of your favourite screen goddess/god as applicable]


CREDITS

Greg Lewis of course for the original DeHackEd.
Does anyone have a CURRENT email/www address for him?
ID Software for Doom.
www.idsoftware.com
Daniel Guerrero Miralles for TCCONIO
dag...@geocities.com
The only place I could find it with source code, if anyone wants to
try it with another compiler, is http://foros.solocodigo.com/index.php
The ZIP file is

http://www.solocodigo.com/foros/viewthread.php?action=attachment&tid=412&pid
=1111
Jacob Navia for the LCC compiler
http://www.cs.virginia.edu/~lcc-win32
Winona Ryder for being a babe
http://www.andgodcreatednoni.com/
Bombays for being *really* cool cats
http://www.bombaybreedclub.org

VALEDICTION

This file is included in
http://www.martin.howe.dial.pipex.com/goodies/dhe32008.zip

Have fun, send me comments, questions if you like.
Martin Howe
marti...@dial.pipex.com
July 27th 2002

--
"*** 99 O'Clock *** ?? That's _impossible_!" ~ from "Gremlins", '79
Martin Howe (www.martin.howe.dial.pipex.com)
For the Bombay and Asian Self Breed Club: Committee member, Webmaster
& Kitten List holder. Our web site is: www.bombaybreedclub.org

Jan Engelhardt

unread,
Jul 29, 2002, 9:42:54 AM7/29/02
to
>Hi
>
>I am having fun with the DeHackEd source code and would like to know if
>anyone has a CURRENT email address for Greg Lewis. Furthermore, does anyone
>have the name and current email address of the guy who wrote the Final Doom
>DHE?

Final Doom DHE? Use normal DHE which is capable of Doom (+Ultidoom), Doom2
(+Final). Doesn't it?
You possibly could ask Randy Heit <smordak (at) yahoo.com>, since the deh code
can be found in ZDoom. Or go in da zdoomforums.

>Just for the record, the reasons for asking are as follows (this is the
>README in the zip file that I have prepared of the progress that I have
>achieved so far):
>
>This is just having some fun with DeHackEd version 3.0 source code. I
>I wanted to extend DeHackEd to support TNT's BOOM extensions.
>
>I wanted to port it to Windows, at least as a 32-bit console [character]
>graphics program. This is possible because the LCC compiler includes the
>TCCONIO package which maps the more-or-less standard Borland(r) TurboC(r)
>calls to their nearest Win32 equivalents. (Weird, I didn't know Windows
>even HAD such things until I looked in the source code of TCCONIO).

So you wanna design a dehack32?
sw337.
If you are willing to learn a scripting language, you could probably do easier.
(and add a gui ^_^ instead of console)


Martin Howe

unread,
Jul 29, 2002, 5:13:33 PM7/29/02
to
"Andre Majorel" <amaj...@teezer.fr> wrote in message
news:slrnak64rb....@atc5.vermine.org...
> In article <3d429895$0$8505$cc9e...@news.dial.pipex.com>, Martin Howe
wrote:
>
> http://toronto.yossman.net/~tree/

Thanks, I've had a look. I often wonder what he looked like :-) The DeHackEd
page is just a copy of the old one. I'll probably contact him when I've
something definite to say. Right now "Dhe32" (snicker) doesn't do anything
normal DHE does except for a few minor bugfixes and features, none of which
are actually related to the DEH patch format itself.

> Would that guy be John Kaczmarski Jr. ? Unless we're not talking
> about the same person, I understand he's dead. I suggest that
> you check with Ty Halderman.

Ouch. I'll have to try him, thanks.

> Impunité zéro, Chirac en prison

Could be worse, we have Tony Blair and "New Labour", aka "Old Tory In
Disguise" :-)

"Jan Engelhardt" <jen...@linux01.gwdg.de> wrote in message
news:Pine.LNX.4.33.020729...@linux01.gwdg.de...


> Final Doom DHE? Use normal DHE which is capable of Doom (+Ultidoom), Doom2
> (+Final). Doesn't it?

No, the DHE 3.0 source code as released by GL (oh, er, that means Green
Lantern to many many people :-) doesn't cope properly with the Final DOOM
EXE files. Somebody else created that with Greg's blessing.

> So you wanna design a dehack32?
> sw337.
> If you are willing to learn a scripting language, you could probably do
easier.
> (and add a gui ^_^ instead of console)

Hey! I am NOT a script kiddie and I DON'T spell words with letters :-) :-)
At 37 I'm WAY to old to be one anyway :-)

Seriously though, right now, I am not looking to set the world alight as The
Successor To Greg Lewis's Mantle or anything like that, it is just a bit of
fun. I DID find out today from the Win32 SDK help that you CAN do mouse
handling reasonably simply from a console in Win32, it even returns the
coordinates in character cells. MS, for once doing something sane, must've
realised that there are THOUSANDS of console-GUI programs out there (mostly
written in the TurboC/Turbo Pascal libraries) that are too old/complex to
rewrite as GRAPHICS GUI programs in any reasonable space of time and that
need to be converted reasonably quickly... and that's exactly what DeHackEd
is.

Really, it's just a means to an end - I'd like DHE to handle BOOM things
like BEX strings and that means doing it for myself since Greg obviously
isn't going to anymore.

Regards

Martin

Never_Again

unread,
Jul 31, 2002, 12:41:12 AM7/31/02
to
In <3d45afc6$0$8505$cc9e...@news.dial.pipex.com> Martin Howe came
forth to alt.games.doom and thus spake unto all:

>Seriously though, right now, I am not looking to set the world alight as The

>Successor To Greg Lewis's Mantle or anything like that, [...]

But you really should! :) Source port support and an updated interface
would be a great plus.

Reply all
Reply to author
Forward
0 new messages