Snoopy Vs. The Red Baron .XPS files?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
UltimateXeallar
Posts: 5
Joined: Tue Oct 13, 2015 5:03 am

Snoopy Vs. The Red Baron .XPS files?

Post by UltimateXeallar »

Yes, XPS files. For some reason. Anyways, they're some kind of archive; The format seems kinda strange however.
http://www.mediafire.com/download/j97ce ... /PLANE.XPS
Here's a sample. Much thanks in advance.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Snoopy Vs. The Red Baron .XPS files?

Post by aluigi »

This is the max I can do at the moment, extracts 10% of the archive (raw ps vag audio):

Code: Select all

get DUMMY short
get DUMMY short
get DUMMY short
get DUMMY short
get DUMMY long
get ENTRIES long
savepos BASE_OFF
xmath BASE_OFF "BASE_OFF + (ENTRIES * 0x18)"
for ENTRY = 0 < ENTRIES
    get DUMMY long  # 0x111
    get ZERO long
    get DUMMY long
    get ZERO long
    get SIZE long
    get OFFSET long

    savepos BACKUP_OFF
    math OFFSET + BASE_OFF
    goto OFFSET
    get DUMMY1 long
    get DUMMY2 long
    get FILES long
    get DUMMY4 long
    get DUMMY5 long
    get DUMMY6 long
    get DUMMY7 long
    padding 0x800
    for i = 0 < FILES
        get OFFSET long
        putarray 0 i OFFSET
    next i
    padding 0x20
    savepos FILE_OFF
    for i = 0 < FILES
        getarray OFFSET 0 i
        math OFFSET + FILE_OFF
        goto OFFSET
        get OFFSET long
        get SIZE long
        math OFFSET + FILE_OFF
        string NAME p "%d/" ENTRY
        log NAME OFFSET SIZE
    next i
    goto BACKUP_OFF
next ENTRY
UltimateXeallar
Posts: 5
Joined: Tue Oct 13, 2015 5:03 am

Re: Snoopy Vs. The Red Baron .XPS files?

Post by UltimateXeallar »

Thanks a bunch. Thought it would be worth noting there's TGA files inside the archive (Or at least, data would lead you to believe), but the audio is fine for now.