From fc6eca6a93ebcc0914c80fd2c2b94ee318c80645 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 13 Jun 2026 08:15:17 +0100 Subject: [PATCH] Remove dead save JSON residue --- .voidbot/state/aetheria.cc | Bin 15382 -> 15745 bytes Aetheria.State/README.md | 3 +++ .../Scripts/ServerShared/EntitySerializer.cs | 7 ------- Assets/Scripts/ServerShared/ZoneData.cs | 16 +--------------- docs/aetheria-perfect-machine-map.md | 4 +++- 5 files changed, 7 insertions(+), 23 deletions(-) diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index 5ec343c6b3cb6ddc12cc5e7dc8f8c4b8501e35e9..9adf3911564f3895f5c697b0790106662d421053 100644 GIT binary patch delta 1418 zcmZuxJ&znk5S8yvy0a5o0&zw*a!CkVLc2SA{<>Qb0m#_GmVLk)g3EemYG>QbbdURE z?E$2fMS|pTBmxAH0SlV|bQum10RcbZ0#fn|iQx6jejz!V>F%m}Rqws}>i&bze*R%) zee2>Imo9X6s(-sDt3OsA9&P@67rWJwt<#lXb+ePp;pC-iW9^ld_SOA!Yag7MJbRnn zh>a9v#h4@Ogkv&1@G?stTc78`lm|S2WH{GjP6#oSut=znsHE?-Dd~ED_ZD5by-PwR zxXiV~!#%C|eGz{`;+`mJXmn0D*;mDaI}x$}LT37H@KwaD3`I`ws{RjW?h z5BS0_3B!~kd6P4fVtvQuEDYwnRAeddyh%`ldYFy? zWK3n+N0e!iXz!v}IFad;>_`;cvu}cJa4J;_QZ@QFeAi3E79T|>;^u;-A>r}B05IK? zZdBb|KQn2ee@BB%0{y&2vat~b;yS+s2wJ_D7nwxa(DbiYz4HLKq_)^QG&s^egKVG$ zM0#mQRCD@V79cVkc%S5ycq0ZG(~^!byV&QfkTobV2)5R1ov#kn%4u?C0eyZ9{Q*ra z`vDI%pe3Af01<-Fc0)cecb*6pV*(%Y(0=p9Bg4b}zt4WTx?X=CM3s2)^a)Uk0ri8S zGWjW+>hRd+tIrmKUYKO+q$c=W2;K-D6SCJhRQ>SqhNZF)j;l= zblLoKpTe;-i$cFkzO0JQsdwJG1-~r3N+SuD0Nnx=?>n0Bj6JQ8g=T@6@vRDJjF8ERlVj(856?{8JT>@sg?yK+L~tHGflH;PPcBOm zwEbPbSM~jrVi4$2nGVE8IMAjCGD(f~V5Q(Dp+!p(DC(f-gA=IG&RA-bB`pZrl2q(K zYH#2gCbWWnfHPPUsP&9haU?|aK`4~TuYGr`>Cx@LEm|E7OE7iS4CyI>1a;O%;WNt| zR#)74NSP4vuj^t;5X*$LlSVUwItC*|mddaW4U{UuqN^~L_d(BR`QEUZW}bZF0rhM1 z5R(&DrlHJODAn3h(M-!YSLJGH1iyP8d;7`wTyZ|#+o3HxZ5Uv-|UJj4JwCNNkMW5MMK5>iM?)7lz^t17UUuZ+d z!TEr_8s0m1Xku;cMldgip7dRqoozsfE~jXrF-mKEzCi!UG9!(-QG`Qrj-#`e&b(H? ze7Jn_>r3nJJ$Brie5?L0UznYl+AHKg#!pO^|C;%q@#FdX+3(fc;6kH(KkUz+%$f37 bvtArKHvhQn(yY%7-_HM>D(`C67uWv+Fh`hk diff --git a/Aetheria.State/README.md b/Aetheria.State/README.md index 5fca5dfab..eff5e630f 100644 --- a/Aetheria.State/README.md +++ b/Aetheria.State/README.md @@ -26,6 +26,9 @@ state spine is being rebuilt. The old `SavedGame`/`SavedZone` DTOs and `Galaxy` loader constructor have also been deleted; the new document family is live Verse run/zone state, not a bespoke save-file format. +The dead `SavedStory` JSON DTO is gone. `ZonePack` remains an in-memory zone +construction snapshot for Unity runtime code, but no longer carries MessagePack +persistence attributes. Keyboard layout rendering now reads the checked-in Unity text asset directly. The old generated `GameData/KeyboardLayouts/*.msgpack` cache was deleted; layout diff --git a/Assets/Scripts/ServerShared/EntitySerializer.cs b/Assets/Scripts/ServerShared/EntitySerializer.cs index 0ff28d171..99ab1bf8c 100644 --- a/Assets/Scripts/ServerShared/EntitySerializer.cs +++ b/Assets/Scripts/ServerShared/EntitySerializer.cs @@ -147,13 +147,6 @@ public static class EntitySerializer } } -[MessagePackObject] -public class SavedStory -{ - [Key(0)] public string StoryJson; - [Key(1)] public string StateJson; -} - [MessagePackObject] public class ShipPack : EntityPack { diff --git a/Assets/Scripts/ServerShared/ZoneData.cs b/Assets/Scripts/ServerShared/ZoneData.cs index 7941ec9b3..6d7190c84 100644 --- a/Assets/Scripts/ServerShared/ZoneData.cs +++ b/Assets/Scripts/ServerShared/ZoneData.cs @@ -12,28 +12,14 @@ using static Unity.Mathematics.math; using float2 = Unity.Mathematics.float2; using float3 = Unity.Mathematics.float3; -[MessagePackObject] public class ZonePack { - [Key(0)] public List Planets = new List(); - - [Key(1)] public List Orbits = new List(); - - [Key(2)] public List Entities = new List(); - - [Key(3)] public float Radius = 2000; - - [Key(4)] public float Mass = 10000; - - [Key(5)] public double Time; - - } // [LegacyCatalogGroup("Galaxy"), MessagePackObject] @@ -207,4 +193,4 @@ public class OrbitData : DatabaseEntry phase *= PI * 2; return new float2(cos(phase), sin(phase)); } -} \ No newline at end of file +} diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index 550b35161..61307969f 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -31,7 +31,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. `PlayerSettings.msgpack`, `.loadout`, `.zone`, and `GameData/KeyboardLayouts/*.msgpack` authority paths are disabled or deleted. The old `SavedGame`/`SavedZone` DTOs and `Galaxy` save-loader constructor are - deleted. + deleted. The dead `SavedStory` JSON DTO is deleted. `ZonePack` remains as a + runtime zone construction snapshot, but no longer declares itself as a + MessagePack persistence document. - `LegacyCatalogBoundary` opens `LegacyCatalogCache` as the only concrete pull-only catalog cache. Runtime consumers receive `ILegacyCatalogReader`, so old MessagePack backing stores may hydrate in-memory domain objects for