citra icon indicating copy to clipboard operation
citra copied to clipboard

Shin Megami Tensei 4: Apocalypse combat texture bug

Open Salijour opened this issue 7 years ago • 21 comments

Tested on 12/5 master build 9a439b9.

Enemy death animations doesn't display properly. Even with everything off.

When the animation happens the console pops up with this:

[ 100.082544] HW.GPU <Critical> video_core\renderer_opengl\gl_shader_gen.cpp:GLShader::AppendSource:58: Unhandled texture type 2

Citra: Citra

Real: Real


Easier to see example: Example

To reproduce error. Go into combat and kill an enemy with an ability other than basic attack or shoot. It will then do a special death animation. Save: 0019a200.zip For testing this bug use the save in slot 2 and run into blue creature to start combat.

Salijour avatar Dec 06 '16 04:12 Salijour

I've fixed some markup for you, please provide a savegame to reach that spot in the game, describe how to reproduce the issue (what to do after loading the savegame?), which version of citra is affected (please test a recent master build and provide the commit id)? does it work with / without cpu jit, shader jit or without hw-rendering?

Add this kind of information to your first post / issue description (Please do the same and fix your markup for your other issue too)

JayFoxRox avatar Dec 06 '16 04:12 JayFoxRox

The same thing happens in SMT 4 too, there seems to be a black texture square around the textures themselves, I think that part was meant to be transparent. The bug is preduced just like in smt 4 apocalypse by using a spell or gun/melee skill to finish off a low health enemy. Here is a screenshot : untitled

untitled1

Orpheus007 avatar Mar 10 '18 11:03 Orpheus007

What does this look like in software renderer with #3516?

wwylele avatar Mar 13 '18 13:03 wwylele

I just tested it on software renderer on the latest Canary Build (not sure if it's the one you are talking about) and I got this:

untitled

Let me know if you want me to test it again on another version, it's the least I could do.

Orpheus007 avatar Mar 13 '18 16:03 Orpheus007

Looks like unrelated to shadow map. I am unlabeling then...

wwylele avatar Mar 13 '18 17:03 wwylele

@NaaleinGrohiik You tested on the wrong version. Latest canary build does not have shadow map PR included. Try this build instead and let us know the result. To me it seems to be unrelated but test it just to be sure.

Dragios avatar Mar 14 '18 01:03 Dragios

Also isn't shadow map in the software renderer only? make sure you turn off the hardware renderer when you get to the spot that you need to test. Edit: oh, my mistake. i missed that you were already testing with swrenderer

jroweboy avatar Mar 14 '18 02:03 jroweboy

I just test it with the build @Dragios provided and made sure to disable hardware renderer and still got the weird black square. Maybe citra is not rendering the transparency part of the texture and instead showing the black part?

untitled

Orpheus007 avatar Mar 14 '18 07:03 Orpheus007

Has this gotten a workaround in the years since it was reported?

Demaar avatar Apr 26 '20 16:04 Demaar

im on nightly 1599 and i still experience this bug, along with various other annoying-but-not-game-breaking stutters

ofsaleem avatar Aug 05 '20 02:08 ofsaleem

I have the same issue on 2 different Windows systems and a MacOS system, across many many different nightlies over the last 2 years or so.

Happy to help debug. Happy to pay a bug bounty.

rlpowell avatar Aug 22 '20 18:08 rlpowell

Been about four years since this was originally reported, but yeah sadly I can confirm it is still an issue as of Nightly 1659 and Canary 1903. Both SMTIV and SMTIV Apocalypse suffer from this issue. It's a relatively minor issue I know, but it would be nice if after all this time it could be looked into.

KrisanThyme avatar Dec 30 '20 19:12 KrisanThyme

It's a bit saddening, but this is still happening in Canary 1977.

https://user-images.githubusercontent.com/4485172/124253791-c5cc9700-dafe-11eb-9e6e-427e8acb3809.mp4

Jorge9811 avatar Jul 02 '21 09:07 Jorge9811

It's still a thing as of me writing this message

megaboyx90 avatar Jul 02 '22 04:07 megaboyx90