Page 1 of 1

[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.