-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Attempt to go back to the earliest logic of finding a matching framebuffer #4399
Conversation
Won't this break shadows in Kingdom Hearts again? -[Unknown] |
^ Oh please no! XD |
No, has been tested with KH already , shadow is working fine |
Maybe a stupid question but does this helps #2947? |
@raven02 @unknownbrackets @hrydgard Test report for your perusal: Major Observations:
Conclusion: This commit seems pretty safe, at least for the games on my list and it does not break KH BBS either. |
@solarmystic , thanks for testing . |
I have nothing to add .Feel free to merge it . |
Did you check the shadows outside the Shinra HQ in FFVII:CC ? I remember those breaking and getting fixed repeatedly... |
This original code should work because it will only recognize framebuffers as the same if they are bigger or equal to what we're drawing, otherwise it will recreate. Just not sure if the old framebuffer will go away properly but I think the framebuffer expiration cleanup mechanism will take care of it. |
Attempt to go back to the earliest logic of finding a matching framebuffer
Seems like the size is being detected wrong now in the Tales of Phantasia X credits. -[Unknown] |
Heh, I knew something would break again :/ Solarmystic, do you have TOPX so you can add it to your test rotation? |
Unfortunately I do not have TOPX. :( Also, with regards to the FFVII:CC shadows outside the Shinra building, I distinctly recall that it was getting repeatedly broken and fixed again due to the continuous changes to the "scissors" graphical code back then. It wasn't due to the size of the framebuffers, and the last time it got broken was when you fixed the transparency issues with the Persona games (1 and 2). |
I own the TOPX and i will check it out the credit . |
@unknownbrackets , do you mean this one ? or others |
That is Narikiri Dungeon X's. ToPX is part of the same package, you can get to it by selecting the bottom right icon on the title screen. On normal 2D maps (not the world map) the issue occurs from time to time too. The missing text on the second shot is a seperate issue, related to frameskipping. |
A fast way to trigger the credits: Get a save outside of the first town, reset the emulator, start ToPX (but don't load anything yet), go to 0x089B43B7 in the memory viewer, and overwrite "s_t01" with "debug". Then load the save and enter town. Then talk to this guy and select the third option: http://puu.sh/59t3s/db4c98291c.jpg |
If i savestate and reload it , it is rendering fine .Hummm |
If you load a savestate it will create framebuffers differently, especially because of this pull's logic changes. -[Unknown] |
Humm this one seems to make all happy ... may need more testing though
|
Looks like at the very beginning , we're trying to test out the new logic of matching framebuffer to fix some games .I tried to go back to the very original logic to see if it still works right now . Surprisingly , it fixes few framebuffer sizing issues in games (Wildarm XF, Midnight club 3 etc) and also good for Kingdom heart that we may concern .
All those problem games with framebuffer sizing previously also tested and worked okay .May be @solarmystic can help quick test as well .
Fixes Wilarm XF
![screen00020](https://camo.githubusercontent.com/8268d0b8d6a6ec096f43ccac205d8a97dd542c99b00192add4aeaacc743f2bad/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333030303238322f313435383233302f30363931353862302d343335612d313165332d383665662d3638373037353336633035372e6a7067)
Fixes Midnight Club 3
![screen00022](https://camo.githubusercontent.com/26fea4ce2d8235967d4beda20b1091aac239e8068d458e45e8cc456f2b68f3a8/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333030303238322f313435383233312f30393933356265652d343335612d313165332d383332362d3661666165346631326466302e6a7067)
Kingdom Heart still good with shadow and map
![screen00021](https://camo.githubusercontent.com/6035e7996e31c9d0433d7bb399b6a346d709c0efc11f54cd1bb846b46cccfab5/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333030303238322f313435383233322f30663139393266652d343335612d313165332d396261312d6435353636643862353161372e6a7067)