Entry 64
racecheck matches every step again
Filescrates/hwtr-hle/src/bin/racecheck.rscrates/hwtr-game/src/camera.rs
racecheck reported 590 of 616 steps different on DESERT1. None of it was
the port; the tool had fallen behind.
What was wrong.
- The wheels' roll (+0x80). It now turns at the frame's end, in the pose pass (0x80049ecc, ported in 0054). The step-only check left it unturned. The check now takes the original's.
- Pairs were skipped. The check never ran the pair search or the pair
impulses, so every step with another car touching differed. It now
runs the whole collision step, as
Collision::updatedoes. - The other cars were stale. They were taken from the frame's start, but the original's computer cars have moved by the time its collision step runs. A check hook on collision_update (0x8004de6c) now snapshots them there.
Result. With --press Cross and stick sweeps, every step matches:
desert1-race: 616 of 616 stepsdesert1-drive: 1020 of 1020desert1-speed: 1020 of 1020desert1-air: 1020 of 1020
That covers the player's car update and the whole collision step against the original, including contacts with the computer cars.
Also: the camera's ViewMode::Other comment called modes 2 to 4 unported.
They are the trackside cameras (ported in the attract work), and the
comment now says so.
Was unknown
A wreck in racecheck's runs (none of these crashed).
Closed by No. 75 — Closing the questions later work answered.