Cloned Games

SpongeBob's Truth or Square Decompilation

DecompilationActive

Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported.

SpongeBob's Truth or Square (original game, not this project)Original game image
Image of the original game, SpongeBob's Truth or Square. This project has no screenshots of its own yet.
Links, repository & details

About

A byte-matching decompilation of SpongeBob's Truth or Square for Xbox 360. The goal is C++ that, compiled with the title's own 2008 Xbox 360 XDK compiler, produces bytes identical to the retail image. It currently matches 1,987 functions, reproducing 67,848 of the 8,467,964 bytes in the code section, or 0.8012 percent. It is not a port, re-implementation or emulator.

Getting started

The repository contains no part of the game, so you need your own legally obtained copy of the game and the Xbox 360 XDK. A single verification command compiles every source with the original compiler and checks the result against the retail bytes.

What you need to run it

Original game files required. The project ships code only; you provide your own copy of the game (Xbox 360 version).

  • You need your own legally obtained copy of the game; the repository does not include the retail image or ripped disc.

Licensing & legal

  • MIT for the tools, build system, documentation and sources written here, which grants no rights to the game; vendored GNU binutils and Xiph libogg/libvorbis keep their own terms.

Additional notes

Method
The author says the game is repeatedly funneled through Claude to produce a binary-accurate decompilation, and will merge nearly any method that works, compiles and gets closer.
Matched
Of the matched functions, 475 were written by hand, 1,475 were generated from their own encodings and 37 are upstream libogg and libvorbis.

FAQ

What is SpongeBob's Truth or Square Decompilation?
SpongeBob's Truth or Square Decompilation is an open-source decompilation of SpongeBob's Truth or Square. Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported. The original game ran on Xbox 360.
Do I need the original game files to run SpongeBob's Truth or Square Decompilation?
Yes. The project does not include the original game's assets, so you need your own copy.
How is SpongeBob's Truth or Square Decompilation licensed?
project: MIT (tools, build system, documentation and sources written here); GNU binutils: GPL (thirdparty/disasm/); Xiph.Org: BSD 3-clause (thirdparty/ogg_vorbis/). The repository itself is the authoritative source.
Share: