Skip to content

An easily hackable reimplementation of the wolf3d engine written in modern C and intended for ease of porting to other languages.

Notifications You must be signed in to change notification settings

samiscoolco/jcwolf

Repository files navigation

jcwolf

jcwolf is a reimplementation of Wolfenstein 3D using the original game files.


Big Idea & Project Goals

  • Easy to port to other languages
  • Provide the world with easy examples of reversing RLEW and Carmack Compression
  • Contained in a single file for clarity and porting ease
  • Easy to hack or add new features (or build new games)
  • Plug and play with Wolf3D's original game data files

Getting Started

Game Files

Included in this repo are the original .WL1 files from the shareware release of Wolf3D. JCWolf is configured by default to use these.

If you have the full game, place all original .WL6 game files in the same directory where you compile your executable. Then remove the following line in main.c:

#define SHAREWARE

Build With GCC and Run

gcc main.c -o jcwolf.exe -Iinclude -Llib -lraylib -lgdi32 -lwinmm
./jcwolf.exe levelnum

Replace levelnum with a desired level number, or leave blank for level 0.

Now get psyched.

image

Planned Language Ports

  • C (base)
  • Python
  • Java
  • JavaScript
  • Go

References and Thanks

About

An easily hackable reimplementation of the wolf3d engine written in modern C and intended for ease of porting to other languages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages