gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
773 stars 180 forks source link

Sim City 64 - Too much stuttering / HLE City Rendering Issue #1200

Closed LuigiBlood closed 5 years ago

LuigiBlood commented 7 years ago

Basically this game stutters on the main menu, and especially in the city. To the point that angrylion is actually faster than GLideN64 when it's about rendering the city, which is quite ridiculous.

The city also has a few rendering errors.

Took the latest master build.

LegendOfDragoon commented 7 years ago

HLE or LLE?

AmbientMalice commented 7 years ago

I can confirm this. Both HLE and LLE. I'm pretty sure it's a regression because I tested the game many months ago and it seemed fine. Interestingly, the game runs full speed when you open any sort of menu. Maybe some sort of texture cache issue?

LuigiBlood commented 7 years ago

It never seemed that GLideN64 on LLE was really viable to me so I didn't try it. I always use HLE with GLideN64.

LuigiBlood commented 7 years ago

Basically a checkup: Still happens on 2.0 release.

LuigiBlood commented 7 years ago

I do not know what really happened but Sim City 64 seems to be faster now. Not fullspeed but definitely more playable on d8ac5a7 WIP build.

With a city in Beginner Mode (first mode), I reach 30 VI/s. It seems to be rendered correctly as well. Zoomed on the city a little bit you get around 50-60 VI/s.

LuigiBlood commented 5 years ago

City is not rendered correctly at all on latest WIP build in HLE mode. image

LLE mode is all right.

LuigiBlood commented 5 years ago

I just noticed what's wrong: every single 3D object is rendered at the middle of the screen. Might be a transform issue perhaps? I think just fixing this would make it much more playable.

olivieryuyu commented 5 years ago

@gonetz

this game uses this special matrix command D5 (as Pokemon Snap). May be a lead...

olivieryuyu commented 5 years ago

@gonetz

Can you have a look a this one? Seems HLE.

gonetz commented 5 years ago

Please make me a savestate to check. I don't know how to control that game.

olivieryuyu commented 5 years ago

Sim City 64 (J) [CART HACK].pj.zip

Please note that it is the 64dd version of the game which can be found here 64DD.org.

gonetz commented 5 years ago

I can't load 64dd version - it always crashes with "unknown memory action".

LuigiBlood commented 5 years ago

Make sure 8MB RAM is selected? You may want the updated RDB.

olivieryuyu commented 5 years ago

you need to use the PJ64 version of the website.

weinerschnitzel commented 5 years ago

I'm seeing the usual bilinear filtering issues for the faces in some message boxes at higher resolutions, but the game otherwise looks really good. Setting CounterFactor/CountPerOp to 1 will mess with the timing for cars but can play at 60 fps.

I think all the issues here are resolved.

gonetz commented 5 years ago

Fixed. Please test with latest WIP build from #1574

LuigiBlood commented 5 years ago

This is fixed and playing just fine in 60 FPS.