Chaosforge Forum

DoomRL => Modding => Topic started by: GinDiamond on March 25, 2013, 12:24

Title: Compiling/Decompiling WAD files?
Post by: GinDiamond on March 25, 2013, 12:24
1. How do you compile your XXXX.module folder to a .wad file?

2. If possible, how can you decompile a .wad to a .module folder?
Title: Re: Compiling/Decompiling WAD files?
Post by: yaflhdztioxo on March 25, 2013, 15:55
A wad compiling kit WILL be released soon.  You won't need it unless you're one of those dirty closed source proponents though.  Just use the raw files...

An official wad decompiler does not and will not exist.  People have made them over the years but as of right now you don't need one unless you want to peek at the official DoomRL lua code.  The quality of the decompiled scripts will be questionable.  You should probably just ask on IRC for the bits you want.
Title: Re: Compiling/Decompiling WAD files?
Post by: Kornel Kisielewicz on March 25, 2013, 16:05
1. there's a drlwad executable for that - I don't have access to a Windows machine at the moment, but if you bug someone with source access they might compile it for you.

2. you cannot do that reliably -- lua files stored in WAD files are in compiled form. You technically can decompile them, but that would be a waste of effort - just ask the author for the source.
Title: Re: Compiling/Decompiling WAD files?
Post by: GinDiamond on March 25, 2013, 17:43
could I get the source code to doomrl.wad/core.wad? :-)
Title: Re: Compiling/Decompiling WAD files?
Post by: yaflhdztioxo on March 25, 2013, 18:00
IRC.  Reasonable requests will sometimes result in snippets.