Easy to use SGL wrapper written in C++
Documentation

| Brought to you by | |||
|---|---|---|---|
![]() |
ReyeMe | ![]() |
robertoduarte |
![]() |
7shades | ![]() |
willll |
![]() |
nemesis-saturn | ![]() |
jae686 |
Using pre-packaged release
Go to the Releases section and download latest .zip release.
Using git repository
Clone git repository by using:git clone --recurse-submodules https://github.com/ReyeMe/SaturnRingLib.git
Note: It is important to not forget the
--recurse-submodulesotherwise some submodules (SaturnMath++ and TLSF memory allocator) will not get downloaded.
- Download toolchain. This can be done by running
setup_compiler.bat. - Download mednafen and put it into
emulators/mednafen/folder (or install it with a package manager if on linux).
You will also need to obtain bios file (mpr-17933.bin) and put it in the mednafenfirmwarefolder.
Note:
.batscripts used within SRL can be run natively on Windows, Linux or Mac.
Linux dependencies
Use your preferred package manager to install the following:
make- for compilationunzip- used during compiler installationwget- to download the compilersox- to convert audiolibsox-fmt-mp3- for sox to support mp3 files
xorriso- to build cue/bin
Samples and project in SRL can be build and run from VSCode or manually by starting .bat scripts in the sample/project directory
With VSCode (recommended)
- Open the folder of a project/sample (folder contains .vscode sub folder) with VSCode.
- Open tasks menu using
CTRL+SHIFT+B. - Click on one of the
compiletasks to build the project, orrun withtask to start emulator.
Projects can be compiled with DEBUG or RELEASE target.
Manually
- Open the folder of a project/sample.
- To build just run
compile.bator to run a built project in an emulator use one of therun with.batfiles.
To create a new custom project just copy one of the samples to the projects folder.
The name of the project can than be changed within the makefile.
Contributions are welcome! Please read our Contributing Guidelines before submitting an issue or a pull request.





