lang files troubleshooting.

Everything about Modding TE2013, from new courts to the modifications of the player & tournament bases (and including all the bugs they may be creating ! ;) )
Forum rules
Speak English in 1st page of topics, and don't hijack topics, troll, use profanities nor insults

lang files troubleshooting.

Postby peteypan » 13 Mar 2014, 03:15

Hi guys, just hit a little speed bump for the WTA patch, Hele has added new categories in the lang_eng file located in Menu.

The first 8 show up fine in the game however categories 10 & 11 come up with "unknown code"

This is what is in the lang_eng file =

#alternate 1 //=== Text for women ; add here any sentence that may need to be changed for women players
CatType01 Grand Slam
CatType02 WTA Tour Championships
CatType03 WTA Premier Mandatory
CatType04 WTA Premier 5
CatType05 Fed Cup (Premier Team)
CatType06 WTA Premier
CatType07 WTA Tournament of Champions
CatType08 WTA International
CatType09 WTA 125K series
CatType10 Challenger
CatType11 Futures

MasterCup WTA Championships
TeamCup Fed Cup
InternationalCup season-Ending Championships (International series)
BoardTeamCup Fed Cup Board
WT_Title08 FED CUP

I get this message in my system.log

Warning: cannot find code 'CatType10' on alternate (InAlt = 1) in 'English' !
Warning: cannot find code 'CatType11' on alternate (InAlt = 1) in 'English' !
Warning: cannot find code 'InternationalCup' on alternate (InAlt = 1) in 'English' !


Does anybody have an experience/ideas with this?

Many thanks.
peteypan
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 746
Gaming Since: 09 Aug 2010, 16:10

Re: lang files troubleshooting.

Postby antimouse » 13 Mar 2014, 03:48

Hello peteypan,

I guess it's because it is in the Alternate section only. It seems this section presumes there is equivalent texts in the main section, which means you probably should need to add CatType10 and CatType11 also in the ATP part of the lang file. Notice that ATP has exactly 9 categories, and it's exactly 10 and 11 that are returning Unknown Code. Put this new categories in both sections and maybe it will work.
My courts here: topic29-15848.php
antimouse
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 541
Gaming Since: 06 Sep 2013, 01:05

Re: lang files troubleshooting.

Postby peteypan » 13 Mar 2014, 04:01

antimouse wrote:Hello peteypan,

I guess it's because it is in the Alternate section only. It seems this section presumes there is equivalent texts in the main section, which means you probably should need to add CatType10 and CatType11 also in the ATP part of the lang file. Notice that ATP has exactly 9 categories, and it's exactly 10 and 11 that are returning Unknown Code. Put this new categories in both sections and maybe it will work.


Thanks so much for the quick reply! Will try this now :)
peteypan
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 746
Gaming Since: 09 Aug 2010, 16:10

Re: lang files troubleshooting.

Postby peteypan » 13 Mar 2014, 04:12

Worked :) thanks so much Antimouse!
peteypan
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 746
Gaming Since: 09 Aug 2010, 16:10

Re: lang files troubleshooting.

Postby antimouse » 13 Mar 2014, 15:51

Great! Glad to help :)
My courts here: topic29-15848.php
antimouse
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 541
Gaming Since: 06 Sep 2013, 01:05


Return to Modding - TE2013

Who is online

Users browsing this forum: No registered users and 20 guests