ares icon indicating copy to clipboard operation
ares copied to clipboard

[N64] Resident Evil 2 has slowdown in certain camera angles.

Open SilentHeII opened this issue 2 years ago • 3 comments

Describe the issue During the second screen of the game, the game slows down. A video of the bug can be seen here. Ignore my friend talking about MegaMan. https://streamable.com/zetolq

file: Resident Evil 2 (USA) (Rev A).z64
sha256: 71F3F779613BF1F0E2050BFA600425385D2C257A647D2E40F63BE1A7986E9AAC

SilentHeII avatar Sep 04 '22 02:09 SilentHeII

Accurate emulation... try disabling the "Expansion Pak".

https://youtu.be/n17SDFZSu_o?t=16m10s

Chris Fodor: Hi there. I worked on RE2 N64. In fact, I wrote the code that deals with the expansion pack. :) The resolution change you're seeing is entirely intentional and based on the number of enemies in the room. This allows a consistent framerate under the idea when you're fighting you aren't paying that much attention to the graphics and the extra resolution would hamper framerate with enemies active, but when you're cruising around a cleared area you're probably looking more closely at your character and the game elements and with no enemies to draw it's possible to up the res. There are a range of resolutions based on exact number/type of enemy. Also, the menus must have the standard resolution to maintain size so that's why they jump back every time you enter them. Of course a capture card wasn't on the radar at that time so no issues there. A lot of great info in your video here!

Source: https://www.youtube.com/watch?v=n17SDFZSu_o&lc=UgwN03pDfIFEPN_OPxd4AaABAg

Jj0YzL5nvJ avatar Sep 05 '22 00:09 Jj0YzL5nvJ

Accurate emulation... try disabling the "Expansion Pak".

https://youtu.be/n17SDFZSu_o?t=16m10s

Chris Fodor: Hi there. I worked on RE2 N64. In fact, I wrote the code that deals with the expansion pack. :) The resolution change you're seeing is entirely intentional and based on the number of enemies in the room. This allows a consistent framerate under the idea when you're fighting you aren't paying that much attention to the graphics and the extra resolution would hamper framerate with enemies active, but when you're cruising around a cleared area you're probably looking more closely at your character and the game elements and with no enemies to draw it's possible to up the res. There are a range of resolutions based on exact number/type of enemy. Also, the menus must have the standard resolution to maintain size so that's why they jump back every time you enter them. Of course a capture card wasn't on the radar at that time so no issues there. A lot of great info in your video here!

Source: https://www.youtube.com/watch?v=n17SDFZSu_o&lc=UgwN03pDfIFEPN_OPxd4AaABAg

I'm not so sure; resolution changes are one thing and indeed accurate, but the frame rate drops are an incredible amount when compared to any real hardware footage I have seen.

LukeUsher avatar Sep 05 '22 08:09 LukeUsher

Where is the option to disable the expansion back? Anyway, the bug does not occur in Simple64 with expansion and I certainly don't remember it occurring back when I played it on real hardware.

SilentHeII avatar Sep 05 '22 16:09 SilentHeII