Commit Graph

154 Commits

Author SHA1 Message Date
Crementif
c1b904314d
Revert "Update every graphic pack to V4"
This reverts commit 306da0b802.
2019-11-29 05:20:11 +01:00
Crementif
306da0b802
Update every graphic pack to V4
Since it's not possible to update 300+ shaders manually and automation was possible, I thought that I'd take the honor and create a script that's able to automatically convert all of the shaders to be cross-compatible with Vulkan. And change the graphic pack versions to version 4 of course.

Also, the script has some nifty testing code which compiled every shader as OpenGL and Vulkan, but for that see the details that I've written below.

**Here's the script that I've made to do all of this. No manual edits were needed:**
https://gist.github.com/Crementif/8d98a855b95f219d95298fb3db99deae
2019-11-29 04:36:05 +01:00
Crementif
0ab933a267
Port SMM's Border Fix and XCX's Anti-Aliasing pack to v4
Both had some weird stuff going on which the Vulkan converter couldn't successfully compile. Also, the presets in the anti-aliasing might be nice, but they are not even used in the shader 🤔.
2019-11-29 01:14:13 +01:00
Crementif
077f4f8f27
Fix shader errors and shader cleanup
Since I wanted to make sure that I didn't broke the shaders after converting the shaders to Vulkan, we need to check if all the shaders weren't broken. Since we're talking about like 400 shaders checking all of them is pretty much impossible and even then, 

So, the obvious solution was to automate the checking. Not as simple as you'd think, because in 300 of our shaders we use preset variables which without replacing the value like Cemu does, will make the shader error regardless. So I also implemented some functionality that would read the preset values and types out of the rules.txt file and replace them in the shaders using that information. And then we use Khronos' glslang to compile the shaders, using both OpenGL and Vulkan.

The result was that glslang found quite a few errors in some of the shaders, which I fixed in this commit. I'm considering adding this rules.txt parsing and automated shader compilation testing to the build process.

