Skip to content

DKC-Recompiled/decompiled-code-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNES ASM Code Cleaner & Extractor

It cleans and sorts a .txt log trace file from SNES emulation debug sessions on Mesen.

Tool made for a Donkey Kong Country recompilation effort.

No ROM, assets, or extracted code in this repository.

How to use it ?

1. Code capture from Mesen-S

Mesen-S -> Debug -> Trace Logger -> Log to file
Launch Game -> Stop -> Save traces as .txt

2. Place logs in traces/

traces/boot_session1.txt
traces/gameplay_jungle.txt
traces/player_jump.txt

3. Run script

bash extract-traces.sh

This script reads all .txt from traces/, delete double code, and generate .asm files in src/.

About

SNES Assembly code cleaner & exporter for Mesen log traces.

Resources

License

Stars

Watchers

Forks

Contributors