Skip to content
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

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

Closed
GranvilleR opened this issue Sep 12, 2016 · 5 comments
Closed
Labels
platform:GBA Game Boy Advance-related issues severity:minor bug Issues that only have a minor impact on the library
Milestone

Comments

@GranvilleR
Copy link

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-

https://www.youtube.com/watch?v=8SVsl0gjaqc
https://www.youtube.com/watch?v=I_dUSXbUO4o

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
Copy link
Member

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 endrift added this to the 0.5.1 milestone Sep 12, 2016
@endrift endrift added the platform:GBA Game Boy Advance-related issues label Sep 12, 2016
@endrift
Copy link
Member

endrift commented Sep 12, 2016

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

@GranvilleR
Copy link
Author

GranvilleR commented Sep 12, 2016

Sure thing-
Rayman 3 - Hoodlum Havoc savegame.zip

Thanks for your hard work.

@endrift
Copy link
Member

endrift commented Sep 15, 2016

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

@endrift endrift added the severity:minor bug Issues that only have a minor impact on the library label Sep 15, 2016
@endrift endrift modified the milestones: 0.5.2, 0.5.1 Sep 27, 2016
@endrift endrift modified the milestones: 0.5.2, 0.6.0 Dec 31, 2016
@endrift
Copy link
Member

endrift commented Apr 21, 2017

oh my god

this game changes the video mode mid-frame

I did NOT know you could do that.

andymcca added a commit to andymcca/gpsp-leap that referenced this issue Jul 27, 2023
Noticed that an issue with Rayman 3 Hoodlum Havoc was reported on one of the gpsp compatability lists.  Cross-checked against mgba and revealed the same issue reported as being present in an earlier version -

mgba-emu/mgba#377

This PR applies the same fix as used in mgba.  Could affect other games also.
davidgfnet pushed a commit to libretro/gpsp that referenced this issue Jul 28, 2023
Noticed that an issue with Rayman 3 Hoodlum Havoc was reported on one of the gpsp compatability lists.  Cross-checked against mgba and revealed the same issue reported as being present in an earlier version -

mgba-emu/mgba#377

This PR applies the same fix as used in mgba.  Could affect other games also.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:GBA Game Boy Advance-related issues severity:minor bug Issues that only have a minor impact on the library
Projects
None yet
Development

No branches or pull requests

2 participants