Import the legacy catalog into GameData/Aetheria.cc (Cut 9)
AetherDb gains legacy-census and a one-shot import (tools/AetherDb/Import.cs, deleted by Cut 10). The import rewrites each legacy [tag, payload] record by the target type's [Key] shape: slot 0 Guid becomes the record key and nil, CultRecordRef members and DatabaseLink wrappers become D strings, the all-zero Guid becomes nil, StatModifierData.RequireBehavior keeps the simple type name. All 180 records land in one Commit; a second import refuses. InputLayout moves to the catalog (Q9-1 A), with the test fixture seeding it while the catalog is writable. GameData/*.cc is LFS, GameData/*.lock ignored. The legacy msgpack and ansi104.json sources are removed. Imported: SimpleCommodityData 13, CompoundCommodityData 51, GearData 25, HullData 3, NameFile 12, Faction 12, PersonalityAttribute 3, CargoBayData 4, DockingBayData 1, WeaponItemData 18, FactionProductData 37, InputLayout 1. Six refs dangled already in the legacy data and are preserved as authored. The Key(0) precondition checks only the Guid-slotted tagged types; InputLayout is imported bare and keeps its Key(0). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
1ec29b132c
commit
70fbaca1ed
22 changed files with 258 additions and 47 deletions
BIN
GameData/AetherDB.msgpack
(Stored with Git LFS)
BIN
GameData/AetherDB.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/Aetheria.cc
(Stored with Git LFS)
Normal file
BIN
GameData/Aetheria.cc
(Stored with Git LFS)
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
GameData/KeyboardLayouts/ansi104.msgpack
(Stored with Git LFS)
BIN
GameData/KeyboardLayouts/ansi104.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/Australia.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/Australia.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/Congo.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/Congo.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/Germany.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/Germany.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/India.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/India.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/Iran.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/Iran.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/Japan.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/Japan.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/Mexico.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/Mexico.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/Russia.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/Russia.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/Swahili.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/Swahili.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/Thailand.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/Thailand.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/USA.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/USA.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/NameFile/pleiades.msgpack
(Stored with Git LFS)
BIN
GameData/NameFile/pleiades.msgpack
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in a new issue