2011-03-31, 08:31
Alright, I'm going insane with this. I'm trying to use my local synopsis and images/videos and for the life of me I can't get the synopsis file to parse properly.
here's what the synopsis looks like http://pastebin.com/0re4Cgxs
and heres my parser config
This works perfectly fine with the NES description file mentioned earlier in this thread but for some reason refuses to work with this file. The ouput from RCB looks like this: http://pastebin.com/XAZPbs40
As you can see, it's reading the first entry fine but every line after that something is up and I can't figure it out.
Any help would be greatly appreciated.
Edit: For the record here's what the NES synopsis looks like:
http://pastebin.com/NfLuvnE2
here's what the synopsis looks like http://pastebin.com/0re4Cgxs
and heres my parser config
Code:
<parserConfig>
<GameGrammar type="multiline">
<SkippableContent skipTo="LineStart*LineEnd"></SkippableContent>
<SkippableContent>LineStart*LineEnd</SkippableContent>
<crc restOfLine="true" delimiter=","></crc>
<Game restOfLine="true"></Game>
<SkippableContent>Platform:</SkippableContent>
<Platform optional="true" delimiter="," restOfLine="true"></Platform>
<SkippableContent>Region:</SkippableContent>
<Region optional="true" delimiter="," restOfLine="true"></Region>
<SkippableContent>Media:</SkippableContent>
<Media optional="true" delimiter="," restOfLine="true"></Media>
<SkippableContent>Controller:</SkippableContent>
<Controller optional="true" delimiter="," restOfLine="true"></Controller>
<SkippableContent>Genre:</SkippableContent>
<Genre optional="true" delimiter="," restOfLine="true"></Genre>
<SkippableContent>Release Year:</SkippableContent>
<ReleaseYear optional="true" delimiter="," restOfLine="true"></ReleaseYear>
<SkippableContent>Developer:</SkippableContent>
<Developer optional="true" delimiter="," restOfLine="true"></Developer>
<SkippableContent>Publisher:</SkippableContent>
<Publisher optional="true" restOfLine="true"></Publisher>
<SkippableContent>Players:</SkippableContent>
<Players optional="true" delimiter="," restOfLine="true"></Players>
<SkippableContent>Original Title:</SkippableContent>
<OriginalTitle optional="true" delimiter="," restOfLine="true"></OriginalTitle>
<SkippableContent>Alternate Title:</SkippableContent>
<AlternateTitle optional="true" delimiter="," restOfLine="true"></AlternateTitle>
<SkippableContent>Translated By:</SkippableContent>
<TranslatedBy optional="true" delimiter="," restOfLine="true"></TranslatedBy>
<SkippableContent>Hacked By:</SkippableContent>
<HackedBy optional="true" delimiter="," restOfLine="true"></HackedBy>
<SkippableContent>Version:</SkippableContent>
<Version optional="true" delimiter="," restOfLine="true"></Version>
<SkippableContent restOfLine="true"></SkippableContent>
<SkippableContent restOfLine="true"></SkippableContent>
<Description optional="true" skipTo="LineStart*LineEnd"></Description>
<SkippableContent>*LineEnd</SkippableContent>
</GameGrammar>
</parserConfig>
This works perfectly fine with the NES description file mentioned earlier in this thread but for some reason refuses to work with this file. The ouput from RCB looks like this: http://pastebin.com/XAZPbs40
As you can see, it's reading the first entry fine but every line after that something is up and I can't figure it out.
Any help would be greatly appreciated.
Edit: For the record here's what the NES synopsis looks like:
http://pastebin.com/NfLuvnE2