• Stars
    star
    110
  • Rank 316,770 (Top 7 %)
  • Language
    TeX
  • License
    MIT License
  • Created almost 3 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The book of CPS-1

The Book of CP-System

A study of the revolutionary hardware used by Capcom from 1989 to 1995 to release breath-taking arcade games such as Street Fighter II, Final Fight, and Ghouls 'n Ghosts.

The source code is open-source but I retain ownership of all drawings. They are only provided here so the project can be compiled.

How to build (Linux)

  • Setup env
mkdir ~/.fonts
cp src/fonts/* ~/.fonts
fc-cache -f -v
sudo apt-get update
sudo apt install -y golang-go
go get golang.org/x/image/draw
sudo add-apt-repository universe
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt install inkscape
sudo apt install -y texlive-full
  • Build
./make.sh release

Note: Make sure Inkscape version is at least v1.0.0 or SVG -> PNG conversion will fail.

How to build (Windows)

  • Install WSL1/WSL2
  • Follow Linux steps.

How to build (MacOS X)

  • Install fonts (in src/fonts folder)
  • Get MacTeX.
  • Install golang (https://golang.org/doc/install)
  • Install Inkscape > v1.0
  • Symlink inkscape binary to /usr/local/bin or add it to your PATH
  • Get build system dependencies
go mod init "image/draw"
go get golang.org/x/image/draw
  • Build
./make.sh release

Debug mode

Building is slow when using 300dpi assets. To develop, the build system generates low dpi assets. Debug is the default mode.

./make.sh debug

Force asset regeneration

./make.sh debug|release -f

Poor typesetting

If upon compilation the typesetting is "off" with blank pages, it may be that the wrong version of TexLive is used to compile. Run the following command and make sure you are using version 2023.

$ tex --version
TeX 3.141592653 (TeX Live 2023)

This book is verified to compile properly with TexLive 2023. In case you have another version, use the following steps to install the lastest.

Uninstall TexLive

Download TexLive NetInstall

Install TexLive

More Repositories

1

Another-World-Bytecode-Interpreter

"Fabother World" an interpreter for Another World (Out of this world).
C++
857
star
2

gebbdoom

Game Engine Black Book: Doom
TeX
657
star
3

chocolate_duke3D

chocolate Duke Nukem,3D
C
601
star
4

gebbwolf3

Book about wolfenstein 3D
TeX
472
star
5

Shmup

3D Shoot'em Up written with OpenGL ES 1.1/2.0 running on iOS, Android, Windows and MacOS X.
C
263
star
6

DoomFirePSX

Fire effect from Doom PSX/Nintendo64
HTML
241
star
7

st

Command Space-Time explorer
C++
189
star
8

Chocolate-Wolfenstein-3D

C++
158
star
9

dEngine

dEngine is an OpenGL ES 2.0 renderer, uber shader based with support for shadommap, specularmap and bumpmapping.
C
113
star
10

libRealSpace

Tools to parse and render Origin Systems RealSpace engine assets.
C++
98
star
11

vanilla_duke3D

This is the original "Build" engine code released by Ken Silverman.
C++
97
star
12

Prototype

The source code of "Prototyp" by X-Out: #1 Place in "Horizontal Shooter with BOSS Competition"
C
88
star
13

ccps

SDK for CPS-1 boards
Go
77
star
14

xrick

Xrick is an open source implementation of the legendary game "Rick Dangerous".
C
60
star
15

Prototyp

JAVA LWJGL shoot'em up.
Java
37
star
16

png2svg

Convert PNG to SVG.
C++
35
star
17

dc

Driving Compilers
PHP
30
star
18

Quake--QBSP-and-VIS

Those are the bsp.exe and vis.exe source code, modified in order to really understand the PVS building system
C
26
star
19

CpuCacheMountainViewer

This is the result of the mountain program from "Computer Systems: A Programmer's perspective" by Randal E.Bryant and David R.O'Hallaron.
C
25
star
20

roaster

Tool to update NBA Jam Tournament Edition
Go
17
star
21

Pyramid

BrainTeaser for Amazon interview
Java
6
star
22

CG_Shadowmaps

This is a code sample for the book "Computer Graphics Principles and Practice" 3d edition
C
6
star
23

gitw_new

Ghost In the Wires paperback codes
Go
4
star
24

jdwp-analyzer

A tool to tracer / analyze JDWP packets
Java
3
star