mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-19 21:39:58 -04:00
Add a floor scan that finds the floor carrying Link in guest memory on 1.1.1.
The Deku Tree's floating platform is not one of the engine's ground groups, and where its position lives is not known. With floor_scan set (off by default), once Link has been carried at 60 fps for 30 frames with the left stick at rest, one snapshot of the game's heap and alias regions keeps every float triplet near him; 30 frames later the triplets that moved as far as he did are kept, and from then on each frame logs the twelve of them farthest from him with their addresses, positions and moves. The snapshot logs how long it took. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1014,6 +1014,10 @@
|
||||
# Diagnosis: one log line per frame while Link stands near a moving floor (the floating platforms): the frame's step,
|
||||
# how far he moved and how far the floor moved. 1 writes 4000 lines, a larger number that many; 0 is off.
|
||||
# floor_probe = 0
|
||||
# Diagnosis: while Link is carried by a moving floor at 60 fps and the left stick rests, one snapshot of the game's
|
||||
# memory finds the values that move with him (the floor's position among them) and logs them each frame from then on.
|
||||
# The snapshot holds the game for a moment once. 1 writes 6000 lines, a larger number that many; 0 is off.
|
||||
# floor_scan = 0
|
||||
# 1: with trace = perf, walks of the process's address space count its private and write-combined memory every 600
|
||||
# frames (the "mem: process" line) and where its committed memory lies every 3600 frames (the "commit census" lines).
|
||||
# Each walk holds the address-space lock for 100-240 ms and delays the next frame by as much, so they are off unless
|
||||
|
||||
Reference in New Issue
Block a user