A Full Decompilation of Sonic Nexus (2008)
- Clone the repo, then follow the instructions in the depencencies readme for Windows to setup dependencies, then build via the Visual Studio solution
- or grab a prebuilt executable from the releases section
- Clone the repo, then follow the instructions in the depencencies readme for Windows and depencencies readme for UWP to setup dependencies, then build and deploy via the UWP Visual Studio solution.
- After install copy your
Data.rsdk
andvideos
folder into the apps localstate folder
- Download the newest version of the MSYS2 installer from here and install it.
- Run the MINGW64 prompt (from the windows Start Menu/MSYS2 64-bit/MSYS2 MinGW 64-bit), when the program starts enter
pacman -Syuu
in the prompt and hit Enter. PressY
when it asks if you want to update packages. If it asks you to close the prompt, do so, then restart it and run the same command again. This updates the packages to their latest versions. - Now install the dependencies with the following command:
pacman -S pkg-config make git mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2 mingw-w64-x86_64-libogg mingw-w64-x86_64-libvorbis mingw-w64-x86_64-libtheora
- Clone the repo with the following command:
git clone https://github.com/Rubberduckycooly/Sonic-CD-11-Decompilation.git
- Go into the repo you just cloned with
cd Sonic-CD-11-Decompilation
- Then run
make CXXFLAGS=-O2 CXX=x86_64-w64-mingw32-g++ STATIC=1 -j5
(-j switch is optional but will make building faster, it's based on the number of cores you have +1 so 8 cores wold be -j9)
- Clone the repo, then follow the instructions in the depencencies readme for Mac to setup dependencies, then build via the Xcode project
- or grab a prebuilt executable from the releases section
- To setup your build enviroment and library dependecies run the following commands:
- Ubuntu (Mint, Pop!_OS, etc...):
sudo apt install build-essential git libsdl2-dev libvorbis-dev libogg-dev libtheora-dev
- Arch Linux:
sudo pacman -S base-devel git sdl2 libvorbis libogg libtheora
- Clone the repo with the following command:
git clone https://github.com/Rubberduckycooly/Sonic-CD-11-Decompilation.git
- Go into the repo you just cloned with
cd Sonic-CD-11-Decompilation
- Then run
make CXXFLAGS=-O2 -j5
(-j switch is optional but will make building faster, it's based on the number of cores you have +1 so 8 cores wold be -j9)
Currently the only "officially" supported platforms are the ones listed above, however the backend uses libogg, libvorbis, libtheora & SDL2 to power it, so the codebase is very multiplatform. If you've cloned this repo and ported it to a platform not on the list or made some changes you'd like to see added to this repo, submit a pull request and it'll most likely be added
Join the Retro Engine Modding Discord Server for any extra questions you may need to know about the decompilation or modding it.