The Unfinished Swan (PS3) - .gspk

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

The Unfinished Swan (PS3) - .gspk

Post by AnonBaiter »

Here is a sample.

And attached is my WIP script attempt.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Unfinished Swan (PS3) - .gspk

Post by aluigi »

AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: The Unfinished Swan (PS3) - .gspk

Post by AnonBaiter »

Hold on... I`m going to upload another sample.
QuickBMS generic files extractor and reimporter 0.8.0
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Mar 12 2017 - 15:03:46)

quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax Twitter & Scripts

- current_folder: C:\Documents and Settings\AnonBaiter\Desktop\quickbms_0.8.0
- bms_folder: G:\SONY\PS3\[PSN]THE_UNFINISHED_SWAN\USRDIR
- exe_folder: C:\Documents and Settings\AnonBaiter\Desktop\quickbms_0.8.0
- file_folder: G:\SONY\PS3\[PSN]THE_UNFINISHED_SWAN\USRDIR
- output_folder: C:\Documents and Settings\AnonBaiter\Desktop\quickbms_0.8.0
- temp_folder: C:\DOCUME~1\ANONBA~1\LOCALS~1\Temp\
- open input file G:\SONY\PS3\[PSN]THE_UNFINISHED_SWAN\USRDIR\swan.gspk
- open script G:\SONY\PS3\[PSN]THE_UNFINISHED_SWAN\USRDIR\unfinished_swan.bms
- set output folder .

offset filesize filename
--------------------------------------

- signature of 4 bytes at offset 0x1787f480 doesn't match the one
expected by the script:

this one: ")ÏôN"
29 cf f4 4e )..N

expected: "segs"
73 65 67 73 segs

- 0 files found in 0 seconds
coverage file 0 0% 79 403688432 . offset 1787f484

EDIT: Okay, here`s a second sample.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Unfinished Swan (PS3) - .gspk

Post by aluigi »

It's not a problem of the script. The archive seems corrupted because the references of the files are correct in the first cut and are wrong in the last cut.
For example there is a "segs" at 0x17e74800 but that offset doesn't exist in the TOC.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: The Unfinished Swan (PS3) - .gspk

Post by AnonBaiter »

That`s strange...

Perhaps the solution is to dump the segs files as-is using one of your "segs dumper" scripts?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Unfinished Swan (PS3) - .gspk

Post by aluigi »

That's an idea but it's annoying considering that here there is a TOC that can be used and it's correct but the archive is clearly corrupted.
Are you 100% sure the file is really ok?
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: The Unfinished Swan (PS3) - .gspk

Post by AnonBaiter »

Unless I have to find another copy of the game, I`m 100% sure.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: The Unfinished Swan (PS3) - .gspk

Post by AnonBaiter »

Actually, I was wrong. I extracted that swan.gspk file out of a PKG game by using that PSN.PKG.Decryptor.&.Extractor tool, which can sometimes leave out garbled garbage even after it`s done decrypting the entirety of these PKG files.

I used PkgView for extracting a PKG game and the archives went fine without any hitches whatsoever.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Unfinished Swan (PS3) - .gspk

Post by aluigi »

:D