Page 1 of 1
mastering datafile systems
Posted: Wed Feb 03, 2010 6:53 am
by Ispa
hi guys

is there any guide to learn the way of datafiles?!

Re: mastering datafile systems
Posted: Thu Feb 04, 2010 4:32 am
by phao
There isn't much to it... Read the references.
After that, ask specific questions.
Something I've concluded after some time here is that you won't find a full documentation explaining everything in detail. You're better off if you only go learn something if you need it.
For example... I don't know how to modify config files because I only need to read them.
Something else... If you really go do this I suggested, you'll learn how to use datafiles, but something what is not mentioned in the docs (I didn't see it there) is tht if you, in the configuration file, says that all packages can read/write files, that'll allow scripts outside packages do the same. So, "all packags" actually means "all packages and everything outside packages".
Anyway, go read the references. I don't know anyway around this.
Re: mastering datafile systems
Posted: Fri Feb 05, 2010 11:42 am
by Ispa
ok i won but i dont undestand something...
now i'm able to read and write datafile in game but i dont understood when it saves on a datafile.txt under /data/ds/pkg/ folder???
Re: mastering datafile systems
Posted: Sat Feb 06, 2010 7:55 am
by CWO
Yes that is where it saves datafiles. I wouldn't worry about how and where POL saves them, just that they are saved and accessible within the game. Datafiles get saved when there is a worldsave just like the rest of the data.
Re: mastering datafile systems
Posted: Sat Feb 06, 2010 10:17 am
by phao
I've realized just now... I've got his question wrong.
I'm sorry dude. I was talking about files (file.em) and not datafiles (datafile.em). Just ignore what I said.