Game data is XML only: the JSON form of documents, the DataFormat option and Anm2Ed's JSON .anm2 loader are gone.
DataNode wraps pugixml alone, resource_find takes one path, and the read padding simdjson needed is dropped.
simdjson is replaced by rapidjson (external/rapidjson, upstream master: REPENTOGON's pinned 2016 commit does not
build with clang) for REPENTOGON's own JSON save files, through json_save's document and member helpers.
The decompilation workspace is removed (analysis/, db/, dump/, notes/, project/, scripts/): generated-src's
classes.h and stubs.cpp move to src/generated/, the overlay moves to src/overlay/ (with its console commands in
commands.cpp), and the build adds ccache, mold, precompiled headers, an optional unity build and a build/<platform>/
folder linking the resources, mods and assets. Also included: the save folder and options.ini flags (--saves,
--options, --help), Steam Cloud left offline, and further REPENTOGON vanilla fixes and player and room behaviour.
source_tree.py writes generated-src/stubs.cpp: every function, vtable slot and import src/ has not taken over, defined
as a stub that prints 'Reached <name> <address>, not reconstructed yet' and stops. CMake builds src/*.cpp + stubs into
the isaac executable, so each run names the next function to curate. src/main.cpp hands over to the game's IsaacMain.
Classes with only parameterised constructors get a defaulted one, so stub constructors of their holders compile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Config and .anm2 data are converted from the install's XML (and packed archives) into a gitignored resources/ by a
tool in the gitignored tools/, as in smack-a-brother. The game has no XML parser.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SDL3 replaces GLFW, Win32 and OpenAL (window, OpenGL context, input, gamepads, audio), trimmed to those pieces as in
smack-a-brother. Lua 5.3 keeps the mod API. Online features become offline stubs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The decompiled C++ tree moves to generated-src/ (classes.h, C++20); src/ is for code written by hand. A curated function
defines the generated declaration and starts its comment with its address, and source_tree.py stops emitting that body.
src/rng.cpp takes over RNG (SetSeed, the constructor, Next, RandomInt, RandomFloat, Shuffle) with the shift table read
from the exe as a constexpr array; src/log.h names KAGE_LogMessage's levels (1 INFO, 2 NET, 4 WARN, 8 ERROR, 16 ASSERT,
from its prefix jump table). CMakeLists.txt builds src/*.cpp against generated-src/classes.h (clean with -Wall -Wextra).
structs.hpp and headers.py are retired: scripts/merge_fields.py writes the merged field list, classes.h checks the layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>