RESIDENT EVIL REVELATIONS 2(.sngw)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
happyend
Posts: 157
Joined: Sun Aug 24, 2014 8:54 am

RESIDENT EVIL REVELATIONS 2(.sngw)

Post by happyend »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: RESIDENT EVIL REVELATIONS 2(.sngw)

Post by aluigi »

Probably it's xored with the bytes "0xc9 0xdc 0x38 0x3b", don't know.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: RESIDENT EVIL REVELATIONS 2(.sngw)

Post by AlphaTwentyThree »

I'm also interested in this. Could somebody look at some other samples? http://*USE_ANOTHER_FILEHOSTING*/ea6be2a ... 78/sngw.7z
Thanks!
Savage
Posts: 176
Joined: Thu Oct 02, 2014 4:58 pm

Re: RESIDENT EVIL REVELATIONS 2(.sngw)

Post by Savage »

Any news about this audios? for me looks and ogg vorbis, the other RE are using ogg vorbis.
Savage
Posts: 176
Joined: Thu Oct 02, 2014 4:58 pm

Re: RESIDENT EVIL REVELATIONS 2(.sngw)

Post by Savage »

Aluigi tried your idea about xor with python but is not working

Code: Select all

# XOR a file
import sys
import struct

values = (0xc9, 0xdc, 0x38, 0x3b)
N=len(values)

with open(sys.argv[1], "rb") as fin:
    i=0
    byte = fin.read(1)
    while byte != "":
        val=struct.unpack('B', byte[0])[0]
        val_xored = val ^ values[i%N]
        sys.stdout.write(struct.pack('B', val_xored))
        i += 1
        byte = fin.read(1)