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.

FMOD .ogg from .fsb from .bank

Featured Replies

  • Author
  • Localization

swinei, posted Sat Nov 05, 2016 2:46 pm (18584)


I am using
Code:
for OFFSET = 0
    goto OFFSET
    findloc OFFSET string "FSB5"
    goto OFFSET
    getdstring FSB_SIGN 4   # FSOUND_FSB_HEADER_FSB5 (fsb.h)
    get version long
    get numsamples long
    get shdrsize long
    get namesize long
    get datasize long
    xmath SIZE "0x3c shdrsize namesize datasize"
    log "" OFFSET SIZE
next OFFSET SIZE

to extract the .fsb files from a .bank file. This works for the most part, but I am running into problems with some banks.

The audio files in the banks are .ogg so I'm using fsb_aud_ext.exe to get them. Trying to extract the .fsb made from the .bank (see attachment) gives me the error "End of file unexpectedly reached while trying to read essential data (truncated?)"

The resulting .ogg files are complete but have added static in the end. I assume this is a problem with the generated .fsb files? This problem also occurs with files where the error mentioned above does not happen.
  • Author
  • Localization

id-daemon, posted Sat Nov 05, 2016 3:38 pm (18586)


I got the FSB file you have here and it was completely extracted with fsb_aud_extr.exe

I don't understand what else you want.
  • Author
  • Localization

swinei, posted Sat Nov 05, 2016 4:08 pm (18587)


Is there no static at the end of the files for you?

And do you not get the "End of file unexpectedly reached while trying to read essential data (truncated?)" error?
  • Author
  • Localization

id-daemon, posted Sat Nov 05, 2016 5:20 pm (18588)


No static.
No errors.
  • Author
  • Localization

swinei, posted Sat Nov 05, 2016 9:21 pm (18591)


Hm, strange. I tried different dll versions and different computers and I always get audio with static and three files throw an error. This is my output, any idea what's causing this?
  • Author
  • Localization

id-daemon, posted Sun Nov 06, 2016 6:05 am (18598)


wrong old version of a tool maybe. I used my latest and the one from this thread viewtopic.php?f=17&t=1901

both work ok
  • Author
  • Localization

swinei, posted Sun Nov 06, 2016 12:54 pm (18609)


Okay let's see, I am using:
  • quickbms 0.7.6a
  • the script from my first post to extract the .fsb
  • fsb_aud_extr.exe from your post
  • fmodL.dll from this post

Is that different from what you are using?
  • Author
  • Localization

id-daemon, posted Sun Nov 06, 2016 1:01 pm (18610)


ok the problem is in fmodL.dll. It is newer then the API code I used to build my tool. This can cause problems, they warned about that.

This is old version.

fmodL.rar

  • Author
  • Localization

swinei, posted Sun Nov 06, 2016 1:45 pm (18612)


It works now! Thanks a lot! :)
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.