Coder Social home page Coder Social logo

Comments (6)

abheekda1 avatar abheekda1 commented on June 11, 2024

Quick update on this:

I found a few exceptions where this definition doesn't quite work. I wrote down the exceptions in my own script here:

if (file->name().find("music_") != std::string::npos ||
    file->name().find("vo_") != std::string::npos ||
    file->name().find("qu_") != std::string::npos ||
    file->name().find("mutations_") != std::string::npos) {
  continue;
}

from bnkextr.

eXpl0it3r avatar eXpl0it3r commented on June 11, 2024

It's mostly that I gave up toying with Kaitai Script because I was going back to the 010 Templates, which I already had more information figured out and found it easier to specify things. Unfortunately, I don't remember where exactly I stopped.

I'd happy merge any improvements you make 🙂

from bnkextr.

abheekda1 avatar abheekda1 commented on June 11, 2024

No problem! I'll take a look and give it my best shot. I wonder if it has anything to do with the size of the offsets vary between long and long long depending on the version.

from bnkextr.

abheekda1 avatar abheekda1 commented on June 11, 2024

Actually it seems that instead of DIDX section, music and some other bnk types have an HIRC section? Not sure why.

from bnkextr.

abheekda1 avatar abheekda1 commented on June 11, 2024

Alright, so I've been working on this for a while and I've written a spec from the ground up with more header type support, if you'd like to add or link it in this repository, you can find it here.

from bnkextr.

eXpl0it3r avatar eXpl0it3r commented on June 11, 2024

Done: 61e6cad

Thanks for mentioning it here 🙂

from bnkextr.

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.