Skip to content

Implementation of Super Mario Bros #99

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

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

RadzPrower
Copy link

Implementation of Super Mario Bros.

Includes support for the following ROM versions:

  • (World)
  • (Japan, USA)
  • (E)

Has the following 4 types of quests:

  • Score - Collect 100,000 points
  • Worlds - Complete one of Bowser's Castles
  • Streak - Complete five consecutive levels without dying (warps not included)
  • Damageless - Complete a level without dying or taking damage

@RadzPrower RadzPrower changed the title Super mario bros Implementation of Super Mario Bros Nov 9, 2023
@CalDrac
Copy link
Collaborator

CalDrac commented Nov 10, 2023

Hi, I cloned your branch, i encountered some bugs

BizHawk 2.9.1, NesHawk, Super Mario Bros (Japan, USA) rom

image

@RadzPrower
Copy link
Author

What specifically had you done when it happened? I tried to account for a max score increase to prevent RAM manipulation, but that value must've been too low.

@CalDrac
Copy link
Collaborator

CalDrac commented Nov 10, 2023

I just played he game, score wasn't increasing and streak / damageless went up without me doing anything

@RadzPrower
Copy link
Author

RadzPrower commented Nov 10, 2023

I'll have to check tomorrow, but it's odd that the level related things were incrementing on their own and the score was spamming that message. I put in some code to try and prevent that sort of message spam when the value was too high.

Had you advanced beyond the title screen before connecting perhaps?

@RadzPrower
Copy link
Author

I have no idea what happened with yours last night. I've been messing with it this morning (with a (Japan, USA) version and I cannot replicate the message spam. I tried starting the HintMachine in the middle of a game and while it did trigger the anti-cheat and the score was no longer tracked, there was no message spam.

I also played through almost half the game vanilla and collected on the score quest 2-3 times, 3 worlds, a couple of streaks, and many damageless without any issues.

It's starting to look like an issue with finding the correct RAM in the emulator perhaps? That might explain the message spam since I did allow for the cheater flag to be reset if the score were to reset to zero (died or game reset), so if the score is being set back to zero at a regular interval (a timer for instance) it would reset that flag and then allow for the message spam.

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

Successfully merging this pull request may close these issues.

2 participants