Modern Warfare Series
Re: Modern Warfare Series
mw2/mw3 uses encryption for .ff files. So without a key no chance to repack (text translate) them
Re: Modern Warfare Series
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
- delutto
- veteran
- Posts: 155
- Joined: Sat Apr 16, 2011 5:20 am
- Has thanked: 49 times
- Been thanked: 12 times
Re: Modern Warfare Series
You are very wrong.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 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."Code: Select all
REFERENCE HINT_CYCLE_WEAPONS
LANG_ENGLISH "Pressione ^3[{weapnext}]^7 para alternar entre as armas."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
pauseCode: 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,armadaRun script: runModSP.bat
Code: Select all
@echo off
cd ..\..\
iw3sp.exe +set developer 1 +set fs_game mods/translationDouble-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.
Credits: Sevenz
Re: Modern Warfare Series
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
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
- delutto
- veteran
- Posts: 155
- Joined: Sat Apr 16, 2011 5:20 am
- Has thanked: 49 times
- Been thanked: 12 times
Re: Modern Warfare Series
Sorry, I just read your last comment.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
Anyway, I think our friend up there know where to start.
