OK, I am so sorry, I didn't realize that the Valid Sources.txt was filtering the parser, I thought that it was filtering the reader... Now I have all my feats. I will try to find a solution...
Printable View
OK, I am so sorry, I didn't realize that the Valid Sources.txt was filtering the parser, I thought that it was filtering the reader... Now I have all my feats. I will try to find a solution...
So, I solved the problem and I write here what worked for me in case anyone else has the same problem.
Inside the Search Results folder (where you downloaded the parser and the reader) there is a feats3271.txt. I opened it, I found the feat that was causing the problem (Just Sacrifice) and I deleted the entire line. I then saved the .txt file, downloaded again the remaining 3270 feats through the reader and opened the parser. I choose client.xml but I don't know if that's relevant. My new feats module works great (although probably is missing this one feat)!
I will try to do the same thing for the traps, to see if there is an error somewhere and if there is, I am going to exclude that specific trap from the list.
There should have been three lines for "Just Sacrifice" with the last one being this:
<P class=publishedIn>Published in <A href="https://www.wizards.com/default.asp?x=dnd/drtoc/381" target=_new>Dragon Magazine 381</A>, page(s) 93 .</P>
That is why the parser did not like it. Not sure why your entry did not download correctly. Makes me wonder if other entries got messed up (besides the one other trap you mention.)
Also, if you want that one feat back (and assuming it will download correctly), you could run the program to download just that one entry. Then parse again selecting the file option and include the file with 3270 entries and the one with one entry and the parser will combine them.
The majority of nearly all parsing issues are related to bad input data. Data pulled from webpages are not guaranteed to be XML compliant HTML and most browsers are set up to display even bad data. If the web content developer forgot to close out an html tag or something, the browsers do a fairly good job of simply ignoring that. In contrast, XML parsers are strict. The expectation was that XML would not be built to allow the same sort of lazy compliance that we see on the web since it has caused considerable problems. Therefore the programmers who built the various XML parsing libraries used in most programming languages forced it to have a strict format that doesn't try to fix or ignore problems as they appear, but instead throws a hard error back to the developer calling the parser.
That's a long way of saying that if the parsing is failing, check the data for the offending section and either remove that section or fix it. There is an XML validity checker for Notepad++ that I often use to help narrow down issue like this. If you save the file with an .xml extension and check the validity, it will at least tell you what line has the problem.
I feel as if this is going to be one of the dumbest questions ever asked, however... regarding step three of method 2 of the 4eparser 2017 0407. "Select Entries in Compendium then click button below." I just spent about 3 hours trying and failing to wrap my head around every possible understanding of "select" I could come up with and have failed at every turn. I cannot find anyway to select entries to be downloaded so that I may continue on with the act of parsing them. I drag, I highlight, I right click, I look for the secret handshake keyboard keys. I am defeated. If someone could save me from my ignorance I would be most thankful.
Once you've signed into DDI on the first page, click "navigate to Compendium", then the browser should load to the compendium in the browser page.
Once that's loaded, you can search the compendium for any name, or group of entries (such as powers, or feats, or anything else). Once you've searched for them, click "Add Entries to Download" and it'll load the entries that are shown in the compendium page.
Once you have what you need, click step 5
Holy smokes. Thank you thank you thank you. I was stuck in this nightmare because I always hit "Launch Compendium" down in the bottom half like a dummy. Thanks a bunch.
No worries! Glad to help where I can
Might seem like a stupid question but after you it the Number 5 button what do you do?
It should begin downloading what you have selected (this can take a while depending how many you have selected) and finish with creating the module. The module will be found inside the folder where the parser is located once it's done.
You should know it's going because the lower half of the window will be changing through the compendium selections every second or so.
This looks good
I'm having a bit of confusion as to how to do this. I'm following Method 2 on the tool, but I'm not sure if what I'm doing is right. Since the compendium needs query to bring up data, I'm not sure if I'm getting everything. Can someone point me out to a step by step guide to following this, or perhaps some tips in using D&D Insider's compendium? If there's a way to pull up all data that'd be preferable to running through the vowels and hoping it picked everything up...
Edit: Ah, forgot about the compendium reader. Might be able to figure this out. Sorry for the confusion, really new to all of this.
Sing out if you do run into trouble!
Id also start from the back of this thread as much of the stuff at the beginning of the thread has changed over time...
Hello all. I have been parsing 4e material with no problem using the '4eParser.exe' file. That is....until I got to powers. When I parse powers it creates the .txt file and then an .xml file that has zero data (It also makes a folder with a definition.xml and thumbnail.png). When I have done any other category it makes a .mod file no problem. Any ideas on what I am doing wrong? Thank you!
Edit, Added info: When I use Method 1 with the resulting text file I got using method 2, I get this error for each power entry: Failed to parse: Defy Death : also entry.Fields not populated
I have tried db.xml and common.xml. Again, thank you so much for help on this amazing tool!
The "Power Classes.txt" file must be in the same directory as the parser when parsing powers.
This worked like a charm, thanks. I re-opened my compendium account yesterday, got all the files downloaded over the course of the day and overnight. This morning I was able to parse everything, create mods, and open them in Fantasy Grounds.
Some .txt downloads had to be edited where the closing paragraph tag shifted down a line, but the parser will tell you what items have errors. There were also two rituals that got nothing but the first and last line that caused a .mod import error. I found those items by looking at the compendium download log file I had saved and deleted them (Arcane Mark and Reliable Balance).
Valid Sources.txt works nicely. You can also run a parse on every downloaded text file. That will create a new text file with all the data that you can rename 'All Compendium', and you can use that one file to create .mod files based on Valid Sources.txt.
Now I just need to figure out what I want to import to a 4e campaign.
SerpintineOwl, Welcome to the forums :) Even if it appears you've been around for awhile *g*
Glad things are working for you. Let us know if you have questions.
4E Compendium powers parsing.....
Hi All.
I am still trying to get the 4e character powers from the Compendium into module form.
So far I have all the other entries imported via the parser into Module form.
However after trying to use the same method for the Powers entry it has taken some time for the download to run completely through.
1. I have a large text document from the Powers download and a message box came (see attach 1)
2. The Powers downloaded into a text document file. (attach 2)
3 I don't know how to proceed from here. I don't know which files to put into the parser.
Does anybody have experience with this.
Hopefully I am missing something obvious...
Cheers...
That message is not an error - it is just telling you to manually create the module if it fails. It's not telling you it fails.
Look for the directory it says it created - is there anything in there? Is there a .mod file created?
Alas no, only the text and empty .XML files
Maldev, sorry, I had not looked at this thread for a while. I hope you figured out the problem since this is back from February.The "Power Classes.txt" file must be in the same directory as the parser when parsing powers.
No worries, it has been all sorted. Things are going well thanks. I have a new question posted earlier today " Is there a way to import edited monsters from Adventure tools?"
Any ideas?
Thanks
Yo, trying to use the 4e item parser and it says i need to give it a module name and i dont know if i quite understand where to do so. I'm using windows 7 and the text does seem be oddly scaled when i run the program, might have something to do with it.
Um.
So.
Is there a quick fix if you were a little excited and parsed everything as a db.xml instead of common?
welcome dvm787s
Have you tried just renaming the file to common.xml?
Thanks!
I'll give it a try when this next parse batch is done. Tried to get all the powers in one shot to run overnight, and somewhere in the rogue powers it stopped parsing and demanded my DDI login again. So now we're going to do the powers and items in small batches.
Hi, please someone can explain why i cant edit modules created by parser? there is a way to edit? (red lock)
thx in advance
This is fairly standard for Fantasy Grounds reference modules - so that you can't accidentally change the base, original record, for reference within a campaign.
You have a couple of options;
1) Make a copy of the record you want to edit. Drag/drop the record link within the campaign data list (buttons down the right of the desktop). This will create a copy of the record in the campaign, which you can edit.
2) If you're not worried about losing the original data in the campaign (you never edit the base module through the campaign, you just "edit" a local reference in the campaign itself), and you don't mind doing some XML editing - open up the FG module and look for static="true" entries within the XML elements - they are usually in high level headers. Remove this text completely. Save and re-package your FG module. All entries should then be editable within your campaign.
Hey, I downloaded the Parser and decided to use Method 2 (Log into the Compendium). I successfully log in but when I click Navigate to Compendium it keeps asking me to log into my DDI Account. Just wondering if anyone has had this problem or if there's something obvious I'm missing.
Edit: I suppose I should add. I have successfully logged into the Compendium via my browser and I have tried leaving Internet Explorer running with the Compendium on in the background as suggested earlier in the thread.
https://gyazo.com/3ba370ae73a0ebc0eded614e0118517c
https://gyazo.com/4873c6e5fb0ec31838da44304210c1ca
Just checking to see if this is still the place to ask help regarding the Parser?
I just posted a new version which fixed it for me. Hopefully works for you.
Hey, thanks a lot. Much appreciated.
Hi All,
Im trying to get this working and when I try and login to the Wizards account after clicking the DigitalRiver subscription I am getting a page timeout.
Does anyone know if you are still able to register and pay for an account?
I had the same issue almost a year ago. I emailed Wizards Customer Support for help getting a subscription and that worked.
Thanks gamerhawaii, Ill give that a go.
Update:
So after trying multiple browsers, networks, and computers, a clearing of the cookies/cache seemed to solve it and I was able to sign up.
I did, however, not tick the "I agree" on the page where you choose the currency, but that is unlikely to be related.
Hi All,
Searched the thread for tokens, not sure what the latest is but I'm trying to parse Kingdom of Ghouls with tokens. I've created the original folder, added the tokens and named folder and put the tokens in lower case in said folder e.g. Kingdom of Ghouls\tokens\Kingdom of Ghouls\great flameskull.png and so far all good. Tried recreating the mod and can't see the tokens. Tried zipping the output folder and changing the file to .mod but fantasy grounds doesn't recognise it.
Any suggestions on where I'm going wrong?
Thanks
I don't know this parser, but I know with other parsers the tokens have to be; all lower cases, no spaces, and special characters replaced with an underscore.
Check the xml of the module and see if you can figure out what token name it is looking for.