Code Monkey home page Code Monkey logo

Comments (6)

Atvaark avatar Atvaark commented on June 21, 2024

What do you mean by 'it still doesn't look right.'?

from vermintidebundletool.

dotbear avatar dotbear commented on June 21, 2024

Sorry, I am very new to unpacking game files. This is what I get when opening it:
image

When I open the file with my texteditor, I get to see the strings, but they are all in a big pile with not order:
image

from vermintidebundletool.

Atvaark avatar Atvaark commented on June 21, 2024

That's because .strings files aren't simple text files. They also contain information about how many strings are in the file and for each string there is an ID (So the game knows which string to load and display).

As you can see the actual text is just separated by NULLs.

I quickly wrote a template to parse the Bitsquid .strings files. All you have to do is to write a script that implements the extraction algorithm.
https://gist.github.com/Atvaark/8e05e265c37377cf555f

from vermintidebundletool.

dotbear avatar dotbear commented on June 21, 2024

Thank you so much! I understand that I'm probably asking really stupid questions, but it means the world that you would take your time to reply :)

I'll check out your script!

EDIT: Alright, so I've got no idea where to go with this script. C++ isn't a language I've touched very much :(
EDIT: I managed to export the strings using a tool I found for the bitsquid engine :)

from vermintidebundletool.

Atvaark avatar Atvaark commented on June 21, 2024

It's not a script to unpack or dump. It is just the instructions to parse the files correctly.

from vermintidebundletool.

dotbear avatar dotbear commented on June 21, 2024

Yes ofcourse, my bad. I can see now what you mean about the file being a table with IDs.
Now my next issue is the .unit files, but I guess I need to get a hold of the Stingray engine for those.

from vermintidebundletool.

Related Issues (2)

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.