Commit Graph

193 Commits

Author SHA1 Message Date
icup321
33c3a22be5
Add Rayman Legends resolution pack (#443) 2020-05-24 12:42:55 -07:00
Crementif
3f87a42f4f
[Bayonetta 2] Fix aspect ratio patch to not break Vulkan
Fixes https://github.com/slashiee/cemu_graphic_packs/issues/437

The aspect ratio mod apparently relied more on a shotgun approach, which caused major issues with Vulkan.
Using @getdls addresses, I found out that 2 of the addresses that were being patched to jump to the code cave were unrelated to the aspect ratio, so I had those removed.

Those random jumps probably didn't cause issues because they would jump to code that would just utilize floating point registers that were in-use and then put the result in the wrong register too. While the picked registers would work with the 3D rendering aspect ratio instruction, it wouldn't fail for the other registers since they weren't specific to those.

Anyway, the proper fix was to just make a second code cave for the aspect ratio, which outputted the culling ratio in the proper register. And also make sure it didn't use in-use registers.

I also reverted some of the shader code changes since they are inconsistent with how we've done them for all the other packs. And made them more compatible with the ultrawide resolutions.
2020-05-24 18:11:09 +02:00
M&M
0b0cd6fe92
[Fast Racing Neo] Fix pack not working 2020-05-12 20:47:29 -07:00
lily2016
324f7eef53
[Fatal Frame] Add chinese fan-translation support to resolution pack
Thanks for @lilystudent2016 for making the pull request and informing us about the existence of these versions!
2020-05-09 15:36:36 +02:00
Crementif
4dc96a162c
[HW] Fix another resolution pack bug
It looked like <https://cdn.discordapp.com/attachments/342091935277645824/708307577599033414/unknown.png>, while it should look like <https://cdn.discordapp.com/attachments/342091935277645824/708307309897449542/unknown.png>. Reported by MelonSpeedruns.
2020-05-08 15:32:59 +02:00
Crementif
85fc675436
[HW] Fix resolution pack issues and Character Swap
Character Swap would crash the game due to some change in Cemu 1.15.8 apparently (no real clue why although it's probably the hex values being weird). Reported by Revan.

Hyrule Warriors resolution pack has a pretty big blending bug in the menus for a bit too. Upscaling compressed formats never goes well. Reported by MelonSpeedruns.
2020-05-08 14:27:01 +02:00
Crementif
e2255adfbf
[Fast Racing Neo] Add preliminary ultrawide support
Did work on some ultrawide HUD stuff too, but patching doesn't really seem to be the answer here.
2020-05-04 21:32:50 +02:00
panyuhang93
f428e5c21e
Update rules.txt (#433) 2020-04-27 04:34:39 -07:00
getdls
49719345a7 Bayonetta 2- Ultrawide, DOF, scale gl_point
Cutscene DOF is LOD based, should not have been scaled.
2020-04-23 21:45:28 +02:00
M&M
00fe3ab40c Add shader edits to M&S Rio 2016
Fixes bloom, spotlight bloom, depth of field and downscaling anti-aliasing
2020-03-27 18:02:56 -07:00
M&M
5b22649155 Fix MH3U game width
It was set to 1280x720 while the game is 1920x1080
2020-03-27 18:02:14 -07:00
Michele
c9ed98f151 Fix copy-paste error with BotW resolution pack 2020-01-21 19:25:04 -08:00
getdls
920a2e461c [Filter][MK8] Deband
Add missing  8 rounding leaderboard.
2020-01-21 23:08:13 +01:00
Michele
38e98abbf2 Update Tokyo Mirage to v4
Couldn't verify vertex shader 3259d3b3ca333bf3, but the rest came out okay. Do note that Vulkan still has issues with this game.
2020-01-20 13:47:02 -08:00
getdls
f78a92e5c2 Text fixes 2020-01-19 19:12:10 +01:00
getdls
7b59abbfa6 [MK8] Scale point light offset 2020-01-19 18:59:01 +01:00
Crementif
bca55a1bc4
Add 5k and 8k resolutions back
Solves https://github.com/slashiee/cemu_graphic_packs/issues/422

Was requested over at the Cemu discord too after we took them away while we sanitized them, and there isn't really an issue with having these. Let's just keep those presets sanitized now.

Also found out that some random workaround had appeared in our resolutions folder 🤔.
2020-01-19 02:40:11 +01:00
Michele
ef6df32395 add more resolutions to BotW
1360x768 and 1366x768 will be added in due time
2020-01-18 12:07:53 -08:00
Crementif
f81f8299e1
Update Lego Star Wars packs to v4
Even though the game isn't playable with Vulkan, let's just have everything converted for tidiness sake.
2020-01-18 20:02:21 +01:00
Crementif
6c14f4aff1
Update TPHD and Devils Third to v4
Both were fully verified, so no issues should be present. This basically means that every game that runs properly (Star Wars doesn't go in-game, Tokyo Mirage is also very buggy and the upscaling filters don't work with cemu yet) before V5 will have graphic packs at least.
2020-01-18 18:11:34 +01:00
getdls
7e5e0bc248 [MK8] Scaling and res fixes
Scale 4p bloom, textboxes, cup win, in engine AA, Mk tv replays, 19->1f
conversion
2020-01-18 13:51:11 +01:00
Michele
3dec5854f0
Move TPHD image to imgur 2020-01-17 20:58:59 -08:00
Michele
48827ad1d5 Redirect TPHD jpg to Discord, ignore jpg images
Save file size on uploads
2020-01-17 20:55:49 -08:00
Crementif
f3d35c75dc Convert a lot of graphic packs to V4 (#417)
Didn't update the docs (will do that tomorrow), but I manually checked (didn't verify things, but I basically checked if it contained "uf_windowSpaceToClipSpaceTransform" and if the shader was made after a certain Cemu change was made due to how they're left out) to see if any graphic pack in here was *probably* safe.

I also didn't convert 5 graphic packs since they contained signs that needed to be manually checked or at least examined more:
- \Enhancements\TwilightPrincessHD_Bicubic
- \Resolutions\DevilsThird_Resolution
- \Resolutions\TwilightPrincessHD_Resolution (this one just needs to be fully verified since it's popular enough and has like 27 shaders)
- \Resolutions\LegoStarWars_Resolution
- \Resolutions\TokyoMirage_Resolution (this one could also be manually verified)

I hope I didn't make too many mistakes with this one.
2020-01-17 20:31:42 -08:00
getdls
6025de5334 [MK8] scale some blurs, fix old issues, format conversion
Scales menu box blur
Usual format conversion 0x01a -> 0x01f  816->820
Fix minor issues /3, const etc
2020-01-17 00:38:17 +01:00
getdls
feee4f3f8c [MK8] Scale replay DOF
Pretty sure this was fixed pre 1.4 :/
2020-01-16 00:58:38 +01:00
getdls
f4566dfac8 [MK8] Add highlights, 8k 2020-01-13 01:52:22 +01:00
getdls
1f340499e0 [Kirby] AA removal, 8k res 2020-01-12 23:49:33 +01:00
getdls
55cfe064d0 [Kirby] workaround flashing squares
Fix flashing squares / alpha when repeatedly bashing into walls.
2020-01-12 22:38:52 +01:00
getdls
3094bc0198 [Kirby] Level screen and minor fixes 2020-01-12 22:30:05 +01:00
getdls
feb37c730b [Bayo2] Fix load screen
.. and particles
2020-01-12 21:36:58 +01:00
Michele
104e32cfde add some BotW crediting
Should go through shader edits on version 2 to credit those...
2020-01-10 17:12:03 -08:00
Michele
4398ebcebe Add credits and normalize resolution presets
I searched through quite a bit of commits to properly credit some packs. Some of the credits are based off memory. Please let me know if I incorrectly credited or forgot to credit somebody.
2020-01-10 17:06:51 -08:00
Xalphenos
876a1d1222
Add preliminary ultrawide patches for YWW. 2020-01-09 05:15:12 -06:00
Michele
736e6cf876 Reduce max size for Shadow packs
8x was overkill, and 4x is a tad unstable especially with 1.16.1 with texture allocation issues. Current pack settings will be reset back to 100% size due to preset naming changes.
2020-01-08 15:06:10 -08:00
Crementif
66383aa0f5
[XCX] Fix squashed character in menus with resolution pack
Basically, the code previously would always replace the ratio calculation code for the 3d rendering and just load the upscaled width divided by the upscaled height. But the code gets passed other aspect ratios too, for example in the gear menu (and very likely other menus too).
So, even when users didn't use an ultrawide aspect ratio it would set the aspect ratio of anything that was 3d rendered to be 16:9, basically.

Comparison:
http://www.framecompare.com/image-compare/screenshotcomparison/D6WDWNNX
https://cdn.discordapp.com/attachments/292733452590120961/663586520531337223/unknown.png

I made some assumptions about the other game versions regarding the floating point register that I use to load the scale float into, which is free to use in the EU 1.0.1 version at least.
I assume that the code for all of this is would be very similar though, since the previous ratio patch only had some addresses change across versions so it's probably fine.

This actually properly fixes https://github.com/slashiee/cemu_graphic_packs/issues/334 which was closed without any proper solution. Someone reported the issue in the Cemu Discord which made me fix it, since I thought the issue was addressed already.
2020-01-06 05:58:20 +01:00
Crementif
5bbdf0ffc6
[MK8] Fix player selection not being upscaled
Fixes https://github.com/slashiee/cemu_graphic_packs/issues/415
2020-01-05 19:37:58 +01:00
Crementif
3d492aa656
[BotW] Fixes for updated Vulkan graphic packs
Should fix the native anti-aliasing preset most importantly, but since I ported all of the packs now the script "watermark" is at least a proper sentence, heh.

Also, I fixed the porting scripts. Basically, there were a bug in the verification script that wouldn't check if the uf_* variables matched and the conversion script also had a fun bug where it wasn't automatically fixing an incorrect order of the uf_* variables. So that basically made both of them slip through. Both are now fixed however.

Don't know if it's needed to check the previously ported graphic packs to see if the error affected those, but it might not hurt.
2020-01-05 04:16:42 +01:00
Michele
d9c8905e1d Update Captain Toad packs to Vulkan
No unverified shaders.
2020-01-03 19:21:20 -08:00
Crementif
bf7821ac77
[SM3DW] Add proper scaling of ambient occlusion 2020-01-04 02:31:19 +01:00
Michele
68534a6588 Update Super Mario 3D World packs to Vulkan
3 unverified shaders, although one of them already had the Vulkan stuff in them. Can't find where the other two are.

280351fcf8e5949f_0000000000000000_vs
6d9067fd20086bc0_0000000000000000_vs
2020-01-03 16:20:01 -08:00
Michele
3518768ff6 Update Splatoon packs for Vulkan
No unverified shaders.
2020-01-01 12:19:19 -08:00
Michele
9bc2df3fff Fix non-integer resolutions for certain packs 2020-01-01 12:03:05 -08:00
Michele
4bfe35cd13 [Splatoon] Fix lower resolutions 2020-01-01 11:50:33 -08:00
Michele
ef7ef17f4d Rename Need for Speed folder 2020-01-01 11:43:39 -08:00
Crementif
65d4511fa9
Update Mario Kart 8 packs for Vulkan
No unverified shaders. Should all just work ™️
2020-01-01 20:40:08 +01:00
Crementif
24b9b1eb29
Update XCX packs for Vulkan (#413)
Xenoblade Chronicles X packs are now ported too! Which has, after BotW, the most shaders I think made by all of the efforts from getdls. All shaders were successfully verified and tested in-game (from what I could tell).
2020-01-01 20:10:18 +01:00
Michele
a90afc12d2 update SLW resolution pack to v4 2020-01-01 10:47:11 -08:00
getdls
f339ad50c1 [TLoZ-TP] Fix (attack) pillarbox
Clean up aborted attempt at making  a radial blur fx when attacking.
2019-12-31 12:29:57 +01:00
Crementif
549758507f Update BotW packs for Vulkan (#411)
But now done properly! Basically, a bunch of improvements were made to the script. The previous attempt at this conversion was quickly followed by a rollback since I realized that the script was overlooking certain things that made most of the packs hit or miss whether they would work. A few things missing were:
- It only tested the values from 1 preset. Now, each shader gets compiled per each preset, like what Cemu would do. It also merges the changes done for each preset into one. This should solve cases where one shader would define things separately or repeatedly from preset to preset. 
- All* of the shaders are tested to see if they use the converter used the right values for the locations for Vulkan.

Both of these *should* mean that they should both compile and be linkable in Vulkan, which means that I don't have to test each individual shader to see if they work. I will release the two scripts (one used for converting, one used for checking the right values for the locations) tomorrow so that other people might be able to help, if they want. It's fairly straightforward now at least.

* Organize workaround graphic packs

Pretty hard to organize these correctly, but according to our discord discussion, this was the best layout from a bunch I proposed, together with some suggestions.

* Add V4 converter script and instructions on how to use it

Now everyone BotW is done and all of the bugs have been kinked out using it (hopefully...), here's the release of the converter script in all of it's very badly coded glory. I hope I didn't leave too much debug glory in there...

Also, I hope that I didn't make too many grammatical mistakes in the instructions, but hopefully it's easy enough to follow.
2019-12-27 20:55:52 -08:00