LazyDuchess / OpenTS2

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

Implement Scenegraph parsing #21

Closed ammaraskar closed 1 year ago

ammaraskar commented 1 year ago

This adds initial support for deserializing RCOL/Scenegraph Resource Collection files. I tried to lay out the API so it's easy enough to add new data block types but a system similar to the CodecRegistry might be nice, we'll see how it goes.

The only data block currently implemented is the simplest one I could find, cTagExtension but I will follow up to add the cImageData / texture loading that I have ready.

Links are presently not supported, will add support for those later down the line.

ammaraskar commented 1 year ago

Closing in favor of #22