PraoLmao Posted February 6, 2022 (edited) So I'm a ZDoom modder who's been interested in getting into MBF21 modding and I was wondering how exactly do you create DSDhacked patches since it sounds like a really promising format. I know you're probably meant to use DECOhack from the DoomTools suite, but I'm not sure how to use that currently. I've made a custom monster using DEHEXTRA and WhackED before, so I have some experience, though I'm not sure if WhackED supports DSDhacked or not. Is anyone able to give me a hand here? I'd appreciate it, thanks. Edited February 9, 2022 by YoshiGa 0 Quote Share this post Link to post
MattFright Posted February 9, 2022 I'm surprised nobody has answered this yet... I can't tell you exactly how to do it because i havent done it myself yet, but Decohack apparently allows you to write code almost exactly like decorate which gets compiled into dehacked, the manual for which is in its website (linked to in its thread). And no, Whacked 4 does not currently support it, but afaik that's currently being worked on. 1 Quote Share this post Link to post
PraoLmao Posted February 9, 2022 16 hours ago, MattFright said: And no, Whacked 4 does not currently support it, but afaik that's currently being worked on. I might just wait for WhackED to update in that case, DECOhack seems promising but I'm still not sure how to use it atm 1 Quote Share this post Link to post
Aurelius Posted February 9, 2022 Here's the quick 'n dirty way: Firstly, make sure you have Java 8 or higher installed. Then, download the latest DoomTools and extract the folder to your desired location. Inside, you'll find a file called decohack.cmd. Once you have written your DECOHack source file, you can drag 'n drop it on the decohack.cmd and it'll generate your dehacked patch into the same folder, which you can then drop into your wad. To write the DECOHack source file, you'll have to refer to the documentation provided in the docs folder, specifically DECOHack Help.txt. It contains a ton of useful examples on how to modify weapons, things, strings, you name it. You can get started with DSDHacked by making a text file with #include <dsdhacked> at the start, after which you can just start defining stuff: #include <dsdhacked> weapon 5 "SilentPlasmaRifle" { +SILENT } thing 3 "FastShotgunGuy" { speed 16 } Note that with DSDHacked, you don't need to modify existing things unless you expressly want to (like with some hardcoded stuff). Instead you can use auto thing which will just choose the next free thing slot available. Custom sprite prefixes also work, so you're not limited to the SP## from DEHEXTRA. 3 Quote Share this post Link to post
PraoLmao Posted February 11, 2022 On 2/9/2022 at 10:38 PM, Aurelius said: Here's the quick 'n dirty way: Firstly, make sure you have Java 8 or higher installed. Then, download the latest DoomTools and extract the folder to your desired location. Inside, you'll find a file called decohack.cmd. Once you have written your DECOHack source file, you can drag 'n drop it on the decohack.cmd and it'll generate your dehacked patch into the same folder, which you can then drop into your wad. To write the DECOHack source file, you'll have to refer to the documentation provided in the docs folder, specifically DECOHack Help.txt. It contains a ton of useful examples on how to modify weapons, things, strings, you name it. You can get started with DSDHacked by making a text file with #include <dsdhacked> at the start, after which you can just start defining stuff: #include <dsdhacked> weapon 5 "SilentPlasmaRifle" { +SILENT } thing 3 "FastShotgunGuy" { speed 16 } Note that with DSDHacked, you don't need to modify existing things unless you expressly want to (like with some hardcoded stuff). Instead you can use auto thing which will just choose the next free thing slot available. Custom sprite prefixes also work, so you're not limited to the SP## from DEHEXTRA. Late reply but this seems really useful, thank you so much! I'll try it soon and if I have any questions should I turn to you? 1 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.