Commit Graph

2057 Commits

Author SHA1 Message Date
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
bda2e98410 [Splatoon] Add no vignette pack 2019-12-21 13:04:04 -08:00
getdls
1652e25985 [NFS] - Add other title IDs
and cleanup
2019-12-21 21:48:16 +01:00
getdls
064914bc1d [NFSMWU] - Resolution
Need for speed - no shaders
2019-12-21 21:45:00 +01:00
Michael
9347b138db [Splatoon] Upscale Squid Sisters Shadows 2019-12-20 22:29:41 -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
Crementif
6f836a57f3
Fix some preset errors
Detected some faulty presets with my script, since logging these kind of issues make sense. Doing these separately since otherwise the big commit will make these changes invisible.
2019-12-16 00:04:46 +01:00
Michael
80a68ce4f1 Add some v4 resolution packs for Wii U applications
Internet Browser, Friend List, Wii U Menu (no shader edits)
2019-12-02 13:29:16 -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
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
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
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
0e49433a74
[Color Splash] Fix videos 2019-11-12 00:37:54 +01:00
lasyan3
3a4e7ab734 [XCX] Fix issue with "More Tickets" mode (yes, another one...) on display for 1.0.2U. 2019-11-03 18:33:14 +01:00
lasyan3
f39689d5f5 [XCX] Fix issue with "More Tickets" mod when using tickets. 2019-11-03 17:31:27 +01:00
lasyan3
2f7347a4d3 [XCX] Add mod for more Reward Tickets. 2019-11-03 16:29:59 +01:00
lasyan3
aae49457ca
Update readme.md
Fix typo
2019-11-02 22:29:32 +01:00
lasyan3
04babfad55 [XCX] Rename readme. 2019-11-02 22:23:36 +01:00
lasyan3
db7c430aac [XCX] Various fixes.
- Split "Offline Squad" and "more tickets" into 2 separate mods (#389)
- Offline squad now have mission selector presets.
- Fix issue with the "Equipment - Force type" mod not working for ground weapons (#398)
- Fix issue with the "Materials - Drop ratio" mod when 100% preset was selected (#392)
- Fix issue with the "Treasure Quality" mod with regular presets

(#xx) refers to Github issues.
2019-11-02 22:22:13 +01:00
lasyan3
2bc2803549 [XCX] Group mods into one folder by game.
The goal is to later add a readme.md file for each game, which would describe each mod.
2019-11-01 11:49:29 +01:00
Crementif
edaed132f7
[WWHD] Proper name for Intel GPU fixes 2019-10-30 17:52:45 +01:00
Crementif
6da9a34a59
[TPHD] Fix error
Thanks for reporting this issue, Vulkan lead dev.
2019-10-23 21:14:48 +02:00
epigramx
0f8c7f6951
[BotW] Change the default FPS of static to 45
It makes indirectly clearer how it works, to those that don't change the default.
2019-10-13 09:44:31 +03:00
Crementif
0e035ae902
[MK8] Add no HUD graphic pack
Breaks many menu's but it's good enough for HUD-less recording I suppose.
2019-10-09 18:55:39 +02:00
Michael
446f066d48 [BotW] Fix 1080p shader scaling issues
tested on my end with no issues
2019-10-07 20:10:02 -07:00
epigramx
273c09bd33
Port the map scrolling fix from the Xalphenos' mod 2019-10-01 09:10:55 +03:00
Crementif
77f5020566
Change Travis to Github build badge
Quality updates.
2019-09-27 10:53:50 +02:00
getdls
3a5ff78ba4 [TPHD] Cleanup redundant res + fix round error 2019-09-22 21:21:31 +02:00
getdls
eaa2284bd0 [TPHD] Bloom n fade resolutions added 2019-09-22 13:12:34 +02:00
getdls
0f6e2ac35d [SM3DW] Scale n fix reflections, add missing circus res
Transition no longer turns sky black
2019-09-08 16:52:02 +02:00
getdls
d29efdab9b [SM3DW] Add res for bowser carnival levels 2019-09-05 00:25:51 +02:00
Crementif
0ba0dcd719
Add Github Actions build process 2019-09-04 19:10:02 +02:00
Crementif
f9c3b642c2
Remove Travis CI 2019-09-04 19:08:46 +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
Crementif
105dd80508
[BotW] Add Freeze Time Preset to day length mod 2019-08-29 15:45:51 +02:00