dethrace
dethrace copied to clipboard
Reverse engineering the 1997 game "Carmageddon"
It would be neat to be able to enjoy Carma 1 + Splat Pack with proper controller support, making it possible to map everything to an Xbox gamepad / xinput...
Using build 4200cfa on Windows 11, there seems to be various rendering glitches while in in-car view. You can see colored trails of the cars passing by at the start...
If widescreen support was added later on, I suppose the in-car viewmodel for each car would have to be redrawn later on to fit the 16:9 aspect ratio? Maybe some...
Dethrace looks gorgeous while executing the -hires command, but I'll have to admit that an option of running a pixel resolution closer to modern displays would be the icing on...
I was about to test win64 build at https://github.com/dethrace-labs/dethrace/actions/runs/5019323827 If I enter the configuration menu and try to change to any of the layouts the game crashes, and in the...
Whenever `GetBoundsEdge` gets called with a particular combination of `plane1`/`plane2` values, the `pos->v` and `edge->v` vectors end up accessed at out-of-bounds indices. In one particular situation, when `edge` points to...
https://github.com/libsdl-org/setup-sdl
In `S3Shutdown`, the descriptors are cleaned up with the following code: https://github.com/dethrace-labs/dethrace/blob/07d517307a2be88e086f8b94d53327072b8cf50d/src/S3/audio.c#L103-L113 However, `S3Disable` disables `gS3_enabled`: https://github.com/dethrace-labs/dethrace/blob/07d517307a2be88e086f8b94d53327072b8cf50d/src/S3/audio.c#L124-L126 Which causes `S3DisposeDescriptor` to never do anything: https://github.com/dethrace-labs/dethrace/blob/07d517307a2be88e086f8b94d53327072b8cf50d/src/S3/audio.c#L193-L200 Applying the following patch to...
do you already use ASAN under Linux? adding these lines to the CMakeLists.txt will add ASAN support ``` SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fno-omit-frame-pointer -Wall -Wextra -fsanitize=address" ) SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fno-omit-frame-pointer -fsanitize=address")...
When Dethrace is started in `-hires` mode, and no hires assets are available, the game segfaults. ## Reproducer 1. [Download and extract the Carmageddon demo](https://rr2000.cwaboard.co.uk/R4/PC/carmdemo.zip): it has no `DATA/64X48X8` directory....