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.
1. Code capture from Mesen-S
Mesen-S -> Debug -> Trace Logger -> Log to file
Launch Game -> Stop -> Save traces as .txt2. Place logs in traces/
traces/boot_session1.txt
traces/gameplay_jungle.txt
traces/player_jump.txt3. Run script
bash extract-traces.shThis script reads all .txt from traces/, delete double code, and generate .asm files in src/.