LazyDuchess / OpenTS2

Open source re-implementation of The Sims 2 in Unity
Mozilla Public License 2.0
221 stars 17 forks source link

Add loading of neighborhood object XML files. #33

Closed ammaraskar closed 11 months ago

ammaraskar commented 11 months ago

These are the files that assosciate the neighborhood GUIDs to the models. This also adds a class to handle cGZPropertySetString files since we will likely need to parse those more in the future.

LazyDuchess commented 11 months ago

Heads up, I believe there's also a binary version of this format and some hood deco uses it instead. It's rather simple tho: https://github.com/LazyDuchess/SimUnity2/blob/73a0fd8d08d21cc79397253ab0909f31ac972a07/Assets/Scripts/Files/CPFFile.cs#L113](url)