Commit Graph

66 Commits

Author SHA1 Message Date
Michele
6d017cbb42 Add credit to workaround packs + SLW rainbow pack 2020-01-01 10:21:02 -08: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
Michele
3f105e6934 Add Exzap's grass workaround for BotW Vulkan 2019-12-27 18:37:29 -08:00
Michele
c2af30ca2a Move Nintendo eShop workaround to Wii U tree 2019-12-27 18:26:02 -08:00
shinrax2
a7f7a9128a [BOTW] add rendererFilter to LWZX Crash Pack (#410)
* Update rules.txt

add "(OpenGL)" to title and rendererFilter to this pack since it creates crashes on vulkan and is not nessecary due enforcement of GX2DrawDone on vulkan

* Update rules.txt
2019-12-26 10:16:48 -08:00
Michael
194d7a616e Apply vendor filters to some BotW workaround packs
The other few packs I do not have much information on, so I'm leaving them as-is for now. Rather not interfere with version 4 pack updates too much.
2019-12-20 20:01:50 -08:00
Michael
2b7c07df06 Add PC preset to SLW brightness workaround 2019-11-30 09:58:41 -08:00
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
Michael
1fec25b75e Update SLW Brightness workaround to v4
Shaders were dumped directly from WIP15
2019-11-18 12:18:58 -08: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
Crementif
edaed132f7
[WWHD] Proper name for Intel GPU fixes 2019-10-30 17:52:45 +01:00
Vladimir-1799
e872be8d4f [Wind Waker HD] Added Picto-Box workaround (#394) by Vladimir-1799
Added workaround for 'Lenzo's Research Assistant' quest.
2019-08-08 12:37:45 +02:00
Crementif
3f6c6be1d7
[BotW] Add another shader to AMD crash pack 2019-06-20 11:59:46 +02:00
Crementif
c01d0cf5e4
[BotW] Add AMD crash workaround
Workaround made by Exzap, helped by darkemaste and some other folks
2019-06-19 08:15:00 +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
Morph1984
812c53f9f2 [BotW] Rename Intel GPU workaround pack 2019-05-30 17:15:59 +02:00
Xalphenos
439f4fbad8 Remove depricated packs.
Remove 30 fps lock packs for Hyrule Warriors, and Paper Mario Color Splash.  These games run at the correct frame rate as of 1.15.7.

Removed the Paper Mario intro softlock pack.  Also fixed in 1.15.7.
2019-05-29 03:21:21 -05: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
Xalphenos
72c61a82cc Keep naming conventions the same.
Title
2019-05-21 20:27:48 -05:00
Xalphenos
1f6247e64a removed old intel flipped lights.
Removed the outdated light fix by altros.
2019-05-21 20:25:59 -05:00
Xalphenos
8015aa42b7 Altros new intel light fix for botw.
Added the new intel light fix.
2019-05-21 20:20:11 -05:00
Michael
100f92cba3 Add Exzap's remove stretched clouds workaround
This workaround is required for 1.15.6+
2019-05-09 22:33:43 -07:00
Michael
730b314de4 Revert "add presets to SLW brightness pack"
This reverts commit 8a96c444bd.
2019-04-13 10:23:44 -07:00
Michael
8a96c444bd add presets to SLW brightness pack 2019-04-13 00:13:30 -07:00
Michael
be440c0fe7 add SLW 60FPS 2P Race mod 2019-04-12 19:13:51 -07: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
9ac7253eaf [SMM] Add border workaround 2019-03-16 16:28:31 +01:00
Crementif
bd41f842db [SMM] Add grid workaround 2019-03-16 15:57:33 +01:00
Alstura
fa8e28675b [BotW] Add Intel iGPU workarounds 2019-03-11 23:26:54 +01:00
Xalphenos
81af77bccc
Add NSMBUv80EU to crashfix pack. 2019-03-01 23:03:46 -06:00
Michael
3684cfb1d9 [SLW] rename display fixes and remove grass removal
grass got fixed recently it seems, no more need for this
2019-02-21 17:54:19 -08:00
getdls
727c021fd9 [XCX] Brightness settings were inverted
Nivida = $exposure = 0.53
2019-02-08 22:03:28 +01:00
Xalphenos
5319a11f6b
Add USv0 NSMBU crash fix. 2019-02-08 03:04:37 -06:00
Crementif
73cfd2f249
[XCX] Switch exposure from AMD and Nvidia
They were switched from the previous versions. Besides that, somebody reported it being different then before, but I can't find the difference. (There's a slight difference because the vibrancy in one shader was 0.1375 instead of 0.138 but I doubt this would be a big difference and it does simplify it a little bit).
2019-01-26 15:15:11 +01:00
Michael
0d6c980c2c merge XCX brightness workaround packs into ones
hopefully i did this correctly, didn't notice anything going wrong when i tested it
2019-01-21 21:06:19 -08:00
Michael
9476f8817f Add Intel to BotW AMD Shadows pack name
This change will require to re-enable the pack, apologies.
2019-01-21 20:55:36 -08:00
Crementif
9ee99e2eba
[NSMBU] Correct crash fix description
🤦‍♂️
2019-01-17 12:23:26 +01:00
Crementif
e8fabb27f2
[NSMBU] Correct crash fix name 2019-01-17 12:10:40 +01:00
Xalphenos
1d307365d1
Create patches.txt 2019-01-17 01:24:10 -06:00
Xalphenos
3163124372
Create rules.txt 2019-01-17 01:23:39 -06:00
Michael
fb372a1842 add mk8 reduce online desync workaround pack
it forces the FPS to 59fps to reduce the chances of a desync
2019-01-03 20:56:14 -08:00
Michael
b3569ce5a2 remove splatoon ultrawide fixes and slw no time limit
splatoon pack only causes distorted UI and i don't even think the time limit remover even worked
2019-01-01 18:21:28 -08:00
Michael
b4f7d3843f Add Color Splash Intro Softlock workaround
Replaces the video file with a blank file (0 bytes) with the same name
If you want me to do it properly and encode a blank video, please let me know
2018-12-13 19:03:27 -08:00
Exzap
c4a81cede7 [eShop] Add workaround for gray overlay (#284) 2018-11-30 18:55:29 +01:00
Skal Fate
bb854168c8
Super Smash Bros Pixel-Mess Revert (#266)
* Delete 42f0844ab0996fe2_0000000000000079_ps.txt

This shader allows for changing of the color for the pixel-mess texture and or making it transparent/opaque. However its also responsible for the Cursor Text in selection screen. So messing with this Shader also messes with the Cursor text. The best way to hide the pixel-mess is to do it the old "version 2" way.

* Update rules.txt

The best way to hide the pixel-mess is to do it the old "version 2" way. Messing with shaders also affects the cursor in selection screen.
2018-11-12 18:20:29 -07:00