Thread Tools
Old May 25, 2002, 15:20   #1
Gramphos
staff
Civilization III MultiplayerC4WDG Team ApolytonCivilization IV: MultiplayerAge of Nations TeamC4BtSDG Realms BeyondCivilization IV Creators
Technical Director
 
Gramphos's Avatar
 
Local Time: 03:18
Local Date: November 1, 2010
Join Date: Apr 2001
Location: Chalmers, Sweden
Posts: 9,294
Suggestion for localized versions Scenario compatibility
As PTW will make scenarios possible the, already big problem of language compatibility will be even bigger. I therefore suggest that the localized expansions by default come with dual Unit folders; the localized and the English unit names. The English folders only need to contain ini-files refereeing to the localized unit graphics.
__________________
ACS - Technical Director
Gramphos is offline  
Old May 26, 2002, 04:29   #2
Alanus
Warlord
 
Alanus's Avatar
 
Local Time: 02:18
Local Date: November 1, 2010
Join Date: Aug 1999
Location: du bon peuple de France (et de Bretagne)
Posts: 137
Do you think of a mechanism similar to what was used in CtP / CtP2 ?

Actually, text labels also will be impacted (i.e. those under the "/text" subdirectory) and not only the scenario BIC file.

So yes, the smart thing would be to have a pointer an an .ini file to the directory where the localized scenarii files are located (with probably a compulsary organization of subdirectories).

A smart installer could also resolve this issue for MODs that would be available in more than one language.
__________________
Si vis pacem, para bellum (9 mm)
Alanus is offline  
Old May 26, 2002, 05:03   #3
Gramphos
staff
Civilization III MultiplayerC4WDG Team ApolytonCivilization IV: MultiplayerAge of Nations TeamC4BtSDG Realms BeyondCivilization IV Creators
Technical Director
 
Gramphos's Avatar
 
Local Time: 03:18
Local Date: November 1, 2010
Join Date: Apr 2001
Location: Chalmers, Sweden
Posts: 9,294
I don't know of CtP's Mechanism.
__________________
ACS - Technical Director
Gramphos is offline  
Old May 26, 2002, 05:22   #4
Alanus
Warlord
 
Alanus's Avatar
 
Local Time: 02:18
Local Date: November 1, 2010
Join Date: Aug 1999
Location: du bon peuple de France (et de Bretagne)
Posts: 137
Quote:
Originally posted by Gramphos
I don't know of CtP's Mechanism.
Well, CtP works as follows, for localized versions :

Both for the standard game, and scenarii (located in a specific directory), contain a game data section in which you can find two subdirectories :
- the “default” one where default files of the English game are,
- the “country” one where localized version of the files are (in my French version = the "country" dir name is ... "French" )

The “country” that you are using is listed in an .ini file at the root of the game directory.

At start-up the game searches for files first in the “country” subdirectory, and for those it couldn’t find, in the “default” directory. For scenario, it searches first in the “country” scenario subdirectory, then the “country” standard directory, then the “default” scenario subdirectory, then the “ default ” standard directory.

So, if you want to make a multi-language scenario, just provide the localized files in as many “country” subdirectories as you want : only the “country” that you are using will be read, the other countries’ files will be ignored (only take space on your HD).

That’s quite simple and it works very well.

But, that’s not the way Civ3 seems to be structured…
__________________
Si vis pacem, para bellum (9 mm)
Alanus is offline  
Old May 26, 2002, 05:37   #5
Gramphos
staff
Civilization III MultiplayerC4WDG Team ApolytonCivilization IV: MultiplayerAge of Nations TeamC4BtSDG Realms BeyondCivilization IV Creators
Technical Director
 
Gramphos's Avatar
 
Local Time: 03:18
Local Date: November 1, 2010
Join Date: Apr 2001
Location: Chalmers, Sweden
Posts: 9,294
Well, that was not the way I was thinking. I was just suggesting that they use the current mechanims. Just includes a few folders with ini-files for the standard units.
__________________
ACS - Technical Director
Gramphos is offline  
Old June 1, 2002, 19:22   #6
Imp. Montezuma
Warlord
 
Imp. Montezuma's Avatar
 
Local Time: 05:18
Local Date: November 1, 2010
Join Date: Dec 2001
Location: Kazakhstan
Posts: 143
No, leave English names for unit folders for compatiblity for mods, future patches etc. Need only parsing for *.ini with folowed structure

[default]

Settler=Settler
...
Privateer=Privateer


[french] ; or language ID
language=french
Settler=xxxxx ; something translation
....
Privateer=Fliboustier ; something translation

[german] ; or language ID
language=german
Settler=xxxxx ; something translation
...
Privateer=Pirat ; something translation

....
etc.

first parsed *.ini in Scenarios folder or own \Scenarios\The Mod folder
second parsed *.ini in root folder
__________________
CiviPort
Imp. Montezuma is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 21:18.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team