-
Notifications
You must be signed in to change notification settings - Fork 382
1. Getting Started
-
a zelda3.sfcUS ROM file (for asset extraction step only) with SHA256 hash66871d66be19ad2c34c927d6b14cd8eb6fc3181965b6e517cb361f7316009cfb. - the
libsdl2-devlibrary (ubuntu:apt install libsdl2-dev, macOS:brew install sdl2). On Windows, it's installed automatically with NuGet. - *Linux/MacOS Only:
- Ubuntu/Debian
sudo apt install libsdl2-dev - Fedora Linux
sudo dnf in sdl2-devel - Arch Linux
sudo pacman -S sdl2 - macOS:
brew install sdl2
- Ubuntu/Debian
Git for cloning and updating

-
The
pillowandpyyamlpython dependencies used by the assets extractor.pip install pillow pyyamlFor Beginners
- verify
PIPis installed andAdd Python 3.1X to Pathis checked when running the installer
- verify

- Launch Command Prompt and install the dependencies from above

At this moment we offer 3 different options to build the project If light weight is your goal you may opt for TCC, but please note that TCC builds without optimizations so the game will run considerably slower. Visual Studios and MSYS2 are the other options available
verify that Desktop Development with C++ is checked and the other options to the right
build instructions will be in the Compile Section

TCC (Tiny C Compiler)
build instructions will be in the Compile section

the perks of this option is you will be able to git clone, run the python scripts, and compile all-in-one. will go over build instructions later in the Compile section
Install instructions are on the site
will go over build instructions later in the Compile section

MSYS2 Setup now to save time later
-
Launch MSYS2 MINGW64
type:
pacman -S mingw-w64-x86_64-python3-pillowafter it's done type:
pacman -S mingw-w64-x86_64-python-yaml -
Verification
type:
sdl2-config --cflagsshould output:
-IC:/msys64/mingw64/include/SDL2 -Dmain=SDL_mainif so, type:
sdl2-config --libsshould output:
-LC:/msys64/mingw64/lib -lmingw32 -mwindows -lSDL2main -lSDL2 -
Install Make
type:
pacman -S make -
Install GCC
type:
pacman -S mingw-w64-x86_64-gccthat's all for now, head over to 2. Cloning and Setup