Prequisite Reading
- Protecting and Cracking Game Save files
- Hint: All Wii save files have standardized encryption. After decryption using tachtig from Segher Wii Tools, Wii Sports Resort uses binary.
- Articles about my experience with this repository Article 1 / Article 2
Prequisite Hadware/Software
- Wii Sports Resort Save Data - if you have played Wii Sports Resort on your wii, you have this
- SD Card
- Wii that has an SD Card slot - not a Wii Mini
- Laptop or laptop extension that has an SD Card slot
- Terminal that runs BASH 5 or later (On Windows, WSL may be needed.)
- gcc, xxd, git
About
- Retrieve high scores, dates of received stamps, and the last 25 plays from the save file for Wii Sports Resort.
Retrieving Save File
- For Wii, open the white slot under the reset button and insert an SD Card.
- From the Home Screen on the Wii, click Wii (bottom left) > Data Managment > Save Data > Wii > Choose Game (Umbrella) > Copy
Deleting a save file will reset the game and remove all scores and progress. Do not click delete.
The save file is stored in SD://private/wii/title/RZTE/data.bin. If there is a file already there, change the folder or file name on your laptop to allow for a newer save file to be copied.
Dowload Wii Segher Tools for Tachtig (and more)
- Type in your terminal:
cd ~
thengit clone https://github.com/Plombo/segher-wii-tools
- Type in your terminal:
cd segher-wii-tools
, then typemake all
. If there are problems, typemake clean
thenmake all
. - Type
chmod +x tachtig
to create an executable file - Copy the tachtig file to a location in your $PATH with
sudo cp tachtig /usr/local/bin
You must do this
Transferring the Save File
- Insert the SD Card into a laptop or laptop extension and navigate to SD Card folder
- Rename the
private
folder to today's date and time202109071319
for easy tracking of multiple save files. - If using WSL or if you would like, copy or move the directory to your laptop and outside the SD Card (like your desktop).
- If using WSL, do this
mv /mnt/C/users/aaron/Desktop/202109071319 ~/wii-inspect
<- Change aaron to your username and make other changes as needed
Using wii-inspect
- Type in your terminal:
cd ~
thengit clone https://github.com/Aaron98990/wii-inspect
- In the terminal,
cd wii-inspect
then typebash stamps.bash 202109071319/wii/title/RZTE/data.bin
andbash highScores.bash 202109071319/wii/title/RZTE/data.bin
<- Change the date and make other changes as needed - That's all! Enjoy going through history! **Please report any errors (including in README.md) using GitHub's issue function. **
In the Future?
View high scores on a per-player bases. I know where it is on the data/game file, I just have not "coded" it.Extend stamps to more than three players. Don't show stamps screen for no/empty player.Improve formatting and use more for loops. Hard to use for loops, especially when lots of switching between hexadecimal, binary, and decimal.- Paper or Documentation with analysis of offsets of save data
- In Return Table Tennis, the score freezes at 999 but the game continues. I am curious if the save data continues.
- Investigating the recommendation system for Wii Sports Resort. I suspect there is a place to keep track of the number of games played but still testing. Note: playing the game once does not necesairly change the recommended game even after restarting.
- Level (0 - 2500) and accomplishments (Superstar or Pro) for games have not been found but I suspect a place.
Island Flyover Statistics including iPoints, balloons, 8 unlockable achievments, and balloons/iPoints in 5 minutes record.- Include the Superstar Score - the score of a game where a player starts and ends at or as close as possible to Skill Level 2000.
Branches
- Everything is done directly to master. Dev is for my experimentations and will include wacky numbers and be harder to read.
Other Wii Decrypting or Interesting Articles
- Repos for Wii Weights
- Wii Fit Weights https://code.google.com/archive/p/wii-fit-parser/wikis/HowTo.wiki (They used Preon-Java Library)
- Based on Wii Fit https://code.google.com/archive/p/wiifit/
- Walthroughs for Wii Weights
- Jansen's Walkthrough for Wii Fit https://jansenprice.com/blog?id=9-Extracting-Data-from-Wii-Fit-Plus-Savegame-Files
- Graph based on Jansen's blog http://www.kellbot.com/extracting-graphing-wii-fit-data/
- Segher Wii Tools
- http://wiibrew.org/wiki/FE100 (FE100 is Windows's port of Segher tools)
- Keys from the Wii for Segher tools https://hackmii.com/2008/04/keys-keys-keys/
- Skill Level
- Skill level is an Elo-style measure of performance when competing against AI oppoent(s) with their own visible skill level. https://arstechnica.com/gaming/2017/04/was-ubers-ceo-really-the-second-best-wii-sports-tennis-player/
- The skill points are a floating point number, of which only its integer part (its floor, i.e. rounded down, not rounded to nearest) is visible. http://orden-y-concierto.blogspot.com/2013/04/wii-sports-tennis-skill-points-system.html
- ELO Rating Elo rating https://metinmediamath.wordpress.com/2013/11/27/how-to-calculate-the-elo-rating-including-example/
- Miis
- Mii Representations in Data Files (Including Guests) https://sites.google.com/view/miilibrary/home If you have other interesting articles, please open a GitHub Issue and share.