Skip to content

Crispy DOOM Emscripten port for use on Tesla

License

Notifications You must be signed in to change notification settings

scramble45/Crispy-Tesla-Doom

Repository files navigation

Crispy Tesla Doom

Crispy Tesla DOOM Icon

License

Crispy Tesla DOOM Demo

This is a Crispy Doom WebAssembly port using Emscripten Please have the latest toolchain installed or one that works to compile this. You will want to have a wired XBox one controller connected to your vehicle.

Compiling

./scripts/clean.sh
./scripts/build.sh

Running

Copy a game version of doom1.wad to ./src (make sure it has the name doom1.wad) else modify the src/index.html commonArgs. SIGIL is also compatible if you pass in the -file flag.

Then:

cd src
emrun --no_browser --port 8080 index.html

Then open your browser and point it to http://0.0.0.0:8080/

Doom should start (local mode).

src/index.html for startup details.

Once the game is running you can redirect via YouTube to go fullscreen by clicking anywhere within the canvas.

TODO

  • Improve hires mode
  • Add music OPL emulation
  • Fix controller drift and button debounce or something like that

Special Thanks

  • Cloudflare for getting the ball rolling, and giving me a better foot hold to get a Crispy port working.
  • Emscripten and there coherent documentation/toolchain.

License

Chocolate Doom and this port are distributed under the GNU GPL. See the COPYING file for more information.

Synopsis

Crispy Doom is a friendly fork of Chocolate Doom that provides a higher display resolution, removes the static limits of the Doom engine and offers further optional visual, tactical and physical enhancements while remaining entirely config file, savegame, netplay and demo compatible with the original.

Legalese

Doom is © 1993-1996 Id Software, Inc.; Boom 2.02 is © 1999 id Software, Chi Hoang, Lee Killough, Jim Flynn, Rand Phares, Ty Halderman; PrBoom+ is © 1999 id Software, Chi Hoang, Lee Killough, Jim Flynn, Rand Phares, Ty Halderman, © 1999-2000 Jess Haas, Nicolas Kalkhof, Colin Phipps, Florian Schulze, © 2005-2006 Florian Schulze, Colin Phipps, Neil Stevens, Andrey Budko; Chocolate Doom is © 1993-1996 Id Software, Inc., © 2005 Simon Howard; Chocolate Hexen is © 1993-1996 Id Software, Inc., © 1993-2008 Raven Software, © 2008 Simon Howard; Strawberry Doom is © 1993-1996 Id Software, Inc., © 2005 Simon Howard, © 2008-2010 GhostlyDeath; Crispy Doom is additionally © 2014-2019 Fabian Greffrath; all of the above are released under the GPL-2+.

SDL 2.0, SDL_mixer 2.0 and SDL_net 2.0 are © 1997-2016 Sam Lantinga and are released under the zlib license.

Secret Rabbit Code (libsamplerate) is © 2002-2011 Erik de Castro Lopo and is released under the GPL-2+. Libpng is © 1998-2014 Glenn Randers-Pehrson, © 1996-1997 Andreas Dilger, © 1995-1996 Guy Eric Schalnat, Group 42, Inc. and is released under the libpng license. Zlib is © 1995-2013 Jean-loup Gailly and Mark Adler and is released under the zlib license.

The Crispy Doom icon (as shown at the top of this page) is composed of the Chocolate Doom icon and a photo of potato crisps (Utz-brand, grandma's kettle-cooked style) by Evan-Amos who kindly released it into the public domain. The current high-resolution version of this icon has been contributed by JNechaevsky (formerly by Zodomaniac).

About

Crispy DOOM Emscripten port for use on Tesla

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published