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.

Red Ninja XBOX "res.rbb"

Featured Replies

  • Author
  • Localization

BloodRaynare, posted Fri Mar 31, 2023 11:28 am (76128)


Actually, those PS2 scripts should work with the Xbox files since they are the same format, but anyway here's the script
I modified some things, like directories grouped by the last letter of the TYPE chunk entries and also file extension assigned to the first three letters of that chunk.

Code:
comtype zlib_noerror

IDstring "siff"
get RBB_SZ long
do
   getdstring CHUNK_TYPE 4
   get CHUNK_SZ long
   savepos CURRPOS
   if CHUNK_TYPE == "RSRC"
      getDString RC_VER 9
      savepos CURRPOS
      xmath CURRPOS "CHUNK_SZ - 9 CURRPOS"
      goto CURRPOS
   elif CHUNK_TYPE == "RIDX"
      xmath FILES "CHUNK_SZ / 8"
      for i = 0 < FILES
         get OFFSET long
         get ZSIZE long
         math ZSIZE - 0x80000000
         putarray 0 i OFFSET
         putarray 1 i ZSIZE
      next i
   elif CHUNK_TYPE == "TYPE"
      for i = 0 < FILES
         getDstring EXT 3
         getDstring DIR 1
         putarray 2 i EXT
         putarray 3 i DIR
      next i
   elif CHUNK_TYPE == "EXIX"
      for i = 0 < FILES
         get SIZE long
         putarray 4 i SIZE
      next i
   elif CHUNK_TYPE == "RBB0"
      savepos REL_POS
      for i = 0 < FILES
         getarray OFFSET     0 i
         getarray ZSIZE      1 i
         if RC_VER == "RC ver2.1"
            getarray EXT        2 i
            getarray DIR        3 i
         endif
         getarray SIZE       4 i
         math OFFSET REL_POS

         string NAME p "%s\d.%s" DIR i EXT

         if ZSIZE == SIZE
            log NAME OFFSET SIZE
         else
            clog NAME OFFSET ZSIZE SIZE
         endif
      next i
      set CURRPOS REL_POS
      math CURRPOS CHUNK_SZ
      goto CURRPOS
   else
      math CURRPOS CHUNK_SZ
      goto CURRPOS
   endif
while CURRPOS < RBB_SZ


No real filenames though, the RBB files doesn't store any of those.
  • Author
  • Localization

roocker666, posted Fri Mar 31, 2023 6:03 pm (76138)


BloodRaynare wrote:
Actually, those PS2 scripts should work with the Xbox files since they are the same format, but anyway here's the script
I modified some things, like directories grouped by the last letter of the TYPE chunk entries and also file extension assigned to the first three letters of that chunk.


No real filenames though, the RBB files doesn't store any of those.


I tried with those PS2 scripts but I get 0 files. OK, now I tried with your new script and it works perfect!
No real names but we have file types, that helps a little bit.

Thanks you so much man! :)
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.