Can someone please post a step-by-step on how to create an xml file to use when we scan a new deck? What program do you use? etc.
Thanks!
creating an xml file
Moderators: Programmer, WebWeaver, WillowsHeart
-
- Major Contributor
- Posts: 228
- Joined: Sat 01 Jan, 2005 12:00 am
creating an xml file
Honestly, a general XML file can be generated with plain Notepad if you know the syntax. But he general XML file that identifies a given deck can be done using the tools included in the same program: Options > Change Preferences Just for XXXX Tarot (second option) > Others. Here's the XML creator/editor. Best.
creating an xml file
Dom is very correct. But don't try to do an xml file, outside theprogram, unless you know what you are doing. (and I never could do it!)
You don't have to create an XML file. After you put a new file with a deck inside Orphalese's pack folder, open it up within Orphalese, Orphalese will make an XML for you.
What? You want to put the card data in the XML file? Do that within the system too! Use the card note editor for that little chore!
For card & author information, the system ALSO makes you a file for that too!
As smart as the others are, sometimes its easier to let our beloved OPT program work for us and let our King and his PC Minions do the hard stuff for us!
.o)...Love our Peoples here at OPT!!!!!
Barb
You don't have to create an XML file. After you put a new file with a deck inside Orphalese's pack folder, open it up within Orphalese, Orphalese will make an XML for you.
What? You want to put the card data in the XML file? Do that within the system too! Use the card note editor for that little chore!
For card & author information, the system ALSO makes you a file for that too!
As smart as the others are, sometimes its easier to let our beloved OPT program work for us and let our King and his PC Minions do the hard stuff for us!
.o)...Love our Peoples here at OPT!!!!!
Barb
- Programmer
- Major Contributor
- Posts: 1725
- Joined: Sat 01 Jan, 2005 12:00 am
- Location: Spain
- Contact:
creating an xml file
Hi Martemis,
Both the above replies are right, and we can summarise the situation as follows:
There are three types of XML file that the program will generate for you and include automatically with the deck you create. To create any of these files, first of all you have to be using the deck in question. Everything the program does always relates to the currently selected deck. The three types of file are...
1) PackInfo.xml
This is the file that contains general information about the deck such as the author, the number of cards it contains, whether it has rounded edges etc. This file will be created automatically when you go into the current deck section of the Options form as Dominatrix described. Whatever changes you make there will be saved into the PackInfo.xml file.
2) CardData.xml
This file contains notes against each individual card, rather than the whold deck. These are the notes that appear in yellow pop-up windows when you hover the mouse over a card. These are for the generalised Little White Book type notes that might accompany any given deck. As Barb says, you edit them by choosing Pop-up Notes off the main menu and the Edit.
3) PersonalCardData.xml
Like the CardData, these notes apply to each individual card. The notes will appear in pink pop-up windows when the mouse is hovered over the card, if you are in Personal Notes mode. To change to this mode choose Pop-up Notes off the main menu and then Change Mode. As the name suggests, these are for storing your own impressions and associations with each card. You can edit these in the same was as the general card data (above). If you add a deck to your shared decks using the peer-to-peer tool your personal card notes are NEVER included. The LWB notes are optionally included.
If you did really want to get your hands dirty with an external editor (and there is really no reason to), make sure you save the file in unicode or UTF-8 format to avoid loss of data when the notes are opened via the program.
Cheers,
Richard
Both the above replies are right, and we can summarise the situation as follows:
There are three types of XML file that the program will generate for you and include automatically with the deck you create. To create any of these files, first of all you have to be using the deck in question. Everything the program does always relates to the currently selected deck. The three types of file are...
1) PackInfo.xml
This is the file that contains general information about the deck such as the author, the number of cards it contains, whether it has rounded edges etc. This file will be created automatically when you go into the current deck section of the Options form as Dominatrix described. Whatever changes you make there will be saved into the PackInfo.xml file.
2) CardData.xml
This file contains notes against each individual card, rather than the whold deck. These are the notes that appear in yellow pop-up windows when you hover the mouse over a card. These are for the generalised Little White Book type notes that might accompany any given deck. As Barb says, you edit them by choosing Pop-up Notes off the main menu and the Edit.
3) PersonalCardData.xml
Like the CardData, these notes apply to each individual card. The notes will appear in pink pop-up windows when the mouse is hovered over the card, if you are in Personal Notes mode. To change to this mode choose Pop-up Notes off the main menu and then Change Mode. As the name suggests, these are for storing your own impressions and associations with each card. You can edit these in the same was as the general card data (above). If you add a deck to your shared decks using the peer-to-peer tool your personal card notes are NEVER included. The LWB notes are optionally included.
If you did really want to get your hands dirty with an external editor (and there is really no reason to), make sure you save the file in unicode or UTF-8 format to avoid loss of data when the notes are opened via the program.
Cheers,
Richard
-
- Major Contributor
- Posts: 228
- Joined: Sat 01 Jan, 2005 12:00 am
creating an xml file
Well, nobody wants to remember the dark times of OT version 4.0 and before, when the XML that came with any deck had to be edited manually using Notepad or other ASCII editor... In fact that's how I did the info files for my first decks, taking an existing XML as a base and editing to suit my needs. Luckily, things have changed a lot since then, and Richard's attention to detail rendered made all this real easy. Best.