DoomRL > Modding
Compiling
Placek:
Hello, I wanted to make a mod. I've read the tutorials about modding, but they didn't tell how to compile the mods.
So, could anyone tell me how to compile them?
Game Hunter:
You need the DoomRL WAD compiler, which I've packaged here, together with the necessary lua compiler needed (don't worry about running that file). In order to compile a WAD, you'll want to put these files in your DoomRL base folder, then run this command in your console at your DoomRL base folder:
--- Code: ---drlwad mod_name
--- End code ---
This would compile, for instance, your mod_name.module and save it into mod_name.wad.
You don't need to compile your modules in order for other people to run them, though. It's a little annoying because, at the moment, you have to include all of the run-time code in the main.lua file (this, among other modding issues, will be fixed in 0.9.9.5).
Placek:
Can you tell me how to use it? I have a module but when I try to compile it, dlrwad and luac just flashes and that's all. I don't get a wad.
Game Hunter:
--- Quote from: Placek on November 13, 2011, 13:25 ---Can you tell me how to use it? I have a module but when I try to compile it, dlrwad and luac just flashes and that's all. I don't get a wad.
--- End quote ---
--- Quote from: Game Hunter on November 13, 2011, 12:05 ---...run this command in your console at your DoomRL base folder:
--- Code: ---drlwad mod_name
--- End code ---
This would compile, for instance, your mod_name.module and save it into mod_name.wad.
--- End quote ---
If you're running something like Linux then using a console shouldn't be unfamiliar to you. If you're using Windows, open up the Command Prompt console emulator and navigate yourself to your DoomRL base folder (such as, for example, C:\Games\DoomRL). Then, use the command I mentioned in that other post (drlwad mod_name), where mod_name should be the identifier of your module.
The console should show a 'Compiling module "mod_name" ...', then a 'Done.' when it finishes. The WAD file should be in your modules folder at that point.
EDIT: If you're still having issues, it could be that you're inexperienced with Command Prompt (that is, a console-based interface). Rather than enter back-and-forth posting, you should probably get on our IRC channel and we can figure it out from there.
Placek:
I've found out how to use the command promt, thanks for help.
Unfortunately, I won't be playing DoomRL anymore due to the in-real-life stuff.
Anyways, thanks for help again. :)
Navigation
[0] Message Index
[#] Next page
Go to full version