Coder Social home page Coder Social logo

Unpack the bnk files about cdtb HOT 4 CLOSED

communitydragon avatar communitydragon commented on August 12, 2024
Unpack the bnk files

from cdtb.

Comments (4)

benoitryder avatar benoitryder commented on August 12, 2024

The bnk files only contain the sound files.
The events that trigger the voices are in the bin files. There is one bin file per skin, which contains the skin-specific voices (if any). I didn't checked if regular skins used default bin files as fallback.

The bin files are available on raw, converted to json. But you can also convert them using cdtb if you want. (The non-json export contains a bit more information, especially the types.)

For instance, for Star Guardian Jinx (Jinx' skin number 4), the bin file is:
https://raw.communitydragon.org/latest/game/data/characters/jinx/skins/skin4.bin.json
In the skinAudioProperties > bankUnits data you have sound informations and a list of events (e.g. Play_vo_JinxSkin04_KillChampion3DLulu).
Later in the file there is a mSituations field with a lot of entries and "rules" with mRuleName matching the event name (e.g. KillChampion3DLulu). Each rule contains a list of conditions for triggering the voice.
The format is not documented nor completely known. Some values have not been reversed and you only have their hash, but it's better thant nothing. You should be able to extract useful information by analyzing those bine files.

from cdtb.

modty avatar modty commented on August 12, 2024

I'm greatly appreciated your explain , now , at least I know where to find the list of conditions for triggering the voice.it is a perfect development for me.but I still hava a question. After unpacking the voice files,just like

assets\sounds\wwise2016\vo\zh_cn\characters\aatrox\skins\base\aatrox_base_vo_audio.wpk

I got lots of voices .

628589.wav----
1809104.wav----我并不想与你为敌,我是想与世界为敌
9489240.wav----祈祷吧,蠢货,你面对的是暗裔

and I spend months on translating them to Chinese.So I want to know which voice is connected to event names.
I know a youtuber names SkinSpotlights ,it is just like his vedios.

from cdtb.

benoitryder avatar benoitryder commented on August 12, 2024

Maybe the sounds are announced in the bin file in the same order as in the wpk file.
I'm not sure and I really don't know anything about bnk content. But you should be able to correlate event names to actual sounds.

from cdtb.

modty avatar modty commented on August 12, 2024

Thanks,maybe i need to find out in other ways

from cdtb.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.