Falsebound Archive

Credits

Tom and ZZNap1

Much of this archive uses the research of Tom and ZZNap1 from the Falsebound Kingdom Discord (discord.gg/drP5zY4MBT). Their “Yu-Gi-Oh! The Falsebound Kingdom Resources” spreadsheets (Google Drive) document the game’s files and data in eight sheets:

  • Audio Deep Dive
  • Item and Ability List
  • Marshal Unlocks and Roaming Encounters
  • Mission.lsc Deep Dive
  • Models and Animations Deep Dive
  • Start.dol Deep Dive
  • Text Deep Dive
  • Textures Deep Dive

The decompilation was checked against their sheets fact by fact. Where the two disagreed, the game’s code decided. In several places it showed that their sheets were right and our notes were wrong.

What this archive uses from their work

  • The game stores no names for its music. Track names such as “Grand Victory” and the names of the result jingles come from their sheets. A fact marked Tom and ZZNap1’s research sheets is theirs and is not proven by the code; where the code disagrees, that is noted beside it.
  • Their sheets first identified modules b177-b179 as the God summon animations; the code later confirmed it (the God summon effects).
  • Their sheets first documented the meanings of many table values, which the code confirms: which sound events play no track of their own (their sheets list them as “Nothing”; the event scripts show that they are fades and volume ramps) (sound), the kinds of facility a town can hold (mission scripts), and many monster, skill and marshal table fields that the decompilation’s notes adopted: the monster class, move kinds, luck and initiative, the special-attack and skill-card effect kinds, statuses and the marshal abilities.

Thank you both.

Tools

The decompilation behind this archive is built with open tools and on earlier work by others:

  • decomp-toolkit splits the game’s program into its parts and rebuilds it.
  • objdiff compares the rebuilt code with the original, function by function.
  • m2c drafts C from the machine code as a starting point.
  • decomp-permuter tries variations of a function’s source to find the one the compiler turns into the original.
  • mwcc-debugger by cadmic, run under retrowin32, shows the decisions the CodeWarrior compiler makes inside, such as which register each variable gets.
  • The Super Smash Bros. Melee decompilation (doldecomp/melee) had already matched HAL Laboratory’s sysdolphin library and much of Nintendo’s SDK, which this game uses too; that source was adapted for this game.
  • fdlibm 5.3 (Sun Microsystems) is the source the decompilation’s versions of the C library’s maths functions were adapted from.

How the decompilation itself stands is on The decompilation pages.