Call of Duty Modern Warfare: Remastered
-
- Posts: 12
- Joined: Fri Feb 12, 2016 11:53 am
Call of Duty Modern Warfare: Remastered
Texts are most likely located in the .ff files of "english" folder. There are few examples in the attachments.
-
- Posts: 233
- Joined: Thu Oct 16, 2014 4:39 pm
Re: Call of Duty Modern Warfare: Remastered
Try these scripts. Use both on the ff file.
Export
Import
Export
Code: Select all
comtype lz4
get name basename
string name += ".dump"
log name 0 0
goto 56
get asize asize
do
get zsize long
get size long
savepos offset
append
clog name offset zsize size
append
math offset += zsize
goto offset
padding 4
savepos offset
while offset < asize
Import
Code: Select all
comtype lz4_compress
get name basename
set newname name
string newname += ".new"
string name += ".dump"
open FDSE name 1
log MEMORY_FILE1 0 56
get masize asize MEMORY_FILE1
goto masize MEMORY_FILE1
get asize asize 1
xmath mod "asize%65536"
set odd 0
if mod != 0
set odd 1
endif
xmath files "asize/65536"
set offset 0
for i = 1 to files
log MEMORY_FILE2 0 0
clog MEMORY_FILE2 offset 65536 65536 1
math offset += 65536
get zasize asize MEMORY_FILE2
put zasize long MEMORY_FILE1
put 65536 long MEMORY_FILE1
get masize asize MEMORY_FILE1
goto masize MEMORY_FILE1
append
log MEMORY_FILE1 0 zasize MEMORY_FILE2
append
set pad zasize
math pad x= 4
math pad -= zasize
for p = 0 < pad
put 0x00 byte MEMORY_FILE1
next p
next i
if odd == 1
xmath size "asize-offset"
log MEMORY_FILE2 0 0
clog MEMORY_FILE2 offset size size 1
math offset += size
get zasize asize MEMORY_FILE2
put zasize long MEMORY_FILE1
put size long MEMORY_FILE1
get masize asize MEMORY_FILE1
goto masize MEMORY_FILE1
append
log MEMORY_FILE1 0 zasize MEMORY_FILE2
append
set pad zasize
math pad x= 4
math pad -= zasize
for p = 0 < pad
put 0x00 byte MEMORY_FILE1
next p
endif
get masize asize MEMORY_FILE1
putVarChr MEMORY_FILE1 28 masize longlong
putVarChr MEMORY_FILE1 36 masize longlong
putVarChr MEMORY_FILE1 44 asize longlong
log newname 0 masize MEMORY_FILE1
-
- Posts: 12
- Joined: Fri Feb 12, 2016 11:53 am
Re: Call of Duty Modern Warfare: Remastered
Hey, thanks! The export script works, but it exports text with a lot of gibberish parts. (probably normal?)
After editing even a single character and importing it, the game crashes. Do you have any idea?
After editing even a single character and importing it, the game crashes. Do you have any idea?
-
- Posts: 233
- Joined: Thu Oct 16, 2014 4:39 pm
Re: Call of Duty Modern Warfare: Remastered
No i don't. You need to wait other tools.