Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Software:Minecraft: Nintendo Switch Edition

From ReverseEngineering.wiki
Software
Developer 4J Studios
Publisher Mojang / Microsoft
Platforms Platform:Nintendo Switch
Versions 1.0.17 (decompilation target)
On this wiki Facts · Code · Notes · Topics

Switch port (4J Studios, Legacy Console Edition code base) of Minecraft; GRAnimated/MinecraftLCE is a work-in-progress decompilation of version 1.0.17.

Minecraft: Nintendo Switch Edition is the Switch release of the Legacy Console Edition (LCE) line of Minecraft. The community decompilation https://github.com/GRAnimated/MinecraftLCE targets version 1.0.17 and states that it contains no game assets and cannot be used to play the game (README).

Overview

The README says the Switch edition was compiled with Clang, so a 1:1 matching build is possible, and that it contains typeinfo, so vtables can be located. It recommends the Wii U edition's Minecraft.Client.rpx (patch 35, v560), the only edition with function symbols, as a source for porting names. The repository is based on Software:The Legend of Zelda: Breath of the Wild's decomp layout and uses the same function CSV format as Tool:Nx-decomp-tools; build instructions follow Software:Super Mario Odyssey's.

Which executable

tools/setup.py of the repository accepts the main NSO either compressed (as shipped) or uncompressed:

Form SHA-256
Compressed NSO 63b7d29503400853c2cdb87a65d963cb9b5b934aea9d3d88b55764d33b13a722
Uncompressed NSO f408dbfb901ab191fbcb7b5994580ed91812bafa90ae164796ae8a254e4dcef8

See Build:Minecraft: Nintendo Switch Edition/1.0.17 (Nintendo Switch, retail).

Symbols and addresses

data/mcswitch_functions.csv has the header Address,Quality,Size,Name with addresses of the form 0x0000007100xxxxxx (offset plus 0x7100000000, see Format:NSO#Address mapping in decompilation projects). Quality letters have the meaning given in Software:The Legend of Zelda: Breath of the Wild#Symbols and addresses (O matching, M non-matching, U not decompiled). Counts at the pinned commit: 57,972 rows, of which 21,104 have a name; U 51,469; O 6,279; M 224. data/data_symbols.csv lists data symbols. Unverified: that the Quality letters carry exactly the BotW meanings in this repository (the tooling is shared, I did not read its copy here).

The repository has no LICENSE file at the pinned commit, so only names, addresses and sizes were taken from it.

Code & repositories