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.

Run Sackboy Run! data.pak

Featured Replies

  • Author
  • Localization

lemurboy12, posted Fri Oct 17, 2014 6:31 pm (960)


http://puu.sh/bVAhR.7z

All of the game's models and textures are in data.pak, and I can't find a script that opens it.
  • Author
  • Localization

aluigi, posted Fri Oct 17, 2014 9:36 pm (964)


Another "1KAP" archive.
I remember to have seen another one just recently but I have no script for that signature in my archive so, even if I don't remember that other game/archive, I think I had no success with it.
  • Author
  • Localization

aluigi, posted Fri Oct 17, 2014 9:49 pm (965)


Anyway the following script works:
Code:
idstring "1KAP"
get FILES long
get OFFSET long # for what?
for STOP = 0 == 0
    get DUMMY long
    if DUMMY != 0xffffffff
    if DUMMY u> FILES
        math STOP = 1
    endif
    endif
next

goto -4 0 SEEK_CUR
for i = 0 < FILES
    get NAME_CRC long
    get DUMMY long
    get ZSIZE long
    get SIZE long
    get OFFSET long
    if SIZE == ZSIZE
        log "" OFFSET SIZE
    else
        clog "" OFFSET ZSIZE SIZE   # unknown compression
    endif
next i
  • Author
  • Localization

Ekey, posted Fri Oct 17, 2014 10:25 pm (971)


lemurboy12 wrote:
http://puu.sh/bVAhR.7z

All of the game's models and textures are in data.pak, and I can't find a script that opens it.

This game for iOS/Android right? I have not found any links for download.

aluigi wrote:
Another "1KAP" archive.
I remember to have seen another one just recently but I have no script for that signature in my archive so, even if I don't remember that other game/archive, I think I had no success with it.

Game from the developers of Little Big Planet. They use encryption (At least as it was on the PS3)
  • Author
  • Localization

Miles2345, posted Fri Oct 17, 2014 10:48 pm (972)


The PS3 version is not encrypted, it uses ZLIB. I made a post about it.
  • Author
  • Localization

aluigi, posted Wed Dec 03, 2014 8:15 pm (2086)


It's not supported.
It seems that it uses encryption or obfuscation because the non-compressed files are all scrambled.
  • Author
  • Localization

aluigi, posted Thu Dec 04, 2014 12:26 pm (2096)


Have you dumped the key at object 2068 and key_size at object 2072?
  • Author
  • Localization

Ekey, posted Thu Dec 04, 2014 2:22 pm (2098)


Ok key is dynamic. Key generated by Mersenne Twister algorithm from seed.

dwSeed -> 0xBAFF1EDu
dwKeySize -> 773

Code:
Pak::Archive::Archive(v6, v3, 0xBAFF1EDu, 773);


Simple way :

1) Generate MT State from Seed
2) Copy random bytes from this state

Code:
 
   //Make copy state > from generated state
   _aeabi_memcpy(&MT_State, Pak::GetInitRandState(unsigned int)::state, 2504);

   //Make key
   for ( ; KeySize; --KeySize )
      *(_BYTE *)pKey = Pak::GetRand(&MT_State);

Pak_Archive_Archive.rar

  • Author
  • Localization

Ekey, posted Thu Dec 04, 2014 4:49 pm (2100)


Here my code based on PseudoCode for generating key. Hope key is valid :)

Code for decrypt -> see below
  • Author
  • Localization

Ekey, posted Thu Dec 04, 2014 8:58 pm (2102)


Okay decryption finished.

PS : See below
  • Author
  • Localization

lemurboy12, posted Thu Dec 04, 2014 11:27 pm (2105)


so what does all this do?
  • Author
  • Localization

Ekey, posted Thu Dec 04, 2014 11:31 pm (2106)


I written unpacker (supported all version). Hash algorithm is CRC32 but generated hashes from my list is invalid. Any ideas? :?

RSBRPAKUnpacker_0.0.1_b1.rar

  • Author
  • Localization

lemurboy12, posted Thu Dec 04, 2014 11:48 pm (2107)


any idea where the model textures are stored in this game?
  • Author
  • Localization

Ekey, posted Fri Dec 05, 2014 12:00 am (2108)


Check the files manually until a hash algorithm is not clear
  • Author
  • Localization

lemurboy12, posted Fri Dec 05, 2014 12:56 am (2109)


I don't know what that is
  • Author
  • Localization

lemurboy12, posted Sat Jan 03, 2015 7:28 pm (2437)


http://puu.sh/e1xV1.zip

The game had a new update and the script doesn't work on it anymore. This is for the iOS version.
  • Author
  • Localization

aluigi, posted Sun Jan 04, 2015 1:11 pm (2441)


Am I wrong or is it obfuscated now?
  • Author
  • Localization

Ekey, posted Sun Jan 04, 2015 3:14 pm (2443)


iOS/Android versions always has been encrypted. My unpacker supported all PS/iOS/Android. Probably lemurboy12 read this topic not attentively.
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.