Hi
So this may be a daft question or idea but has anybody ever tried to take the data from persistent.sfs into a database or something to see the data outside of the game?
I am thinking something like a database application that will show you crew rostas, career logs, flight logs, missions, etc.
It looks like JSON, but not quite so I am not sure how to work something to read the tree and show the data.
With the languages I know I was thinking a simple web application using PHP would be possible if I could work out a way to parse the information into some kind of queryable way so the website can show different things on different pages.
For example turning the information below into a nice crew information record:
ROSTER
{
KERBAL
{
name = Jebediah Kerman
gender = Male
type = Crew
trait = Pilot
brave = 0.5
dumb = 0.5
badS = True
veteran = True
tour = False
state = Assigned
inactive = False
inactiveTimeEnd = 0
gExperienced = 0
outDueToG = False
ToD = 0
idx = 0
extraXP = 0
hero = True
CAREER_LOG
{
flight = 0
}
FLIGHT_LOG
{
flight = 0
0 = Flight,Kerbin
0 = Suborbit,Kerbin
0 = Orbit,Kerbin
0 = Escape,Kerbin
0 = Flyby,Sun
0 = Orbit,Sun
}
}