Sarge
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Please explain me something about dehacked
 
Author
All times are GMT. The time now is 17:12. Post New Thread    Post A Reply
scifista42
Senior Member


Posts: 2062
Registered: 05-12


I know this can be found in documentations but 1) it's easier to put a question to forums than read through dozens of pages, 2) the parts of documentations I already read quite confused me and 3) what I'm asking for is something very basic. I grew up on ZDoom and I have only the slightest knowledge about what dehacked is.

The only thing I want is to simply change intermission texts and level names on automap in my PWAD for Ultimate Doom. But I can't get it to work and recently I doubted if it's even possible or if I just overlooked something really obvious. (the 2nd is very likely)

I use Whacked2 and can't complain on it. I used the 'UD 1.9 format' (or how it is called). The .deh file looks fine, as I've compared its content with DEHs from other wads. But no matter if I start Doom.exe, Doom2.exe or Chocorenderlimits, if I use parameter "-file test.wad -file test.deh" or if I copy the text to a DEHACKED lump inside my wad and then launch it. I always see "Hangar" or "Entryway" on the automap in vanilla (ports work). I can't get this to work even with the other wads I've downloaded, for example Arcadia.wad.

Please, tell me what I'm doing wrong or what's wrong with my way of thinking. Thanks in advance!

Old Post 03-29-13 19:03 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Memfis
Forum Spammer


Posts: 5616
Registered: 04-07


Vanilla doom can't load dehacked patches, you need to patch doom.exe
http://www.aspectsweb.co.uk/dehacked/deh03.html

Old Post 03-29-13 19:28 #
Memfis is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Archy
Forum Regular


Posts: 672
Registered: 11-09


chocolate-doom -deh file.deh -file file.wad

Memfis said:
Vanilla doom can't load dehacked patches, you need to patch doom.exe

Someone needs to make an exe that auto hacks vanilla Doom when "-deh xxx.deh" is used.

Example:
"Deh.exe -file av.wad -deh av.deh -exe dehdoom2.exe"

Would auto patch dehdoom2.exe with av.deh and if another .deh is loaded, av.deh will be removed and replaced with the next .deh.

.deh's would be combined if "-deh av1.deh av2.deh" was used just as wads are combined if "-file 1.wad file2.wad" is used.

Old Post 03-29-13 19:52 #
Archy is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Obsidian
Forum Staple


Posts: 2548
Registered: 05-12


I think you have to have "merge" instead of "file" if there's sprite replacement, if that helps.

Old Post 03-29-13 22:07 #
Obsidian is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
wesleyjohnson
Senior Member


Posts: 1011
Registered: 04-09


That is why it is called dehacked. It HACKs Doom. It originally was a program that loaded a doom executable, then hacked it by overwriting parts of the executable with replacements. That requires the dehacked program.
Modern ports get the same effect by reading the dehacked control script and modifying themselves more elegantly.

Old Post 03-29-13 23:02 #
wesleyjohnson is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
GreyGhost
Why don't I have a custom title by now?!


Posts: 8690
Registered: 01-08



Archy said:
Someone needs to make an exe that auto hacks vanilla Doom when "-deh xxx.deh" is used.
Or learn how to use batch files.

Old Post 03-30-13 02:42 #
GreyGhost is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Archy
Forum Regular


Posts: 672
Registered: 11-09


I know myk made an auto-dehack batch file, I could probably make one too if I actually played more than two dehacked wads.

Old Post 03-30-13 02:56 #
Archy is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
scifista42
Senior Member


Posts: 2062
Registered: 05-12



Memfis said:
Vanilla doom can't load dehacked patches, you need to patch doom.exe
http://www.aspectsweb.co.uk/dehacked/deh03.html


Thanks for pointing that out. How do I patch doom.exe using Whacked2? I can't make it to do anything else than creating the .deh file.

Maybe you already answered it but I don't get it. Sorry, as I said I'm totally new to this and don't understand the basics.

Old Post 03-30-13 09:56 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Grazza
=/-


Posts: 12433
Registered: 07-02



scifista42 said:
How do I patch doom.exe using Whacked2?
You don't. You use dehacked.exe. Both the documentation included with it, and page Memfis linked to, provide instructions. It's a DOS program, so depending on your OS, you may need to use Dosbox.

If your next question is "What's a command line?", I suggest you give up at this point.

Old Post 03-30-13 10:01 #
Grazza is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
scifista42
Senior Member


Posts: 2062
Registered: 05-12



Grazza said:
You don't. You use dehacked.exe.

Aha! I thought Whacked2 is the same as Dehacked, only for Windows. Thank you for this information.

Old Post 03-30-13 13:14 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Flesh420
Member


Posts: 283
Registered: 08-05


Use a mapinfo lump if you're editing for ZDoom. It's easy and quick.

Old Post 03-30-13 19:40 #
Flesh420 is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
wesleyjohnson
Senior Member


Posts: 1011
Registered: 04-09


Reading that brief Doom Wiki on WhackEd might be misleading.
The links are going stale too.
It needs updating by someone with some knowledge of WhackEd (and that would not be me).

From that description, I believe it is a text editor for the Dehacked control scripts. Maybe it edits them in lump form ??

Old Post 04-01-13 20:52 #
wesleyjohnson is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
scifista42
Senior Member


Posts: 2062
Registered: 05-12


Hi, I'd just like to say my thanks to all of you who responded, since today I finally tried to get Dehacked to work and had a lot of trouble, but I eventually made it! Now I'm able to create exe files which allow you to play my vanilla mod with altered texts. I would never succeed without your advices from this thread. Again, thanks a lot!

Old Post 05-08-13 14:16 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 17:12. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Please explain me something about dehacked

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.