Giter VIP home page Giter VIP logo

Comments (4)

Deltharis avatar Deltharis commented on July 27, 2024

Ah, it looks like I require there to be "fileToValidate" section in the json config, or else it fails like this. I'll get around to fixing it, and in the meantime as a workaround you can just try "validating" again the file you're patching (or any file you're sure to have like Skyrim.esm). Or possibly just an empty map would work (I didn't test this):

"filesToValidate": {},

from binarydiffwrapper.

Guekka avatar Guekka commented on July 27, 2024

Thanks, "filesToValidate": {}, worked perfectly.
By the way, could this tool be used for other files, like meshes or BSA ?
Edit : I tested it on a txt file, and it worked. If it could work for any files, that would be awesome.

from binarydiffwrapper.

Deltharis avatar Deltharis commented on July 27, 2024

"could be used" - sure, it doesn't care about the type of the file, it just compares ones and zeroes of the files and creates a file that can be used to transform one into the other.

Whether it makes sense though, that's a different question. I'm not sure what the use case could be if the diff file comes out a comparable size to the original. And the bigger .diff file is higher the chance that it contains some copyrighted content within (depends on bsdiff implementation details).

Overall, I'd expect it to work great for text files, ok for meshes (depends if and how they are compressed), and not too well for BSA (which is a compressed archive, which can mean that small change produces wildly different ones and zeroes)

from binarydiffwrapper.

Guekka avatar Guekka commented on July 27, 2024

I also did the test for a BSA, and it seemed to work. Thanks for this fantastic tool.

from binarydiffwrapper.

Related Issues (1)

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.