ekolis / FrEee

An open source clone of the classic 4X game Space Empires IV.
http://edkolis.com/freee
47 stars 11 forks source link

Replace serializer #141

Open ekolis opened 4 years ago

ekolis commented 4 years ago

What do you want to see? Replace the old, slow serializer with something more performant - say, the built-in .NET Core JSON serializer which is based on Newtonsoft's serializer.

How would it help players? Game saves and loads faster

Alternatives Other serializers?

Screenshots and mockups N/A

Things to consider Need to make sure all game file types can be saved and loaded, but the big one is savegames. I've had issues with Newtonsoft in the past which is why I created the custom serializer to begin with; I need to make sure anything we replace it with is reliable.

ekolis commented 4 years ago

Tried to do this but I get errors saying types such as IDictionary is not supported...

ekolis commented 3 years ago

Another possibility: use an embedded database such as SQLite?

ekolis commented 1 year ago

Or maybe I just had a crappy old dual core computer; the game runs a lot faster on this 8-core one!