DotP2012: How to add new localization text?
New decks and cards for Stainless Games' release
Moderator: CCGHQ Admins
DotP2012: How to add new localization text?
by thefiremind » 09 Nov 2011, 14:55
I believe I have already seen this question in another topic, but it never got a clear answer. I'd like to know what I should do if I want to have the localization text for the names of the custom decks and for some new user queries (for example, "choose an untapped artifact you control" for Lodestone Myr activation) instead of the ugly [CAPITAL_TEXT_BETWEEN_PARENTHESES]. 
I looked at kev's mod and I saw that he achieved this goal by adding an XML Excel sheet called GLOSSARY.XML in the TEXT_PERMANENT directory. I did the same: made an XML Excel sheet and put it in the TEXT_PERMANENT directory of my custom DLC 1111, but nothing changed. Am I missing something? Do I have to mention this file elsewhere? I don't think the problem has to do with not having a custom campaign, since the default decks have the right names displayed also in the free duel mode.

I looked at kev's mod and I saw that he achieved this goal by adding an XML Excel sheet called GLOSSARY.XML in the TEXT_PERMANENT directory. I did the same: made an XML Excel sheet and put it in the TEXT_PERMANENT directory of my custom DLC 1111, but nothing changed. Am I missing something? Do I have to mention this file elsewhere? I don't think the problem has to do with not having a custom campaign, since the default decks have the right names displayed also in the free duel mode.
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: DotP2012: How to add new localization text?
by Persee » 09 Nov 2011, 23:21
Only the GLOSSARY.XML in Data_Core is used by the game.
You must modify it and repack the directory.
Use the Wadprogram.jar for that.

You must modify it and repack the directory.
Use the Wadprogram.jar for that.
Re: DotP2012: How to add new localization text?
by thefiremind » 10 Nov 2011, 17:39
Now I know how to do it without changing the Data_Core. I must say that kev is our hero... once again!
Look at DATA_DLC_1111\DATA_ALL_PLATFORMS\DATA_REQUIRED\INFO.XML and compare it to the same file in kev's new mod (DATA_DLC_7777). Noticing anything different? In the <ContentFlags> there is a <Glossary_Content/> entry. Add it in your INFO.XML file, and the game will look for the glossary also in your personal DLC pack. I think this only works with the new EXE, the one that comes with the official DLC 1 (modded by kev, of course): I tried with the old one and nothing changed.
Look at DATA_DLC_1111\DATA_ALL_PLATFORMS\DATA_REQUIRED\INFO.XML and compare it to the same file in kev's new mod (DATA_DLC_7777). Noticing anything different? In the <ContentFlags> there is a <Glossary_Content/> entry. Add it in your INFO.XML file, and the game will look for the glossary also in your personal DLC pack. I think this only works with the new EXE, the one that comes with the official DLC 1 (modded by kev, of course): I tried with the old one and nothing changed.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: DotP2012: How to add new localization text?
by Persee » 22 Nov 2011, 08:37
I made a CARD_UI_TEXT_1234.XML file and I modified INFO.XML and it works !
- Attachments
-
INFO.zip
- (422 Bytes) Downloaded 355 times
-
CARD_UI_TEXT_1234.zip
- (1.54 KiB) Downloaded 340 times
4 posts
• Page 1 of 1
Return to Magic: The Gathering - Duels of the Planeswalkers
Who is online
Users browsing this forum: No registered users and 21 guests