Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk



Polish language in Magic: The Gathering - 2014
Moderator: CCGHQ Admins
7 posts
• Page 1 of 1
Polish language in Magic: The Gathering - 2014
by sb8gapi » 31 Jul 2014, 13:35
I would like to add Polish language to Magic: The Gathering - Duels of the Planeswalkers 2014.
I do not know how to set the priority of the files in the DLC mod.
I added Polish language to Magic: The Gathering - Duels of the Planeswalkers 2013
creating a new DLC file: DATA_DLC_9999.wad on the basis sample directory structure in Magic 2013 for in post (File: example_directory.zip):
viewtopic.php?t=8436
Sample directory structure which Magic 2013 works well, but I do not know how to create correct directory structure which Magic 2014. Sample directory structure which Magic 2013 not work in Magic 2014. I swapped English text to Polish, but when you start the game the text is still in English.
I do not know how to set priorities for the files to be read from my DLC with Polish text and not with DATA_CORE.WAD. In Magic 2013 priorities were APPINFO_DEFAULT file, but do not know if the version of Magic 2014 are set up in the same file?
Please help me.
I do not know how to set the priority of the files in the DLC mod.
I added Polish language to Magic: The Gathering - Duels of the Planeswalkers 2013
creating a new DLC file: DATA_DLC_9999.wad on the basis sample directory structure in Magic 2013 for in post (File: example_directory.zip):
viewtopic.php?t=8436
Sample directory structure which Magic 2013 works well, but I do not know how to create correct directory structure which Magic 2014. Sample directory structure which Magic 2013 not work in Magic 2014. I swapped English text to Polish, but when you start the game the text is still in English.
I do not know how to set priorities for the files to be read from my DLC with Polish text and not with DATA_CORE.WAD. In Magic 2013 priorities were APPINFO_DEFAULT file, but do not know if the version of Magic 2014 are set up in the same file?
Please help me.
Re: Polish language in Magic: The Gathering - 2014
by RiiakShiNal » 31 Jul 2014, 22:54
In DotP 2014 priorities are set in the WAD header. In the ENTRY tag there is an order attribute, the higher that number the higher the priority. The last Deck Pack uses order="42" for it's content priority so to just override the DLCs you won't need to use a priority higher than 43. If you also want to override mods then you need to check the priority of the mod. For my Core Fixes I use 43 (minimum to override the DLCs), though for my Manual Mana mod I use 93 to make sure that my mod overrides all the basic land from the game and will continue to do so if someone repackages some of the game basic land into their mod with a priority less than 93. So if you want to override Manual Mana as well with your translation then you will need to set at least an order of 94.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Polish language in Magic: The Gathering - 2014
by sb8gapi » 01 Aug 2014, 11:18
The WAD header I set
<entry> Platform="ALL"
source="DATA_DLC_9999/DATA_ALL_PLATFORMS/" alias="Content" order="50"/>
but still the text is in English. I changed only the text of the Main Menu file: UI_TEXT9999.XML.
Do I have anything else to change in @header.xml or in the name of files in the folder: DATA_ALL_PLATFORMS?
I put my DLC in attachment.
<entry> Platform="ALL"
source="DATA_DLC_9999/DATA_ALL_PLATFORMS/" alias="Content" order="50"/>
but still the text is in English. I changed only the text of the Main Menu file: UI_TEXT9999.XML.
Do I have anything else to change in @header.xml or in the name of files in the folder: DATA_ALL_PLATFORMS?
I put my DLC in attachment.
- Attachments
-
DATA_DLC_9999.ZIP
- My DLC files
- (992.44 KiB) Downloaded 381 times
Re: Polish language in Magic: The Gathering - 2014
by RiiakShiNal » 01 Aug 2014, 11:31
When you want to override a specific file (in this case translating the language) you need to use a file with the same name. So if you wanted to translate the main menu file from the core WAD you would need to name your file UI_TEXT0000.XML. If you wanted to override the UI text added by the expansion pack you would need to name your file UI_TEXT0001.XML and so on. By naming your file UI_TEXT9999.XML you are essentially saying that those entries are extra entries and should be used if a string can't be found.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Polish language in Magic: The Gathering - 2014
by sb8gapi » 01 Aug 2014, 12:05
Thank you for response. How to change the names of files and write about the progress.
I changed the file names in TEXT_PERMANENT on UI_TEXT0000.XML (the same as in DATA_CORE.WAD), but still the text is in English.
I added two cards of the tutorial: RUNECLAW_BEAR_350603.XML and CENTAUR_COURSER_350216.XML and the text is in Polish (I changed the file from CONFIGS - FONT_DEFINITION_US.XML.)
Files in the folder TEXT_PERMANENT do not work (file SYSTEM_TEXT0000.XML the types of cards also does not work)
I changed the file names in TEXT_PERMANENT on UI_TEXT0000.XML (the same as in DATA_CORE.WAD), but still the text is in English.
I added two cards of the tutorial: RUNECLAW_BEAR_350603.XML and CENTAUR_COURSER_350216.XML and the text is in Polish (I changed the file from CONFIGS - FONT_DEFINITION_US.XML.)
Files in the folder TEXT_PERMANENT do not work (file SYSTEM_TEXT0000.XML the types of cards also does not work)
- Attachments
-
DATA_DLC_9999.ZIP
- New DLC
- (472.24 KiB) Downloaded 377 times
Re: Polish language in Magic: The Gathering - 2014
by RiiakShiNal » 02 Aug 2014, 02:09
The only other thing I can think of would be to directly change the official WADs, but that is obviously not an ideal solution as changing the official WADs can break the campaign and those WADs are quite large so transferring them to friends for online play can be time and bandwidth consuming.
Edit: I just looked at your WAD and I'm not seeing any place in the TEXT_PERMANENT files where you replaced the English strings with Polish. They look like the original files to me (English is still English in those two files).
Edit: I just looked at your WAD and I'm not seeing any place in the TEXT_PERMANENT files where you replaced the English strings with Polish. They look like the original files to me (English is still English in those two files).
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Polish language in Magic: The Gathering - 2014
by sb8gapi » 02 Aug 2014, 16:32
After many attempts to launch the Polish language in the game with custom DLC is progress.
I changed the name of the folder in the file TEXT_PERMANENT: DATA_CORE.WAD to "TEET_PERMANENT" in HEXEdit (XVI32). The game does not load at startup folder texts TEXT_PERMANENT in DATA_CORE.WAD, because after modification it is not, but loads of my DLC.
It now Polish language is in the game and the cards creatures of my DLC (DATA_DLC_9999.wad).
Thanks for helping to "RiiakShiNal" and hints that helped in the work.
I changed the name of the folder in the file TEXT_PERMANENT: DATA_CORE.WAD to "TEET_PERMANENT" in HEXEdit (XVI32). The game does not load at startup folder texts TEXT_PERMANENT in DATA_CORE.WAD, because after modification it is not, but loads of my DLC.
It now Polish language is in the game and the cards creatures of my DLC (DATA_DLC_9999.wad).
Thanks for helping to "RiiakShiNal" and hints that helped in the work.
- Attachments
-
TEXT_PERMANENT.ZIP
- Modified files from original DLC in game
- (34.65 KiB) Downloaded 386 times
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests