Commit Graph
21 Commits
Author SHA1 Message Date
shweetandClaude Opus 5.5 28e2e48842 Curation round 2, wave B: ItemConfig, EntityConfig, mods, Manager and the KAGE platform on SDL3; boots to LuaEngine::Init
- item_config, entity_config and mod_manager take over their families as idiomatic classes (std containers,
  unique_ptr, bitset tear flags). Every big loader reads the imported JSON: entities2.xml gives 1349 entities.
- manager.h/.cpp take over Manager (g_manager) and IsaacStartup. Members are the curated subsystems by value.
- kage_graphics, kage_input and kage_sound take over KAGE's graphics (shaders, render targets, batches, PNG through
  stb_image), input (SDL3 keyboard, mouse, gamepads) and sound (SDL3 audio, wav and stb_vorbis ogg, pitch and volume).
- source_tree.py: classes inside a namespace block in src/ headers count as taken over, and a still-generated class's
  vtable slot keeps its stub unless src/ defines that exact method.
build/isaac opens the window, sets up GL 4.6, framebuffers and PulseAudio, logs the version, and stops at
LuaEngine::Init. 522 functions taken over, boot path 156/615.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:03:39 -05:00
shweetandClaude Opus 5.5 837aa06518 Curation round 1: 66 boot-path functions rewritten in src/; the game links into a Linux executable
Six agents took over ANM2/AnimationState/LayerState, ItemConfig, EntityConfig, StringTable/Font/FormattedText/RichText,
OptionsConfig/ChallengeParams and ModManager/ModEntry functions (FormattedText::parse checked against a transliteration
of its assembly on 200,000 random inputs). 174 field rows and 32 names from the round are merged into db/.
source_tree.py: a struct or class src/*.h defines is no longer emitted in classes.h (class takeover) and gets no stubs;
data labels get stub definitions. build/isaac links (64-bit ELF) and stops at the first function not reconstructed:
IsaacMain. Boot path 64/615 functions curated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:13:25 -05:00
shweetandClaude Opus 5.5 4cefceb1d6 Pedestals parity notes: collectible Wait 20 (Init 0x6e02f0, Update 0x6e3940, HandleCollision 0x6e8ae0), other pickups' Appear/DropSound gate, Render 0x6e69b0's shared altar/item origin, FindFreePickupSpawnPosition 0x813520
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:02:44 -04:00
shweetandClaude Opus 5.5 88b8393cfe Player parts: how Entity_Player::Update 0x782af0 transforms the head and body layer groups separately (UpdateCostumes 0x75bf00 marks layers 1, 2, 3, 11 as body; head layers take HeadTransform, _headScale, the head lift * 8; render_build_sprite_quad 0x409cb0 scales a layer about its frame pivot), Jelly Belly's wobble constants (0x787178), and the other part effects (Adrenaline, Tainted Magdalene's hug, Reverse Chariot shake, Berserk, Mars, CACHE_SIZE head scale in EvaluateItems 0x763570)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 17:43:06 -04:00
shweet e31637ca19 notes: Greed/Greedier fidelity pass (rooms/greed stage ids, generate_greed map and antechamber trigger, SpawnGreedModeWave tables, button, devil door, rewards, donation machine unlocks); greed wave fields 2026-10-25 22:43:19 -04:00
shweet 6279dabf83 notes: boss fidelity pass 2 (Mega Satan's 26 + 9 Shoot patterns, its pick, projectile wiggle/curve flags, red Mega Maw / Gate, Rag Mega, Mama Gurdy, Chimera, pass 1 gaps); projectile fields 2026-10-25 20:26:24 -04:00
shweetandClaude Opus 5.5 57cb93d778 Full redump with round 7: 465 names + ~40 corrections, 208 fields; stale REPENTOGON structs verified
field_0x 5868 -> 3946, named ->members 99k -> 104k, unnamed code 19% -> 13.5% of bytes, 9132 FUN_ left.
LayerState/ChallengeParam/DailyChallenge/Menu_Online/GameStateItemPool/ItemPool_Item/BackwardsStageDesc, left in Ghidra by
an early unfiltered import, now come from 86 verified rows (all offsets held; GlowingHourglassState's tail is +0x188 here).
Corrections: libpng/libjpeg/libvorbis misnames, wrong ZHL matches (Manager::ResizeWindow = Cutscene::ANM2Part::Update,
NPCAI_Pathfinder::EvadeTarget = netplay), GameOver::Show, Level::load_room. std::vector<bool> is 0x10 (bit count).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:32:02 -04:00
shweetandClaude Opus 5.5 f7a1e00362 Full redump with round 6 and STL/small-struct typing: field_0x 14227 -> 5868, named ->members 90k -> 99k
ApplyTypes: std_vector/string/deque/map/set/list members get MSVC layouts (_begin/_end/_capacity ...), structs used as a
member type are built even when small (BitSet128 _tearFlags._l, KColor, RNG were dropped), structs padded to a multiple
of 4 (PlayerCostumeMap stride 0x10). headers.py prints STL members at their real size and pads to the alignment.
Round 6: 99 fields (Manager ItemConfig lists/InfoDisplay/lobby settings, Game transitions/PreloadManager, PersistentGameData
arrays, HomingLaser, EntityList), 500 names, 6 corrections (Menu_Challenge::Render, Level::compute_room_distances, ...).
9622 FUN_ left, in_ECX + 0x 17363 -> 16720.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 18:31:00 -04:00
shweet 58752119fa notes: the Ascent (pre-ascent flag, Dad's Note's Mausoleum room, white-out timer, backwards stages, backwards generator, SetNextStage on the Ascent) 2026-10-25 17:54:21 -04:00
shweet 0eb78686a1 db/fields: Room alive enemy and boss counters (0x12c0, 0x12c8) 2026-10-25 17:51:22 -04:00
shweetandClaude Opus 5.5 a928f6204f Full redump with 65 typed globals, 53 fields, 346 function names; apply_db.py writes atomically
g_game/g_manager typed: 1483 g_manager-> and 834 g_game-> member accesses now visible (field_0x 10636 -> 14385 counts them);
named members 81k -> 91k, raw in_ECX + 0x 18425 -> 16225. ApplyGlobals takes array types (char[5]).
apply_db.py used to truncate all.c before computing the new text, so a killed build left it empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 17:25:09 -04:00
shweetandClaude Opus 5.5 8d10492172 db/fields: 150 formerly bracketed REPENTOGON fields re-verified (2 moved, 2 not in this game)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 15:02:14 -04:00
shweetandClaude Opus 5.5 134ab40589 Fields: 325 identified from the most-used unnamed offsets; bracketing is no longer evidence; '-' rows delete wrong fields
Entity _mass (0x2d4) and _depthOffset (0x2b0) were REPENTOGON fields kept by bracketing and both wrong
(Lua getters read 0x37c / 0x358). Bracketed fields now need direct confirmation; 155 are being re-verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:40:33 -04:00
shweetandClaude Opus 5.5 58eeb7991f db/fields: 89 Lua field properties typed from their binders (Friction, Tear stick, Player TearFlags/QueuedItem, grid entities...)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:15:27 -04:00
shweetandClaude Opus 5.5 d806b3b969 ColorMod layout from the Lua Color getters; Entity._splatColor; embed small/placeholder structs (EntityPtr)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:08:54 -04:00
shweet b44a7432f2 notes/names: items sweep 13 (pocket slots, D7, D8, D10, D12) 2026-10-24 22:12:06 -04:00
shweetandClaude Opus 5.5 5d1b595294 Struct fields only where this exe confirms them; 600 verified fields; generated src/structs.hpp
REPENTOGON targets 1.9.7.12 and its offsets drift, so they are no longer trusted by themselves:
scripts/zhl_fields.py (replaces fix_offsets.py) keeps a REPENTOGON field only when a getter or the
game's Lua field table confirms it, or it sits between two confirmed fields with the same shift.
8 agents verified the rest against code (Game/Manager/Entity_Player shift in steps; Room, ANM2,
EntityConfig unshifted). src/structs.hpp is generated from the confirmed fields with static_asserts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 21:37:10 -04:00
shweet 60fca6b60e notes/names: characters pass 9 (knockback, Dark Arts, hug, T.Isaac inventory, Flip, Abyss locusts, umbilical cord, Dark Esau, pool weights) 2026-10-24 20:47:23 -04:00
shweet 54b99630fc Monster fidelity pass 7: Stone Eye laser, Planetoid orbit/Blow, BACKSPLIT, Gusher, Flagellant, Bombgagger, Brownie spin, Exorcist notes; projectile fields 2026-10-24 16:49:03 -04:00
shweetandClaude Opus 5.5 e9b0aa9cc7 db/fields: NPC controller movement, aim target effect, charge bar sprite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 16:20:44 -04:00
shweetandClaude Opus 5.5 ad8f933086 Salvage Repentance+ 1.9.7.17 decompilation toolkit, notes and name database
Ghidra 12.2 project and full dump of isaac-ng.exe v1.9.7.17, query scripts, notes
indexed by entity, anm2/rooms reimplementations, and db/ (names + fields) that
build.sh re-applies. Fixes awk numeric address comparison in find.sh/decompile.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:08:19 -04:00