Thread: Fantasy Grounds Editor
-
March 28th, 2007, 13:00 #71Originally Posted by DrDeth
-
March 28th, 2007, 13:33 #72
IF there were a list of equivalent tags, a converter should just be a case of having an XML reader, some code in the middle doing some mapping, and an XML writer to create the converted file. From what I've seen so far, the trick is getting the list of tags. Documentation for extending the product is not extensive or comprehensive.
Using Ultimate license - that means anyone can play.
Valarian's Fantasy Grounds Rulesets
-
March 28th, 2007, 14:47 #73
You are correct in regards to documentation for the current version. However, if you look at the beta doc reference you can see for each control type the tags listed near the beginning before it goes into the available functions. It lists what each tag does for that control as well.
-
March 28th, 2007, 15:18 #74
The documentation for FG2 is better, and has the content of each tag. What it doesn't have is where the tag is valid (i.e. where it fits in the overall structure), or the files where the tag can be used.
e.g. can I put a numbercontrol element directly under the root node, or does it have to be in a windowclass element?
Plus, the FG2 documentation seems to mix objects and XML elements liberally. A separate class API reference (with class diagram) and schema reference would be helpful.Last edited by Valarian; March 28th, 2007 at 15:21.
Using Ultimate license - that means anyone can play.
Valarian's Fantasy Grounds Rulesets
-
March 29th, 2007, 09:37 #75
- Join Date
- Mar 2007
- Location
- South Africa
- Posts
- 103
A converter will definately be on the cards. It wont be as simple as mapping XML between versions as the FG2 rulesets are a lot more complex and the 'structure' of the physical files is a little different.
The reason why the FG2 documentation seems to mix objects and xml is that the XML is a representation of objects within the app. With their standardisation to have proper XML complient files, it would be easy to serialize the objects from the xml.
An API would be a huge help to developing tools, but that API would probably constitute most of the internal workings of FG, so Im not sure if that will ever happen.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks