All Projects → dethrace-labs → dethrace

dethrace-labs / dethrace

Licence: GPL-3.0 license
Reverse engineering the 1997 game "Carmageddon"

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to dethrace

Warchild
War Child denial of service testing suite
Stars: ✭ 112 (-58.67%)
Mutual labels:  dos
Pcjs
The original IBM PC and other machine emulations in JavaScript
Stars: ✭ 171 (-36.9%)
Mutual labels:  dos
Burn-Byte
Burn Byte is a modern and powerful DDOS Toolkit
Stars: ✭ 37 (-86.35%)
Mutual labels:  dos
Awesome Dos
Curated list of references for development of DOS applications.
Stars: ✭ 123 (-54.61%)
Mutual labels:  dos
Sharp
An anti-ARP-spoofing application software that use active and passive scanning methods to detect and remove any ARP-spoofer from the network.
Stars: ✭ 150 (-44.65%)
Mutual labels:  dos
Hackers Tool Kit
Its a framework filled with alot of options and hacking tools you use directly in the script from brute forcing to payload making im still adding more stuff i now have another tool out called htkl-lite its hackers-tool-kit just not as big and messy to see updates check on my instagram @tuf_unkn0wn or if there are any problems message me on instagram
Stars: ✭ 211 (-22.14%)
Mutual labels:  dos
Omniscent
Analyze of Mekka & Symposium 1997 PC 4K 1st "Omniscent"
Stars: ✭ 104 (-61.62%)
Mutual labels:  dos
doslinux
Run Linux programs on DOS
Stars: ✭ 1,272 (+369.37%)
Mutual labels:  dos
Div Games Studio
Complete cross platform games development package, originally for DOS but now available on modern platforms.
Stars: ✭ 168 (-38.01%)
Mutual labels:  dos
DDos-Attack-OVH-
Powerful DDoS Attack
Stars: ✭ 155 (-42.8%)
Mutual labels:  dos
Bootmine
Bootable minesweeper game in a 512-byte boot sector
Stars: ✭ 136 (-49.82%)
Mutual labels:  dos
Commander Genius
Modern Interpreter for the Commander Keen Games (Vorticon and Galaxy Games). There is also a gitlab repository: https://gitlab.com/Dringgstein/Commander-Genius
Stars: ✭ 144 (-46.86%)
Mutual labels:  dos
Dojs
A DOS JavaScript Canvas with sound
Stars: ✭ 237 (-12.55%)
Mutual labels:  dos
Asm2c
Tool to convert DOS Assembly code to C code
Stars: ✭ 121 (-55.35%)
Mutual labels:  dos
Docker-Swarm-DDOS
How to create a Denial of Service Attack through Docker Swarm.
Stars: ✭ 36 (-86.72%)
Mutual labels:  dos
Ddos Rootsec
DDOS Archive by RootSec (Scanners, BotNets (Mirai and QBot Premium & Normal and more), Exploits, Methods, Sniffers)
Stars: ✭ 108 (-60.15%)
Mutual labels:  dos
Ansilove
ANSI and ASCII art to PNG converter in C
Stars: ✭ 207 (-23.62%)
Mutual labels:  dos
dd86
No longer maintained. See URL.
Stars: ✭ 36 (-86.72%)
Mutual labels:  dos
basicdos
A new 8086-based reimagining of PC DOS and BASIC
Stars: ✭ 72 (-73.43%)
Mutual labels:  dos
Huge Collection Of Cheatsheet
Share of my Huge Collection of Cheatsheet (Coding, Cheat, Pinouts, Command Lists, Etc.)
Stars: ✭ 250 (-7.75%)
Mutual labels:  dos

Dethrace

Workflow Twitter Discord Carmageddon server

Want to chat? We are in the #dethrace channel on the Carmageddon discord server.

Dethrace is an attempt to learn how the 1997 driving/mayhem game Carmageddon works behind the scenes and rebuild it to run natively on modern systems.

Progress

(Follow us on Twitter to get notified of updates!)

Last updated October 3 2022

  • 75% of functions implemented
  • Latest screenshot:

Screen Shot 2022-08-29 at 8 47 23 PM

Background

Watcom debug symbols for an earlier internal build were discovered named DETHRSC.SYM on the Carmageddon Splat Pack expansion CD release. The symbols unfortunately did not match any known released executable, meaning they were interesting but not immediately usable to reverse engineer the game.

This is what it looked like from the Watcom debugger - the names of all the methods were present but the code location they were pointing to was junk:

watcom-debugger

CrayzKirk from the Carmageddon community picked it up and did a lot of painstaking work manually matching up many functions and data structures in the DOS executable to the debugging symbols.

We are slowly replacing the original assembly code with equivalent C code, function by function.

Is "dethrace" a typo?

No, well, I don't think so at least. The original files according to the symbol dump were stored in c:\DETHRACE, and the symbol file is called DETHSRC.SYM. Maybe they removed the "a" to be compatible with 8.3 filenames?

Game content

Dethrace does not ship with any game content. You'll need access to the data from the original game. If you don't have an original CD then you can buy Carmageddon from GoG.com.

dethrace also supports the various freeware demos:

Lots of other fun things are available from the Road Reaction site

Dependencies

SDL2

The easiest way to install SDL is via your favorite package manager.

OSX:

brew install SDL2

Linux:

apt-get install libsdl2-dev

Point Dethrace at the Carmageddon install directory:

export DETHRACE_ROOT_DIR=/path/to/carmageddon

Build

Dethrace uses cmake for generating build files.

To generate the build files (generally only required once):

mkdir build
cd build
cmake ..

On cmake has generated the build files for your platform, run the build. For example:

make

Run

After building, build/dethrace is created

./dethrace [args]

Run tests

A subset of tests do not require DETHRACE_ROOT_DIR. They run via Github actions when code is committed to this repo. This allows us to keep nice and clean and avoid storing any potentially legally problematic resouces in our repo.

The majority of tests do require DETHRACE_ROOT_DIR.

To run the full test suite, you must have a copy of the original Splat Pack data.

export DETHRACE_ROOT_DIR=/path/to/carmageddon_splat_pack

To run

./dethrace_test

To run a single test

DETHRACE_TEST_ARGS="-n test_name" make test

Changelog

From the beginning until release

Credits

  • CrayzKirk (manually matching up functions and data structures in the executable to the debugging symbols)
  • The developer at Stainless Software who left an old debugging .SYM file on the Splat Pack CD ;)

Legal

Dethrace is released to the Public Domain. The documentation and function provided by Dethrace may only be utilized with assets provided by ownership of Carmageddon.

The source code in this repository is for non-commerical use only. If you use the source code you may not charge others for access to it or any derivative work thereof.

Dethrace and any of its' maintainers are in no way associated with or endorsed by SCi, Stainless Software or THQ Nordic.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].