Giter Club home page Giter Club logo

sonicriderste's Introduction

Sonic Riders Tournament Edition

This repo contains a WIP decompilation of Sonic Riders Tournament Edition, which is based off of Sonic Riders (USA).

It builds the following DOL:

main.dol: sha1: 1be22a929b4d51a11dcf1bee34d45600b561ee6c

NOTE: The DOL is currently shiftable. This means you can add data anywhere you want, without it breaking the entire game.

Building

Required packages

Below are required MSYS2 terminal packages (in-depth installation is found in the instructions):

  • mingw-w64-x86_64-python
  • mingw-w64-x86_64-cmake
  • mingw-w64-x86_64-gcc
  • dkp-cmake-common-utils

Instructions

These instructions are catered to Windows. Instructions may vary on different operating systems.

For maximum compatibility, you should install devkitPro using their graphical installer, and you should use the MSYS2 terminal included with your devkitPro installation, using the MINGW64 environment. By default, the MSYS2 terminal launches in the MSYS2 environment. To launch it in the MINGW64 environment, run mingw64.exe in your devkitPro's MSYS2 installation folder. The following instructions assume you are using the MSYS2 terminal with the proper environment.

  1. Make sure your terminal is up to date. Do this via pacman -Syu.

  2. Make sure you have Python installed in your environment. You can do so via pacman -S mingw-w64-x86_64-python.

    1. If this gives you an error saying error: target not found, you need to add all the mingw64 repositories to your pacman.
    2. To do this, run nano /etc/pacman.conf to open up pacman's configuration in a CLI text editor.
    3. Add the following lines at the bottom of this file:
    [mingw64]
    Include = /etc/pacman.d/mirrorlist.mingw64
    
    1. Press CTRL+X, then Y, then Enter to save changes.
    2. Run pacman -Syu to update your changes, then try installing the package again.
  3. Make sure you have the correct version of cmake installed. You can do this in the terminal via pacman -S mingw-w64-x86_64-cmake.

  4. Also make sure you have the following packages installed using these commands: pacman -S mingw-w64-x86_64-gcc and pacman -S dkp-cmake-common-utils.

  5. Last but not least, navigate to your devkitPro folder (usually at C:\devkitPro), and go into the cmake folder and open dkp-initialize-path.cmake with a text editor.

  6. Comment out lines 3-5 using the # symbol, so that they look like this:

#if(CMAKE_HOST_WIN32)
#	message(FATAL_ERROR "CMake must be installed and launched from msys2: pacman -S cmake")
#endif()
  1. Once that's done, clone the repo to your computer via git clone or any other similar way. (This step doesn't go through the MSYS2 terminal.)

  2. Once cloned, navigate to the tools directory in the terminal using the cd command. Then run the makeTools.sh script via this command: ./makeTools.sh.

  3. After that, make a new folder in the root folder of the project, where the build files will be generated in. For example, you can name the folder build.

  4. Navigate into that directory using the cd command again. Then run the following command to generate the build files: $DEVKITPRO/devkitPPC/bin/powerpc-eabi-cmake ../

  5. Run ninja in the same directory to build the DOL file (you can also run ninja -j$(nproc --all) for faster build times). The main.dol file will be built and compiled into the same build folder you created.

Contributions

Contributions and PRs are welcome.

sonicriderste's People

Contributors

exortile avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.