Skip to content

Conversation

@dangowrt
Copy link
Member

@dangowrt dangowrt commented Nov 8, 2024

Add everything needed for a classic DOOM experience.

Note that the patch for SDL fixes a segfault issue which has been addressed upstream by libsdl-org/SDL@68d2d9f76d, however the commit is not atomic and only part of the upcoming SDL3 preview.

Required PRs to be merged before:

@dangowrt dangowrt mentioned this pull request Nov 8, 2024
@dangowrt
Copy link
Member Author

dangowrt commented Nov 8, 2024

How to play

SDL2 Doom works best under Wayland. You need a local input device (a USB keyboard, joystick, or a lot of GPIO keys).

weston --shell=kiosk &
sleep 1
WAYLAND_DISPLAY=wayland-1 sdl2-doom -iwad /path/to/DOOM.WAD

@dangowrt dangowrt force-pushed the sdl2-doom branch 2 times, most recently from b47c10b to 868ebe4 Compare November 12, 2024 02:32
Package SDL2 library with most commonly used audio, video and input
backends.
Tested on KMS/DRM and Wayland with OpenGLES 2.0, but OpenGL or Vulkan
should work just as well.

Signed-off-by: Daniel Golle <[email protected]>
Add SDL2 audio mixer and music playback library.

Signed-off-by: Daniel Golle <[email protected]>
Add simple port to SDL2 of the classic DOOM engine.
Works fine on Wayland without requiring any 3D hardware acceleration.

Signed-off-by: Daniel Golle <[email protected]>
@dangowrt dangowrt merged commit 748651c into openwrt:master Dec 5, 2024
1 of 11 checks passed
@dangowrt dangowrt deleted the sdl2-doom branch December 5, 2024 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant