Jump to content

Using localization content for diversity


deathdealingjawa

Recommended Posts

Concept: Make the people from country's sound different.

 

Why am I interested in this mod:

I really enjoyed the game but found it odd that my team multinational team that only spoke English with american accents would travels all over the world to exotic locations where the populous only speaks English. I think it would make each person and area feel more personalized if they spoke the language of their country.

 

General plan:

Team Members: Have each unit speak the language of their country of origin. This would be done by connecting the units flag on their uniform with the proper audio files.

 

Language of the People (Country): Have the civilians and people of interest speak the language of the country the mission is taking place in.

 

Here Is my proposed method of doing this. I am going focus on the units first, than focus on country localization

 

Planned Development Cycle:

 

Stage 1: Get all of the audio files for each of the different languages.

Asked Steam about getting the other audio files. I am going to write to 2k and the X-Com team also.)

Currently in progress (10/22/2012)

 

Stage 2: Figure out what defines the flag on a units uniform.

 

Stage 3: Connect the flag with the proper audio file.

 

Stage 4: Test and rejoice when it works?

 

Stage 5: Figure out how the mission briefing knows where the mission is taking place.

 

Stage 6: Connect the country with the proper audio files.

 

Stage 7: Test and rejoice when it works?

 

Desired Assistant: (areas that I need help with)

What defines the flag on a unit's uniform? I couldn't find it on the DefaultGameCore.ini page.

 

Notes:

Here are the languages that have full audio support if the credits are correct:

English

French

Italian

German

Spanish

Polish

Russian

 

I apparently was not the first think of this: Localization voices for variety.

Link to comment
Share on other sites

Desired Assistant: (areas that I need help with)

What defines the flag on a unit's uniform? I couldn't find it on the DefaultGameCore.ini page.

my games\XCOM - Enemy Unknown\XComGame\Config\XComContent.ini

 

Flags=(Country=eCountry_USA, U=0.0, V=0.0)

Flags=(Country=eCountry_Russia, U=0.25, V=0.0)

Flags=(Country=eCountry_China, U=0.5, V=0.0)

Flags=(Country=eCountry_UK, U=0.75, V=0.0)

Flags=(Country=eCountry_Germany, U=0.0, V=0.125)

Flags=(Country=eCountry_France, U=0.25, V=0.125)

Flags=(Country=eCountry_Japan, U=0.5, V=0.125)

Flags=(Country=eCountry_India, U=0.75, V=0.125)

Flags=(Country=eCountry_Australia, U=0.0, V=0.25)

Flags=(Country=eCountry_Italy, U=0.25, V=0.25)

Flags=(Country=eCountry_SouthKorea, U=0.5, V=0.25)

Flags=(Country=eCountry_Ireland, U=0.75, V=0.25)

Flags=(Country=eCountry_Sweden, U=0.0, V=0.375)

Flags=(Country=eCountry_Spain, U=0.25, V=0.375)

Flags=(Country=eCountry_Norway, U=0.5, V=0.375)

Flags=(Country=eCountry_Canada, U=0.75, V=0.375)

Flags=(Country=eCountry_Netherlands, U=0.0, V=0.5)

Flags=(Country=eCountry_Israel, U=0.25, V=0.5)

Flags=(Country=eCountry_Egypt, U=0.5, V=0.5)

Flags=(Country=eCountry_Brazil, U=0.75, V=0.5)

Flags=(Country=eCountry_Argentina, U=0.0, V=0.625)

Flags=(Country=eCountry_Mexico, U=0.25, V=0.625)

Flags=(Country=eCountry_SouthAfrica, U=0.5, V=0.625)

Flags=(Country=eCountry_SaudiArabia, U=0.75, V=0.625)

Flags=(Country=eCountry_Ukraine, U=0.0, V=0.75)

Flags=(Country=eCountry_Nigeria, U=0.25, V=0.75)

Flags=(Country=eCountry_Scotland, U=0.5, V=0.75)

Flags=(Country=eCountry_Greece, U=0.75, V=0.75)

Flags=(Country=eCountry_Belgium, U=0.0, V=0.875)

 

So they're in a single texture somewhere.

Link to comment
Share on other sites

I was wondering if something like this might be possible. I can imagine a rather slow way of getting all the audio files would to right click on the game in Steam, choose Properties, then Language, and then change the language. I'm not sure if the game already includes all the language files or whether the game will then do a download/update to replace the files. Is there a way to access and extract the audio files at the moment?

 

Apparently the languages include English, French, German, Italian, Korean, Polish, Russian, Spanish and Japanese. (It's possible that one or two countries might still use English audio and simply change the language of text and have subtitles enabled, it's rare but occasionally some games do that for certain regions.)

Link to comment
Share on other sites

There was some progress with this:

 

http://forums.nexusmods.com/index.php?/topic/804545-alternate-soldier-voices/

 

I think that now that altered upk files can be added it should be possible, wished I had time to dig into it.

 

To get the files, yes, you need to change the language in steam and it will download the files for that language to your XCom directory. Funny, there are some voices for specific actions that are in English but not in other languages, only a few, I expect those are not really used.

Link to comment
Share on other sites

already bee n here folks.... http://forums.nexusmods.com/index.php?/topic/804545-alternate-soldier-voices/

 

 

You can get ALL the localised audio files by changing your steam language - steam will then update XCOM with whatever language you set it to.

 

Copy the relevant folder outside of steam, then change to the next language.

 

rinse & repeat for all languages = done.

 

You then need to go into each of the VOice Banks and Voice Banks parts and replace the existing object references with those for the INT version, then copy over the actual Localised language audio file (.upks).

 

Before that however you need to decompress & unpack the .upk, giving you the .ogg files and other data, change in that the referencer..after which you will probably have to re-pack (as i dont think you can use the decompressed file versions with .oggs the way you can with the data .upks....but you can try).

 

then use xshape to edit .exe and off you go.

 

each voice has 15 voice banks btw, so you'll need to edit every one for every language you do....to the maximum of 9 voices (male) and siz female ... or 8 & 5 if you keep one in english.

 

 

5,6 & 7 seem superfluous to me... why would the location of the tactical map make any difference at all?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...