Skip to content

Instantly share code, notes, and snippets.

@lucasw
Last active September 8, 2023 01:13
Show Gist options
  • Save lucasw/e1b516d258a987ac1393af9790a2f5eb to your computer and use it in GitHub Desktop.
Save lucasw/e1b516d258a987ac1393af9790a2f5eb to your computer and use it in GitHub Desktop.
Compile Doom on Linux
@Rowan-Bird
Copy link

Chocolate Doom

https://github.com/chocolate-doom/chocolate-doom.git

This looks better:

git clone https://github.com/chocolate-doom/chocolate-doom.git
sudo apt-get install libsdl2-mixer-dev libsdl2-net-dev
cd chocolate-doom
./autogen.sh
make
./src/chocolate-doom -iwad ../DOOM1.WAD

It goes full-screen.

The keyboard doesn't work except for the buttons used for moving the player- it isn't possible to quit! Also not possible to save.

Also switching ctrl-alt-f1 to a terminal didn't work, the screen was just black.

So need to run in windowed mode, and how to fix the keyboard? chocolate-doom/chocolate-doom#740

./src/chocolate-doom-setup 

Made the game windowed and told it not to own the mouse, which allows quitting, but still no keyboard support.

Get these errors:

The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <[email protected]> X11 KeyCode 29 (21), X11 KeySym 0x79 (y).

Looking to compile DOOM on a Wii running Debian, Chocolate DOOM doesn't support PowerPC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment