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.

Call of Duty: Roads to Victory (PSP) - streams.res

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Sun Jun 10, 2018 10:54 pm (35778)


Hello there!
I've been trying to write a script for this archive, but I don't know any further. The problem is, that there are two more names than given in the TOC. (0x3d vs. 0x3f). Really hate when that happens... The problem is that I cannot link the TOC to the name section (0x1b18). Can somebody try to link this? Maybe I'm just blind...

Here is the archive: https://www27.zippyshare.com/v/g269OyiR/file.html

And here is what I've written so far:

Code:
idstring "res"
goto 0xc
get INFO_BIAS long
goto 0x14
get DATA_START long
goto 0x20
get INFO_OFF long
goto INFO_OFF
get FIELDS long
get UNK long
for i = 1 <= FIELDS
   getDstring IDENT 4
   if IDENT == "mdat"
      get UNK byte
      get OFFSET threebyte
      math OFFSET *= 0x100
      get SIZE long
      get ZERO long
      get ONE long
   elif IDENT == "musc"
      get OFFSET_INFO long
      math OFFSET_INFO = INFO_BIAS
      get UNK longlong
      get SOME_OFFSET long
      savepos MYOFF
      goto OFFSET_INFO
      get BITS short
      get CH short
      get FREQ long
      get SIZE long
      get OFFSET long
      math OFFSET = DATA_START
      goto MYOFF
   else
      getDstring UNKNOWN_DATA 0x10
   endif
next i
  • Author
  • Localization

aluigi, posted Mon Jun 11, 2018 4:18 pm (35791)


Same format of http://aluigi.org/bms/spiderman_web_shadows.bms
Yeah you will get an error at the end that probably I should check but... come on 99% maybe I can ignore it because there are no other files to extract anyway :D
  • Author
  • Localization

AlphaTwentyThree, posted Mon Jun 11, 2018 4:23 pm (35794)


Ah, thanks. Unfortunately, the names are not correct: if you apply the script on the file I've uploaded, you'll get a file named "silence" that doesn't have any silence and another one, that HAS silence. So there's a small problem. Maybe that's where the error comes from?
Would be nice to check that out.
  • Author
  • Localization

aluigi, posted Mon Jun 11, 2018 5:34 pm (35796)


They are sequential names, can't do anything.
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.