Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Auto decrypt wwise_bank headers #25

Open
nblockbuster opened this issue Mar 2, 2024 · 2 comments
Open

[Feature]: Auto decrypt wwise_bank headers #25

nblockbuster opened this issue Mar 2, 2024 · 2 comments
Labels
triage Extra attention is needed type:feature New feature or request

Comments

@nblockbuster
Copy link

Describe the Feature

Removes the need for people to manually enter a xorpad.bin for tools like wwiser. Bank headers (BKHD chunks) are "encrypted" from 0x8-0x10 with this key: ACBC1192387010A3 that is xor'd with the data in the bank to get the proper info for tools to work on them.
Example: Init.bnk (9ba626afa44a3aa3: content/audio/Init.bnk) Before: 20BC11921B4AD6F3 After: 8C000000233AC650

@nblockbuster nblockbuster added the type:feature New feature or request label Mar 2, 2024
@Xaymar
Copy link
Owner

Xaymar commented Mar 3, 2024

Hrm, this might be difficult with the way it's implemented right now. I map the used files directly into memory, so it's effectively using the most optimal I/O possible. Converting a section might require an in-memory copy of the are that is encrypted.

Not to mention that this might be outside of the scope of reverse engineering for scientific purposes, which is the only legal way for me to publicly develop this.

@Xaymar
Copy link
Owner

Xaymar commented Mar 3, 2024

I think I can add a flag/option to provide a key, but I can't include it directly.

@Xaymar Xaymar added the triage Extra attention is needed label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Extra attention is needed type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants