Savegames format

Discussions about the internal structures of the game. You can also post here if you'd like to know how things really work (and don't know how to read C code).
Post Reply
idcarlos
Posts: 63
Joined: Mon Sep 12, 2005 2:30 pm

Savegames format

Post by idcarlos »

Hi.

What do you thing about migrate the actual XML code in a SQLite database?

xml have a lot overhead, and "maybe" it's hard to mantain.

With SQLite is lite, fast, works under many OS...

I can't help you with C, but I can help you with database definition, views and trigers (yes SQLite have trigers, you can move some code there).

Un saludo
Carlos Garces
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

i can think of three reasons against it off the top of my head:
- i'm not sure a database is well suited as savegame format
- it'd introduce a new dependency on some sqlite library, if i'm not mistaken
- if it ain't broke, why fix it? nobody ever complained about the load/save system till now

and even if it turns out to be a good idea, i won't be the one to implement it. i've recently finished university, i'll have a regular job soon, and i guess i'll turn over the project to somebody else soon (or abandon it).

gyözö
Press any key to continue or any other key to quit.
idcarlos
Posts: 63
Joined: Mon Sep 12, 2005 2:30 pm

Post by idcarlos »

gyboth wrote: i'll turn over the project to somebody else soon (or abandon it).
It's sound like a bad news.
Post Reply