mirror of
https://github.com/spicyjpeg/573in1.git
synced 2025-01-22 19:52:05 +01:00
Konami System 573 security cartridge tool
Building
The following dependencies are required in order to build the project:
- CMake 3.25 or later;
- Python 3.10 or later;
- Ninja;
- a recent version of the GCC toolchain that targets the
mipsel-none-elf
architecture.
The toolchain can be installed on Windows, Linux or macOS by following the
instructions here
and should be added to PATH
. The other dependencies can be installed through a
package manager.
The Python script used to convert images at build time requires additional dependencies which can be installed by running:
py -m pip install -r tools/requirements.txt (Windows)
sudo pip install -r tools/requirements.txt (Linux/macOS)
Once all prerequisites are installed, the tool can be built in debug mode (with command-line argument parsing disabled and serial port logging enabled by default) by running:
cmake --preset debug
cmake --build ./build
Replace debug
with release
to build in release mode.
Languages
C++
66.8%
C
12.8%
Python
12.1%
Verilog
3.3%
Assembly
2.8%
Other
2.2%