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.

Sonic: Lost World - CRI CPK variant

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Wed Aug 30, 2017 3:51 pm (26062)


Hello, hello!

Once again, I found something that's not working, this time a cpk archive where QuickBMS crashes:
http://www77.zippyshare.com/v/ebkJbpIW/file.html
http://www77.zippyshare.com/v/ecQA906P/file.html
http://www77.zippyshare.com/v/WVIGQrEA/file.html
http://www77.zippyshare.com/v/nQAYCigk/file.html
http://www77.zippyshare.com/v/xbhShx5J/file.html
(sorry for posting the whole file...)
I hope this is nothing too serious and can be updated easily.
  • Author
  • Localization

aluigi, posted Wed Aug 30, 2017 7:36 pm (26071)


cpk.bms is no longer supported from long time when the format started to act in a senseless way (so any work-around was useless).
I guess there is something called CRI Tools supporting this format.
  • Author
  • Localization

aluigi, posted Wed Aug 30, 2017 8:27 pm (26081)


AlphaTwentyThree wrote:
Oh... all these years and I didn't even notice!

Yeah it has been something "soft", some people reported crashes (caused by decompression on wrong offset) and invalid files, the base offset changed from game to game without any apparent meaning and when the complaints increased too much I decided to abandon the script.
What makes me mad is that the problem is only the base offset, only that.

I have just added a note in the header of the script to say that it's no longer supported.
  • Author
  • Localization

AlphaTwentyThree, posted Wed Aug 30, 2017 8:31 pm (26083)


Sad but oh so understandable. I'll use the tool from now on. Thanks for your work in the past though.
  • Author
  • Localization

aluigi, posted Wed Aug 30, 2017 8:35 pm (26085)


Ah keep me update if you find an easy way to calculate the base offset :)
  • Author
  • Localization

aluigi, posted Wed Sep 27, 2017 10:07 pm (26888)


Just an update about the cpk format and my cpk.bms script.
As written in another post I didn't really wrote the script but I just converted the C source code of a tool made by hcs to a bms script, 1:1 conversion.

Today, moved by curiosity about CriPakTools, I finally decided to check the source code of this tool and it's completely different than the one on which I based my script, so there is no way to "update" my script. The only alternative is rewriting it from scratch, something that will probably never happen since a working tool (and even open source!) already exists.

I had few cpk samples here and probably I found a possible cause of the wrong base offset issue (the position of the files are shifted causing wrong extracted files and crashes, yeah the reason is just that simple thing) and I decided to add this "possible work-around" to cpk.bms removing any previously implemented lame work-around.
This is probably the last time I will touch cpk.bms, script 0.3.3: http://aluigi.org/bms/cpk.bms

The reason of this update is only for reducing the amount of unsupported archives in case someone doesn't know that the script is unsupported and should use CRIPakTools.
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.