CardData.xml numbering order

Bug reports, feature suggestions etc...

Moderators: Programmer, WebWeaver, WillowsHeart

Post Reply
WebWeaver
Major Contributor
Major Contributor
Posts: 419
Joined: Sat 01 Jan, 2005 12:00 am
Location: Chicagoland, IL
Contact:

CardData.xml numbering order

Post by WebWeaver »

Hello Richard,
I just have a quick question about the order the cards are in in the CardData file. Is there a reason that the text in this file would change the order? I have made a clean file that I'm using for all my decks now to start off with and using NoteTab to transfer any deck specific notes. I've found this to work the best for me. However I'm finding that not all the decks have the Note files in numeric order. Is this something that just happens or just something wierd that happened when the deck was set up?

Shari
Shari
aka WebWeaver
Let's Talk Tarot
User avatar
Programmer
Major Contributor
Major Contributor
Posts: 1725
Joined: Sat 01 Jan, 2005 12:00 am
Location: Spain
Contact:

Re: CardData.xml numbering order

Post by Programmer »

Hi Shari

If you are viewing a CardData.xml file created with a version of the program prior to 6.5 the notes could be in any order.

When a deck does not have a CardData.xml file one is created automatically. It is created without any records for cards. A record is added each time a card is dealt if it does not contain one for that card already. So the records for the cards would be in the order that the cards were originally dealt, probably a random order.

With version 6.5 I added some code to order the notes numerically, to make them easier to read and edit outside the program. You should find if you use the CardData.xml file in question with the current version of the program it re-orders the notes numerically.

Does this match what is happening?

Richard



WebWeaver
Major Contributor
Major Contributor
Posts: 419
Joined: Sat 01 Jan, 2005 12:00 am
Location: Chicagoland, IL
Contact:

Re: Re: CardData.xml numbering order

Post by WebWeaver »

Well it must because I couldn't find it happening anywhere anymore... If I do find one.. I'll let ya know :o)
Thanks!
Shari
Shari
aka WebWeaver
Let's Talk Tarot
Post Reply