ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Feb 16, 2019 5:48 pm

All times are UTC




Post new topic  Reply to topic  [ 25 posts ]  Go to page 1 2 Next
Author Message
 Post subject: Score hero .bnk .xbnk
PostPosted: Thu Aug 09, 2018 7:50 pm 

Joined: Wed Jun 20, 2018 7:57 pm
Posts: 21
Hello guys
I'm here just because to ask you all to help me to extract some audio from score hero .bnk fil.

As I noticed the first 4 bit of the file in hex editor it shows that it is a .xbnk archive used to store audio data of thw game and the audios are in .ogg format
Thanks to aluigi for script but the script extract only .dat not .ogg
So I'll be glad to hear frome you.

This is the link of sample crowd.bnk

https://www.mediafire.com/download/2rcfpdgpdd69jxa

And this Is the script from aluigi

https://www.mediafire.com/download/bi844szkdjk48k8


Top
   
PostPosted: Fri Aug 10, 2018 12:04 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9764
The script has a comment saying:
Quote:
# ogg files with an useless header containing samplerates, channels, bits and so on

The crowd.bnk file you upload has that 20 bytes header too BUT it's not an ogg file, that one is PCM audio so I guess it's necessary to read the header and then build the RIFF header to put in the extracted file.

I don't remember where I got the bnk file with the ogg files (probably they were music I suppose) so I can't compare the 2 headers.

So basically the script is correct for ogg files but needs some tuning for other archives.
Feel free to upload a bnk file containing ogg files.


Top
   
PostPosted: Fri Aug 10, 2018 7:08 am 

Joined: Wed Jun 20, 2018 7:57 pm
Posts: 21
aluigi wrote:
The script has a comment saying:
Quote:
# ogg files with an useless header containing samplerates, channels, bits and so on

The crowd.bnk file you upload has that 20 bytes header too BUT it's not an ogg file, that one is PCM audio so I guess it's necessary to read the header and then build the RIFF header to put in the extracted file.

I don't remember where I got the bnk file with the ogg files (probably they were music I suppose) so I can't compare the 2 headers.

So basically the script is correct for ogg files but needs some tuning for other archives.
Feel free to upload a bnk file containing ogg files.



Yeah for ogg it work perfectly but for this file that I upload crowd.bnk it work too but only extract .dat.
What I'm saying is , can you update s.hero script.bms to extract the playable audio from crowd.bnk?
I'll be glad.


Top
   
PostPosted: Fri Aug 10, 2018 7:11 am 

Joined: Wed Jun 20, 2018 7:57 pm
Posts: 21
I mean how to get playable audio from crowd.bnk?

https://www.mediafire.com/download/2rcfpdgpdd69jxa

Can anyone write a script or at least update this script https://www.mediafire.com/download/bi844szkdjk48k8 to work with crowd.bnk


Top
   
PostPosted: Fri Aug 10, 2018 7:23 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9764
I asked you to upload a bnk containing ogg files while the links you posted are the same of the first post.
Waiting the sample file


Top
   
PostPosted: Fri Aug 10, 2018 7:35 am 

Joined: Wed Jun 20, 2018 7:57 pm
Posts: 21
aluigi wrote:
I asked you to upload a bnk containing ogg files while the links you posted are the same of the first post.
Waiting the sample file



Here is the link

https://mega.nz/#!eTYCBISZ!Xcv8XOevNQAg ... ODm_3rBtD8

It contain more than 2000 ogg file


Top
   
PostPosted: Fri Aug 10, 2018 10:36 am 

Joined: Wed Jun 20, 2018 7:57 pm
Posts: 21
Mr Aluigi
I hope you received the commentary.bnk


Top
   
PostPosted: Fri Aug 10, 2018 1:01 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9764
Script updated: http://aluigi.org/bms/score_hero_bnk.bms


Top
   
PostPosted: Fri Aug 10, 2018 1:51 pm 

Joined: Wed Jun 20, 2018 7:57 pm
Posts: 21
aluigi wrote:



The script work fine with crowd.bnk

I attached crowd.bnk just because it was small in size.
Actually what I need is the comment.bnk which is 40mb in size but the script didn't work with it.
I'm uploading right now and I'll attache the link just look at it and check for problem

Both file crowd.bnk and comment.bnk are from same game and I don't know why the script work only with crowd.bnk not comment.bnk.

