Chaosforge Forum

  • March 28, 2024, 12:17
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Compiling/Decompiling WAD files?  (Read 6334 times)

GinDiamond

  • First Sergeant
  • *
  • Offline Offline
  • Posts: 129
  • Warrant Officer-Mancubus, trying to get all Bronze
    • View Profile
    • GinDiamond Stuff
Compiling/Decompiling WAD files?
« 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?
Logged
Do not muddle in the affairs of Dragons, for thou art crunchy and taste good with ketchup.

yaflhdztioxo

  • Programmer
  • Local Inquisitor
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 298
  • Lost Sole
    • View Profile
Re: Compiling/Decompiling WAD files?
« Reply #1 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.
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: Compiling/Decompiling WAD files?
« Reply #2 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.
Logged
at your service,
Kornel Kisielewicz

GinDiamond

  • First Sergeant
  • *
  • Offline Offline
  • Posts: 129
  • Warrant Officer-Mancubus, trying to get all Bronze
    • View Profile
    • GinDiamond Stuff
Re: Compiling/Decompiling WAD files?
« Reply #3 on: March 25, 2013, 17:43 »

could I get the source code to doomrl.wad/core.wad? :-)
Logged
Do not muddle in the affairs of Dragons, for thou art crunchy and taste good with ketchup.

yaflhdztioxo

  • Programmer
  • Local Inquisitor
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 298
  • Lost Sole
    • View Profile
Re: Compiling/Decompiling WAD files?
« Reply #4 on: March 25, 2013, 18:00 »

IRC.  Reasonable requests will sometimes result in snippets.
Logged
Pages: [1]