r/DoomModDevs • • Sep 01 '25

Tutorial Guide: How to make Ultimate Doom Builder work on Linux [Ubuntu/Debian]

7 Upvotes

As I was trying to set my modding tools to work on Linux as they did on Windows, I noticed the lack of powerful map editors, such as UDB. And after some digging, I found a forum in Doomworld where user Boris give step-by-step instructions to make it work.

I wanted to share how I did it after following his guide.

We need to compile the program ourselves from github, so here is how in a very basic approach on how to make it in a simple way.

1) Install Mono

Mono is a free open-source implementation of Microsoft's .NET platform. It basically allows you to compile and run programs made for .NET, so we need Mono to compile it and run it on our Linux system.

Add Mono repository to your system (Link)

sudo apt install ca-certificates gnupg

sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list

sudo apt update

Finally Install Mono

sudo apt install mono-devel

mono-devel does de work, although it's not the full thing.

Install additional required packages we need

sudo apt install make g++ git libx11-dev mesa-common-dev

These are compilation tools for C++, also to clone the UDB repository.

2) Clone and Compile Ultimate Doom Builder

I'd suggest here, to make a directory for our tools :)

mkdir -p ~/doomdev 
cd doomdev

With "make dir" (mkdir) we made a folder called "doomdev" (or name it as you want), then, with "cd" we entered that directory.

Clone the repository

Once into doomdev folder, we clone the github repository.

git clone https://github.com/jewalky/UltimateDoomBuilder.git

Which will create a folder called UltimateDoomBuilder inside doomdev.

Enter the project's folder and Compile

cd UltimateDoomBuilder

We are now inside UDB's root folder.
So we can compile:

make

This last command simply compiles the whole project so we can run it.

Warning! [Error]
In my case, the Terminal gave this error:

Source/Native/RawMouse.cpp:198:10: fatal error: X11/extensions/Xfixes.h: No such file or directory 198 | #include <X11/extensions/Xfixes.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:22: native] Error 1

That means that the compiler didn't find Xfixes.h file, which is an extension of X11.

Solution
Just install it lol

sudo apt install libxfixes-dev

Now run make command again and it should compile.

3) Run Ultimate Doom Builder

To run the map editor, you need to be inside "Build" folder, so let's enter.

cd Build

And run the following command

./builder

And that's it! You've a working UDB on Linux.

Useful lifehack [Create an executable]

Following all the path to the Build folder to execute ./builder is not so funny, fortunately, we can create a file which will allow us to run UDB typing "udb" in the Terminal.

To do that, we go to .local and create a "bin" folder. Then, we open "nano" (the text editor).

nano ~/.local/bin/udb

And inside that, you paste this script:

#!/bin/bash
cd ~/doomdev/UltimateDoomBuilder/Build
./builder

Save it and close the text editor.

Make it executable
Once again in the Terminal, we'll make that file we created, an executable.

chmod +x ~/.local/bin/udb

Run it anywhere
You now should be able to type "udb" into the Terminal and get UDB running.

Troubleshooting
If it gives you this problem:

Command 'udb' not found, but there are 24 similar ones.

You may need to add the folder to your PATH.

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc source ~/.bashrc

And it should work.

I hope you find this useful!


r/DoomModDevs • • Jun 10 '25

Resources Use your Minecraft Skin in Doom 2

Thumbnail
youtube.com
7 Upvotes

r/DoomModDevs • • Aug 14 '24

Other Request

Thumbnail
gallery
7 Upvotes

I am seeking a mod that changes the weapons and enemies in the Doom + Doom 2 mod select area, e.g. Doom 4 vanilla monsters mixed with Doom Eternal weapons instead of the Doom 2016 weapons. If I were capable, I would do it, but I don't have any way to do it myself. I play on Xbox series X, which is another reason why I am unable to do this myself.


r/DoomModDevs • • Nov 20 '22

project Learned how to import models

7 Upvotes

r/DoomModDevs • • Jul 29 '21

Resources Offline Zdoom Wiki

7 Upvotes

Does anyone have a recent download of the zdoom wiki? I'm on arch so i can't use httrack.

if not, could anyone download and post here?


r/DoomModDevs • • Nov 09 '20

Help Question

7 Upvotes

I would like to make a grapling gun in doom but I dont know how so can anyone help me pls.


r/DoomModDevs • • 16d ago

Tutorial Vanilla Tutorial #2 - Weapons - Health=Ammo, Lifesteal, Reflecting, Boomerang

