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.

Frogger 2 (.wus)

Featured Replies

  • Author
  • Localization

Xiron, posted Sat Oct 03, 2015 11:29 pm (7996)


Files commonly start with "## 00 00 00", bytes 4-B I don't even know what about them, and the next set of bytes, C-21 (usually ending in "da") are usually the same.

I already tried using WUSSoft's WUTG programs which plays .wus audio files (apparently not the right ones). Nothing good happened, I was just greeted with a ??? error box.
  • Author
  • Localization

AlphaTwentyThree, posted Tue Oct 06, 2015 9:11 pm (8164)


Well, actually this is an archive format. Here's a script for it:

Code:
# extracts the *.wus audio archives of Frogger 2
# written by AlphaTwentyThree
# script for QuickBMS http://quickbms.aluigi.org

get FILES long
get BNAME basename
for i = 1 <= FILES
   get SIZE long
   get CRC long
   get FID long
   get CODEC short
   get CH short
   get FREQ long
   get BLOCKALIGN long
   math BLOCKALIGN /= FREQ
   get UNK short
   get UNK2 short
   set BITS 16
   get DA short # "da"
   savepos OFFSET
   get NAME basename
   string NAME p= "%s_0xx.wav" BNAME CRC
   callfunction PCM 1
   math OFFSET = SIZE
   goto OFFSET
next i

startfunction PCM
   endian little
   set PRE SIZE
   math PRE = 0x2c
   putVarChr MEMORY_FILE PRE 0
   log MEMORY_FILE 0 0
   set MEMORY_FILE binary "\x52\x49\x46\x46\x20\xC0\xB1\x00\x57\x41\x56\x45\x66\x6D\x74\x20\x10\x00\x00\x00\x01\x00\x02\x00\x44\xAC\x00\x00\x10\xB1\x02\x00\x04\x00\x10\x00\x64\x61\x74\x61\xFC\xBF\xB1\x00"
   append
   log MEMORY_FILE OFFSET SIZE
   append
   set RIFFSIZE SIZE
   math RIFFSIZE = 36
   set AVGBYTES FREQ
   if CODEC != 2
      math AVGBYTES *= BLOCKALIGN
   endif
   
   putvarchr MEMORY_FILE 0x04 RIFFSIZE long
   putvarchr MEMORY_FILE 0x14 CODEC short          # wFormatTag: Microsoft PCM Format (0x0001)
   putvarchr MEMORY_FILE 0x16 CH short   # wChannels
   putvarchr MEMORY_FILE 0x18 FREQ short   # dwSamplesPerSec
   putvarchr MEMORY_FILE 0x1c AVGBYTES long    # dwAvgBytesPerSec
   putvarchr MEMORY_FILE 0x20 BLOCKALIGN short # wBlockAlign
   putvarchr MEMORY_FILE 0x22 BITS short       # wBitsPerSample
   putvarchr MEMORY_FILE 0x28 SIZE long
   
   get WSIZE asize MEMORY_FILE
   log NAME 0 WSIZE MEMORY_FILE
endfunction
  • Author
  • Localization

Xiron, posted Wed Oct 07, 2015 12:47 am (8169)


I can't extract at the moment, but they do probably contain sound files, correct?
  • Author
  • Localization

AlphaTwentyThree, posted Wed Oct 07, 2015 9:37 am (8175)


Yep
  • Author
  • Localization

Xiron, posted Wed Oct 07, 2015 10:17 am (8176)


Awesome, thanks! :D
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.