Craw
October 13th, 2009, 04:53
After playing with the parser a bit, I have figured out how to scrape a book off of the compendium and parse it into the library. However, I'm failing to get it to recognize tokens. I have (I believe) the correctly named token in the token file and have directed the parser to that directory i.e. (me)\appdata\roaming\Fantasy Grounds II\tokens\monster manual\Dire Rat.png
The Parsing results include a line that says "Copying token - C:\Users\Robert\AppData\Roaming\Fantasy Grounds II\tokens\Monster Manual\dire rat.png"
When I open FG, the Monster Manual is in the library, the dire rat is in the monster manual, the dire rat token is in the token box, but the dire rat entry does not show a token.
What am I missing?
EDIT: I tried this process again, just to make sure I hadn't missed a step and sure enough, there was the token. Now my question is about adding tokens as I go. Do I have to reparse the entire file whenever I add a new token or is there a way to edit the xml to get it to recognize tokens added after the fact?
The Parsing results include a line that says "Copying token - C:\Users\Robert\AppData\Roaming\Fantasy Grounds II\tokens\Monster Manual\dire rat.png"
When I open FG, the Monster Manual is in the library, the dire rat is in the monster manual, the dire rat token is in the token box, but the dire rat entry does not show a token.
What am I missing?
EDIT: I tried this process again, just to make sure I hadn't missed a step and sure enough, there was the token. Now my question is about adding tokens as I go. Do I have to reparse the entire file whenever I add a new token or is there a way to edit the xml to get it to recognize tokens added after the fact?