Hi Dorten, RE PM:
Does anything after ';//' really means something, or it can be dumped away? No, as far as I'm aware, everything after the ";//" is just for annotation purposes. That said, if you're thinking of making this into an editor, it would be fantastic if it could work in such a way that would preserve what is after the ";//". There was one a program similar to yours called "Jan's File Viewer", but it was unsuitable for real use as every time you used it to edit a file, it would strip the file of all annotations, making it impossible to mod it by hand later on.
Are spaces at the line beginnings really needed, or I can rearrange them differently? I'm not too sure what you mean by that... do you mean something like:
1.5;//blah blah compared to
1.5;//blah blah that? In that case, I can't see that the spaces would have any purpose at all. The only exception I can think of may be the journals files, but even that is unlikely.
Last, but not least: there's the -0.3f00000 entry in float field even in default mod, but the game doesn't crash on it. Does it mean something, or is this a typo? I have never seen that before, and never used it, so I'm fairly certain that it's a typo. Ville may have to confirm that for you, but for now I'd guess you can probably ignore it.
Questions of my own: I'm not sure that your program is picking up many of the values in the files correctly. For instance, if you load up the "default" mod, and look at the very first entry in plot objects, "Replicator cell", your viewer tells me that the object will be deleted after -1000 seconds and vanishes after dropping 1000000 of [Unknown (13000000)] in 0px area. When I compare that to the file however, the ";//time to delete object in milliseconds" is actually "-1.000000", which is the "don't delete" indicator. And the "effects" dialogue tells me that it drops 1 unit of item 13, rather than 1000000 of item 13000000. Maybe simply out by a factor of 1000000, or it's not recognizing the "."?
That aside, this tool has great potential, I'm looking forward to seeing where it goes.
|