Open .IMG Sherlock Holmes Awakened - Original

Textures, recreate headers, conversions, algorithms and parsing of image files
elbajbo
Posts: 6
Joined: Sat Oct 02, 2021 5:20 pm

Open .IMG Sherlock Holmes Awakened - Original

Post by elbajbo »

Hello, I´ve been searching for hours on internet, to find script or some tool to just extract .IMG file. Can someone please help?

https://mega.nz/file/8HwmSQYT#OgmsdBH_5Piwy980FviP-mOOU1etp-UKZMhT9lD3ALA
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Open .IMG Sherlock Holmes Awakened - Original

Post by aluigi »

It's an archive containing dds images, try this script for quickbms:

Code: Select all

# Sherlock Holmes Awakened IMG

get DUMMY long  # 1
callfunction GET_NAME 1
set PATH string NAME
callfunction GET_NAME 1
get BASE_OFF longlong
get DUMMY long  # 2
callfunction GET_NAME 1
get BASE_OFF longlong
get ZERO long
callfunction GET_NAME 1
get BASE_OFF longlong
get FILES long
for i = 0 < FILES
    callfunction GET_NAME 1
    get OFFSET long
    get SIZE long
    get ZERO long
    if ZERO == 0
        string NAME p "%s/%s" PATH NAME
        log NAME OFFSET SIZE
        math i + 1
    endif
next

startfunction GET_NAME
    get NAMESZ byte
    getdstring NAME NAMESZ
endfunction

Alternatively you can just use a file ripper like those listed here:
viewtopic.php?f=17&t=712
elbajbo
Posts: 6
Joined: Sat Oct 02, 2021 5:20 pm

Re: Open .IMG Sherlock Holmes Awakened - Original

Post by elbajbo »

Thank you very much, that´s just what i needed.

Have a good day kind soul!