Red Stone 2 online

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
chrrox
Posts: 388
Joined: Thu Aug 07, 2014 10:28 pm

Red Stone 2 online

Post by chrrox »

The game uses the Ryde2Engine
http://rydesoft.com/default/
full client
http://dl-redstone2.cdn.x-cdn.com/RS2La ... _Setup.exe
The archive structure looks fairly standard.
But I can not find the compression in quickbms.
Here is the unprotected executable
https://www.sendspace.com/file/inwg4a

here is some sample of the archive.
https://www.sendspace.com/file/84hcxe
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Red Stone 2 online

Post by aluigi »

Yeah no results from the scanner.
The following is the WORK-IN-PROGRESS script:

Code: Select all

comtype ???
open FDDE "RPI"
open FDDE "RPD" 1

goto 0x10
get FILES long
goto 0x1c
for i = 0 < FILES
    getdstring NAME 520
    set NAME unicode NAME
    get ZIP long
    get OFFSET long
    get NEXT_OFF longlong
    get SIZE longlong
    get DUMMY longlong
    get ZERO long
    getdstring DUMMY 20
    get DUMMY long
    get DUMMY long
    if ZIP == 0
        log NAME OFFSET SIZE 1
    else
        goto OFFSET 1
        get XSIZE threebyte 1
        math OFFSET += 3
        math SIZE -= 3
        clog NAME OFFSET SIZE XSIZE 1
    endif
next i