I'm not sure what could cause that, is the cards.xml is a location where it can be overwritten? If you get the message "could not write new cards.xml file to disk", it did work, but afterwards it was unable to replace your current file. The cards.xml is updated if you can't get it working, but the main benefit of using the updater is being able to go back to your previous xml once the set is officially spoiled on gatherer, since not all of the spoiler art is high quality.
The xml file is updated. Did it immediately crash without saying anything in the console window? Usually a crash like that means a file might be missing. You have to download and extract the whole zip (you can't download the exe by itself even though Google Drive lets you).In any case, I posted a new version that won't crash unless something happens outside the control of the program (like missing files), so if you have a chance, download it and run it and tell me what happens (Instead of crashing it will give you an error message you can post here, assuming it's not missing files).
They are there, but as I said in the original post, MTGSalvation doesn't give images for the reprints, so you have to put M15 at the bottom of the set list
I'm not familiar the format MWS uses to save card databases, but using the current source to write an updater for MWS would be straightforward (Extending ICardFileModifier).
I'd appreciate if you gave me the actual text you get from the the assertion, but I suspect you're on a new version of cockatrice. The only asserts I used are to make sure you already have a valid cards.xml file. If you could also post your cards.xml file I'd appreciate it, as even though M15 spoilers are almost over, the updater is going to be useful as long as MTGSalvation posts spoilers and if there's another valid cards.xml format I didn't know about I'd like to see it.
I am on the newest version. Codename summer magic. Apparently the xml is in a new format could explain why this is working. I ve using proxy to test but nothing beats the real thing.
If your issue was with the images for reprints not showing, you just need to put m15 at the bottom of the set list, but yes, I have noticed the updater doesn't work with the summer magic version. Something changed, and I'm unsure of what it is right now.
I've created a python script that will create a text spoiler for MWS from the updated cards.xml file. Unfortunately I can't post links yet due to a lack of posts >.< Expect a new topic soon.
Ok I seemed to have fixed that error message by re-downloading the database .xml But now I'm facing a different issue. In "Run This(Updater).exe" I'm getting this message:
Fatal error:The 'pt' start tag on line 155385 position 12 does not match the end tag of 'card' . Line 155390, position 5.
Internal Unexpected error, please share this message with the maintainer:
System.Xml.XmlException: The 'pt' start tag on line 155385 position 12 does not match the end tag of 'card' . Line 155390, position 5.
at System.Xml.XmlTextReaderImpl.Throw<String res, String [] args>
at System.Xml.XmlTextReaderImpl.ThrowTagMismatch<NodeData startTag>
at System.Xml.XmlTextReaderImpl.PhraseEndElement<>
at System.Xml.XmlTextReaderImpl.PhraseEndElementContent<>
at System.Xml.XmlLoader.LoadNode<BooLean skipOverWhitespace>
at System.Xml.XmlDocument.LoadDocSequence<XmlDocument parentDoc>
at System.Xml.XmlDocument.Load<XmlReader reader>
at System.Xml.XmlDocument.LoadXml<String xml>
at MTGSalvationScraper.CardFileModifier.AugmentCards(StringsetName, String longSetName, String xmlData, IEnumerbale'1 newCards)
at MTGSalvationScraper.CardFileGenerator.GenerateCardFile(String oldFile, String setName, String longSetName, Int32& newCards)
at MTGsalvationScraper.Program.UpdateFile (String path)
at MTGSalvationScraper.Program.Main()
No offense, but your reading skills are kinda ... crap.
If you'd have read the first post that addresses half the things you mention.
If MTGSalvation doesn't have the image the updater doesn't have it.
If MTGSalvation doesn't have the card the updater doesn't have the card.
If MTGSalvation has bad art, the updater has it.
If the updater has a problem because of MTGSalvation, the cards.xml has it too.
And the purpose of the updater is to at least give text until gatherer has the set. That's why it saves your old xml. If you don't like it, restore your old file.
I'm pretty tired of answering questions I've answered more times, and in more ways, than I feel I need to.
I'm going to go out on a limb and guess ... you didn't read the first post and are trying to use this with the newest version of cockatrice. Which the first post specifically mentions as not supported in capital letters
The updated xml is in the first post. Post your version of cockatrice and the exact error you get. It sounds like either you didn't extract the program completely, or you didn't run it as an admin and your xml is in a write-protected location.
Private Mod Note
():
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Can you just post an updated xml file?
Assertion Failed
rootElement!= null
at MTGSalvationScraper.CardFileModifier.AugmentCards(StringsetName, String longSetName, String xmlData, IEnumerbale'1 newCards)
at MTGSalvationScraper.CardFileGenerator.GenerateCardFile(String oldFile, String setName, String longSetName, Int32& newCards)
at MTGsalvationScraper.Program.UpdateFile (String path)
at MTGSalvationScraper.Program.Main()
Fatal error:The 'pt' start tag on line 155385 position 12 does not match the end tag of 'card' . Line 155390, position 5.
Internal Unexpected error, please share this message with the maintainer:
System.Xml.XmlException: The 'pt' start tag on line 155385 position 12 does not match the end tag of 'card' . Line 155390, position 5.
at System.Xml.XmlTextReaderImpl.Throw<String res, String [] args>
at System.Xml.XmlTextReaderImpl.ThrowTagMismatch<NodeData startTag>
at System.Xml.XmlTextReaderImpl.PhraseEndElement<>
at System.Xml.XmlTextReaderImpl.PhraseEndElementContent<>
at System.Xml.XmlLoader.LoadNode<BooLean skipOverWhitespace>
at System.Xml.XmlDocument.LoadDocSequence<XmlDocument parentDoc>
at System.Xml.XmlDocument.Load<XmlReader reader>
at System.Xml.XmlDocument.LoadXml<String xml>
at MTGSalvationScraper.CardFileModifier.AugmentCards(StringsetName, String longSetName, String xmlData, IEnumerbale'1 newCards)
at MTGSalvationScraper.CardFileGenerator.GenerateCardFile(String oldFile, String setName, String longSetName, Int32& newCards)
at MTGsalvationScraper.Program.UpdateFile (String path)
at MTGSalvationScraper.Program.Main()
Can someone just post the updated XML file? I've never had to wait this long to update a new set on cockatrice.
If you'd have read the first post that addresses half the things you mention.
If MTGSalvation doesn't have the image the updater doesn't have it.
If MTGSalvation doesn't have the card the updater doesn't have the card.
If MTGSalvation has bad art, the updater has it.
If the updater has a problem because of MTGSalvation, the cards.xml has it too.
And the purpose of the updater is to at least give text until gatherer has the set. That's why it saves your old xml. If you don't like it, restore your old file.
I'm pretty tired of answering questions I've answered more times, and in more ways, than I feel I need to.