Machinarium

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
InKviZ
Posts: 124
Joined: Fri Oct 24, 2014 2:55 pm

Machinarium

Post by InKviZ »

Who will help with unpacking and packing archive Machinarium
Archives in format (.jpg)
https://nofile.io/f/oQrnQGCbbqb/Machinarium.7z - Files
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Machinarium

Post by aluigi »

Weird format, try this:

Code: Select all

goto -16
get DUMMY long  # -2
get DUMMY long
get NEGATIVE_FILE_SIZE long
get DUMMY long  # float?
goto 0
filexor "\x37\x9c\x7b\xa3\xf1\x3d\x55\x93\x03\x97\x71\x13\x6d\x9e\xfc\x71\x55\xcc\x11\x63\xbe\x56\xee\x55\xc3\xd5\xb9\xf7\x77\x9c\xa0\xe9"
get FIRST_OFF asize
do
    get SOME_CRC long
    get OFFSET long
    get SIZE long
    if OFFSET != 0
        if OFFSET u< FIRST_OFF
            math FIRST_OFF = OFFSET
        endif
        log "" OFFSET SIZE
    endif
    savepos TMP
while TMP != FIRST_OFF
InKviZ
Posts: 124
Joined: Fri Oct 24, 2014 2:55 pm

Re: Machinarium

Post by InKviZ »

aluigi wrote:Weird format, try this:

Code: Select all

goto -16
get DUMMY long  # -2
get DUMMY long
get NEGATIVE_FILE_SIZE long
get DUMMY long  # float?
goto 0
filexor "\x37\x9c\x7b\xa3\xf1\x3d\x55\x93\x03\x97\x71\x13\x6d\x9e\xfc\x71\x55\xcc\x11\x63\xbe\x56\xee\x55\xc3\xd5\xb9\xf7\x77\x9c\xa0\xe9"
get FIRST_OFF asize
do
    get SOME_CRC long
    get OFFSET long
    get SIZE long
    if OFFSET != 0
        if OFFSET u< FIRST_OFF
            math FIRST_OFF = OFFSET
        endif
        log "" OFFSET SIZE
    endif
    savepos TMP
while TMP != FIRST_OFF


The unpacker works. Now you need somehow to import a text to make + here is a link to a large archive.
http://www.filehosting.org/file/details ... inarium.7z
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Machinarium

Post by aluigi »

Do you mean that the script doesn't work with that larget archive?
GHOST DEAD
Posts: 218
Joined: Wed Jul 19, 2017 5:04 am

Re: Machinarium

Post by GHOST DEAD »

aluigi wrote:Do you mean that the script doesn't work with that larget archive?

yes doesn't work with larget archve
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Machinarium

Post by aluigi »

The big archive is no longer available, any link?
GHOST DEAD
Posts: 218
Joined: Wed Jul 19, 2017 5:04 am

Re: Machinarium

Post by GHOST DEAD »

here the main page: https://store.steampowered.com/app/40700/Machinarium/

and if you dont need game and just want to run script, you can use free unlocked version: https://uptobox.com/ouzo5qlpy3du

one other thing, seems like script can't work on repacking