Modern Warfare Series

Need help translating games in other languages? Have your language problems solved here.
Post Reply
qabRieL
veteran
Posts: 124
Joined: Wed Aug 04, 2010 3:58 pm
Has thanked: 2 times
Been thanked: 3 times

Modern Warfare Series

Post by qabRieL » Fri Sep 16, 2011 6:19 pm

The contents of this post was deleted because of possible forum rules violation.

novemba
n00b
Posts: 10
Joined: Fri Sep 09, 2011 10:17 pm

Re: Modern Warfare Series

Post by novemba » Mon Oct 17, 2011 7:12 pm

Nice tool! Waiting for inject. Can someone do it?

qabRieL
veteran
Posts: 124
Joined: Wed Aug 04, 2010 3:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: Modern Warfare Series

Post by qabRieL » Sun Nov 13, 2011 12:53 pm

bump for mw3. (:

Gagarin
beginner
Posts: 21
Joined: Wed Nov 11, 2009 12:17 pm
Has thanked: 2 times

Re: Modern Warfare Series

Post by Gagarin » Mon Nov 14, 2011 5:18 pm

mw2/mw3 uses encryption for .ff files. So without a key no chance to repack (text translate) them

qabRieL
veteran
Posts: 124
Joined: Wed Aug 04, 2010 3:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: Modern Warfare Series

Post by qabRieL » Mon Nov 14, 2011 6:21 pm

I'm not a programmer, how to get/make a key?

Gagarin
beginner
Posts: 21
Joined: Wed Nov 11, 2009 12:17 pm
Has thanked: 2 times

Re: Modern Warfare Series

Post by Gagarin » Mon Nov 14, 2011 8:52 pm

i'm not programmer too. Key is stored (and crypted too) in .exe. And at this time nobody cant extract key, no decrypt algorithm and nobody can't repack .ff's files

User avatar
delutto
veteran
Posts: 155
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 49 times
Been thanked: 12 times

Re: Modern Warfare Series

Post by delutto » Tue Nov 15, 2011 1:31 am

Gagarin wrote:i'm not programmer too. Key is stored (and crypted too) in .exe. And at this time nobody cant extract key, no decrypt algorithm and nobody can't repack .ff's files
You are very wrong.
You can recreate the fast files using the MODTools. All texts are in "raw\english\localizedstrings\" (Files of MODTools).
Translation process:
Example: ac130.str

Code: Select all

REFERENCE           HINT_CYCLE_WEAPONS
LANG_ENGLISH        "Press ^3[{weapnext}]^7 to cycle through weapons."
You can change the text in the quotes, like:

Code: Select all

REFERENCE           HINT_CYCLE_WEAPONS
LANG_ENGLISH        "Pressione ^3[{weapnext}]^7 para alternar entre as armas."
After translation, you need to compile the localizations.
I created a new folder inside CoD4\mods\ and called it translation. In this folder i got a batch script to compile, a zone file to specify the files to get compiled and another batch script to quickly run CoD with my mod.
Compile script: makeMod.bat

Code: Select all

@echo off
del mod.ff
copy /Y mod.csv ..\..\zone_source
cd ..\..\bin
rem -compress 
linker_pc.exe -language english -compress -cleanup mod
cd ..\mods\translation\
copy ..\..\zone\english\mod.ff
pause
zone file:mod.csv

Code: Select all

ignore,code_post_gfx
ignore,common
localize,killhouse
localize,menu
localize,messagebox
localize,jeepride
localize,introscreen
localize,game
localize,exe
localize,embassy
localize,marksman
localize,launchfacility_a
localize,launchfacility_b
localize,icbm
localize,hunted
localize,rallypoint
localize,rank
localize,rivertown
localize,sandstorm
localize,school
localize,scoutsniper
localize,null
localize,objectives
localize,village_defend
localize,village_assault
localize,vidsubtitles
localize,starts
localize,armada
Localize is the keyword to specify a *.str file, after a comma goes the str filename (as you see, without file extension and path). I added a bunch of the stock localizations above, cause i wanted to test how many assets are possible.
Run script: runModSP.bat

Code: Select all

@echo off
cd ..\..\
iw3sp.exe +set developer 1 +set fs_game mods/translation
Double-click the makeMod.bat and see the compiler working. When done, a file called mod.ff should be in your mod folder.
Double-click runModSP.bat to launch the game. With the above zone file, CoD crashes immediately, as there are too many localize-assets - max. is 6144. Note, that i did not add all SP *.str files yet but it's already not working.
This is the only problem with this process: localize-assets limit. But this can easily be solved by adaptation of the text.
Enjoy. :D


Credits: Sevenz

Gagarin
beginner
Posts: 21
Joined: Wed Nov 11, 2009 12:17 pm
Has thanked: 2 times

Re: Modern Warfare Series

Post by Gagarin » Tue Nov 15, 2011 6:10 am

lol ?

I'm talking about mw2/mw3. I know about cod4 and modbuilder. But there is different case cause there is no encryption, just zlib archive + header

User avatar
delutto
veteran
Posts: 155
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 49 times
Been thanked: 12 times

Re: Modern Warfare Series

Post by delutto » Tue Nov 15, 2011 6:26 am

Gagarin wrote:lol ?

I'm talking about mw2/mw3. I know about cod4 and modbuilder. But there is different case cause there is no encryption, just zlib archive + header
Sorry, I just read your last comment.
Anyway, I think our friend up there know where to start.

qabRieL
veteran
Posts: 124
Joined: Wed Aug 04, 2010 3:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: Modern Warfare Series

Post by qabRieL » Tue Nov 15, 2011 2:33 pm

I've already translated CoD4. :)

qabRieL
veteran
Posts: 124
Joined: Wed Aug 04, 2010 3:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: Modern Warfare Series

Post by qabRieL » Thu Nov 17, 2011 3:00 pm

By the way, what about the these ff extractors? Like FFviewer or other programs?

Post Reply