model viewer: vehicle data panel #47
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/rpatty-dev--PercyStar!47
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/47/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@asm512 on GitHub · 2026-11-22 20:45 UTC · original
asm512:vehicle-data-panel→main· +3431 −4 · 5 files · 2 commits · merged 2026-11-22 21:36 UTCBuilds on #45 (it uses its name table) and should be merged after it.
Selecting a vehicle in the model viewer now shows a collapsible "Vehicle data" section with that vehicle's handling and physics records, read from the PSIN file in
data.rpf.cheetah2> … >car> … >vehicle). Inherited records are marked with the template they come from and how many entries share them.?.data.rpffor the PSIN file that holds the vehicle table, with the known offset tried first. Loading runs off the UI thread, and the section stays hidden when there is nodata.rpfor the model has no entry.That a child record replaces the parent's record of the same struct as a whole is my reading of the data, not confirmed in game.
Testing
cargo test --releasewithPERCYSTAR_LEVELS_RPFset: 118 pass.vehicle_texture_layers_togglefails on this base without this change too and is fixed in #46.@rpatty-dev on GitHub · 2026-11-22 21:36 UTC · original
Merged and verified (cargo test --release: 120 passed). Great addition — vehicle handling/physics inheritance in the model viewer is super useful!