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>
This commit is contained in:
commit
ad8f933086
124 files changed
+1366681
No files matched your search
@@ -0,0 +1,95 @@
|
||||
# Group c notes (pass 3)
|
||||
|
||||
## Anm2 events the patch needs (lead must add before building)
|
||||
- gfx/monsters/red_ghost/red_ghost.anm2: event `Teleport` on frame 1 of AppearLeft, AppearDown, AppearUp, AppearRight (the new Appear attack releases its teleport there). Without it the record fails to load.
|
||||
|
||||
## bloaty: NpcAI::ENTITY_BLOATY 00563da0
|
||||
- Walking: friction *.6, AddVelocity(1.2 along heading v1.y). Old speed .4 / retention .85 becomes speed .72 / retention .6.
|
||||
- Attack timer: 60 + rand%150, drawn at init and when each attack ends. There is no per-tick 1 in 60. Now choice one_in 1, each attack cooldown 60 + cooldown_random [150,1] cooldown_once, first_cooldown [60,150].
|
||||
- State 8 brakes *.4 a tick with no start brake. Now retention .4 and start_retention is removed.
|
||||
- From Shoot, for 8 ticks (k=1..8): red creep at 25k px along the attack heading, scale .9+.07k, timeout 90. On even k: FireBossProjectiles(1, random, traj 10), then velocity = heading turned rand(-10..10) deg times (4+rand*4), FallingSpeed *.65. The old patch had 2 green lobs. Now 4 aimed shots: `direction` = heading*6, fall_velocity -3.25, fall_acceleration 1.32, burst {ticks 7, every 2}. Creep `along` is 200 px, scale 1.2 (the mean).
|
||||
- Cannot express:
|
||||
- Proposed `wander_heading` move: a heading that eases toward a target angle every tick (FUN_00682a50 lerp). A new random target every 45+rand%120 ticks. On a grid hit, a 1 in 4 roll reflects the target. Push = speed along the heading. The `wander` move stays for now.
|
||||
- Proposed attack `heading_pick`: the direction is the velocity angle + rand*90 - 45, rounded to 8 ways. Retry up to 8 times until the point 80 px out is in the room. Poses AttackRight/DownRight/Down, with 3..5 mirrored. This replaces the uniform choice of 5 poses. The fixed `direction` does not flip with mirroring, so check the mirrored poses.
|
||||
- Creep per tick at growing distances (one puddle per frame at step*k).
|
||||
- Shot direction jitter of +-10 deg and speed 4..8 (no jitter is applied now).
|
||||
|
||||
## dump: NpcAI::ENTITY_DUMP 00562f00
|
||||
- Walk: FindGridPath(target, .4, 900, 1). Now move path, speed .4, retention 1 (was chase .4/.8).
|
||||
- Brown slippery creep every 8 ticks, scale .75+rand*.25. Was period 6, scale .75. Now period 8, scale .875.
|
||||
- Sinking (on death, variant 0): health is reset to max, then drains max/150 a tick, so 150 ticks. Pose is Spout[(max-hp)*6/max]: Spout0 first, Spout5 last. The old order was Spout5 first. Shots: 1 FireBossProjectiles(1, random, traj 10) per 30/(13*hp/max+2) ticks, velocity *.5. Now 6 attacks Spout0..5, each ticks 25, boss_volley speed 3.5, burst every 2,3,3,4,6,10 ticks (the integrated rate per 25-tick window), volley fall_base -5 / fall_acceleration 1.32. Then Fade dies.
|
||||
- Cannot express:
|
||||
- The head spawn velocity is 14 * unit(last damage source -> dump), away from the hitter. Proposed attack `spawn_away_from_hit: speed`.
|
||||
- The trigger is death (hp reset to max), not hp_below 5. Proposed phase gate `on_death` that cancels the death and refills hp.
|
||||
- The boss_volley random jitter vector (3.5) should be halved too.
|
||||
|
||||
## necro: NpcAI::ENTITY_NECRO 005052a0
|
||||
- Shake until projectileDelay < 1. The delay is rand%30, drawn after every attack. There is no 1 in 12.
|
||||
- Up to 10 tries for a spot: angle = (player->necro direction) + rand*270 - 135 deg, distance 60..180. The spot must be in the room and have a clear line to Isaac. Summon spawns one held bone (projectile 9.1) there. Shoot throws it at Isaac at speed 10.
|
||||
- The old record had 4 bones at +-40 px, speed 8. Now 1 aimed bone, speed 10, cooldown_random [30,1] cooldown_once, first_cooldown [0,30], sight true.
|
||||
- Cannot express: the launch point. Proposed shot field `spawn_cone: {spread_deg 270, from 60, to 180, away_from_player: true, sight: true, tries 10}`. The shot appears (held, unmoving) on one event and is launched at Isaac on a later event.
|
||||
|
||||
## red_ghost: NpcAI::ENTITY_WIZOOB 005374a0 (type 285 branch)
|
||||
- Real cycle: hidden (invisible, no collision) -> after stateFrame (60 after a vanish) a 1 in 30 roll each tick -> appears at FindFreePickupSpawnPosition(player, 120) facing Isaac's main axis -> Shoot(dir) Brimstone (ShootAngle, timeout 25) -> Vanish(dir) -> hidden. Velocity *.1 every tick.
|
||||
- The old record idled visible on ShootDown with a period-7 shot. Its Appear teleport had no release event, so it never moved.
|
||||
- Now: hidden true, retention .1. Attacks: [Appear (period 1, one_in 30, release Teleport, teleport 10) -> Shoot laser -> Vanish (cooldown 60)], opening [2,0] (the spawn Appear then VanishDown).
|
||||
- Deviations:
|
||||
- The directional pose is picked before the move, from the old spot.
|
||||
- The opening Vanish also gets the 60 cooldown (real: 0 after the first vanish).
|
||||
- No collision during Appear (real: collision class 0 until Shoot). Proposed attack `untouchable: true` over the whole clip.
|
||||
|
||||
## imp: NpcAI::ENTITY_BABY 0052ae30 (type 259 branches)
|
||||
- Friction .7, AddVelocity(.33/friction at Isaac). Now speed .33, retention .7 (was .3/.85).
|
||||
- Attack: projectileDelay < 1, 1 in 20 a tick, and line of sight (no range). Length 20+rand%30 ticks. A shot every 10 ticks of it: speed 10 at Isaac + 5 x his velocity. After it, delay 30. No vanish follows.
|
||||
- Now: period 1, one_in 20, sight, ticks 20 + ticks_random [30,1], release Shoot, one aimed shot (aim_lead 5) with burst {ticks 41, every 10}, cooldown 30. Removed: range 300, start_retention, next.
|
||||
- Teleport counter v1.x: a hit sets it to 20. +1 a tick while Isaac is within 20 of its row/column and closer than 400. +rand*.1 every tick. Above 20 it draws a target (2 tries: distance 60..310, more than 200 from Isaac and not within 20 of his row/column). Above 40 with a target -> Vanish, which lasts at least 25 ticks, then Vanish2 at the target.
|
||||
- Now Vanish is rolled with hurt + alignment 20 + range 400, teleport mode default (>200, not in line).
|
||||
- Cannot express: proposed behaviour `teleport_meter {hurt_set 20, aligned_gain 1, aligned_within 20, range 400, random_gain .1, seek_above 20, go_above 40}`. Note it resembles the existing teleport.charge (aligned/step/jitter/seek_above/start_above/hurt): check whether teleport.charge {aligned 20, step 1, jitter .1, seek_above 20, start_above 40, hurt 20} already expresses it, and if so use it instead of hurt + alignment. Also: no collision during Vanish/Vanish2.
|
||||
- Also: dodging Isaac's tears (the extra 0x103 block, 1.6 x side push from tears heading at it). Proposed `tear_dodge` move add.
|
||||
|
||||
## gush: NpcAI::ENTITY_GUSH 00547330: skipped (record kept)
|
||||
- Anchored, friction .8. Black creep (1000.26) at itself, scale 2, kept alive (timeout reset to 30 while the gush lives).
|
||||
- Every 1+rand%10 ticks it tries 10 spots at (200+100k)*r^2 in a random direction. A spot is used only if it is free, within 75 of one of its own puddles and not within 40 of any puddle. New puddle scale 2, timeout 45. The creep spreads as a network.
|
||||
- Cannot express: proposed creep `spread {period [1,10], tries 10, radius_base 200, radius_step 100, near_own 75, apart 40, scale 2}` with own puddles refreshed while it lives.
|
||||
|
||||
## cursed_deaths_head: NpcAI::ENTITY_DEATHS_HEAD 00532cf0 (variant 2)
|
||||
- Friction .9, push +-.45 per axis. Now speed .45, retention .9 (was .3/.85).
|
||||
- Variant 2: with a player within 70 px it calls Entity_Familiar::RemoveFromPlayer(.., -45) (a curse effect on contact range). I could not tell what this does. Not ported.
|
||||
|
||||
## dingle: NpcAI::ENTITY_DINGLE 004855b0
|
||||
- Idle: after 15 ticks, a 1 in 10 a tick. Then 1/3 Whistle (which always goes to Spit), else 1/2 BeforeSlide, else Dance. Spit is never picked directly.
|
||||
- Now choice one_in 10, options [BeforeSlide, Whistle, Dance (new, cooldown 15)], Spit rolled false, cooldown 15 on Spit/Tired/Dance.
|
||||
- Retention .7 off-slide (was .8).
|
||||
- Slide: on the Slide event, impulse 10 at Isaac (black/subtype 2: 15). Then +1 (1.5) per tick along its velocity until the clip ends, friction .98. Now impulse 10/15, lunge 1/1.5, lunge_end removed (SlideEnd is frame 7, but the real push runs to clip end). Was lunge 9/6/14.
|
||||
- Slide counts: base 3, subtype 1 (red) 4, subtype 2 (black) 1 (repeat limits 2/3/none; red kept at 3).
|
||||
- Tired: 60+rand%30 ticks. Now ticks 60, ticks_random [30,1], repeat removed.
|
||||
- Spit speed 10 (was 8). FireProjectiles mode 2 (3-shot), black mode 8 (eight).
|
||||
- Whistle: 1-2 dips (black: 1-2 spiders), only while fewer than 5 enemies. spawn_count_random 3 -> 2.
|
||||
- Cannot express:
|
||||
- A 12+rand%4 tick pause (friction .9) between repeated slides. Proposed `repeat.gap [base, random]`.
|
||||
- The poop 1 in 5 on the first slide only. Proposed `poop.first_only`.
|
||||
- Whistle's enemy limit 5: add `enemy_limit: 5` if it fits; not added.
|
||||
|
||||
## bomb_bum: skipped
|
||||
Type 6 variant 9 is a slot/beggar (Entity_Slot), not an NPC AI; find.sh npc does not cover it.
|
||||
|
||||
## the_thing: NpcAI::ENTITY_WALL_CREEP 0053c0d0 (type 304 branches)
|
||||
- The velocity is set (not added) to 1 along its wall toward Isaac's coordinate when farther than 10. Now speed 1, retention 0, as pass 1 did for the wall creeps (was .5/.8).
|
||||
- It attacks at once when Isaac is within 25 of its outward line. No roll. Removed period 5 / one_in 3; alignment 20 -> 25.
|
||||
- Tongue: from Shoot a 120-tick timer. Every 2nd tick while above 106 (110 on side walls), a red creep at (120-t)/2*40 px out, +-10 across. So 0..240 px in 40 px steps over ~14 ticks. It also hurts enemies within 25 of the line for 5.
|
||||
- Re-armed only when the timer runs out. Cooldown 150 -> 51 (120 minus about 69 ticks of Attack tail, loops and PutAway).
|
||||
- Creep: count 7, along 240, jitter 10.
|
||||
- Cannot express:
|
||||
- The stays-out-while-aligned loop: AttackLoopIdle/AttackLoopWalk until Isaac leaves the line, then PutAway. Proposed attack `hold_while_aligned`.
|
||||
- Discrete stepped creep over ticks (see bloaty).
|
||||
|
||||
## fire_worm: NpcAI::ENTITY_FIRE_WORM 00500990
|
||||
- No idle roll. DigIn -> (hidden, picks a random pit: 1/2 per tick, within 1000 of Isaac, not when he stands on a pit within 100) -> DigOut -> DigIn ... continuously. Removed DigIn period 4 / one_in 10.
|
||||
- Shoot (with CheckLine to Isaac) spawns entity 33.10 (a moving fire) at pos + dir*10 with velocity dir*14. Shot speed 10 -> 14.
|
||||
- Cannot express: the shot as a fire entity (it burns, can be put out). Kept as a fire-look projectile.
|
||||
|
||||
## dust: 00503af0 (find.sh mislabels it PlayerHUD::RenderActiveItem; it is the type 882 AI)
|
||||
- Alpha = clamp(1 - (d-80)/120). Collision while alpha > .02. Now tangible .5 -> .02.
|
||||
- Walk: FindGridPath(target, (clamp(d/80)*.4+.6) * max(1.35*alpha, .35)), friction .8. Now move path, speed .7 (a mid value), retention .8 (was hover .3/.9).
|
||||
- Phases at 66% / 33% hp match. Poof then teleports to the best of 4 random free spots once one is >200 px from Isaac, or after 90 ticks.
|
||||
- Cannot express: proposed `speed_by_distance {near 80, near_scale .6 -> 1, opacity_scale 1.35, floor .35}` for the path speed.
|
||||
Reference in new issue
Block a user