GithubHelp home page GithubHelp logo

sa2-chao-re's Introduction

sa2-chao-re

This repo contains scripts that reverse-engineer parts of the chao code in Sonic Adventure 2: Battle.

Requirements

This project was developed on Linux and uses python3-venv to manage dependencies.

sudo apt install python3-venv
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt

Usage

chao_gen.py

chao_gen.py will search for a chao with given stats and output the rng call that said chao would be generated on.

./chao_gen.py --min-stats 2 1 5 3 2 --rng-iters 200
RNG Calls: 147 Seed: 0x5c58fca5 Method C: Swim 2, Fly 1, Run 5, Power 3, Stam 2, Int 0, Luck 0, Unknown 1

See chao_gen.py --help for a full list of options

chao_animals_solver.py

chao_animals_solver.py will output the minimal number of animal glitches required to get to 99 all from a given starting amount of XP.

This was primarily used for research into the chao fruit method of chao raising.

Command-line arguments have yet to be added, so users have to dive into the code to modify any arguments.

chao_animals_solver.py isn't perfect, as there are some issues with rounding that are unaccounted for.

Precompiled output for chao_animals_solver.py can be found here

sa2-chao-re's People

Contributors

tenzit 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.