Project

General

Profile

Emulator Issues #4570

The Simpsons Game - graphics problems

Added by michel.j.jr over 7 years ago. Updated almost 2 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
GFX
% Done:

100%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Hello everybody the only game that I could not play today in the emulator included "The Simpsons The Game" have tested several reviews of the emulator and so far nothing, the game wheel, with many more failures in the chart the best option was to use the copy EFB for "ram"more still has many flaws is still good there a challenge for you who are beasts that.
Thanks and I look!

Dolphin version: Various, currently use the r7589

Operating system and version:
Windows 7 64-bit:

Game ID (or RSNX69 RSNE69): "PAL and NTSC"

Normal ISO and compressed

OBS.: I have 20 games and all of next Radam atinjir exeção of perfection with "The Simpsons The Game" is attached to an image and I translated it on google.

RSNE69-5.png (778 KB) RSNE69-5.png seapancake, 06/29/2016 12:42 PM
5510

Related issues

Has duplicate Emulator - Emulator Issues #4569: The Simpsons the game [Problemas de emulação]!!!Duplicate

Has duplicate Emulator - Emulator Issues #10231: [Short description of your bug here (~10 words)]Duplicate

History

#1 Updated by DimitriPilot3 over 7 years ago

issue 4569 has been merged into this issue.

#2 Updated by wespipes69 over 7 years ago

Ok, I'll go easy here. Your translation, especially in the begining, barely makes any sense. It was unclear if you did any investigation yourself or if you consulted the forums. I checked myself and this looks to still be valid. But you can't keep asking if anyone's tested the game.

I'll delete my comments above and summarize some things to keep in mind around here though:
1) Do post issue once and in english
2) Don't ask every day if someone has a solution, etc.
3) Post images externally
4) Always go to the forums to get help, confirm issues, etc. Then come here stating your settings and how others are experiencing the same thing.

#3 Updated by michel.j.jr over 7 years ago

Ok

#4 Updated by Autoran1 over 6 years ago

The patch i've posted in issue 2098 affects this issue
After some tests i've found that increasing values from that patch fixes this issue comepletely

#5 Updated by michel.j.jr about 6 years ago

Obrigado testarei em breve o seu patch. Obrigado pela atenção!
(Portugues)

Thanks will test your patch soon. Thanks for listening!
(English. Translated into google translator)

#6 Updated by Billiard26 about 6 years ago

  • Issue type set to Bug
  • Category set to gfx

#8 Updated by Autoran1 about 6 years ago

  • Status changed from New to Duplicate

#9 Updated by NeoBrainX about 6 years ago

  • Status changed from Duplicate to Accepted

Please stop merging issues together without actually verifying that the actual code issue is the same. Hackfixing doesn't verify that.

#10 Updated by Autoran1 about 6 years ago

Ok, this one was actually my fault

#11 Updated by NeoBrainX almost 6 years ago

Could anyone provide a 2 frame fifo log of this game?
http://wiki.dolphin-emu.org/index.php?title=FifoPlayer

Does the game require XFB emulation to be enabled? If yes, ignore my previous question :p

#12 Updated by Billiard26 almost 6 years ago

It does not require XFB.
2 frame fifo log: http://ge.tt/4wJR1Qa/v/0?c

#13 Updated by Autoran1 about 4 years ago

A little update for this issue
after tev-fixes new the game looks this way
http://i.minus.com/iX1eHE7BtQCqf.png
and after tev-konst-inputs branch
https://github.com/dolphin-emu/dolphin/commit/d0c497a01f5279971cb3a346c1fbaf6c5d6c678c
game looks completely briken
http://i.minus.com/ibfYee53nYeqgF.png

#14 Updated by magumagu9 about 4 years ago

This game uses a multipass rendering scheme; first, it draws everything assigning arbitrary colors to objects to identify them. Then it draws the actual scene. At the very end, it outlines the objects, using a TEV pipeline which samples the result of the first pass to figure out which pixels should be black.

I'm not completely sure why this doesn't work, but I think the issue has something to do with texture encodings; EFB to RAM and EFB to texture appear to behave differently, which is odd because the game samples the encoded EFB in a straightforward manner, and the games uses some unusual formats to encode the EFB. It's also possible there is some issue with texture sampling.

#15 Updated by magumagu9 about 4 years ago

https://github.com/magumagu/dolphin/compare/simpsons-hack , if someone wants to test... it appears to fix the dff, but I'd like someone to double-check with the actual game.

#16 Updated by Autoran1 about 4 years ago

