Rayman 3 Hoodlum Havoc - Misalignment on some scaled/rotated surfaces #377

GranvilleR opened this Issue Sep 12, 2016 · 5 comments


None yet
2 participants

In the GBA version of Rayman 3 Hoodlum Havoc, there are four levels that use the GBA's rotation and scaling effects on a background layer. It produces that classic fake flat "3D" look many racers and RPG's of the 16 bit era had (particularly mode7 on SNES).

On mGBA, the floor surfaces in these levels are visually misaligned with the actual track layout. You'll constantly hit invisible obstacles and fly off the track because the graphics don't match the collision. Jumping also causes the floor to jerk and shift violently.

I'll attach several savestates taken at the entrances to the affected levels (press up on the dpad to enter the levels). They're taken from the US version of the game. And here are examples of what the levels are supposed to look like without the glitch-


Rayman 3 Savestates.zip

Incidentally, I haven't tested Rayman Raving Rabbids on mGBA yet but the game shares a lot in common with Rayman 3 GBA (same visuals and gameplay, I suspect the same engine, it's basically Rayman 3 GBA's sequel). It also shares the same kind of "mode7" levels and I wonder if they are also broken..

In case this info is necessary, this issue is present on both the 0.4.1 stable built as well as the 0.5-3929-d8c773b Nightly, both downloaded off the official mGBA site. The glitch is present across all devices i've tested on. My PC has Windows 10 64 bit, an Intel Core i5 4670k and an EVGA 1060. The newest mGBA core running via Retroarch Android also exhibits the same issue.


endrift commented Sep 12, 2016

Confirmed on master. The game calculates the position of the scanlines itself, so something must be being emulated wrong inside the game, not just the graphics.

endrift added this to the 0.5.1 milestone Sep 12, 2016

endrift added the GBA label Sep 12, 2016


endrift commented Sep 12, 2016

Can you please provide a savegame in addition to the savestates?

GranvilleR commented Sep 12, 2016 edited

Sure thing-
Rayman 3 - Hoodlum Havoc savegame.zip

Thanks for your hard work.


endrift commented Sep 15, 2016

This doesn't seem to be a BIOS bug, as it affects HLE and LLE BIOS.

endrift added the minor bug label Sep 15, 2016

@endrift endrift modified the milestone: 0.5.2, 0.5.1 Sep 27, 2016

@endrift endrift modified the milestone: 0.5.2, 0.6.0 Dec 31, 2016


endrift commented Apr 21, 2017

oh my god

this game changes the video mode mid-frame

I did NOT know you could do that.

endrift closed this in a159e37 Apr 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment