RAYMAN 2 ps1 (Combin.dat)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
domingo
Posts: 83
Joined: Fri Aug 19, 2016 11:53 am

RAYMAN 2 ps1 (Combin.dat)

Post by domingo »

He, I would like to extract the game dialogs that seem to be located in this row.

https://mega.nz/file/eBljRCKT#ff5iGqGE_c1Tt0U59IAmQ-Z_kfEvYsBdPsm6JsWG9LY

I have located this script that extracts and decompresses only 5 rows, since because the index is not available it is impossible to extract rows anymore.

Code: Select all

comtype lzo1x
for
    log MEMORY_FILE 0 0
    append
    for
        get CHUNK_SIZE long
        if CHUNK_SIZE == 0
            break
        endif
        get CHUNK_ZSIZE long
        savepos OFFSET
        clog MEMORY_FILE OFFSET CHUNK_ZSIZE CHUNK_SIZE
        goto CHUNK_ZSIZE 0 SEEK_CUR
    next
    append
    get SIZE asize MEMORY_FILE
    log "" 0 SIZE MEMORY_FILE
next



That's why Aluigi wanted to ask you that maybe you don't need to extract the content, just create a script to uncompress the file and be able to work with it in hex.
Maybe that is possible to do.

Regards
Wesker
Posts: 1
Joined: Tue Sep 13, 2022 8:02 pm

Re: RAYMAN 2 ps1 (Combin.dat)

Post by Wesker »

I would also be interested in this. It's necessary to extract the voiced dialogues which are unique to this particular version.