Vehicles: configurations and liveries filed under a model's handlingId #515

Manually merged
github merged 1 commit from github-bot/gh-515 into gh-pr/515/base 2026-11-28 12:19:11 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 22:18 UTC · original
holdmysocks:handling-records → master · +152 −10 · 4 files · 1 commits · merged 2026-11-28 12:15 UTC

Six vehicles had no configurations, palettes or game liveries in the viewer: the Guardian TX2, Dump, Street Blazer (blazer4), Voyager, train (AML 205) and Spreader. Their 510 brand stickers were filed under a hash with no model.

Why

  • These models file their configurations, palettes, part groups, parts and liveries under their handlingId, a name with no model of its own (guardiantx2's under guardian; the others under unnamed hashes). The model's own record held only its model info.
  • vehicles.json and liveries.json kept the two apart, so the model's record had no configurations, and the viewer looked for its liveries under the model's name and found none.
  • Found by a sweep of every game sticker against the zones on its vehicle: 18,157 stickers, 2,005 land on no model. This group is 1,579 of them (17 hash records). The six merged here are the certain ones.

Changes

  • vehicles.json (format 19, so the viewer rebuilds it): a handlingId's record is merged into the model's when it is certain. That means exactly one model info names the handlingId, it is its gameName's only model info, the model has no configurations of its own, and the handlingId's record has no name. The model gets records_from (the hash). Lists both records have (blazer4's palettes) are joined. The stats list the merges (merged_by_handling).
  • sixng vehicles: liveries.json keys a merged hash's brands by the model's name.
  • Viewer: the Liveries panel takes a model's brands from its records_from hash.

Tests

  • New merge_tests: a handling record goes into its model (lists joined); shared or unsure records stay apart.
  • cargo test -p sixng-gui: 61 pass.
  • sixng vehicles into a scratch folder: the six merge. For example, guardiantx2 now has 10 configurations, 26 palettes, 48 parts and 25 brands (231 stickers).
  • Rendered the Guardian TX2 with GUARDIANTX2_BRAND_AMIGAS. Master shows a bare chassis, no configurations and "no game livery". With this change it shows the flatbed, 10 configurations and 13 stickers placed.

Not changed

  • The freight train cars (several model infos share the gameName freight), the base trailers (548 stickers), the boat trailer and two models whose names are not known stay as they were: the link is not certain.
  • Tyre-sidewall stickers (zones 226/227, 252 stickers on hot rods) do not draw: the viewer's zone table leaves the wheels out. Separate change.
**@⁠holdmysocks** on GitHub · 2026-11-27 22:18 UTC · [original](https://github.com/holdmysocks/SixNG/pull/515) `holdmysocks:handling-records` → `master` · +152 −10 · 4 files · 1 commits · merged 2026-11-28 12:15 UTC Six vehicles had no configurations, palettes or game liveries in the viewer: the Guardian TX2, Dump, Street Blazer (blazer4), Voyager, train (AML 205) and Spreader. Their 510 brand stickers were filed under a hash with no model. ## Why - These models file their configurations, palettes, part groups, parts and liveries under their `handlingId`, a name with no model of its own (guardiantx2's under `guardian`; the others under unnamed hashes). The model's own record held only its model info. - vehicles.json and liveries.json kept the two apart, so the model's record had no configurations, and the viewer looked for its liveries under the model's name and found none. - Found by a sweep of every game sticker against the zones on its vehicle: 18,157 stickers, 2,005 land on no model. This group is 1,579 of them (17 hash records). The six merged here are the certain ones. ## Changes - `vehicles.json` (format 19, so the viewer rebuilds it): a handlingId's record is merged into the model's when it is certain. That means exactly one model info names the handlingId, it is its gameName's only model info, the model has no configurations of its own, and the handlingId's record has no name. The model gets `records_from` (the hash). Lists both records have (blazer4's palettes) are joined. The stats list the merges (`merged_by_handling`). - `sixng vehicles`: liveries.json keys a merged hash's brands by the model's name. - Viewer: the Liveries panel takes a model's brands from its `records_from` hash. ## Tests - New `merge_tests`: a handling record goes into its model (lists joined); shared or unsure records stay apart. - `cargo test -p sixng-gui`: 61 pass. - `sixng vehicles` into a scratch folder: the six merge. For example, guardiantx2 now has 10 configurations, 26 palettes, 48 parts and 25 brands (231 stickers). - Rendered the Guardian TX2 with GUARDIANTX2_BRAND_AMIGAS. Master shows a bare chassis, no configurations and "no game livery". With this change it shows the flatbed, 10 configurations and 13 stickers placed. ## Not changed - The freight train cars (several model infos share the gameName `freight`), the base trailers (548 stickers), the boat trailer and two models whose names are not known stay as they were: the link is not certain. - Tyre-sidewall stickers (zones 226/227, 252 stickers on hot rods) do not draw: the viewer's zone table leaves the wheels out. Separate change.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 22:19:04 +00:00
github-bot changed target branch from master to gh-pr/515/base 2026-11-28 12:19:09 +00:00
github manually merged commit 1cdbbe4b27 into gh-pr/515/base 2026-11-28 12:19:11 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.