Thanks, this patch fixes the main issue, Homer and rabbit and other fellas now look correct, but game still sufffers from major z-fighting issues which on world's surface
after tev-konst-inputs branch

#18 Updated by Autoran1 about 4 years ago

But like you said it's only the hack, on the true console black spots on Homer are the places where black toony-line effect dynamicly change itself, it could become thiner or dissapear, your solution makes those lines constant it does look better than the issue, but still not right

#19 Updated by magumagu9 about 4 years ago

The lines become thinner and thicker? Hmm, that makes it a bit more clear what effect the game is trying for.

Can you upload a dff which shows the "z-fighting"? I can't reproduce it with the dff from http://ge.tt/4wJR1Qa/v/0?c . (I don't think it's true z-fighting given how rendering works in this game...)

#20 Updated by Autoran1 about 4 years ago

Here's the dff
http://ge.tt/4MWWmx72/v/0
here's the video (from real hardware) which will more likely describe this line effects(Homer's wrists is the best example)
http://www.youtube.com/watch?v=w_t9EMFM4Jw
and the screen of your branch i've posted before (just to compare)
http://i.minus.com/ipJajECg9aFu3.png

#21 Updated by magumagu9 about 4 years ago

Another hack to try: https://github.com/magumagu/dolphin/compare/simpsons-hack-2 . Please take a screenshot with this; I'm not confident my results from the WARP renderer match AMD/NVidia.

#22 Updated by magumagu9 about 4 years ago

Assuming I haven't made a mistake, the issue with the scenery is simply that we're sampling a texture using the wrong coordinates. The graphical glitches are a few steps removed from the error; the issue occurs during the first rendering pass.

At this point, I'm way beyond my depth; the pixel shader doesn't actually do anything interesting with the texture coordinates except convert them from float to integer; I think that means the issue is a rounding error in texture interpolation.

#23 Updated by NeoBrainX about 4 years ago

magumagu9: Maybe this might be related to https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/VideoCommon/VertexShaderManager.cpp#L372 , i.e. that we somehow end up with slightly incorrect texture coordinates because the vertices are shifted by 1/6 of a pixel?

#24 Updated by Autoran1 about 4 years ago

The second hack fixes the environment issue
still te main issue remains
http://i.minus.com/iZuqH9sBr1sE7.png

#25 Updated by NeoBrainX about 4 years ago

For what it's worth, I just found this in my Dropbox: https://dl.dropboxusercontent.com/u/10060691/2013-11-02_17-21-03_small_shared.jpg

It shows hwfifoplayer running the fifolog posted by Billiard26 above on my Wii. Looks kind of odd, but better than most of the Dolphin-rendered images, I guess :p

#26 Updated by Autoran1 about 4 years ago

Tried the latest revision from here
https://github.com/Tinob/Ishiiruka/commit/48656dae14a8f34e3578dabf994780575b965c28
and it fully fixes the main issue for DX11(flickering environment remains, but alredy fixed in master)
maybe smth out there may be usefull

#28 Updated by Autoran1 about 4 years ago

Oops i guess i've already tried this before, just like i said, it fixes the environment issue, but the main issue still here

#29 Updated by JMC4789 about 4 years ago

The main character stuff should be mostly fixed by using EFB2RAM.

#30 Updated by Autoran1 about 4 years ago

Did i missed smth? but it doesn't fix the main character for me

#31 Updated by Autoran1 over 3 years ago

As isaid before there's the revision in Ishiiruka
https://github.com/Tinob/Ishiiruka/commit/48656dae14a8f34e3578dabf994780575b965c28
that fixes tis issue
the very next revision breaks those canges, i tried to test it and i've found that those changes are in TextureCacheBase.cpp file,
Load, Cleanup and MakeRangeDynamic functions since i'm know nothing adout coding, i can't say more precicely, changes in these functions are connected can't test them separately without breaking the emulation
someone please take a look
and one more thing, i've noticed the fixed issue goes unscaled and EFB to Ram only even on higher IRs, acts like NSMBwii before Partial texture update merging

#32 Updated by endrift over 2 years ago

Can you please reupload the dff and check with latest Dolphin to see which issues are still present? All of your links died.

#33 Updated by seapancake over 2 years ago

5510

#34 Updated by seapancake over 2 years ago

There are also horizontal lines in the introduction screens (Fox Studio for example) however game menus are fine, can anyone advise is these are related or not.

If not I'll post another issue.

#35 Updated by JosJuice almost 2 years ago

Also available in: Atom PDF