Score hero .bnk .xbnk
-
- Posts: 56
- Joined: Wed Jun 20, 2018 7:57 pm
Score hero .bnk .xbnk
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.
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.
Last edited by rkthelegend on Tue May 21, 2019 3:59 pm, edited 1 time in total.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Score hero .bnk .xbnk
The script has a comment saying:
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.
# 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.
-
- Posts: 56
- Joined: Wed Jun 20, 2018 7:57 pm
Re: Score hero .bnk .xbnk
aluigi wrote:The script has a comment saying:# 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.
-
- Posts: 56
- Joined: Wed Jun 20, 2018 7:57 pm
Re: Score hero .bnk .xbnk
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
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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Score hero .bnk .xbnk
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
Waiting the sample file
-
- Posts: 56
- Joined: Wed Jun 20, 2018 7:57 pm
Re: Score hero .bnk .xbnk
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
-
- Posts: 56
- Joined: Wed Jun 20, 2018 7:57 pm
Re: Score hero .bnk .xbnk
Mr Aluigi
I hope you received the commentary.bnk
I hope you received the commentary.bnk
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Score hero .bnk .xbnk
Script updated: http://aluigi.org/bms/score_hero_bnk.bms
-
- Posts: 56
- Joined: Wed Jun 20, 2018 7:57 pm
Re: Score hero .bnk .xbnk
aluigi wrote:Script updated: http://aluigi.org/bms/score_hero_bnk.bms
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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Score hero .bnk .xbnk
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.
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.
-
- Posts: 56
- Joined: Wed Jun 20, 2018 7:57 pm
Re: Score hero .bnk .xbnk
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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Score hero .bnk .xbnk
Without that technical information you are probably going to wait forever. I just tell you.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Score hero .bnk .xbnk
Script 0.2.1
-
- Posts: 13
- Joined: Mon Feb 04, 2019 3:34 am
Re: Score hero .bnk .xbnk
Test
Last edited by msepehri on Sat May 04, 2019 3:42 am, edited 1 time in total.
-
- Posts: 13
- Joined: Mon Feb 04, 2019 3:34 am
Re: Score hero .bnk .xbnk
Test
Last edited by msepehri on Sat May 04, 2019 3:42 am, edited 1 time in total.
-
- Posts: 13
- Joined: Mon Feb 04, 2019 3:34 am
reimport .bnk file
The st
Last edited by msepehri on Sat May 04, 2019 3:43 am, edited 1 time in total.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Score hero .bnk .xbnk
I guess you are using the reimport method in the wrong way.
Read section 3 of http://aluigi.org/papers/quickbms.txt
Read section 3 of http://aluigi.org/papers/quickbms.txt
-
- Posts: 13
- Joined: Mon Feb 04, 2019 3:34 am
Re: Score hero .bnk .xbnk
Test
Last edited by msepehri on Sat May 04, 2019 3:44 am, edited 1 time in total.
-
- Posts: 13
- Joined: Mon Feb 04, 2019 3:34 am
Re: Score hero .bnk .xbnk
Test
Last edited by msepehri on Sat May 04, 2019 3:45 am, edited 1 time in total.
-
- Posts: 9
- Joined: Fri Feb 01, 2019 5:27 am
Re: Score hero .bnk .xbnk
I have the same problem! Please help aluigi!