libretro / mupen64plus-libretro-nx

Improved mupen64plus libretro core reimplementation
GNU General Public License v2.0
237 stars 115 forks source link

[GLideN64 RDP] "Native res. 2D texrects" (enableNativeResTexrects) is broken #453

Open bslenul opened 2 years ago

bslenul commented 2 years ago

As the title says, "Native res. 2D texrects" doesn't work properly with the core, here are a few games with the option automatically enabled from "GLideN64.custom.ini" and their comparison with Mupen64Plus and Poject64 (using GLideN64 plugin of course):

Game Mupen64Plus-Next standalones
40 Winks image image
Goemon's Great Adventure image image
Kirby 64 - The Crystal Shards image Kirby 64 - The Crystal Shards (USA)-220920-162505 image GLideN64_Kirby64_001
Mario Kart 64 image image
San Francisco Rush - Extreme Racing image image

Tested on Windows 10 and a Linux Mint VM. As a workaround, enabling "Less accurate blending mode" seems to get rid of most of these issues (outlines on Kirby 64 are still visible tho).

I tried to bisect but looks like it's been acting like this for a while? I compiled a random commit from 2020 and it's already broken.

m4xw commented 2 years ago

Yea its a old issue. I think it was a gliden regression with smth

m4xw commented 2 years ago

https://github.com/gonetz/GLideN64/issues/2506

bslenul commented 2 years ago

Hm idk, it doesn't look like the issues I'm having. Also the random commit I compiled when I wanted to bisect was from October 2020 (3a9be278d69c37cacadddb366bc843bb70a18057) and the glitches were already happening, so way before that regression mentioned in the issue you linked.

m4xw commented 2 years ago

I think it happened shortly after native res factor was added

AngelSora commented 1 year ago

So, I found that the only way to fix this bug is to put "Texture Enhancement" as "As Is"

bslenul commented 1 year ago

So, I found that the only way to fix this bug is to put "Texture Enhancement" as "As Is"

It introduces new issues tho (click pics to enlarge, barely noticeable otherwise):

SFR the UI is messed up 40 Winks you can see the separation between tiles/textures/whatever it's called
image image
MK64 horizontal lines on title screen you can see the separation between tiles in the portraits (easier to notice on Mario and Bowser)
image image
Goemon again you can see the separation between tiles in the background Kirby no changes
image image

So yeah... :p And I mentioned the issue on a N64 Discord few months ago but no one seemed to know what's causing this, so my hopes for a fix are pretty low atm 😓

ToniBC commented 1 year ago

To refresh the topic a bit, the bugs are still present, let's see if they give it a review and update the core and plugin.

ToniBC commented 1 year ago

Another problem that is observed is that when activating this option, a blue outline is created in the menus that is not present in the Standalone version.

Mario Kart 64 (USA)-231124-223130