The Forum is up for sale: XeNTaX Forum looking for new owner

Chou Jigen Game Neptune (PS3) .cpk file

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Rikto
n00b
Posts: 13
Joined: Sat May 01, 2010 9:37 pm
Has thanked: 1 time
Been thanked: 7 times

Chou Jigen Game Neptune (PS3) .cpk file

Post by Rikto »

The contents of this post was deleted because of possible forum rules violation.
Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 23 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by Researchman »

Several .cpk files cant extract:
Image
(data.cpk, graphic.cpk)

event.cpk cannot unpack(on my system quickbms see APPCRASH).

Other .cpk files normal unpack. I use this script - http://aluigi.org/papers/bms/cpk.bm

Files, which cant unpack - http://ifolder.ru/19603825
Rikto
n00b
Posts: 13
Joined: Sat May 01, 2010 9:37 pm
Has thanked: 1 time
Been thanked: 7 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by Rikto »

Sadly the graphic.cpk and event.cpk are the only 2 I really want. I'd like to extract the 2d character images and album pictures.
It seems there are also .pssg files inside which I cannot open. :-(
tpu
beginner
Posts: 25
Joined: Thu Jul 09, 2009 7:42 am
Been thanked: 10 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by tpu »

Code: Select all

[CpkHeader]
-------------------------
  UpdateDateTime = 00000000
  FileSize
  ContentOffset = 00001800
  ContentSize = 00006800
  TocOffset = 00000800
  TocSize = 00000310
  TocCrc
  EtocOffset
  EtocSize
  ItocOffset
  ItocSize
  ItocCrc
  GtocOffset = 00001000
  GtocSize = 00000350
  GtocCrc
  EnabledPackedSize = 00023a60
  EnabledDataSize = 0001543c
  TotalDataSize
  Tocs
  Files = 0000000d
  Groups = 00000005
  Attrs = 00000001
  TotalFiles
  Directories
  Updates
  Version = 0007
  Revision = 0000
  Align = 0800
  Sorted = 0001
  EID
  CpkMode = 00000003
  Tvers = CPKFBSTD1.10.00, DLL2.71.00
  Comment
  Codec = 00000000
  DpkItoc = 00000000


[CpkTocInfo]
-------------------------
TOC0:
  DirName = property/battle
  FileName = main.DAT
  FileSize = 000002f4
  ExtractSize = 00000698
  FileOffset = 00002000
  ID = 0000003d
  UserString=<NULL>
TOC1:
  DirName = property/dungeon
  FileName = main.DAT
  FileSize = 000002f8
  ExtractSize = 000005f0
  FileOffset = 00007000
  ID = 0000003e
  UserString=<NULL>
TOC2:
  DirName = script/main/0001
  FileName = main.CL3
  FileSize = 00000534
  ExtractSize = 00001d00
  FileOffset = 00002800
  ID = 00000007
  UserString=<NULL>
TOC3:
  DirName = script/main/0002/0001
  FileName = main.CL3
  FileSize = 00000538
  ExtractSize = 00001e40
  FileOffset = 00003000
  ID = 00000001
  UserString=<NULL>
TOC4:
  DirName = script/main/0002/0002
  FileName = main.CL3
  FileSize = 00000544
  ExtractSize = 00001e80
  FileOffset = 00003800
  ID = 00000005
  UserString=<NULL>
TOC5:
  DirName = script/main/0003/0001
  FileName = main.CL3
  FileSize = 00000524
  ExtractSize = 00001dc0
  FileOffset = 00005800
  ID = 00000004
  UserString=<NULL>
TOC6:
  DirName = script/main/0003/0002
  FileName = main.CL3
  FileSize = 00000518
  ExtractSize = 00001dc0
  FileOffset = 00006000
  ID = 00000009
  UserString=<NULL>
TOC7:
  DirName = script/main/0101
  FileName = main.CL3
  FileSize = 00000534
  ExtractSize = 00001d00
  FileOffset = 00001000
  ID = 000001bc
  UserString=<NULL>
TOC8:
  DirName = script/main/0301/0001
  FileName = main.CL3
  FileSize = 00000528
  ExtractSize = 00001e00
  FileOffset = 00005000
  ID = 00000002
  UserString=<NULL>
TOC9:
  DirName = script/main/1512/0001
  FileName = main.CL3
  FileSize = 00000524
  ExtractSize = 00001dc0
  FileOffset = 00004000
  ID = 00000000
  UserString=<NULL>
TOC10:
  DirName = script/main/1512/0002
  FileName = main.CL3
  FileSize = 00000518
  ExtractSize = 00001dc0
  FileOffset = 00004800
  ID = 00000003
  UserString=<NULL>
TOC11:
  DirName = script/unit
  FileName = main.CL3
  FileSize = 000001b4
  ExtractSize = 00000400
  FileOffset = 00001800
  ID = 000001d0
  UserString=<NULL>
TOC12:
  DirName = script/unit
  FileName = main.DAT
  FileSize = 000000e8
  ExtractSize = 000000e8
  FileOffset = 00006800
  ID = 000001d1
  UserString=<NULL>

TOC[ 0]: offset=00002000 size=000002f4 extract_size=00000698 name=main.DAT
TOC[ 1]: offset=00007000 size=000002f8 extract_size=000005f0 name=main.DAT
TOC[ 2]: offset=00002800 size=00000534 extract_size=00001d00 name=main.CL3
TOC[ 3]: offset=00003000 size=00000538 extract_size=00001e40 name=main.CL3
TOC[ 4]: offset=00003800 size=00000544 extract_size=00001e80 name=main.CL3
TOC[ 5]: offset=00005800 size=00000524 extract_size=00001dc0 name=main.CL3
TOC[ 6]: offset=00006000 size=00000518 extract_size=00001dc0 name=main.CL3
TOC[ 7]: offset=00001000 size=00000534 extract_size=00001d00 name=main.CL3
TOC[ 8]: offset=00005000 size=00000528 extract_size=00001e00 name=main.CL3
TOC[ 9]: offset=00004000 size=00000524 extract_size=00001dc0 name=main.CL3
TOC[10]: offset=00004800 size=00000518 extract_size=00001dc0 name=main.CL3
TOC[11]: offset=00001800 size=000001b4 extract_size=00000400 name=main.CL3
TOC[12]: offset=00006800 size=000000e8 extract_size=000000e8 name=main.DAT
The file is compressed use "CRILAYLA".
Here is my program. But you need to modify the program to put file in DirName.
You do not have the required permissions to view the files attached to this post.
Spiritovod
mega-veteran
mega-veteran
Posts: 171
Joined: Sun Oct 10, 2010 9:44 pm
Has thanked: 31 times
Been thanked: 153 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by Spiritovod »

tpu wrote:The file is compressed use "CRILAYLA".
Here is my program. But you need to modify the program to put file in DirName.
sorry, but your program is working only with the same cpk files as quickbms with the certain script and crashing with the rest of cpk files as the quickbms do - so, is that prog really have some advantages over quickbms with the cpk script?
tpu
beginner
Posts: 25
Joined: Thu Jul 09, 2009 7:42 am
Been thanked: 10 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by tpu »

The UTF content is encrypted. This code can decrypt it. But decompress failed ...

Code: Select all

int decrypt_cpk(u8 *buf, int length)
{
	u32 m, t, d;
	int i;

	m = 0x0000655f;
	t = 0x00004115;

	for(i=0; i<length; i++){
		d = buf[i];
		d = d^(m&0xff);
		buf[i] = d;
		m = m*t;
	}

	return 0;
}

......
	if(*(u32*)(cpk_buf+0x10)!=0x46545540){
		decrypt_cpk(cpk_buf+0x10, 0x62800-0x10);
	}
......

tpu
beginner
Posts: 25
Joined: Thu Jul 09, 2009 7:42 am
Been thanked: 10 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by tpu »

Change 0x62800 to ContentOffset. All file extract! :)
Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 23 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by Researchman »

