Code Monkey home page Code Monkey logo

sly-string-toolkit's Introduction

Hi, I'm Zac. ๐Ÿ‘‹๐Ÿป

I'm a Computer Science student at UMASS Boston. I make websites, games, tools, and more. If you have any questions, suggestions, or feedback, please reach out to me!


Banner image with the Zacbox logo and text "Zacbox; websites by Zac".

Check out my web dev portfolio at zacbox.app.


sly-string-toolkit's People

Contributors

theonlyzac avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

niv-l-a

sly-string-toolkit's Issues

Large pnaches cause crashes due to patches overwriting game data

If the strings or the assembly code being patched in is too long, it will lead to unusual behavior or game crashes.

Planned solution

  • Add an additional assembly function that performs a sanity check to ensure there are enough null bytes to write all the strings/machine code bytes.
  • Add a conditional to the final pnach that only writes the bytes if the sanity check passed.

Custom string offsets in csv aren't properly converted to pnach codes

The script uses whatever you put as the custom offset for a string as the first part of the pnach line that writes it, so if you put an address like 3C8800, it writes

patch=1,EE,3C8800,extended,XXXXXXXX

instead of

patch=1,EE,203C8800,extended,XXXXXXXX`

Temporary fix is to include the 20 at the start of the offset until the pnach generation is updated to properly prefix the 2 code before the offset.

Pnach compatibility checker should account for conditional statements

Two pnaches can be compatibly if they both write to the same address, but both writes are quantified by conditional checks that are mutually exclusive. The check_pnach_compay.py script ignores the conditional checks and only looks at the 32-bit writes in the pnach, so it will sometimes report that two pnaches are incompatible when in reality they are.

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.