NoNarluire Posted 23 hours ago Posted 23 hours ago Hello, I'm having trouble extracting audio from a .bank, FSB/Fmod file. Game: Duet Night Abyss Engine: Unreal Engine 4.x I opened the *.pak archive for this game using Fmodel and searched for the audio files. I found them in the following location: EM/Content/Asset/Audio/FMOD/Mobile/bgm There I found several files that I successfully exported. Spoiler I wanted to extract FSB/Fmod audio files from the *.bank file, but I ran into a snag – none of the methods worked successfully, and they were as follows:... 1. I tried to play a bank in foolbar2000 using the vgmstream plugin. As expected, an error occurred: Unsupported format or corrupted file. 2. Next, I tried using Fmod_Bank_Tools, but this also resulted in an error: Error occurred, report it to Wouldy: Fmod Error - ERR INVALID PARAM 3. Finally, I used quickbms and the script from the bmsbank.zip archive, which I downloaded here: https://pechomods.com/posts/tools/ However, this attempt also failed: Short Log Spoiler C:\....\quickbms>quickbms.exe "C:\...\quickbms\bmsbank\bank.bms" "C:\....\Fmod_Bank_Tools\bank\bgm_cbt01.assets.bank" "C:\...\Test" QuickBMS generic files extractor and reimporter 0.12.0 by Luigi Auriemma e-mail: [email protected] web: aluigi.org (Aug 24 2022 - 10:55:28) quickbms.com Homepage zenhax.com ZenHAX Forum @zenhax @quickbms Twitter & Scripts - open input file C:\....\Fmod_Bank_Tools\bank\bgm_cbt01.assets.bank - open script C:\....\quickbms\bmsbank\bank.bms - set output folder C:\...\Test offset filesize filename -------------------------------------- - 0 files found in 3 seconds coverage file 0 100% 49301929 49283872 . offset 00000000 Full Log Spoiler C:\...\quickbms>quickbms.exe -v -o "C:\...\quickbms\bmsbank\bank.bms" "C:\...\Fmod_Bank_Tools\bank\bgm_cbt01.assets.bank" "C:\...\Test" QuickBMS generic files extractor and reimporter 0.12.0 by Luigi Auriemma e-mail: [email protected] web: aluigi.org (Aug 24 2022 - 10:55:28) quickbms.com Homepage zenhax.com ZenHAX Forum @zenhax @quickbms Twitter & Scripts - command-line arguments: quickbms.exe -v -o C:\....\quickbms\bmsbank\bank.bms C:\...\Fmod_Bank_Tools\bank\bgm_cbt01.assets.bank C:\...\Test - current_folder: C:\...\quickbms - bms_folder: C:\U...\quickbms\bmsbank - exe_folder: C:\...\quickbms - file_folder: C:\...\Fmod_Bank_Tools\bank - output_folder: C:\....\Desktop\Test - temp_folder: C:\....\AppData\Local\Temp\ >set quickbms_current_folder (0) to "C:\....\quickbms" >set quickbms_bms_folder (1) to "C:\...\quickbms\bmsbank" >set quickbms_exe_folder (2) to "C:\....\quickbms" >set quickbms_file_folder (3) to "C:\....\Fmod_Bank_Tools\bank" >set quickbms_output_folder (4) to "C:\....\Test" >set quickbms_temp_folder (5) to "C:\....\AppData\Local\Temp\" >set quickbms_bms_script (6) to "C:\....\quickbms\bmsbank\bank.bms" >set QUICKBMS_REIMPORT (7) to 0x00000000 - open input file C:\...\Fmod_Bank_Tools\bank\bgm_cbt01.assets.bank - xfopen rb: C:\...\Fmod_Bank_Tools\bank\bgm_cbt01.assets.bank - xfopen2 C:\...\Fmod_Bank_Tools\bank\bgm_cbt01.assets.bank - open script C:\...\quickbms\bmsbank\bank.bms - xfopen rb: C:\....\quickbms\bmsbank\bank.bms - xfopen2 C:\...\quickbms\bmsbank\bank.bms READLINE 1 for OFFSET = 0 >set OFFSET (8) to "OFFSET" >set 0 (9) to 0x00000000 ARG0 "for" ARG1 "OFFSET" ARG2 "=" ARG3 "0" READLINE 2 goto OFFSET >set OFFSET (8) to "OFFSET" ARG0 "goto" ARG1 "OFFSET" READLINE 3 findloc OFFSET string "FSB5" >set OFFSET (8) to "OFFSET" ARG0 "findloc" ARG1 "OFFSET" ARG2 "string" ARG3 "FSB5" READLINE 4 goto OFFSET >set OFFSET (8) to "OFFSET" ARG0 "goto" ARG1 "OFFSET" READLINE 5 getdstring FSB_SIGN 4 # FSOUND_FSB_HEADER_FSB5 (fsb.h >set FSB_SIGN (10) to "FSB_SIGN" >set 4 (11) to 0x00000004 ARG0 "getdstring" ARG1 "FSB_SIGN" ARG2 "4" READLINE 6 get version long >set version (12) to "version" ARG0 "get" ARG1 "version" ARG2 "long" READLINE 7 get numsamples long >set numsamples (13) to "numsamples" ARG0 "get" ARG1 "numsamples" ARG2 "long" READLINE 8 get shdrsize long >set shdrsize (14) to "shdrsize" ARG0 "get" ARG1 "shdrsize" ARG2 "long" READLINE 9 get namesize long >set namesize (15) to "namesize" ARG0 "get" ARG1 "namesize" ARG2 "long" READLINE 10 get datasize long >set datasize (16) to "datasize" ARG0 "get" ARG1 "datasize" ARG2 "long" READLINE 11 xmath SIZE "0x3c + shdrsize + namesize + datasize" >set SIZE (17) to "SIZE" ARG0 "xmath" ARG1 "SIZE" ARG2 "0x3c + shdrsize + namesize + datasize" READLINE 12 log "" OFFSET SIZE >set (18) to "" >set OFFSET (8) to "OFFSET" >set SIZE (17) to "SIZE" ARG0 "log" ARG1 "" ARG2 "OFFSET" ARG3 "SIZE" READLINE 13 next OFFSET + SIZE >set OFFSET (8) to "OFFSET" >set SIZE (17) to "SIZE" ARG0 "next" ARG1 "OFFSET" ARG2 "+" ARG3 "SIZE" - set output folder C:\....\Test >set quickbms_output_folder (4) to "C:\....\Test" offset filesize filename -------------------------------------- .start_bms start: -1 0 0/0 00000000 0c 1 for OFFSET = 0 - variable "OFFSET" seems uninitialized, I use its name <get OFFSET (8) "OFFSET" <get 0 (9) 0x00000000 >set OFFSET (8) to 0x00000000 .start_bms start: 2 0 0/0 00000000 08 2 goto OFFSET <get OFFSET (8) 0x00000000 <get OFFSET (8) 0x00000000 00000000 03 3 findloc OFFSET string "FSB5" Error: the searched string has not been found - 0 files found in 3 seconds coverage file 0 100% 49301929 49283872 . offset 00000000 After these attempts, I gave up trying to unpack the .bank file and turned to you for help finding a working extraction method! I don't even know if it's possible that the .bank file is encrypted.... Link on Duet Night Abyss .bank audios https://mega.nz/folder/Q5BCBRxA#3BPOa73WDAwhZAG_meX6ig
NoNarluire Posted 22 hours ago Author Posted 22 hours ago 11 minutes ago, Puterboy1 said: Did you try towav? If you mean towav from https://github.com/Grep5268/PerfectDarkZeroAudioTools, I tried to use it but it also didn't work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now