You can upload modified unpack tool?
tpu
beginner
Posts: 25
Joined: Thu Jul 09, 2009 7:42 am
Been thanked: 10 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by tpu »

Waiting me ......
I need modify some code.
tpu
beginner
Posts: 25
Joined: Thu Jul 09, 2009 7:42 am
Been thanked: 10 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by tpu »

done.
You do not have the required permissions to view the files attached to this post.
Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 23 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by Researchman »

Thanks! All not unpacked files has unpacked. Now need analyse .PSSG files.
FEATHER
advanced
Posts: 75
Joined: Sun Jun 13, 2010 6:47 am
Has thanked: 3 times
Been thanked: 4 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by FEATHER »

A thread about "super dimension game neptune", great!

Thanks for info about it, i will try to check the models files.
kumozero
ultra-n00b
Posts: 3
Joined: Sun Jul 22, 2007 10:13 am
Has thanked: 1 time

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by kumozero »

has any had the app crash when extracting movie.cpk?, cause it keeps crashing for me, or is it cause this file is unable to extract at the moment?

[EDIT]
nevermind, i got it to work, also, anyone been able to get the PSSG files to work, i tryed Ryder PSSG Editor, but it seems it can't open them
Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 23 times

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by Researchman »

You can try TiledGGD.

PSSG used not pictures only, but and for 3d graphics(models, animation).
kumozero
ultra-n00b
Posts: 3
Joined: Sun Jul 22, 2007 10:13 am
Has thanked: 1 time

Re: Chou Jigen Game Neptune (PS3) .cpk file

Post by kumozero »

Researchman wrote:You can try TiledGGD.

PSSG used not pictures only, but and for 3d graphics(models, animation).
oh thanks man, i can load all the CG images with this, just having problems with the video now, there sfd, well i noticed there Mpeg1 i think, but they don't load correctly, and not sure what to use to fix it, or help to play correctly
Post Reply