J-Stars VS+ PAK extracting
-
- Posts: 1
- Joined: Tue Apr 14, 2015 1:12 pm
J-Stars VS+ PAK extracting
Welcome Zenhax. I tried your QuickBMS software to extract CPK files, and it succeed, but sadly, when I want to extract .pak files from PS3 game j-stars vs+ by Bandai Namco. And It failed, I've tried :
A.I.M Racing .pak script - Failed ( 0 files found in 0 seconds )
Another world .pak script - Failed ( 0 files found in 0 seconds )
Artogon Games .pak script - Failed ( ( 0 files found in 0 seconds )
Battleforge .pak script - Failed ( 0 files found in 0 seconds )
Bus Simulator .pak script - Failed ( 0 files found in 0 seconds )
Blur .pak script - Failed ( 0 files found in 0 seconds )
C4 .pak script - Failed ( 0 files found in 0 seconds )
Cakemania .pak script - Failed ( 0 files found in 0 seconds )
Citiesxl.pak script - Failed ( 0 files found in 0 seconds )
There are more pak files, but i don't feel like if anyone of them will work... So please help. There's a sample pak files below the post. Please take a look.
A.I.M Racing .pak script - Failed ( 0 files found in 0 seconds )
Another world .pak script - Failed ( 0 files found in 0 seconds )
Artogon Games .pak script - Failed ( ( 0 files found in 0 seconds )
Battleforge .pak script - Failed ( 0 files found in 0 seconds )
Bus Simulator .pak script - Failed ( 0 files found in 0 seconds )
Blur .pak script - Failed ( 0 files found in 0 seconds )
C4 .pak script - Failed ( 0 files found in 0 seconds )
Cakemania .pak script - Failed ( 0 files found in 0 seconds )
Citiesxl.pak script - Failed ( 0 files found in 0 seconds )
There are more pak files, but i don't feel like if anyone of them will work... So please help. There's a sample pak files below the post. Please take a look.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: J-Stars VS+ PAK extracting
Basically it's a STPK archive compressed as STPZ in chunks ($CL0) of max 0x3c00 bytes.
The only problem at the moment is the compression algorithm used for compressing these chunks because, after a scanning, the only algorithm similar to the original one is 230 (COMPRLIB_RLE3) but it's not the correct one.
The following is a work-in-progress just for study, the final uncompressed size doesn't match because the algorithm is wrong:
The only problem at the moment is the compression algorithm used for compressing these chunks because, after a scanning, the only algorithm similar to the original one is 230 (COMPRLIB_RLE3) but it's not the correct one.
The following is a work-in-progress just for study, the final uncompressed size doesn't match because the algorithm is wrong:
Code: Select all
# WORK-IN-PROGRESS
# DO NOT USE IT
comtype COMPRLIB_RLE3
endian big
idstring "STPZ"
get DUMMY long
get CHUNKS long
get OFFSET long
idstring "$CMP"
get ZSIZE long
get ZERO long
get ZERO long
get SIZE long
get ZSIZE long
get ZERO long
get DUMMY long
putvarchr MEMORY_FILE SIZE 0
log MEMORY_FILE 0 0
append
for MEM_SIZE = 0 < SIZE
#idstring "$CL0"
getdstring SIGN 4
if SIGN != "$CL0"
break
endif
get CHUNK_SIZE long
get CHUNK_ZSIZE long
get ZERO long
savepos CHUNK_OFFSET
math CHUNK_ZSIZE - 0x10
clog MEMORY_FILE CHUNK_OFFSET CHUNK_ZSIZE CHUNK_SIZE
math CHUNK_OFFSET + CHUNK_ZSIZE
goto CHUNK_OFFSET
get MEM_SIZE asize MEMORY_FILE
next i
append
get NAME basename
string NAME + ".stpk"
log NAME 0 MEM_SIZE MEMORY_FILE
-
- Posts: 388
- Joined: Thu Aug 07, 2014 10:28 pm
Re: J-Stars VS+ PAK extracting
Here is a compressed and decompressed file to look at for these file types.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: J-Stars VS+ PAK extracting
The algorithm will be available in the upcoming quickbms 0.7.8 with the name DRV3_SRD.
-
- Posts: 388
- Joined: Thu Aug 07, 2014 10:28 pm
Re: J-Stars VS+ PAK extracting
I tried new version and I get a crash
comtype DRV3_SRD
clog NAME 0x30 0x2514 0x3C00
Code: Select all
offset filesize filename
--------------------------------------
00000030 15360 NAME
-------------------
*EXCEPTION HANDLER*
-------------------
An error or crash occurred:
*EH* ExceptionCode 80000001 guard page violation
*EH* ExceptionFlags 00000000
*EH* ExceptionAddress 00f9bd13
00F70000 + 0002bd13 quickbms.exe
*EH* NumberParameters 00000002
*EH* 00000000
*EH* 0d6a1ff0
Last script line before the error or that produced the error:
6 clog NAME 0x30 0x2514 0x3C00
comtype DRV3_SRD
clog NAME 0x30 0x2514 0x3C00
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: J-Stars VS+ PAK extracting
Try this example:
Code: Select all
comtype DRV3_SRD
get ZSIZE asize
xmath SIZE "ZSIZE * 10"
clog "dump.dat" 0 ZSIZE SIZE
-
- Posts: 388
- Joined: Thu Aug 07, 2014 10:28 pm
Re: J-Stars VS+ PAK extracting
That seems to work correctly
-
- Posts: 1
- Joined: Fri May 26, 2017 1:24 am
Re: J-Stars VS+ PAK extracting
Is it possible to unpack J stars archives?
-
- Posts: 3
- Joined: Wed Mar 29, 2017 9:23 am
Re: J-Stars VS+ PAK extracting
Last edited by hora on Tue Nov 07, 2017 7:27 pm, edited 3 times in total.
-
- Posts: 10
- Joined: Thu Sep 28, 2017 7:58 pm
Re: J-Stars VS+ PAK extracting
aluigi wrote:The algorithm will be available in the upcoming quickbms 0.7.8 with the name DRV3_SRD.
I look for it but it doesn't show up, did something happen? I really would like this game's files
Sorry if this is bothersome
-
- Posts: 116
- Joined: Tue Dec 08, 2015 8:36 pm
Re: J-Stars VS+ PAK extracting
Is anyone going to work on a solution to extract the .pak and convert the STPK to a usable format?
-
- Posts: 116
- Joined: Tue Dec 08, 2015 8:36 pm
Re: J-Stars VS+ PAK extracting
Has anyone tried the .pak files from the Vita version of this game
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: J-Stars VS+ PAK extracting
The script for decompressing the scz $CMP files:
http://aluigi.org/bms/cmp_scz.bms
http://aluigi.org/bms/cmp_scz.bms
-
- Posts: 116
- Joined: Tue Dec 08, 2015 8:36 pm
Re: J-Stars VS+ PAK extracting
aluigi wrote:The script for decompressing the scz $CMP files:
http://aluigi.org/bms/cmp_scz.bms
Thank you. When I use the script, I get .kpt files. Any tools to convet these to Usable formats?
(The files are from the PS4 Version)
-
- Posts: 1
- Joined: Tue Sep 11, 2018 6:00 pm
Re: J-Stars VS+ PAK extracting
MarioSonicU wrote:aluigi wrote:The script for decompressing the scz $CMP files:
http://aluigi.org/bms/cmp_scz.bms
Thank you. When I use the script, I get .kpt files. Any tools to convet these to Usable formats?
(The files are from the PS4 Version)
was a way to open these found?
-
- Posts: 1
- Joined: Tue Sep 18, 2018 7:57 pm
Re: J-Stars VS+ PAK extracting
I used thecmp_scz.bms and it converted the .pack files to .kpt
However I'm unable to convert these into mesh formats.
Is there a way to do this?
However I'm unable to convert these into mesh formats.
Is there a way to do this?
-
- Posts: 4
- Joined: Sun Nov 12, 2017 4:51 am
how do i extract this .pak file
This is a .pak file that I wanted to extract so it is fragmented although I'm not sure, but I tried to extract it with the .bms JstarVictory .pak and it gave me an error, if you could please help me
[img] As I saw it is fragmented in 0DCS and 0LCS but others I have no idea, try to extract it with the .bms Jstar victory .pak but it gave me an error.
If you could help me please
please help
[img] As I saw it is fragmented in 0DCS and 0LCS but others I have no idea, try to extract it with the .bms Jstar victory .pak but it gave me an error.
If you could help me please
please help
-
- Posts: 10
- Joined: Thu Sep 28, 2017 7:58 pm
Re: J-Stars VS+ PAK extracting
So I used the script on Luffy's files "_i.pak", "_m.pak" and "_v.pak" from "./character/model" dir and got some .stp from i and m, v outputs an error, looks like the i file is the model and m is for the textures.
Code: Select all
offset filesize filename
--------------------------------------
00000000 4064896 character_model_000_v.dat
-------------------
*EXCEPTION HANDLER*
-------------------
An error or crash occurred:
*EH* ExceptionCode 80000001 guard page violation
*EH* ExceptionFlags 00000000
*EH* ExceptionAddress 00151FB3
00120000 + 00031fb3 quickbms.exe
*EH* NumberParameters 00000002
*EH* 00000000
*EH* 08B51FAA
Last script line before the error or that produced the error:
31 clog NAME OFFSET ZSIZE SIZE