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.

FSBEXT Error: The file contains unexpected data, or is smaller than expected

Featured Replies

  • Author
  • Localization

GTAVLover, posted Sat Dec 23, 2017 2:46 am (30975)


Hey, I tried to replace NFS Shift 2 Unleashed car engine sounds with my own sounds, but when I build output.dat file and try to rebuild FSB file, FSBEXT gives the error "The file contains unexpected data, or is smaller than expected".

Please anyone know the reason for this? The FSB version game uses is FSB4.
  • Author
  • Localization

aluigi, posted Mon Dec 25, 2017 4:50 am (31006)


What's the size of the extracted files and the input fsb archive?
Maybe there are just few padding bytes and the tool gives you that warning (it's not an error)

Anyway in your post you refer to a "rebuild", the -r option in fsbext should work but please note that it was meant for fsb versions of many years ago since the official FMOD tools do their job correctly as far as I know.
  • Author
  • Localization

GTAVLover, posted Mon Dec 25, 2017 3:19 pm (31018)


Hey Luigi, size of the extracted files and input FSB archive are exactly same because I didn't use -A command line switch when extracting.
I already managed to build my own FSB and FEV files using FMOD Manager 4.32.09. Now my car sounds are working fine in game.

I also think this is a version mismatch or something similar.
Anyway why this error happens even extracted files' size and input FSB archive's size are identical?
  • Author
  • Localization

aluigi, posted Tue Dec 26, 2017 8:33 am (31031)


Upload one of these fsb files
  • Author
  • Localization

aluigi, posted Wed Dec 27, 2017 8:36 am (31053)


Here everything works perfectly with the sample you provided.
Are you using fsbext 0.3.8?
  • Author
  • Localization

GTAVLover, posted Wed Dec 27, 2017 1:28 pm (31058)


Is that so? I even don't know what version I tried to use. What is the latest version?
  • Author
  • Localization

GTAVLover, posted Fri Dec 29, 2017 1:42 am (31097)


Thank You, I will try the same with this version and inform you what happens.
  • Author
  • Localization

GTAVLover, posted Sun Dec 31, 2017 3:56 am (31137)


It worked with FSBEXT 0.3.8. Thanks for your help.
  • Author
  • Localization

cornel, posted Sun Feb 25, 2018 4:41 pm (32728)


Hi Luigi!

I am getting the same error when trying to rebuild the Strike Suit Zero sound banks...

I extract with: fsbext StreamBank.fsb (with the original StreamBank.fsb in the fsbext program folder) and place the extracted sound files in a folder called "StreamBank" (located inside the program folder)
I then create the dat file with: fsbext -l -s StreamBank.dat StreamBank.fsb (with the original StreamBank.fsb in the fsbext program folder)
And finally, I try to rebuild (without modifying anything) with: fsbext -r -s StreamBank.dat -d StreamBank StreamBank.fsb (after removing the original StreamBank.fsb from the fsbext program folder)


I'm using the latest version (0.3.8) of your program. The Strike Suit Zero fsbs are FSB4.
What could be the reason for this error?

Note: Don't know if this helps any, but when extracting with Aezay's FSB Extractor, it gives several file duplication warnings and renames them. Could that also be the problem with fsbext? I read somewhere that filenames in FSB archives are truncated at 30 chars. How do I solve the problem of truncated and thus duplicate file names?
Also: I noted that some of the extracted sound files have a double extension: filename.wav.mp3 which might also be the problem...
  • Author
  • Localization

aluigi, posted Mon Feb 26, 2018 8:29 am (32733)


Create the -s dat file during files extraction, don't use -l or it will screw the information.
  • Author
  • Localization

cornel, posted Mon Feb 26, 2018 11:29 am (32739)


Talk about coincidence... I tried that very same thing yesterday evening, based on another tutorial I found on the Internet, and yes, I was able to make a new fsb without getting the error, BUT the file size of the fsb is not the same as the original one, AND other sounds now play accelerated and distorted. Any ideas as to why this would occur?

I now have:

EXTRACT: fsbext -d StreamBank -s StreamBank.dat StreamBank.fsb
REBUILD: fsbext -s StreamBank.dat -d StreamBank -r StreamBank.fsb

Note: I am testing without modifying any sound file.
  • Author
  • Localization

aluigi, posted Mon Feb 26, 2018 1:31 pm (32740)


Honestly I don't know, the rebuilding feature is experimental and rebuilding something from scratch is different than reimporting data in an existent archive (just for comparing it with the well known quickbms feature).
Anyway already exist the official FMOD tools (fsbank) that are meant for this job, you should use these tools.
  • Author
  • Localization

cornel, posted Mon Feb 26, 2018 2:42 pm (32742)


I'll look into that. Many thanks, Luigi!
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.