Page 1 of 2

[WORKAROUND] srally2, NVRAM and corrupted graphic

PostPosted: Mon Dec 24, 2018 4:53 am
by addamm
Playing srally2 after it creates its NVRAM file, always leads to corrupted graphics.
See screenshot:
Image


Steps to reproduce:
    1_ open srally2.zip with non-existent srally2.nv
    2_ emulation begins
    3_ wait until cars appear in the intro video
    4_ insert coins
    5_ play
    6_ close emulator's window with "X" or by pressing ESC on the keyboard
    7_ open srally2.zip (this time srally.nv has been just created)
    8_ emulation start directly to gametype selection (intro video is skipped)
    9_ corrupted graphics

Emulation works good only if started without its srally2.nv

Re: srally2, NVRAM and corrupted graphic

PostPosted: Mon Dec 24, 2018 10:01 am
by Bart
The underlying cause of this has never been investigated. Clearly, the game is skipping some initialization step when it detects unused coins. One of many things I would love to investigate given unlimited time but probably never will. Anyone willing to slog through PowerPC assembly language and familiar with C++ is welcome to ping me for suggestions of how to proceed investigating this issue ;)

The game will boot with an NVRAM file, I think. Just make sure there are no unused credits. Try inserting only one coin, playing a game, then exiting.

Re: [WORKAROUND] srally2, NVRAM and corrupted graphic

PostPosted: Mon Dec 24, 2018 11:36 am
by addamm
inserting only one coin, playing a game, then exiting.


It works, thanks Bart! 8-)

Re: [WORKAROUND] srally2, NVRAM and corrupted graphic

PostPosted: Tue Dec 25, 2018 7:45 am
by Ian
I had a quick look at this
the data is filled with zeros for the viewport, ie no data
Could be an actual game bug, as apposed to an emulation bug.

Re: [WORKAROUND] srally2, NVRAM and corrupted graphic

PostPosted: Sun Jun 14, 2020 6:53 am
by zuppa_di_pesce
Same problem here. Has it been resolved?

Re: [WORKAROUND] srally2, NVRAM and corrupted graphic

PostPosted: Tue Jun 23, 2020 9:07 am
by MrThunderwing
zuppa_di_pesce wrote:Same problem here. Has it been resolved?


Maybe you should re-read the thread...

Re: [WORKAROUND] srally2, NVRAM and corrupted graphic

PostPosted: Wed Jun 24, 2020 3:55 am
by zuppa_di_pesce
MrThunderwing wrote:
zuppa_di_pesce wrote:Same problem here. Has it been resolved?


Maybe you should re-read the thread...

Ian wrote:I had a quick look at this
the data is filled with zeros for the viewport, ie no data
Could be an actual game bug, as apposed to an emulation bug.


Sorry! :oops:

Re: [WORKAROUND] srally2, NVRAM and corrupted graphic

PostPosted: Thu Jun 25, 2020 3:31 am
by MrThunderwing
Ha, no, as in I meant Bart had posted a solution already. Only use one credit at a time, don't exit the game with credits in the system. Also, don't credit up before the attract mode starts.

addamm wrote:
inserting only one coin, playing a game, then exiting.


It works, thanks Bart! 8-)

Re: [WORKAROUND] srally2, NVRAM and corrupted graphic

PostPosted: Sun Aug 09, 2020 3:51 am
by zuppa_di_pesce
addamm wrote:
inserting only one coin, playing a game, then exiting.


It works, thanks Bart! 8-)

Another workaround is to configure coins as FREE PLAY inside TEST menu. 8-)

Re: [WORKAROUND] srally2, NVRAM and corrupted graphic

PostPosted: Wed Mar 24, 2021 2:42 pm
by francko76
which other game has this NV problem?

Star Wars, Sega Rally, and...? :?