Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attemp to fix Kingdom Heart , Valkyrie Profile & Tales Of Phantasia #3767

Merged
merged 1 commit into from
Sep 15, 2013
Merged

Attemp to fix Kingdom Heart , Valkyrie Profile & Tales Of Phantasia #3767

merged 1 commit into from
Sep 15, 2013

Conversation

dbz400
Copy link
Contributor

@dbz400 dbz400 commented Sep 14, 2013

In summay,

  1. Fix the character shadow in Kingdom Heart Shadows in Kingdom Hearts - Birth by Sleep issue (Map appears as shadow) #2094
  2. Fix the logo/title/in-game in Valkyrie Profile Valkyrie Profile initial menu/logo screens not rendering properly #3738
  3. Fix the title/in-game in Tales Of Phantasia Tales of Phantasia X #3635
    screen00080
    screen00081
    screen00082

@dbz400
Copy link
Contributor Author

dbz400 commented Sep 14, 2013

@solarmystic , may need some help from you to test this in your inventory :)

@@ -989,14 +989,14 @@ void TextureCache::SetTextureFramebuffer(TexCacheEntry *entry)
if (useBufferedRendering) {
// For now, let's not bind FBOs that we know are off (invalidHint will be -1.)
// But let's still not use random memory.
if (entry->framebuffer->fbo && entry->invalidHint != -1) {
if (!entry->framebuffer->fbo && entry->invalidHint == -1) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other words you're changing this to an ||, does that mean you're removing the invalidHint check?

-[Unknown]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep , to remove the invalidHint check or would be simply

   if (entry->framebuffer->fbo) {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put it back in a simple way which is to skip the invalidHint check so as to bind to all fbo . This makes Valkyrie Profile show the logo/title screen correctly .

@dbz400
Copy link
Contributor Author

dbz400 commented Sep 14, 2013

When this commit in place , the enlarge framebuffer routine will be fine at the same time for Black Rock Shooter as well as the Kingdom Heart Shadow since the generated drawing size is wrong previously.

@solarmystic
Copy link
Contributor

@raven02

Test results based on your alterations compared to latest master (0.9.1-832):-

capture

Major observations:-

  1. Valkyrie Profile is fixed in all the introductory title screens including the one after selecting New Game.
  2. Every other game in the test suite remains unaffected.either negatively or positively.

screen00049
screen00050
screen00047
screen00048

@raven02 You also mention that the embiggening framebuffer routine won't affect BRS and KH negatively after you apply this commit? Interesting, but one step at a time though, let's get this through first.

@dbz400
Copy link
Contributor Author

dbz400 commented Sep 15, 2013

Yep, agree. I will pull out that enlarge framebuffer one after this gone through ok.

@dbz400
Copy link
Contributor Author

dbz400 commented Sep 15, 2013

Feel free to merge if it is okay .I should be no more add into this commit.

@dbz400
Copy link
Contributor Author

dbz400 commented Sep 15, 2013

Since i just got around the title/in-game issue in Tales Of Phantasia and i don't have anymore addon to the framebuffer stuff , may be just a single go here for one merge .

In summay,

Fix the character shadow in Kingdom Heart
Fix the logo/title/in-game in Valkyrie Profile
Fix the title/in-game in Tales Of Phantasia 

@solarmystic , feel free to test it out for final merge.

@solarmystic
Copy link
Contributor

@raven02

Have you rebased it on the latest master yet? Confirm that, and I will test out this combined commit.

@dbz400
Copy link
Contributor Author

dbz400 commented Sep 15, 2013

I think you can get the changes and apply to master and test it out . I just done the same to test it on tales of phantansia and get the Screenshots above

@solarmystic
Copy link
Contributor

@raven02 @hrydgard

Okay. I did just that. Test results are in:-

capture

Conclusion:-
I'd say it's looking good and ready for merging. Games are fixed (Valkyrie Profile Lenneth's black screens and Kingdom Hearts BBS shadow issues), and others aren't affected negatively. Well done @raven02

@dbz400
Copy link
Contributor Author

dbz400 commented Sep 15, 2013

Thanks a lot . I'm off now. Feel free to merge it

BTW , this also fixes some scenes in Shadow of Destiny as well .

@asbel123
Copy link

i tried it on new version of ppsspp 0.91 926 it still shadow issues of kingdom hearts birth by sleep today i found a bug of cutscene on buffered rendering is flicklring so much there shadow issues same is jpcsp i got it from last year on my computer

@solarmystic
Copy link
Contributor

@asbel123

That's because this pull request hasn't been merged yet. The version you're using (0.9.1-926) does not have the fixes implemented yet.

Have some patience.

@thedax
Copy link
Collaborator

thedax commented Sep 15, 2013

@asbel123: You realize this hasn't been submitted yet, right? Or do you mean you compiled your own build?

hrydgard added a commit that referenced this pull request Sep 15, 2013
Attemp to fix Kingdom Heart , Valkyrie Profile & Tales Of Phantasia
@hrydgard hrydgard merged commit b33f309 into hrydgard:master Sep 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants