Skip to content

Whodeyy1234/mss-decomp

Repository files navigation

Mario Super Sluggers Build Status Code Progress Data Progress Discord Badge wakatime

A work-in-progress decompilation of Mario Super Sluggers.

This repository does not contain any game assets or assembly whatsoever. An existing copy of the game is required. A private (not downloadable) torrent is included in the orig/ that matches the hash of an RVZ generated by Dolphin 2603a.

Currently supported versions:

  • RMBE01: Rev 0 (USA/Canada; Launch & Nintendo Selects)

Other versions to be supported (eventually):

  • RMBJ01: Rev 0 (Japan & Taiwan)
  • 00050000101be100: Wii U eShop (Japan)
  • 00050000101be200: Wii U eShop (USA/Canada)

The USA/Canada Wii U version is almost identical to the retail USA/Canada version (the diff is on the order of a dozen bytes, see below).

348109,348111c348109,348111
< 0054fcc0: 8003 00c0 5400 045e 9003 00c0 3c80 cd80  ....T..^....<...
< 0054fcd0: 3860 0001 8004 00c4 5400 045e 6000 c000  8`......T..^`...
< 0054fce0: 9004 00c4 8004 00c0 5400 04a0 9004 00c0  ........T.......
---
> 0054fcc0: 8003 00c0 5400 04a0 9003 00c0 3c80 cd80  ....T.......<...
> 0054fcd0: 3860 0001 8004 00c0 5400 045e 9004 00c0  8`......T..^....
> 0054fce0: 8004 00c4 6000 c000 9004 00c4 6000 0000  ....`.......`...
348179,348181c348179,348181
< 00550120: 8016 00c0 5400 045e 9016 00c0 8016 00c4  ....T..^........
< 00550130: 3bde ffff 5400 045e 6000 c000 9016 00c4  ;...T..^`.......
< 00550140: 8016 00c0 5400 04a0 9016 00c0 2c1e 0000  ....T.......,...
---
> 00550120: 8016 00c0 5400 04a0 9016 00c0 8016 00c0  ....T...........
> 00550130: 3bde ffff 5400 045e 9016 00c0 8016 00c4  ;...T..^........
> 00550140: 6000 c000 9016 00c4 6000 0000 2c1e 0000  `.......`...,...

However, the Japanese Wii U release has much less in common with its retail counterpart, byte-wise. It does use the same versions of the RVL SDK as the Japanese version.

Current Status

Efforts are currently focused on static analysis of the North American binary. Scroll down for more info.

Dependencies

Windows

On Windows, it's highly recommended to use native tooling. WSL or msys2 are not required.
When running under WSL, objdiff is unable to get filesystem notifications for automatic rebuilds.

  • Install Python and add it to %PATH%.
  • Download ninja and add it to %PATH%.
    • Quick install via pip: pip install ninja

macOS

  • Install ninja:

    brew install ninja

wibo, a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.

Linux

wibo, a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.

Building

  • Clone the repository:

    git clone https://github.com/Whodeyy1234/mss-decomp.git
  • Copy your game's disc image to orig/RMBE01.

    • Supported formats: ISO (GCM), RVZ, WIA, WBFS, CISO, NFS, GCZ, TGC
    • After the initial build, the disc image can be deleted to save space.
  • Configure:

    python configure.py

    To use a version other than RMBE01 (USA), specify it with --version.

  • Build:

    ninja

Diffing

Once the initial build succeeds, an objdiff.json should exist in the project root.

Download the latest release from encounter/objdiff. Under project settings, set Project directory. The configuration should be loaded automatically.

Select an object from the left sidebar to begin diffing. Changes to the project will rebuild automatically: changes to source files, headers, configure.py, splits.txt or symbols.txt.

Static Analysis

There is an active static analysis project linked to this repository available on the decomp.dev Ghidra server.

The title of the project is mss. Feel free to request read access, the more eyes the better!

About

A decompilation of Mario Super Sluggers brought to you by a bunch of clever folks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Generated from encounter/dtk-template