XML

To import or export XML go to the settings in the top-right with a project loaded. Then, Click on ‘Card Data’. A window will pop up where you can export and import. Note: If you’re going to make changes to xml files, or planning to importing xml data etc, MAKE A BACKUP OF YOUR PROJECT FIRST.

Most data save files created by Card Engine are .xml. All types of card collections saved (Templates.xml, Cards.xml, Trashbin.xml) are interchangeable. This means that you can simply rename any of these to repurpose them. E.g. Rename the Cards.xml to Templates.xml. The next time you open your project, those cards previously found in the normal card collection will have become template cards. This can also be used to move cards between projects.

The card collection files holds raw card data, allowing you to make full changes to cards from the files themselves. (Reposition objects, swap images, change text content, rename cards, manage card IDs, etc)

Through the ‘card data’ window accessible from the settings, you can click import XML and choose any such card collection XML file and it will be imported to your project. Clicking export XML will simply export all cards in your normal cards collection to a new .xml file. This is the only way to move cards between projects inside the application. (Note that cards using custom assets need those same assets imported into the other project as well, with the same files name inside the same folders, as .xml card data only holds a reference to an asset, not the asset itself)

Exporter

The exporter can also create these .xml card collections. Simply configure the exporter as usual, but change the format dropdown to XML. When you click export, all the cards in the preview will be added to the XML card collection, whether you export as individual images or paper standards like A4 etc. This means you can for example set the exporter to just export the current page, in individual images mode, and you will get a .xml file containing just that one card. This is the easiest way to move one single card over to another project using the normal .xml import process.

All configurations you make in the exporter affects the .xml file created. A4 paper can fit up to 9 poker/trading card sized cards, so exporting current page as xml will create a collection with those 9 cards. If you have sides set to ‘only fronts’, only the card data from the front face of the cards will be included, and the data for the back face will be blank. Essentially, what you see in the preview is what you get in the exported .xml file.

Next
Next

CUSTOM ASSETS