A VS Code extension allowing in-editor tools. Less setup, less terminal, and less manual typing. Allows everyone to access and improve upon useful tools that might not otherwise be included in a decomp repository.
Specifically made for N64 decomp, but other platforms such as GC could be supported as well.
Compile gfxdis for wsl or linux. https://github.com/glankk/n64
Compiling from source
Open the project from VS Code and press F5 to compile and create a debugging session.
Open a workspace or folder. This is required.
Then in Settings add in the paths to gfxdis and mips2C:
Open the Decomp Tools menu by navigating to the decomp icon on the activity bar. Click the
You may need to click in and out of a function scope to get the M2C to appear. It only runs on functions that contain assembly in your decomps non_matching folder.
Highlight some dynamic DLs then press
A static displaylist generator. Find a .data file with DLs in it. Provide an offset with valid DLs and Decomp Tools will get gfxdis to generate C code until it hits a no op. Also converts
Func Size Viewer
Input a size in bytes to list any funcs that size or smaller. Only works for non_matching files that are not in extra folders.
The extension has a config file that auto recognizes decomps. The extension will need to be recompiled and updated to support more decomps. It currently has only been tested on mk64 but it has a definition for kirby.
Future Desirable Features