The name of the directory TEXT_PERMANENT must be TEXT_PERMANENT, but the names of the files inside it don't matter. The contents of the files do matter especially due to the namespaces that the file references.
For example this is a pretty minimal Text Permanent file:
- Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
<Author>DotP 2013 Deck Builder</Author>
<Created>2013-05-24T11:05:29Z</Created>
<Company>
</Company>
</DocumentProperties>
<Worksheet ss:Name="Sheet4">
<Table>
<Row>
<Cell><Data ss:Type="String">Ident</Data></Cell>
<Cell><Data ss:Type="String">Comment</Data></Cell>
<Cell><Data ss:Type="String">Master Text</Data></Cell>
<Cell><Data ss:Type="String">French</Data></Cell>
<Cell><Data ss:Type="String">Spanish</Data></Cell>
<Cell><Data ss:Type="String">German</Data></Cell>
<Cell><Data ss:Type="String">Italian</Data></Cell>
<Cell ss:Index="9"><Data ss:Type="String">Japanese</Data></Cell>
<Cell><Data ss:Type="String">Korean</Data></Cell>
<Cell><Data ss:Type="String">Russian</Data></Cell>
<Cell><Data ss:Type="String">Portuguese (Brazil)</Data></Cell>
</Row>
<Row>
<Cell><Data ss:Type="String">DECK_100045_NEW_DECK</Data></Cell>
<Cell ss:Index="3"><Data ss:Type="String">New Deck</Data></Cell>
<Cell><Data ss:Type="String">New Deck</Data></Cell>
<Cell><Data ss:Type="String">New Deck</Data></Cell>
<Cell><Data ss:Type="String">New Deck</Data></Cell>
<Cell><Data ss:Type="String">New Deck</Data></Cell>
<Cell ss:Index="9"><Data ss:Type="String">New Deck</Data></Cell>
<Cell><Data ss:Type="String">New Deck</Data></Cell>
<Cell><Data ss:Type="String">New Deck</Data></Cell>
<Cell><Data ss:Type="String">New Deck</Data></Cell>
</Row>
</Table>
</Worksheet>
</Workbook>
It has an XML Declaration, an XML Program Directive (saying it is an Excel Spreadsheet), defines a Workbook, Document Properties (the properties may not be needed), a single Worksheet (with the name "Sheet4" since all of the official ones use "Sheet4"), with a table, a header row (to identify the columns), and defines a single string "DECK_100045_NEW_DECK" as "New Deck" in all the languages.
It should also be noted that XML is CaSe SeNsItIvE, so "cell" != "Cell", "WorkBook" != "Workbook", etc.... Also the ss:Name, ss:
Index, and ss:Type attributes are more than likely required as they are defined as required by the namespaces. Same with the xmlns attributes to define the namespaces.
The data in the first cell of each row (other than the header row) is the string defined for that row. It must be the same as the string you are trying to define
(in uppercase). So if your Deck's filename is "D13_1234_My_New_Deck.xml" then the data in the first cell of the row should be "D13_1234_My_New_Deck". If you see a string in the game with [] around it it is because that string is not defined (or not defined properly).
Edited because apparently it doesn't uppercase deck names for the string look up.