This tool converts Mesen emulator txt log traces, into structured asm files.
It handles code repetitions and SPC700 audio code.
This was developed using Mesen, but I don't guarantee if it works for other emulators. Contact me if it does.
It should work for any SNES game.
Important
No rom, game assets, nor extracted code in this repository.
Using a log named DKC1_USA1_2.txt :
| Overview | Bank_00.asm |
|---|---|
![]() |
![]() |
Before using it, you will need to get trace logs.
bash run.shThis will reads all .txt from traces/, delete double code, and generate .asm files in result/{FILE_NAME}.
Note
This process can be long depending on the trace files size.
On the toolbar at the top, select Trace Logger :
Make sure you got these exact settings for better compatibility :
Select Log to file... :
Save it as a .txt file in this-project/traces :
Press play button on the upper left to start trace creation :
Warning
Trace logging can quickly generate VERY large .txt file, a file from a 20min session can take up to ~60 Go ! Make sure you got large free space.






