Editing ZDL file format
From LOTR-TCG Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=zdl File Format= | =zdl File Format= | ||
The *.zdl file format originated with Zorbec's Decklist Builder, still perhaps one of the best deck builders out there. The file format is actually just an *.ini file that's been renamed. Documentation on such a file format can be found [[http://en.wikipedia.org/wiki/INI_file|here]]. Most major programming languages have libraries already set up for interpreting *.ini files, so this is one of the more trivial formats to read. | The *.zdl file format originated with Zorbec's Decklist Builder, still perhaps one of the best deck builders out there. The file format is actually just an *.ini file that's been renamed. Documentation on such a file format can be found[[http://en.wikipedia.org/wiki/INI_file|here]]. Most major programming languages have libraries already set up for interpreting *.ini files, so this is one of the more trivial formats to read. | ||
An example deck is below: | An example deck is below: | ||
Line 8: | Line 8: | ||
; Deck list generated by Zorbec's DeckList Builder | ; Deck list generated by Zorbec's DeckList Builder | ||
; | ; | ||
[General] | |||
EventName===== | EventName===== | ||
PlayerName===== | PlayerName===== | ||
Line 43: | Line 43: | ||
FreePeopleCount=====3 | FreePeopleCount=====3 | ||
ShadowCount=====3 | ShadowCount=====3 | ||
[FreePeople] | |||
; 1 x • Sméagol, Poor Creature | ; 1 x • Sméagol, Poor Creature | ||
CardID0=====!6C45 | CardID0=====!6C45 | ||
Line 53: | Line 53: | ||
CardID2=====!1C311 | CardID2=====!1C311 | ||
Qty2=====1 | Qty2=====1 | ||
[Shadow] | |||
; 3 x • Gollum, Old Villain | ; 3 x • Gollum, Old Villain | ||
CardID0=====!6C40 | CardID0=====!6C40 | ||
Qty0=====3 | Qty0=====3 | ||
[Notes] | |||
LineCount ===== 0 | LineCount ===== 0 | ||
[ScratchPad] | |||
Count=====0 | Count=====0 | ||
Line 66: | Line 66: | ||
Following standard INI format, general sections are marked by section headers such as ''[FreePeople]'', and specific variables followed by their value, such as ''Qty0=====0''. Unique among the various deck formats, *.zdl as a result of its INI nature saves the specific position of each card, so in the example above Smeagol takes the first Free Peoples position, while Gimli takes the second, and so on. For those unfamiliar, the ; indicates a commented line, so those lines are strictly for human readability and are not required by any means. | Following standard INI format, general sections are marked by section headers such as ''[FreePeople]'', and specific variables followed by their value, such as ''Qty0=====0''. Unique among the various deck formats, *.zdl as a result of its INI nature saves the specific position of each card, so in the example above Smeagol takes the first Free Peoples position, while Gimli takes the second, and so on. For those unfamiliar, the ; indicates a commented line, so those lines are strictly for human readability and are not required by any means. | ||
{{: | {{:electronic_platform_table}} | ||