REPENTOGON phase 5, complete: the render pipeline API, the last functions, XML and behaviour patches, EntitySaveStateEx, the Log window; ASMPatch and Steam-only tests not applicable (13 rows); the REPENTOGON global exposed as version 1.1.3 (e2c5aec); LuaBridge class __type and require search fixes; coverage 2,834 of 2,834; the 12 REPENTOGON mods run without errors alone and together; 72 goldens identical from converted resources and the install

This commit is contained in:
shweet committed 2026-11-24 18:02:02 -05:00
1 parent 8c95737332
commit 4ff67e2e96
145 files changed
+6414 -322

No files matched your search

+60 -4
View File
@@ -281,12 +281,68 @@ function EntityPlayer SetWeapon done
function Isaac ReworkBirthright done Birthright counts for the character only in Lua's checks
callback ModCallbacks MC_POST_PLAYER_GET_MULTI_SHOT_PARAMS done run with MC_EVALUATE_MULTI_SHOT_PARAMS through main_ex.lua's legacy wrapper
callback ModCallbacks MC_PRE_PLAYER_COLLISION done vanilla dispatch with parity, collision_callbacks_run around HandleCollision without
behaviour_patch Patches ItemSpoofSystem.cpp started innates, blocks, reworked Birthrights, players.xml innates and the Lua context; groups are not saved in the run's state yet
behaviour_patch Patches XMLPlayerExtras.cpp started starting health and bombs, health limit, locked and hidden modded characters; not its SelectRandomChar rewrite
behaviour_patch Patches ItemSpoofSystem.cpp done innates, blocks, reworked Birthrights, players.xml innates and the Lua context; the named groups kept in the saved states and written beside the game state file (EntitySaveStateEx, repentogon/save_state_ex.cpp)
behaviour_patch Patches XMLPlayerExtras.cpp done starting health and bombs, health limit, locked and hidden modded characters on the wheel, co-op carousel and tainted page; SelectRandomChar's rewrite is the rebuild's own pick leaving out locked and unselectable characters, which keeps the vanilla draw
behaviour_patch Patches NullItemsAndCostumes.cpp done null items (items.xml) and their costumes, modcostume, AddCostume's null guard
behaviour_patch Patches PlayerTags.cpp started noshake; not nometronome, noexpansionpack or the stage portraits
behaviour_patch Patches ASMPatches/ASMPlayer.cpp started hurt and death sounds (three of five sites), bloody tears, the Mars double tap window without parity
behaviour_patch Patches PlayerTags.cpp done noshake (nightmare and boss screens), nometronome, noexpansionpack, stageportrait and extrastageportrait under bigportraitroot (nightmare_scene.cpp)
behaviour_patch Patches ASMPatches/ASMPlayer.cpp done hurt and death sounds at every site this exe has (the statue's too; Soul of Lazarus plays none here), bloody tears, Mars double tap window, the Lost's health skips the low-health splat (parity off); CheckFamiliar is CheckFamiliarEx; AddActiveCharge already passes its flags in order
xml_attribute edenhair.xml gfx done a mod's hairstyles appended to Eden's, under the file's root
xml_tag edenhair.xml edenhair done a mod's content edenhair.xml
xml_tag edenhair.xml hair done a mod's content edenhair.xml
xml_tag edenhair.xml edenhair.xml done content only, as REPENTOGON reads it
behaviour_patch Patches ASMPatches/ASMPlayerManager.cpp done controller hand-outs for mods' twins and co-players on a continue and after a disconnect, with the Jacob and Esau disconnect fix (repentogon/controllers.cpp, parity off), the co-op carousel hides locked or achievement-hidden modded characters; SpawnSelectedBaby has no effect (the only caller passes -1); twins linked again after a restore from EntitySaveStateEx's saved twin index (repentogon/save_state_ex.cpp, parity off)
behaviour_patch Patches PocketItems.cpp done pre and post add, remove, collect, drop, lost slots, used cards and pills, SetCard and SetPill, Soul of Lazarus, each at its site (pockets.cpp, collectibles.cpp, forgotten.cpp, death.cpp)
behaviour_patch Patches PlayerFeatures.cpp done modded characters' Greed donations counted in playerdata<file>.json and their jam chance from it (repentogon/player_features.cpp, parity off); MC_PRE_ADD_TRINKET and AddSmeltedTrinket were ported before
behaviour_patch Patches ASMPatches/ASMCallbacks.cpp done every callback it fires is fired at its site (phase 1), with MC_PRE_UPDATE's pause, the hidden charge bar and the custom active gfx and crop
behaviour_patch Patches ASMPatches/ASMFixes.cpp done parity off: modded crafting quality, the variant set merge compare, ENTCOLL_PLAYERONLY meeting a player, UsePill's identify of a bad color, the failed item pool read, the room reset in place; already safe here: GetPillEffect and the HUD's bad colors, axis wander of a fleeing familiar, inputconfigs.dat parsing; na: the 1.9.7.12 smelted trinket and pill effect checks (fixed in this exe), the render target stack (unbounded here), OpenAL attributes (SDL audio)
behaviour_patch Patches ASMPatches/ASMTweaks.cpp done parity off: Godhead queries enemies only, the challenges.xml warning silenced, grid debug views in the Lua mini font, Lua music volume up to 1, the Womb exemption (before), exit prompt (before); na or inherent: Tear Detonator's list is a copy here, no archive checksums to skip, the leaderboard is online only, resources-repentogon is assets/repentogon, the language is the rebuild's own options.ini
behaviour_patch Patches MiscFixes.cpp done parity off: the death screen's modded portrait cleared, familiar lines, bad pill colors, spawn seeds, crawlspaces under Mist, metadata.xml writes, knife paths, gold and spiked rocks, entity config keys, Double Trouble variants reserved, redirected XML logged, BlockUnknownDevices for nameless SDL gamepads, nil DrawString; null frames and mods/ font paths are safe here; na: online and daily menu, lobbies and mod bans (offline); Present before PushCurrentRenderTarget, in RenderToSurface (repentogon/lua_render.cpp, its only caller here)
behaviour_patch Patches ConsoleHooks.cpp done parity off: REPENTOGON greeting, history saved after every command, commands from the menus (the overlay) with its refused list, luareset, fullrestart, cleanbestiary (SDL prompt, no Steam Cloud), clearcache forgets redirected paths, help, giveeffect and removeeffect, mods' macros; reloadshaders is the game's
behaviour_patch Patches ASMPatches.cpp done console commands without a player (ConsoleHooks); the other patches are each file's own; na: mods and mod data folders moved out of the Repentogon folder (the rebuild has none); the KAGE log in the overlay's Log window (REPENTOGON's Log Viewer)
function _G ASMPatch na writes raw x86 bytes into the Windows exe: registered to raise "ASMPatch is not supported in the native build"
function ASMPatchTest AddBytes na debug builds only, an ASMPatch method (raw x86 bytes)
function ASMPatchTest AddCJump na debug builds only, an ASMPatch method (raw x86 bytes)
function ASMPatchTest AddJump na debug builds only, an ASMPatch method (raw x86 bytes)
function ASMPatchTest ToASM na debug builds only, an ASMPatch method (raw x86 bytes)
behaviour_patch Patches Anm2Extras.cpp done custom sprite and layer shaders (lua_sprite.cpp, anm2.cpp RenderFrame), cleared on Reset and copy; RenderFrameEx's flag order, gold shimmer and procedural pass match the native RenderFrame; its PauseScreen::Show check reads the full-size paper (mainsprite) the rebuild leaves out, so it has nothing to fix
behaviour_patch Patches MesaShaderFix.cpp done render.cpp mesa_shader_load: with vanilla parity off the gold shader builds from coloroffset_gold_mesafix.fs (assets/repentogon/resources/shaders), its inputs fed from the rebuild's uniforms; REPENTOGON has no ini key for it
callback ModCallbacks MC_PRE_OPENGL_RENDER done gl_pipeline.cpp, fired from RenderBatch::submit into a render target with its VertexBuffer, ShaderType and Context; behind REPENTOGON's EnableCustomRendering (off), so it does not run, as main_ex.lua warns
function EntityPlayer GetMultiShotPositionVelocity done REPENTOGON's override reads its MultiShotParams (player_api.cpp), an argument error past NumTears where the game's binding cannot take one
callback ModCallbacks MC_PRE_FAMILIAR_COLLISION done collision_callbacks_run table results (Collide, SkipCollisionEffects) without vanilla parity, tested with a familiar touching an enemy
function UnitTests GetTestRoom na debug builds only: RoomConfigUtility's unit test hooks, absent from REPENTOGON's release builds
function UnitTests Build na debug builds only: RoomConfigUtility's unit test hooks, absent from REPENTOGON's release builds
function UnitTests Serialize na debug builds only: RoomConfigUtility's unit test hooks, absent from REPENTOGON's release builds
function UnitTests Deserialize na debug builds only: RoomConfigUtility's unit test hooks, absent from REPENTOGON's release builds
function UnitTests ValidateLocalSave na debug builds only: SaveSyncing's Steam Cloud save tests, Steam only
function UnitTests ValidateCloudSave na debug builds only: SaveSyncing's Steam Cloud save tests, Steam only
function UnitTests TestSync na debug builds only: SaveSyncing's Steam Cloud save tests, Steam only
function UnitTests CompareSaves na debug builds only: SaveSyncing's Steam Cloud save tests, Steam only
xml_attribute challenges.xml achievements done a mod's challenge by achievement names (repentogon/progress.cpp); without parity it stays locked on the menu until they unlock (r5a2 test)
xml_attribute challenges.xml hidden done anything but false keeps a mod's challenge off the custom challenge menu
xml_attribute challenges.xml lockeddesc done a locked challenge's row (translated, else LOCKED :(), parity off as the locked rows are
xml_attribute challenges.xml playertype done a character's name, resolved once the mods' players loaded (r5a2 test: a modded character starts the challenge)
xml_attribute challenges.xml startingcard done a card's name (r5a2 test)
xml_attribute challenges.xml startingitems done names and ids mixed (r5a2 test)
xml_attribute challenges.xml startingitems2 done names and ids mixed, as startingitems
xml_attribute challenges.xml startingtrinkets done trinket names (r5a2 test)
xml_attribute challenges.xml unlockachievement done unlocked by number or name when the challenge completes (r5a2 test)
xml_tag challenges.xml challenges.xml done mods' content challenges.xml as the game reads it, plus REPENTOGON's names, hidden, locked and saved clears (challenges<slot>.json)
xml_tag itempools.xml itempools.xml done repentogon/custom_pools.cpp: a <Pool> of a new name makes a pool from 31 (ChaosMode, items by id or name), drawn, picked by Chaos and kept in the run's states (r5a2 test)
xml_attribute players.xml completionparent done a character shares the marks of the one it names, its own mod's first (r5a2 test)
xml_attribute players.xml nomarks done hides a modded character's completion widget, which shows without parity
xml_attribute costumes2.xml name done ItemConfig_Costume::name, else the anm2path's file name, for XMLData lookups
behaviour_patch Patches AchievementsStuff.cpp done mods' achievements, event conditions (r5a2 test), console achievement and lockachievement, and the secrets menu's mod pages (parity off); the Steam achievement block and the dummy popup trick are not needed natively
behaviour_patch Patches ChallengesStuff.cpp done repentogon/progress.cpp: modded challenge clears saved per slot, unlockachievement, hidden and locked rows, translated names and the streak (parity off)
behaviour_patch Patches CompletionTracker.cpp done repentogon/progress.cpp: modded characters' marks recorded and saved per slot (only written when one is given), completionparent, the widget on the character menu and pause screen without parity, the localized name import
behaviour_patch Patches ItemConfigEx.cpp done items.xml stats and tags (stats.cpp, item_config.cpp), the raw name in the name map, a null item's revive tag as reviveeffect
behaviour_patch Patches ItemPoolManager.cpp done custom pools (repentogon/custom_pools.cpp: draws, Chaos, Bible, Genesis, reset, states, debug names) and the mod items of pool_items.cpp; saved custom pool states are written to their own .custom.json, and pool ids are not remapped when the pool list changed
behaviour_patch Patches GetCoinValue.cpp done Entity_Pickup::coin_worth, so Ultra Greed's coin search counts mods' coins too
behaviour_patch Patches EntityConfigEx.cpp done entities2.xml extras and tags at their game sites, babies, edenhair (ported with their xml rows)
behaviour_patch Patches EntityManager.cpp done entity creation and deletion notices to the save state manager; an entity removed after its own update leaves in the same pass, parity off
behaviour_patch Patches EntityPlus.cpp done the per entity overrides live on the entities and are cleared as a pooled entity starts again (entity_plus_reset)
behaviour_patch Patches ASMPatches/ASMLocalization.cpp done -repentogon folders, localized character animation fallbacks and the raw bSkinParent match (parity off), Repentance's language archives cut to their fonts (parity off)
behaviour_patch Patches ASMPatches/ASMMenu.cpp done online menu selection, a language change restarting the game (parity off) and the mods menu's own rows (ModsMenuStuff)
behaviour_patch Patches ModsMenuStuff.cpp done repentogon/mods_menu.cpp, parity off: enabled mods first, search past 15 mods, undo of the session's changes
behaviour_patch Patches ASMPatches/ASMLevel.cpp done Blue Womb curse, deal rooms, end room slots, quest doors, and the Void: its stages and BetterVoidGeneration, void_ex rooms' stage, backdrop and portals, portals kept on later floors (parity off; r5a2 test: 19 Repentance rooms of 57)
behaviour_patch Patches XMLData.cpp done the XMLData store and Lua table (repentogon/xml_data.cpp), content and resources merges (repentogon/xml.cpp), backdrops, giant books, cutscenes, bosscolors, challenges, achievements; Lua Fadeout's Repentance title and new run targets (parity off); its stage hooks are commented out at e2c5aec; na: the daily challenge seed and practice change and the daily and online menu redirects (dailies and netplay are offline)
behaviour_patch Patches SaveStateManagement/EntitySaveStateEx.cpp done repentogon/save_state_ex.cpp: player twin index and innate groups, pickup reroll override, ex_<state>.json beside the game state file
Can't render this file because it contains an unexpected character in line 101 and column 83.