Code Monkey home page Code Monkey logo

Comments (4)

Kitrinx avatar Kitrinx commented on September 2, 2024

After some testing, it seems that this game does indeed randomly generate its music, just like the 7800 version. It's seeding its random values based on the state of the ram, which is "undefined" on system power up for the NES. The NES core does not clear RAM by default between games loaded to somewhat emulate that Z-state ram on startup, and this is what you are seeing here. Lot Lot is initialing the part of ram it uses to a fixed value when you load it, then when you switch bad, ballblazer is creating a pretty unappealing but deterministic melody from it :)

NES.zip

To see for yourself, try this build, and use the "ram clear" value under advanced. This isn't really a bug but just amusing original behavior.

from nes_mister.

Thelypody avatar Thelypody commented on September 2, 2024

I see, with your build it does indeed play music cleanly. I assume that these advanced options are going to appear in the future core release or they are just there for debugging purposes? I feel like it is not really possible to achieve the same behavior in real life with a Famicom and two game cartridges to load Ballblazer with Lot Lot's RAM state, so a RAM clear option could be useful in such edge cases.

from nes_mister.

Kitrinx avatar Kitrinx commented on September 2, 2024

they will eventually make their way into the main build, as they are useful for a lot of RNG manipulation type of things that speedrunner types love.

from nes_mister.

Thelypody avatar Thelypody commented on September 2, 2024

Okay, if that's the case then I will close this issue as the culprit and solution are already known. Thank you very much for quick response.

from nes_mister.

Related Issues (20)

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.