Giter Site home page Giter Site logo

kartia's People

Contributors

meerkov avatar

Stargazers

 avatar  avatar

Watchers

 avatar

kartia's Issues

Running the randomizer midway through a game will re-randomize, even for the same seed

  1. Start with seed=1
  2. Play until you collect some chest.
  3. Save on memory card.
  4. Collect 1 more chest and note what it is.
  5. Close your emulator
  6. Load the emulator and load your game from memory card (don't load a save state)
  7. Run the script again, with seed=1
  8. Collect the chest from (4)

Result:
the chest is different, but it should be the same

What's actually going on:
Because there are fewer chests, the RNG is moving the remaining chests randomly. The order of the random numbers is the same, but there are fewer chests than the first time it ran, so the shuffle is different.

Work arounds: If you don't want the chests to shuffle in step (6)...

  1. Don't use memory card saving, use savestates instead.

  2. Submit a patch for the project to fix it.
    The patch needs to call the RNG function the exact same number of times no matter how many chests have been obtained. This probably means something like calling it 10x per level, even if there isn't 10 chests to shuffle. I think that would fix it.

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.