cdlewiscdlewisCommunityยท5 Agent Skills Included

snowboardkids2-decomp

Reverse-engineer N64 assembly into matching C code

Decompiles Nintendo 64 assembly from Snowboard Kids 2 into C code that compiles to a byte-identical ROM. Eliminates guesswork in matching functions, renaming symbols, converting asset arrays, and fixing BSS and data segment layouts. Provides build-and-verify scripts, diff utilities, and microcode references so each change is validated against the original ROM checksum.
npx skills add cdlewis/snowboardkids2-decomp --all -g -y
Available:

Tells the agent how to bootstrap a decompilation environment for a function, iterate on C code until it matches the target assembly, integrate the result, and verify the full ROM build before stopping.

All Skills in This Repository (5)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install snowboardkids2-decomp?โ–ผ

Run `npx skills add cdlewis/snowboardkids2-decomp --all -g -y` in your terminal to install all skills in this suite globally.

What is a matching decompilation project?โ–ผ

It is a reverse-engineering effort to write C code that compiles into the exact same assembly as the original game ROM, verified by checksum.

How do I decompile an N64 function to C?โ–ผ

The skills guide the agent to spin up a per-function environment, compile candidate C files, diff them against the target assembly, and iterate until the match reaches 100%.

Can it handle F3DEX2 and S2DEX microcode?โ–ผ

Yes. A dedicated skill identifies display list commands, disassembles them, and rewrites them with the correct gbi.h or gs2dex.h macros.

Do I need to own the game to use this project?โ–ผ

Yes. The repository contains no game assets, so you must supply your own Snowboard Kids 2 ROM to extract and rebuild.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’