SolDec

From Boktai Hacking Wiki


SolDec is a decompiler for bytecode functions and scripts used in the Boktai (Bokura no Taiyou) series of games. The decompiled functions are output as (close to) C code. Currently it has only been tested with the first game, Boktai: The Sun is in Your Hand. Only a handful of control structures and keywords (e.g. if-then-else) are supported at the moment.

SolDec


DescriptionBytecode decompiler for Boktai games.
AuthorProf9
LicenseMIT
Dependencies.NET Framework
Released at2019-07-26
Homepagehttps://github.com/Prof9/SolDec

Usage:

SolDec boktai.gba 0xABCDEF

Decompiles bytecode in a ROM starting from the specified file offset. The offset must be a hexadecimal number prefixed with 2 characters.

For example, SolDec boktai-us.gba 0xE58B5E decompiles the function that calculates dungeon rank.