fabiensanglard / gebbwolf3

Book about wolfenstein 3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game Engine Black Book: Wolfenstein 3D

This is the source code for the Game Engine Black Book: Wolfenstein3D. I am releasing the source code (.tex) under GPL license. I retain ownership of all drawings and only provide them so the overall thing is compilable.

Note: For all systems, make sure you have Inkscape version v1.0.0 or above. If you don't, the conversion from SVG to PNG will fail.

To compile on Mac OS X:

  • Install golang: https://go.dev/
  • Install Inkscape (min v1.0.0):
  • Install MacTeX library (for epstopdf and pdflatex):
  • Make sure inkscape binary is in your PATH or symlink it where your PATH points to.
  • Run:
    • ./make.sh

To compile on Debian GNU/Linux and derivatives (Ubuntu):

  • Install Inkscape and TeX Live library (for epstopdf and pdflatex):
    • sudo apt install inkscape texlive texlive-font-utils texlive-fonts-recommended texlive-latex-extra golang-go
  • Run:
    • ./make.sh

To compile on Windows:

  • Install WSL1 or WSL2.
  • Follow Linux instructions.

To speed up compilation:

  • Build with ./make.sh debug (uses 100 DPI assets)
  • Comment out the part you are not working on in src/book.tex

Fabien Sanglard

About

Book about wolfenstein 3D


Languages

Language:TeX 86.7%Language:C++ 6.0%Language:C 5.4%Language:Go 0.9%Language:Assembly 0.8%Language:CMake 0.1%Language:Shell 0.0%