Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

CRI CPK script updated

Featured Replies

  • Author
  • Localization

aluigi, posted Sun Aug 10, 2014 3:38 pm (85)


http://aluigi.org/papers/bms/cpk.bms

I have just finished to update the cpk script for supporting some games like Naruto Storm Generations and probably also others.
The update is derived from a modified version of the utf_tab tool released by "IngPereira".

This format is the ITOC one, that contains the files in new chunks called FilesL, FilesH, DataL and DataH... quite chaotic but I have been able to simplify the script as soon as possible.
  • Author
  • Localization

sigroon365, posted Fri Mar 13, 2015 12:53 pm (3825)


aluigi wrote:
http://aluigi.org/papers/bms/cpk.bms

I have just finished to update the cpk script for supporting some games like Naruto Storm Generations and probably also others.
The update is derived from a modified version of the utf_tab tool released by "IngPereira".

This format is the ITOC one, that contains the files in new chunks called FilesL, FilesH, DataL and DataH... quite chaotic but I have been able to simplify the script as soon as possible.


Hmm.. unfortunately, it still doesn't work for Naruto shippuden Ultimate Ninja STORM 3 Full Burst version.
Image
  • Author
  • Localization

aluigi, posted Fri Mar 13, 2015 1:43 pm (3827)


Upload the sample.
  • Author
  • Localization

aluigi, posted Fri Mar 13, 2015 5:03 pm (3837)


What I have here is a different error.

dataRegion.egg is not a CPK archive ("EGGA").

While with dataRegion_win32.cpk there is a crash in the decompression function because the archive says that one file is compressed while it's not true.
I'm checking if it's possible to bypass this problem, it's the first time I see this issue.
  • Author
  • Localization

aluigi, posted Fri Mar 13, 2015 5:08 pm (3838)


I have updated the script to version 0.3a where I have added a work-around (not a solution).
  • Author
  • Localization

sigroon365, posted Fri Mar 13, 2015 5:10 pm (3839)


aluigi wrote:
What I have here is a different error.

dataRegion.egg is not a CPK archive ("EGGA").

While with dataRegion_win32.cpk there is a crash in the decompression function because the archive says that one file is compressed while it's not true.
I'm checking if it's possible to bypass this problem, it's the first time I see this issue.


Ah, dataRegion.egg is just a zip files. Unzip it by winrar then you can get dataRegion.cpk file.
  • Author
  • Localization

aluigi, posted Fri Mar 13, 2015 5:21 pm (3840)


No it's not a ZIP or RAR file.
  • Author
  • Localization

aluigi, posted Fri Mar 13, 2015 8:28 pm (3848)


The current script works perfectly with dataRegion.cpk.

Thanks for the idea of the EGG archive made by Alzip, I made a script for it so now it's possible to use quickbms to extract the files of this archive :)
  • Author
  • Localization

sigroon365, posted Sat Mar 14, 2015 12:56 am (3863)


aluigi wrote:
The current script works perfectly with dataRegion.cpk.

Thanks for the idea of the EGG archive made by Alzip, I made a script for it so now it's possible to use quickbms to extract the files of this archive :)


You're welcome. Have a good one. :D
  • Author
  • Localization

sigroon365, posted Sat Mar 14, 2015 5:12 pm (3877)


Thanks a lot! Your bms script works, however, I think that there are so many files which is needed to be unpacked.
For example, there is adv_tutorial03.xfbin file in the dataRegion\data\ui\tutorial\WIN32\eng folder.
You might also find it since you had the dataRegion.cpk file.
Although I tried to open it by Noesis, it was impossible for me to view it since it's header was still CPK.
Image

So, I unpacked *.xfbin file by quickbms, however, it split *.xfbin into several files.
Image

After I renamed 00000000.nuc to 00000000.xfbin, I could see it by Noesis, but it was croped.
Image

So, I combined 00000000.nuc 00000001.dat 00000002.vap into the one file and renamed it to combine.xfbin then I could see the original image.
Image

As a result, I think that a little modification makes your bms script perfect! :D
Here is sample files. https://www.sendspace.com/file/22uthh

Actually, not all *.xfbin files have CPK header but most of them have CPK header.
Some *.xfbin files have NUCC header. For example, name_1ssk_b.xfbin file in dataRegion\data\ui\name\b_name\eng.
Image

Anyway, thanks for your great works!
  • Author
  • Localization

sigroon365, posted Sun Mar 15, 2015 10:30 am (3889)


I found one more odd thing that *.xfbin files could be unpacked but reimporting was not work.

Unpacking messageInfo.bin.xfbin
Image

Reimporting error
Image

Reimporting works on dataRegion.cpk but it does not work on *.xfbin files.
  • Author
  • Localization

sigroon365, posted Wed Apr 08, 2015 4:57 pm (4396)


aluigi wrote:
The current script works perfectly with dataRegion.cpk.

Thanks for the idea of the EGG archive made by Alzip, I made a script for it so now it's possible to use quickbms to extract the files of this archive :)


Can you look at these files? There are no UTF-8 signature in cpk files.
Strom3 Revolution https://www.sendspace.com/file/jwsqtf
  • Author
  • Localization

aluigi, posted Thu Apr 09, 2015 8:07 pm (4424)


Currently I prefer to not check them because it's not clear if this is a new version of the format or some customizations made by some games.
The cpk script was simply a bms version of the tool written by hcs64 who did all the job.
  • Author
  • Localization

sigroon365, posted Tue Apr 21, 2015 6:07 am (4693)


aluigi wrote:
Currently I prefer to not check them because it's not clear if this is a new version of the format or some customizations made by some games.
The cpk script was simply a bms version of the tool written by hcs64 who did all the job.


I think ninja storm3 revolution's compression is not different from storm3 execpt header information.
Each individual file which is contained in dataregion.cpk can be unpack by cpk.bms script, I can split it by hex editor, however, dataregion.cpk itself can not unpack by bms script. I just want to get ndc_cpk.bms script version of this type. I mean, I want to split dataregion.cpk into compressed files. No need to decompress it.
  • Author
  • Localization

makc_ar, posted Tue Feb 13, 2018 10:34 am (32441)


Yea, this tool unpacked the files... but all files are encrypted by some algorithm. How to decrypt files when unpacking .cpk? Maybe script to update? Example English .xfbin download/file.php?id=3993 and this mod China decrypted files download/file.php?id=3992 See my topic: viewtopic.php?f=12&t=7406
  • Author
  • Localization

Crystal, posted Thu Feb 15, 2018 2:37 pm (32472)


Hello, sorry, if I was wrong with the topic.

When I extract textures of some models, I see error - "Warning: Unknown texture Format" and number 6 or 14 etc. Some textures are missing.
Is it possible to get textures from a file *.xfbin another way, if the Noesis gives this error? Maybe there is some script for extracting textures?
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.