Also, I fixed Clarity's name and description since Monochromia isn't available anymore and Xenoblade's resolution pack had a lot of weird blank lines before their #version declaration, which my converter didn't like.
2019-11-29 00:51:00 +01:00
Crementif
f48cb6aa76
[BotW] Add Survival of the Wild clarity presets
Made by Silentverge, GameBanana link can be found here https://gamebanana.com/gamefiles/9921
2019-11-24 21:52:25 +01:00
Michael
48e248971e Update all non-shader graphic packs to version 4
They don't need shader fixes for Vulkan so it should be safe updating the number
2019-11-16 23:56:07 -08:00
Exzap
63a51ab720 Update some graphic packs to version 4
Clarity got updated, plus a bunch of graphic packs that don't use shaders.
2019-11-16 04:54:26 +01:00
Crementif
0e9ef0bf4a
[BotW] Add more (descriptive) presets for LOD bias pack
Resolves https://github.com/slashiee/cemu_graphic_packs/pull/400 since this is a self-made addition since I noticed several other things that I'd like to have been tweaked, plus it wasn't symmetrical and had weird names for the added presets.
2019-11-12 18:58:56 +01:00
Crementif
6da9a34a59
[TPHD] Fix error
Thanks for reporting this issue, Vulkan lead dev.
2019-10-23 21:14:48 +02:00
getdls
e1f57dd123 [TPHD] Fx fix menu bg
Remove 08 conversion
2019-09-03 23:07:26 +02:00
Crementif
68463c344d
[Hyrule Warriors] Add new preset to Contrasty
Preset was made by MelonSpeedruns
2019-09-02 21:54:48 +02:00
getdls
dd54d2e51f [TPHD] Further format conversion fixes
Reverts everything except main viewports. Seems most below 480
eventually gets used and breaks objects later in game. 1280x720 1 -> 5
stable so far.. But keeping an eye on that one.
2019-09-02 21:19:58 +02:00
Crementif
ab91e0c188
[Hyrule Warriors] Fix minor stuff 2019-08-31 19:22:26 +02:00
Crementif
634dc14d1d
[Hyrule Warriors] Fix spelling errors in variables 2019-08-31 19:19:23 +02:00
getdls
e4c4efc8dc [TPHD] 10k 21:9, remove some 0007 conversion
64x64 broke plant drool
2019-08-31 02:43:59 +02:00
getdls
107f58da1a [TPHD] 0x007 to 0x00f conversion 2019-08-31 01:52:33 +02:00
getdls
d630597c19 [TPHD] Remove expermintal stuff..
Mixed private and public... Should fix all of the cloud banding.
2019-08-27 20:39:31 +02:00
getdls
cba5441cd8 [TPHD] Fancy FX 8k option
Eyeballed nr of passes to aproximate same blur feel as native res. Old
approach, from res,  really started to break down around 5k.
2019-08-27 20:24:57 +02:00
NAVras-Z
f9066de98d [Filters] Use textureSize() instead
As of Cemu 1.15.12b, the textureSrcResolution (textureSrc_Resolution not texture_SrcResolution) uniform used by internal/external resize shaders still gives the native resolution of the game even when a resolution gfx pack is active.
We can just ask for texture resolution ourselves in the shaders as a workaround.
2019-08-20 08:07:57 +08:00
getdls
3b5bbc519d [TPHD] move filter to enhancements for local changes
As this is a per-game override, not global it makes more sense to stick
it in enhancements.
2019-08-17 02:35:04 +02:00
getdls
fd8096f862 [TPHD] actually commit the files 2019-08-17 02:25:53 +02:00
getdls
661ba94aca [TPHD] Add bicubic (sharpen) filter
Add  : bicubic (sharpen) filter.  @NAVras-Z Thnx
Fix : LOD description makes sense for regular users.
2019-08-17 02:23:26 +02:00
getdls
c58d2f707c [TPHD] Negative texture LOD
-1 looks good at 4k+
2019-08-16 21:21:03 +02:00
getdls
63851b6e4b [TPHD] Add additional (blur) pass option for 4k+ res 2019-08-14 00:29:06 +02:00
getdls
91f6779539 [TMS] Pan n scan video for 21:9, 16:10
Cuts top n bottom  so video will fill whole screen for 21:9, while
keeping aspect
2019-08-11 19:52:41 +02:00
Crementif
50a397c02f [BotW] Group GPU workarounds to tidy stuff up
(Partially) solves https://github.com/slashiee/cemu_graphic_packs/issues/375 (tidying them makes a lot of sense). We can't change the order of the graphic packs (without a lot of work on our end), if you want to see this happen you should file a feature request on Cemu's bug tracker: http://bugs.cemu.info
2019-06-13 17:58:41 +02:00
M&M
68cf5205d7
Make NES undarken more accurate
I can't check easily
2019-06-11 00:54:19 -07:00
Zalnor
8be9ab3a66 Added NES/N64 Undarken Packs, and added more SNES Title IDs to Resolution Pack (#379)
* Update rules.txt

* Add files via upload

* Update d2a97b2fb99411a5_0000000000000079_ps.txt

* Update d2a97b2fb99411a5_0000000000000079_ps.txt

* Add files via upload

* Update and rename 2802e519ac163806_0000000000000079_ps.txt to 1494f789ce9ac901_000000000000000f_ps.txt

* Delete d2a97b2fb99411a5_0000000000000079_ps.txt

* Delete rules.txt

* Delete rules.txt

* Add files via upload
2019-06-10 14:43:55 -07:00
Michael
e2e271b73e Move GBA undarken to a separate pack 2019-06-09 20:19:17 -07:00
Crementif
7d0e88d469
Fix file difference caused by a Github Website commit
Blame 42d24c4c0d
2019-06-06 15:20:02 +02:00
CellHunter
42d24c4c0d
Calrity EDIT
One more time
2019-06-06 02:18:42 -05:00
Michael
6db65fccc1 BotW no AO pack
For stuff like the RT shader so you're not adding AO onto AO. Can cause graphic bugs.
2019-06-01 20:23:01 -07:00
Crementif
504c0c1e04 [Skylanders Imaginators] Fix gamepad and shadows, add shadow res pack
This resolves some issues that the pack previously had
2019-05-30 18:52:03 +02:00
Crementif
b34c078e60 [WWHD] Add EU and JAP title id's to resolution pack
Fixes https://github.com/slashiee/cemu_graphic_packs/issues/368
2019-05-27 16:37:03 +02:00
Crementif
b95bd222d2
[Bayonetta 2] Add portal workaround pack
Also removed the version indicator in Windwaker's contrasty file since any updates to that number would remove all the configuration set by the user for that pack.
2019-05-26 17:12:48 +02:00
Crementif
c152f7a8bb
[BotW] Bugfix for Clarity 2019-04-27 07:54:26 +02:00
Crementif
24785ee0e7
[BotW] Fix Clarity pack bug found by charmics
Should fix a greenish tone that would appear if you turn up the curves contrast too high.
2019-04-26 21:12:09 +02:00
Michael
477f71cf86 Revert "Improve performance with (almost) every game"
This reverts commit 2f5488c22e.
2019-04-01 19:54:41 -07:00
Michael
2f5488c22e Improve performance with (almost) every game 2019-03-31 22:45:26 -07:00
Crementif
e0fa6b5a3b Fix whitespace difference caused by Github's online editor 2019-03-24 14:46:43 +01:00
Crementif
f05c8408f3 [MK8] Add more multiplayer resolutions
Fixes https://github.com/slashiee/cemu_graphic_packs/issues/344 and https://github.com/slashiee/cemu_graphic_packs/issues/343
2019-03-21 16:15:44 +01:00
Crementif
0c9d64c0f0
[BotW] Add workaround this Cemu localization issue
Wasn't done properly enough ™️ , just kidding :p
2019-03-15 22:35:27 +01:00
Skal Fate
41c38f5568
Changed Categories for CelShade Pack and Distant Fog (#341)
* Changed Category For Cel-Shade & Distant Fog
2019-03-13 12:34:57 -06:00
Skal Fate
1a160d351d
Botw Cel-Shading Removal Pack and Distant Fog Removal Pack Uploaded (#340)
* Botw Cel-Shading Removal Pack Uploaded

* Botw Distant Fog Removal Pack Uploaded
2019-03-12 23:03:48 -06:00
getdls
6aaf69d97d [WWHD] Add Positive LOD option for ocean mipmap fade. 2019-02-25 23:55:04 +01:00
getdls
2c4628b71f [WWHD] Negative relative LOD bias 2019-02-25 23:15:56 +01:00
getdls
85d267b88d [WWHD] - Fix flashing horizon and AO workaround 2019-02-24 03:15:03 +01:00
getdls
0ee511522f [TPHD] Scale all GUI elements, + format conversion 2019-02-05 01:06:27 +01:00
getdls
4c750e4898 [TPHD] Truncated contrast presets -avatar-icon.png 2019-01-31 20:43:35 +01:00
getdls
906206fe53 Revert "[TPHD] Truncated contrast presets"
This reverts commit d4116ba63d.
2019-01-31 20:41:31 +01:00