swinei wrote:michalss wrote:no still working on it it is just example for 1 char. BTW still missing lots of texts!!!! There is lot of texts in decl but not all, still missing some npc texts, simple not all text in index1 file only.. Fonts will be sorted soon but can you please find all texts ?
The missing texts might be in shared_2_3.sharedsrc
I used this to get most of the files extractedCode: Select all
# Dishonored 2
# script for QuickBMS http://quickbms.aluigi.org
endian big
get EXT extension
if EXT == "index" || EXT == "resources" || EXT == "sharedrsc"
open FDDE "index"
open FDDE "resources" 1
open FDSE "shared_2_3.sharedrsc" 2
get DUMMY byte # 0x05 for index and 0x04 for resources
idstring "SER"
get SIZE long
getdstring ZERO 0x18
get FILES long
for i = 0 < FILES
get IDX long
endian little
for x = 0 < 3
get NAMESZ long
getdstring NAME NAMESZ
next x
endian big
get OFFSET longlong
get SIZE long
get ZSIZE long
get ZERO long
get FLAGS long
get ZERO short
if FLAGS > 0
if ZSIZE == SIZE
log NAME OFFSET SIZE 2
endif
else
if ZSIZE == SIZE
log NAME OFFSET SIZE 1
else
clog NAME OFFSET ZSIZE SIZE 1
endif
endif
next i
else
comtype zlib_noerror
get SIZE asize
get NAME basename
string NAME + "_unpack."
string NAME + EXT
clog NAME 0 SIZE SIZE
endif
This does not work on compressed files in shared_2_3.sharedsrc, I got an error when I triedCode: Select all
clog NAME OFFSET ZSIZE SIZE 2
Im gonna try it today, i have complete tools to repack indexes but not shared file yet..