Quote:
Originally Posted by Loriel
"Before they can be used by the toolset or the game, 2DAs must be converted from Excel files into a more efficient form."
Integrating a spreadsheet processor into Graal that understands macros and formula seems a bit overkill, at least convert it to a CSV text file or something before uploading. :I
|
No, Graal would only read the text values of the cells. You can get cell values--which are entered manually or results of formulas--by parsing the XML, formulas used to produce the values are stored elsewhere and are ignored. Everything else is only for the benefit of the person editing the spreadsheet.
Quote:
Originally Posted by WhiteDragon
This is what I told Inverness, but he seemed to think CSV wasn't powerful enough.
|
Things like comments, formulas, and color coding would need to be preserved, that is the whole point. You can't do that with CSV. Having to produce a new CSV file every time you edit the spreadsheet seems troublesome to me, it would just save a lot of time for a function to be able to read the spreadsheet file and covert it into a format usable for scripting.
Quote:
Originally Posted by coreys
I'm thinking that Inverness would find more ideal to be able to just edit the OpenDocument spreadsheet and upload it to have changes take effect, instead of having to run some macro every time and update an array in a script somewhere.
|
Exactly.
Quote:
Originally Posted by coreys
I'm not sure that, in the scope of Graal, that doing all this is completely worth while, though...unless you're planning some huge server on the scale of Dragon Age lol
|
Considering how relatively easy it is to open a ZIP file and parse some XML it is not time-consuming to implement.