Coder Social home page Coder Social logo

Comments (3)

rr- avatar rr- commented on July 25, 2024 1

💥 Done! You can either wait for nightly a build that will be compiled in about 7 hours, or grab the file names right now here: https://raw.githubusercontent.com/vn-tools/arc_unpacker/master/etc/noraneko.lst

To use this file, please pass following switches:

--dec=whale/dat --file-names=path/to/noraneko.lst

Note that the version I tested it on had only arc0-2.dat, no arc3.dat.

from arc_unpacker.

rr- avatar rr- commented on July 25, 2024

Looks like the game runs on Whale engine. Archives in this engine store file hashes, rather than names. At the same time, the archives need the file names to decrypt the data. File names are stored in the scripts.

So it works like this:

  1. Game reads root script file by referring to hardcoded path such as init.scr.
  2. init.scr tells the game how to load other scripts.
  3. Some scripts tell the game to load specific files. Say, someone tells the game to load background1.png.
  4. The game hashes background1.png and gets hash 0x12345678.
  5. The game checks if any archive has a file with hash 0x12345678.
  6. A file was found.
  7. The game decrypts the file using text background1.png.

It has worked this way for Tsujidou-san no Jun'ai Road, so I assume it's the same case for this game. Unpacking Tsujidou-san required brute-forcing all possible file names. I'm a little busy with other projects now, but I'll check if I can come up with such list.

Edit: upon closer inspection of the game files, looks like it uses something completely different.
Edit 2: it is Whale after all.

from arc_unpacker.

fro0116 avatar fro0116 commented on July 25, 2024

Thank you so much for taking the time to do this so quickly!

I gave it a try just now and it worked perfectly! =)

I assume the arc3.dat I have is probably from a patch. I was only looking for the assets so there's probably nothing of interest for me in there anyways.

from arc_unpacker.

Related Issues (20)

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.