Page 1 of 1

Modern Warfare Series

Posted: Fri Sep 16, 2011 6:19 pm
by qabRieL
The contents of this post was deleted because of possible forum rules violation.

Re: Modern Warfare Series

Posted: Mon Oct 17, 2011 7:12 pm
by novemba
Nice tool! Waiting for inject. Can someone do it?

Re: Modern Warfare Series

Posted: Sun Nov 13, 2011 12:53 pm
by qabRieL
bump for mw3. (:

Re: Modern Warfare Series

Posted: Mon Nov 14, 2011 5:18 pm
by Gagarin
mw2/mw3 uses encryption for .ff files. So without a key no chance to repack (text translate) them

Re: Modern Warfare Series

Posted: Mon Nov 14, 2011 6:21 pm
by qabRieL
I'm not a programmer, how to get/make a key?

Re: Modern Warfare Series

Posted: Mon Nov 14, 2011 8:52 pm
by Gagarin
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

Re: Modern Warfare Series

Posted: Tue Nov 15, 2011 1:31 am
by delutto
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

Re: Modern Warfare Series

Posted: Tue Nov 15, 2011 6:10 am
by Gagarin
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

Re: Modern Warfare Series

Posted: Tue Nov 15, 2011 6:26 am
by delutto
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.

Re: Modern Warfare Series

Posted: Tue Nov 15, 2011 2:33 pm
by qabRieL
I've already translated CoD4. :)

Re: Modern Warfare Series

Posted: Thu Nov 17, 2011 3:00 pm
by qabRieL
By the way, what about the these ff extractors? Like FFviewer or other programs?