Street Fighter II' Plus: CE "attract mode"

Orzuum
Posts: 2
Joined: Mon Aug 02, 2021 5:13 pm

Street Fighter II' Plus: CE "attract mode"

Unread post by Orzuum »

This might be a bit of a silly subject, but i've noticed that the attract mode battles (cpu vs. cpu) are much more random on original hardware. I was busy with getting the image right for the 16-bit console cores (tv + mister settings) and was using a few select games to do so. After letting the attract mode for this game run for while, i decided to check the image of a few other cores and then went back to the Genesis core again with this game. When the attract mode started again (after using other cores), i noticed the battles being same to what i saw earlier, or almost completely the same. On original hardware, the battles seem to be much more random, even when the same opponents face each other. So i did a short test on original hardware by letting the attract mode run a battle, turn the console off and let it run another Ryu battle and so on. It really seems to be much more random.

What i'm trying to say is that while on the MiSTer core the game sounds, looks and plays fine, underneath there seems to be something different, or missing. I don't know. I'm very happy with my MiSTer console, but i was curious if anyone noticed the same or something similar.
FoxbatStargazer
Top Contributor
Posts: 994
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 309 times
Been thanked: 228 times

Re: Street Fighter II' Plus: CE "attract mode"

Unread post by FoxbatStargazer »

Genesis doesn't have a realtime clock, right? What would a RNG use for a seed then, especially when there's no player input?
rcade
Posts: 100
Joined: Wed May 27, 2020 7:57 pm
Been thanked: 13 times

Re: Street Fighter II' Plus: CE "attract mode"

Unread post by rcade »

Lots of things... Programmers tend to find hidden tricks to make random numbers.

Reading address locations that return open bus or noise, or RAM that is initialized at power up with semi-random values. Anything...
gamesfan
Posts: 65
Joined: Mon Jun 07, 2021 7:15 pm
Has thanked: 2 times
Been thanked: 10 times

Re: Street Fighter II' Plus: CE "attract mode"

Unread post by gamesfan »

You not the first to report this on cores.
I have seen similar observations on Neogeo core to PCB comparisons where the vloger noted the attractmode changes on powercycles and they needed to reboot the PCB a few times for it to pick the right one.
Also during the CPS2 development by jotego on one of the shootem ups someone noted on a real PCB the bullet patterns were more random and on the mister core they were always the same. (this may have been addressed)

I guess what I'm saying is I have seen these things mentioned before but I'm not sure what the fix would be.
Orzuum
Posts: 2
Joined: Mon Aug 02, 2021 5:13 pm

Re: Street Fighter II' Plus: CE "attract mode"

Unread post by Orzuum »

It's a bit like the cpu vs. cpu option in Fatal Fury on Genesis, seemingly being very random with who wins and how, though i haven't played that version of the game for many years now and don't own an original copy. With SFII' CE, the character being portrayed at that moment usually gets a win, though not in the exact same way, even when facing the same opponent again.
ExCyber
Posts: 217
Joined: Sun May 24, 2020 3:33 pm
Has thanked: 11 times
Been thanked: 66 times

Re: Street Fighter II' Plus: CE "attract mode"

Unread post by ExCyber »

I'm not sure this is the actual cause, but it looks to me like the game uses the H counter from the VDP. As part of the overall game initialization, it reads that register and then advances some RNG-like state that many times. Although the H counter is obviously not a random process per se, I guess the value obtained at the specific time that subroutine runs might be random-ish on original hardware due to analog stuff affecting reset timing.
Post Reply