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.

Mario & Sonic at the Rio Olympic Games 2016 3DS (.CPK)

Featured Replies

  • Author
  • Localization

Kawasuzu, posted Tue Mar 01, 2016 2:43 am (11703)


It seems like the current CPK quickbms script doesn't work with this cpk file completely. The script crashes after extracting for a while, and it can't extract the file names.

I have uploaded the first 16 MBs and the last 16 MBs of the cpk file.

First 16 MBs: http://puu.sh/nqrOi/3c211ff1e2.cpk
Last 16 MBs: http://puu.sh/nqspW/cf7e232c86.cpk
  • Author
  • Localization

aluigi, posted Tue Mar 01, 2016 6:57 pm (11721)


The crash may be caused by the usage of the decompression function on non-decompressed data.
It happened with some xfbin files that reported an extract_size bigger than file_size which usually identifies a compression, but no compression was used.
There is not much I can do, for the xfbin files I simply checked if the data at the file offset was "CPK " (this is a work-around).
Here I don't know what non-compressed files are set as compressed because it's all ok in the first 16 megabytes you provided.
  • Author
  • Localization

aluigi, posted Thu Mar 03, 2016 7:28 pm (11749)


This CPK seems very different than the others.
The offset and size reported by the tool are mathematically "correct" (in the sense that 0x23040600 48880 is the end of the archive) but they are all totally wrong and not point to the real data.
Currently I no longer support cpk.bms except for small fixes but in this case it seems that the "FileOffset" value (used in query_utf) doesn't exist at all.
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.