I really need the audio from comment .bnk which link is this

https://mega.nz/#!yCoGFarR!AkasObdwr9nc ... B7ysknlEpg


Top
   
PostPosted: Sat Aug 11, 2018 12:58 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9764
It's the msadpcm codec.
Currently I don't know what specific data it wants to copy in the final wav file, probably some coefficient or similar or maybe it doesn't want some bytes, therefore I will update the script once your or someone else will provide such technical information.
Please do NOT bump/post if there are no updates.


Top
   
PostPosted: Sat Aug 11, 2018 1:10 am 

Joined: Wed Jun 20, 2018 7:57 pm
Posts: 21
aluigi wrote:
It's the msadpcm codec.
Currently I don't know what specific data it wants to copy in the final wav file, probably some coefficient or similar or maybe it doesn't want some bytes, therefore I will update the script once your or someone else will provide such technical information.
Please do NOT bump/post if there are no updates.


OK I'll wait till you update the script.

I really need it


Top
   
PostPosted: Sat Aug 11, 2018 1:16 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9764
Without that technical information you are probably going to wait forever. I just tell you.


Top
   
PostPosted: Sat Aug 11, 2018 2:32 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9764
Script 0.2.1


Top
   
PostPosted: Mon Feb 04, 2019 3:37 am 

Joined: Mon Feb 04, 2019 3:34 am
Posts: 7
aluigi wrote:
Script 0.2.1

Hi,thank you for script.
I need a script to repack wave files to .bnk file
Can you help me please?


Top
   
PostPosted: Mon Feb 04, 2019 5:00 am 

Joined: Mon Feb 04, 2019 3:34 am
Posts: 7
aluigi wrote:
Script 0.2.1

Iam trayning with reimpot and get this error

signature of 4 bytes at offset 0x00000000 doesn't match the one
expected by the script

this one RIFF
52 49 46 46 RIFF

expected XBNK
58 42 4e 4b XBNK

0 files reimported in 0 seconds
coverage file 0 0% 4 17437 . offset 00000004
open input file CUsersIranDesktopquickbmsNew folderNew folder2595.wav

error in srcfile.c line 463 fdnum_open()
rror Permission denied


help me please,thanks a lot


Top
   
 Post subject: reimport .bnk file
PostPosted: Mon Feb 04, 2019 11:57 am 

Joined: Mon Feb 04, 2019 3:34 am
Posts: 7
hi,this script works fine for import wav files frome .bnk file
http://aluigi.org/bms/score_hero_bnk.bms


but not work for reimport wav files to bnk file and get this error

signature of 4 bytes at offset 0x00000000 doesn't match the one
expected by the script

this one RIFF
52 49 46 46 RIFF

expected XBNK
58 42 4e 4b XBNK

0 files reimported in 0 seconds
coverage file 0 0% 4 17437 . offset 00000004

can anyone help me to reimport wav files to .bnk?i realy need this please write a script for reimport


Top
   
PostPosted: Mon Feb 04, 2019 12:43 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9764
I guess you are using the reimport method in the wrong way.
Read section 3 of http://aluigi.org/papers/quickbms.txt


Top
   
PostPosted: Mon Feb 04, 2019 2:52 pm 

Joined: Mon Feb 04, 2019 3:34 am
Posts: 7
aluigi wrote:
I guess you are using the reimport method in the wrong way.
Read section 3 of http://aluigi.org/papers/quickbms.txt

i try again and get this error
(all wav files and .bnk file are in the folder but error)

- 0 files reimported in 2 seconds
- 5222 files or logs left original, not available in the folder
coverage file 0 0% 167116 57985167 . offset 00007a70
coverage file -1 0% 0 90 . offset 0000005a

can you help me?


Top
   
PostPosted: Tue Feb 05, 2019 1:22 pm 

Joined: Mon Feb 04, 2019 3:34 am
Posts: 7
aluigi wrote:
I guess you are using the reimport method in the wrong way.
Read section 3 of http://aluigi.org/papers/quickbms.txt

I really need your answer help me please


Top
   
PostPosted: Wed Feb 06, 2019 2:26 pm 

Joined: Fri Feb 01, 2019 5:27 am
Posts: 2
I have the same problem! Please help aluigi!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 25 posts ]  Go to page 1 2 Next

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited