It is currently 19 Apr 2024, 21:49
   
Text Size

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?

Postby 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]. #-o

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.
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: DotP2012: How to add new localization text?

Postby Persee » 09 Nov 2011, 23:21

Only the GLOSSARY.XML in Data_Core is used by the game. #-o
You must modify it and repack the directory.
Use the Wadprogram.jar for that.
User avatar
Persee
 
Posts: 168
Joined: 02 Jun 2011, 08:33
Has thanked: 42 times
Been thanked: 24 times

Re: DotP2012: How to add new localization text?

Postby 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.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: DotP2012: How to add new localization text?

Postby 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 329 times
CARD_UI_TEXT_1234.zip
(1.54 KiB) Downloaded 310 times
User avatar
Persee
 
Posts: 168
Joined: 02 Jun 2011, 08:33
Has thanked: 42 times
Been thanked: 24 times


Return to Magic: The Gathering - Duels of the Planeswalkers

Who is online

Users browsing this forum: No registered users and 35 guests


Who is online

In total there are 35 users online :: 0 registered, 0 hidden and 35 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 35 guests

Login Form