Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add SDL2, SDL2_mixer and sdl2-doom #36

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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

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]>
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