Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shinobi III - Return of the Ninja Master (Genesis): Samurai boss (Kagura) strange issue. #164

Open
Kaisersigmax3 opened this issue Jun 27, 2021 · 2 comments

Comments

@Kaisersigmax3
Copy link

Kaisersigmax3 commented Jun 27, 2021

While fighting the boss, there are six doors in the room. He normally keeps blinking at two doors at the same time, then chooses to appear at one of them.
The strange issue consists of the aforementioned boss blinking at two doors at the same time, but, choosing to appear at a completelly different door out of the two normally possible.
What could be causing it? This is definitelly bad behaviour.
By the way, aaaaaaaaaaawesome work!!!
I dont't know if your aware of this problem, but the goal of this post is to minimally help this little marvel get even better.

@Kaisersigmax3
Copy link
Author

Kaisersigmax3 commented Jun 28, 2021

Ok. I tried turning OFF RUNAHEAD, and then the issue stopped happening!
The issue also happens with Genesis Plus GX and the proposed solution is also valid.
I came to the conclusion too that the Master System games Master of Darkness and Taz Mania are incompatible with runahead too, because it introduces certain glitches that render the games unplayable.
So this is the third game (all three under Picodrive/Genesis Plus GX) where runahead is detrimental, causing odd behaviors in the playability department. The "Number of frames to run ahead" was set to 1.
I have a theory: We have two instances of the same code being run in paralell, but the Samurai boss fight (Kagura) is randomized, especially, in both instances. So, in one instance the boss appears at one given door, while in the other instance the program "decides" the same boss will appear at a different door. In this case, we may have a conflict happening, so that the final and definitive frame will cause an abrupt, abnormal and unexplainable change of door right before our eyes.
It seems runahead doesn't like randomized events .
Could it be the case?

@Kaisersigmax3 Kaisersigmax3 changed the title Shinobi III - Return of the Ninja Master (Genesis): Samurai boss strange issue. Shinobi III - Return of the Ninja Master (Genesis): Samurai boss (Kagura) strange issue. Jun 28, 2021
@irixxxx
Copy link
Collaborator

irixxxx commented Feb 11, 2022

I improved saving/loading states. You might have a look if this is still the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants