Spider-Man Friend or Foe [PSP] [Request] [.sbk & .pcp]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
keyvan_darnell
Posts: 7
Joined: Mon Apr 04, 2022 9:28 pm

Spider-Man Friend or Foe [PSP] [Request] [.sbk & .pcp]

Post by keyvan_darnell »

I don't Think That these files are complicated
I would really appreciate it if someone would make a quickbms script for these two file types


link to downlaod the whole iso file of the game:
https://cdromance.com/psp/spider-man-friend-or-foe-usa/
JackTheRipper
Posts: 51
Joined: Mon Jan 10, 2022 12:12 am

Re: Spider-Man Friend or Foe [PSP] [Request] [.sbk & .pcp]

Post by JackTheRipper »

I think .PCP is ZLIB compressed version of .PSP file and SBK is sounds

So possibly use ed, edd, n eddy ps2 script unless it is in uncompressed, zlib precompressor (precomp)
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: Spider-Man Friend or Foe [PSP] [Request] [.sbk & .pcp]

Post by rabatini »

Its a zlib compression

just use offzip from aluigi in the file.
keyvan_darnell
Posts: 7
Joined: Mon Apr 04, 2022 9:28 pm

Re: Spider-Man Friend or Foe [PSP] [Request] [.sbk & .pcp]

Post by keyvan_darnell »

rabatini wrote:Its a zlib compression

just use offzip from aluigi in the file.



Thnaks, but I Actually Used Offzip, But I don't Know what to do next
It turs the compressed file into a .DAT file (I used -1 to get only one file)

What Should I Do with the .DAT file?
Last edited by keyvan_darnell on Fri Apr 08, 2022 12:32 pm, edited 1 time in total.
keyvan_darnell
Posts: 7
Joined: Mon Apr 04, 2022 9:28 pm

Re: Spider-Man Friend or Foe [PSP] [Request] [.sbk & .pcp]

Post by keyvan_darnell »

JackTheRipper wrote:I think .PCP is ZLIB compressed version of .PSP file and SBK is sounds

So possibly use ed, edd, n eddy ps2 script unless it is in uncompressed, zlib precompressor (precomp)


Yes You are Right to some extent, .pcp is zlib of .psp file
ed, edd, n eddy ps2 script didn't work
so I used precomp and I Got a pcf file.
now what should I do with the .pcf file? (yes I'm a newby)
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: Spider-Man Friend or Foe [PSP] [Request] [.sbk & .pcp]

Post by rabatini »

keyvan_darnell wrote:
rabatini wrote:Its a zlib compression

just use offzip from aluigi in the file.



Thnaks, but I Actually Used Offzip, But I don't Know what to do next
It turs the compressed file into a .DAT file (I used -1 to get only one file)

What Should I Do with the .DAT file?


in my zip file attached i give you the bat command, use this.

you dont need to put -1 -15
its not a deflate compression.

offzip -s -a ZOOLEVEL.PCP
keyvan_darnell
Posts: 7
Joined: Mon Apr 04, 2022 9:28 pm

Re: Spider-Man Friend or Foe [PSP] [Request] [.sbk & .pcp]

Post by keyvan_darnell »

rabatini wrote:
keyvan_darnell wrote:
rabatini wrote:Its a zlib compression

just use offzip from aluigi in the file.



Thnaks, but I Actually Used Offzip, But I don't Know what to do next
It turs the compressed file into a .DAT file (I used -1 to get only one file)

What Should I Do with the .DAT file?


in my zip file attached i give you the bat command, use this.

you dont need to put -1 -15
its not a deflate compression.

offzip -s -a ZOOLEVEL.PCP


Again There Are Unknown Formats, Unknown .Dat andd Other formats, What Should I do?
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: Spider-Man Friend or Foe [PSP] [Request] [.sbk & .pcp]

Post by rabatini »

Again There Are Unknown Formats, Unknown .Dat andd Other formats, What Should I do?

I don't know how to open the files.


this 000004.dat file

you can use this script to unpack, but i dont if its helps you.

Code: Select all

goto 0x30
get base_off long
xmath base_off "(base_off * 0x800)"
xmath base_off "(base_off + 0x40)"
goto base_off
get filesize asize
for
get null long
get offset long
savepos temp
get null long
get size long
goto temp
if offset == filesize
break
endif
xmath size "(size - offset)"
log "" offset size
next