SolDec

From Boktai Hacking Wiki
Revision as of 15:15, 12 August 2024 by Raphi (talk | contribs) (Created page with "{{Project | Type=Tool | Image=SolDec.png | ShortDescription=Bytecode decompiler for Boktai games. | Author=Prof9 | License=[https://github.com/Prof9/SolDec/blob/master/LICENSE.txt MIT] | Dependencies=.NET Framework | ReleasedAt=2019-07-26 | Homepage=https://github.com/Prof9/SolDec }} 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 o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SolDec
DescriptionBytecode decompiler for Boktai games.
AuthorProf9
LicenseMIT
Dependencies.NET Framework
Released at2019-07-26
Homepagehttps://github.com/Prof9/SolDec


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.

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.