Giter Site home page Giter Site logo

eternal_zunder's Introduction

Eternal Zunder: Zelda Classic 1.92 - 2.50 Quest Deprotector

Requires Python3.x

This was a project that took me about a week's time to complete. This script can decrypt, decompress, and remove the password from any Zelda Classic quest from v 1.92 to 2.50. It may work with higher versions, but the ZC maintainers may have changed the encryption or added keys since this script was written.

Additonally, this script was written in 2015 when I was still a very VERY novice programmer, so it is very VERY full of stylistic muck. I just don't care enough or have enough time to spend cleaning it up and making it pretty. I spent a little time tweaking but it was mostly slight speedups and making the GUI work better on most operating systems


I started to experiment with deprotecting save files so they can be edited just for shits and giggles, but I just didn't care enough to finish it. The code is in place to decrypt them and uncompress them, but not to recompress and re-encrypt them. If you feed the program a .sav file it'll properly decrypt and decompress it, but if you want to actually modify them and save them back, then someone's gonna need to write a routine to re-compress and re-encrypt them.


Older quests can't be deprotected for two reasons:

1: The algorithm the quests are compressed with is different than the newer ones and I don't want to spend any more time on this trying to figure it out. It looks like it's still LZSS, but the flag byte's value makes no sense and I'm not going to try and figure it out.

2: More importantly, the older quests have a different file structure, and as such the password hash(or it might just be a plaintext password) are not going to be in the same spot. Even if I could replace it, I don't think that .qsu files existed at that point. Because of that, if I were to deprotect the quest I'd have to recompress and re-encrypt it; I'm not writing code for that.

eternal_zunder's People

Contributors

mosesofegypt avatar

Watchers

 avatar

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.