TASEmulators / desmume

DeSmuME is a Nintendo DS emulator
http://desmume.org
GNU General Public License v2.0
2.92k stars 539 forks source link

New Touch Party Game (E) - Corrupted Main Titles Screen on Both Render #23

Open DarkSwan86 opened 7 years ago

DarkSwan86 commented 7 years ago

On main title screen, the top screen title is corrupted on both renderer.

On OpenGL 3.2, there is a brown rectangle:

opengl

On Softrasterizer the title is cut in half and stretched: softrast

--- ROM INFO --- ROM game code: AWQP ROM serial: NTR-AWQP-EUR ROM chipID: 00000FC2 ROM internal name: TPARTY ROM developer: Unknown

--- PC INFO ---

CPU: Intel i5-4670K GPU: AMD Radeon 7950 Driver version: Crimson ReLive Edition 16.12.2 (December 2016) OS: Windows 7 x64

zeromus commented 7 years ago

Details pasted from SF

OK, here's the scoop. This game seems to be achieving the raster FX on the logo by rendering the 72px tall logo with 72 polys, one for each line. This brings out a typhoon of sub-pixel precision issues which can vary between opengl devices, and cause some lines to get distorted or vanished seemingly randomly. This is not going to get fixed any time soon, it will need to be a test case for future work on major precision improvements in the softrasterizer. Also note that it might possibly never work in HD due to it being unclear how 1px details drawn possibly with <1px line heights should be scaled.

DarkSwan86 commented 6 years ago

On git d5b62d3 this bug is "almost" fixed on OpenGL 3.2:

almostfix

The title appear faintly but only if the MSAA option is enabled. On softrasterizer is still broken as original report.

DarkSwan86 commented 5 years ago

Now the OpenGL version is fixed :D ! But with the softrast the problem remain. So... half victory :)

Tested with 44ac04d.

zeromus commented 5 years ago

If this ever works on the opengl renderer, it's by accident and may stop working again on another day. It could be fixed permanently for softrasterizer.. and will eventually.