FSBEXT Error: The file contains unexpected data, or is smaller than expected
-
- Posts: 6
- Joined: Sat Dec 23, 2017 2:41 am
FSBEXT Error: The file contains unexpected data, or is smaller than expected
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.
Please anyone know the reason for this? The FSB version game uses is FSB4.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
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.
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.
-
- Posts: 6
- Joined: Sat Dec 23, 2017 2:41 am
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
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?
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?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
Upload one of these fsb files
-
- Posts: 6
- Joined: Sat Dec 23, 2017 2:41 am
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
Here everything works perfectly with the sample you provided.
Are you using fsbext 0.3.8?
Are you using fsbext 0.3.8?
-
- Posts: 6
- Joined: Sat Dec 23, 2017 2:41 am
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
Is that so? I even don't know what version I tried to use. What is the latest version?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
-
- Posts: 6
- Joined: Sat Dec 23, 2017 2:41 am
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
Thank You, I will try the same with this version and inform you what happens.
-
- Posts: 6
- Joined: Sat Dec 23, 2017 2:41 am
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
It worked with FSBEXT 0.3.8. Thanks for your help.
-
- Posts: 30
- Joined: Sun Feb 25, 2018 4:27 pm
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
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...
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...
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
Create the -s dat file during files extraction, don't use -l or it will screw the information.
-
- Posts: 30
- Joined: Sun Feb 25, 2018 4:27 pm
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
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.
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.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
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.
Anyway already exist the official FMOD tools (fsbank) that are meant for this job, you should use these tools.
-
- Posts: 30
- Joined: Sun Feb 25, 2018 4:27 pm
Re: FSBEXT Error: The file contains unexpected data, or is smaller than expected
I'll look into that. Many thanks, Luigi!