#doom #game #ffi

sys doomgeneric

Bindings for the doomgeneric doom port

2 releases

0.3.0-beta.3 Mar 6, 2025
0.3.0-beta.2 Nov 14, 2021

#12 in Rendering

Download history 38/week @ 2024-12-09 8/week @ 2024-12-16 4/week @ 2024-12-23 7/week @ 2024-12-30 11/week @ 2025-01-06 5/week @ 2025-01-13 150/week @ 2025-03-03 36/week @ 2025-03-10 27/week @ 2025-03-17 17/week @ 2025-03-24

230 downloads per month
Used in lidoom

GPL-2.0-only

3MB
42K SLoC

C 41K SLoC // 0.2% comments Visual Studio Project 339 SLoC Rust 166 SLoC // 0.0% comments Visual Studio Solution 31 SLoC

doomgeneric-rs

cratesio

This was primarily a test whether a doom port could be integrated into rust without much hassle (to later integrate with another platform).

The awesome doom port doomgeneric was used as a basis.

This repo was originally started as piston-doom and later turned into a standalone lib. Therefore this is technically a fork of that repo with the piston-components removed.

piston-doom


This lib uses doomgeneric as a submodule. Therefore ensure this gets cloned as well or the build will fail.

For more instructions and a running demo, see piston-doom.


TODO:

  • Setting myargv and myargc to support the -iwad-flag: You need to the file named in a default way for now. The console will show you all the names
  • Support other resolutions. Not sure if this is possible without forking doomgeneric.

Dependencies