Thumbnail
youtu.be
6 Upvotes

After quite some time, because I was busy, and the editing was... not going well... here is part 2.

This time, showing you interesting ideas for vanilla-compatible weapons. Namely:

  • Using health as ammo

  • Lifesteal to gain that health back

  • Instead of dodging projectiles, you can deflect them

  • how the player can shoot Homing Rockets, kinda

  • and a Boomerang, a projectile that actually returns to you, and you pick it up

I go into details, explaining the trouble, limitations, and clever workarounds.

And all the discoveries are in a single ZIP file, which you can download in the video description.


r/DoomModDevs • • May 12 '26

Help how the hell do you make glass (ultimate doom builder)

Thumbnail
gallery
6 Upvotes

ive made a texture in paint. net with an opacity of 1 put the texture into my wad with slade3 (via with this tutorial https://www.youtube.com/watch?v=huYF2KiilV4) put it on a wall (first image for reference) and i just see black thats with all transparent textures not just my custom one (second image for reference) how do i fix this

if you need more info ill try and give it (i also didint really understand what i found when searching a fix up)


r/DoomModDevs • • Oct 28 '25

Help Simply put, I want to change the music volume to 0 when the player dies without using ACS.

6 Upvotes

Any ZScript or Decorate suggestions are welcome.

EDIT: Nevermind, I solved it. Don't think it's possible with Decorate, it is with ZScript. Created a new actor in Zscript that copies the properties of the old one, and added one line into the death sequence.

TNT1 A 0 S_ChangeMusic("");

TNT1 A being an invisible picture that's displayed for 0 frames, and then the function S_ChangeMusic changes the music to the one specified in ( ) and because I just need silence, I put "" in there, and it works.


r/DoomModDevs • • Jun 17 '25

Help How can i code a companion in doom ?

6 Upvotes

I'm using DECORATE since i'm only good at that (the companion really isn't complex) but whatever i do the entity just doesnt budge or even react to monsters spawned in front of it. I tried to see other companion mods in SLADE and i don't understand anything at all


r/DoomModDevs • • Apr 23 '25

Help How do I fix this on my cell phone?

Thumbnail
gallery
6 Upvotes

r/DoomModDevs • • Mar 10 '25

Help How can i change the positions of the health, ammo, armor and ect on the hud, Also higher quality overlays over the screen, something like Halo doom evolved's hud

Thumbnail
gallery
6 Upvotes

r/DoomModDevs • • Feb 27 '24

Help Tutorial for creating new enemies?

6 Upvotes

I have dabbled in modding for doom for a while now and ive gotten an idea. i have a set of sprites and i'm trying to figure out how to create custom enemies. is there a good tutorial out there?


r/DoomModDevs • • Jan 05 '24

Concept Advanced 3D (ish) gore test (with help from Bolognese gibs)

6 Upvotes

r/DoomModDevs • • Sep 11 '23

project Tried adding black spikes in the skybox to look like those field of thorns nuclear waste site concepts

Post image
6 Upvotes

r/DoomModDevs • • May 28 '22

Help (Doombuilder 2) Make Demons spawn when picking up keys (UDMF)

6 Upvotes

I want Demons to spawn in when I pick up a specific key.

Can someone ELI5 how I can do this, please?


r/DoomModDevs • • Mar 16 '22

Help Where to find Doom II flats and textures or even a list of them?

6 Upvotes

Sorry for stupid question but I’m using pretty old Win7 64-bit CPU and didn’t get Slade working, used some ancient DOS program but which extracted all graphics into same directory (and used black as transparent color). I’m going through thousands of photographs and slowly turning them to textures and flats but it’s a chore to find ones which to replace in a directory where every gfx is. What I’d like is to as easily as possible have different sized flats and textures separated, sprites too. Where I can find a program which works on my cpu and extracts or moves different sized flats and textures or flats and textures in general to their own directory? Or maybe a download for different gfx? A clear list of them the very least? Having every gfx in one directory is a slow mess. Making textures is slow enough as is.

Hope I’ll make at least a little sense. I’m tired and ill and this is not my mother tongue but I’m frustrated of finding everything else on google but what I’m looking for.

In short: how to separate flats and textures which I have in the same directory with sprites?

Thanks in advance. Hope I live long enough to see this project through. If someone wants to lend me trees or monsters DM me, think I got everything else covered. I’m making pretty random-ish wad with mostly custom everything except weapons, I like defaults but could use new monsters.

PS. Is it possible to do a vanilla map first and then convert it to gzdoom etc format? Would like to try making vanilla stuff but I may get frustrated with limitations.


r/DoomModDevs • • Jul 20 '21

Help How do i add a monster to my mod (YES i'm super dumb)?

Post image
6 Upvotes

r/DoomModDevs • • Feb 13 '21

Help Shield help

6 Upvotes

What would be the best was to implement a player having a riot shield that can block a set amount of damage before having to recharge to be used again, and have an invincible/reflect property if timed well with projectiles, that reflects projectiles towards the crosshair? The reflections I've seen don't work that way. I want the player to be able to fire another weapon, say, a shotgun, while the raising the shield acts as a secondary fire.
I want to try my hand at making some more advanced weapons, since I'm pretty new to this, but don't know how to block damage with a secondary fire. Most of the shields I've seen seem to be for Brutal Doom or PB, but I don't want to make a mod for either of those, and the shields I've seen for Vanilla Doom don't reflect the way I want.


r/DoomModDevs • • Nov 30 '20

Help Is there a way to make the scope centred on the screen?

6 Upvotes

I have a working scope all set up, but the issue is is that due to my screen size the crosshairs is not in the centre of the scope. I can change the offsets, but it still doesn’t work if I were to use a bigger screen. I know mods like BD can make it work properly, does anyone know how?


r/DoomModDevs • • Oct 30 '20

Help Is it posible to have a camera which rotates and move by player input?

6 Upvotes

So, I have this little experiment of a weapon with a sight that you can move around the screen as some sort of a gallery shooting thing, and it works good as of now as it is more se accurate to where the aim is.
And I already setted it up to turn around left or right if the aim is at the border of the screen.

But is not easy to control it by keyboard inputs only and if I move the mouse it just shakes the player camera , which doesn't happen by keyboard inputs.

So , it is possible to start the map with a camera controled by the player so instead of shaking the player camera it just detect that mouse movement and move the aim ?


r/DoomModDevs • • Oct 25 '20

project I need help with textures

6 Upvotes

so recently i was making maps for doom using custom textures but when i tried the map out the textures were all missing how can i fix this? also, maybe just tell me how to add textures to a wad


r/DoomModDevs • • Oct 16 '20

News/Updates We have now reached 100+ Members

6 Upvotes

I don´t have anything prepared. So if anyone is interested, this is the mod that got me into modding: https://forum.zdoom.org/viewtopic.php?f=43&t=62237&start=30.

I already had Slade at that time but I never used it. I think it was once to tweak the damage on a gun. I don´t remember clearly.

Anyway I wanted the gutsripper to be the permanent weapon so I opened up the mod and just looked at the code over and over until I understood it (partially).

I started with making the melee hitbox reflective. That when I found out about the wiki and started researching. With a bit of copy paste I managed to experiment with different reflective types, buff the ranged attack and make a 3 hit combo. Then I made a Guts class to start with the sword and nothing else. It took alot of trial and error and even after finishing it it took me a while to really understand it.

The result can be found here: http://www.mediafire.com/file/qanwx79vcjs3og2/Guts_Ripper%2528alt%2529.wad/file

After that I made some simple guns using the base resources. Sadly all of my original experiments are lost but I recreated this abomination based on my memory. http://www.mediafire.com/file/zf8jih3zttjgd99/Clustergun1M.wad/file

Hope everyone has a good time and good luck.


r/DoomModDevs • • Aug 02 '20

Can you help with a couple of script templates?

6 Upvotes

Hello! I'm making my own ...mod or total conversion, although at this point I'm just calling it a game. It's this thing: https://www.facebook.com/HeCameFromBeyond/

I'm not terribly experienced and I'm finding out ways how to achieve what I have in mind. It would speed up things greatly if you could help me instead of discovering these on my own.

Okay, here we go:

  1. How to make a widescreen TITLEPIC? I don't want to make a 3D TITLEMAP, I'm going for a static pic, but I don't know how to overcome that 4:3 barrier.

  2. How to get rid of the level summary? I want to go to cluster exittext and then straight to the next level.

  3. Is there a way to add a video intro? Either when you launch the game or after you choose a new game.

  4. How to get rid of the difficulty selection? Just choose New game -> start the game on the default difficulty level.

  5. Any tips for file management? I thought I could use folders, but Slade3 tells me UDMF doesn't support folders. It'd be so nice having separate folders for enemies, separate for decorations, texture types etc. Is this even possible?

I'd appreciate your insights.