Commit Graph

208 Commits

Author SHA1 Message Date
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
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
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
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
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
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
0e49433a74
[Color Splash] Fix videos 2019-11-12 00:37:54 +01:00
Michael
446f066d48 [BotW] Fix 1080p shader scaling issues
tested on my end with no issues
2019-10-07 20:10:02 -07: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
getdls
e4c4efc8dc [TPHD] 10k 21:9, remove some 0007 conversion
64x64 broke plant drool
2019-08-31 02:43:59 +02:00
NAVras-Z
01f7fa002f [BotW] Update night star shader
With Cemu 1.15.12 's gl_PointCoord support, night stars now have proper (varying) alpha value. Should be no need for workaround anymore, just scale its size accordingly.
2019-08-20 05:18:33 +08:00
getdls
3580a30420 [TPHD] Aspect fixes, burn in protecc, maps
Add : Burn in protection option for OLED, plasma, sets .w to 0.75 for
static UI elements
Add: More maps scaled
Fix : Missing aspect shaders,  lamp oil, amibo, dungeon map objects
2019-08-15 00:06:14 +02:00
getdls
f9d602e10f [TPHD] UI aspect matching 21:9, 16:10, 16:9
Scales UI and video to match current 3d aspect.
2019-08-14 00:25:23 +02:00
getdls
755153c3f1 [TPHD] Scale world map, 16:10 res
Add:  Scaling of world map
Add : 16:10 resolutions
Add : x2 SSAA vert res for 21:9, 48x9
Fix :  Better alpha for x2 Subres, rounds to native x2 if possible
2019-08-13 23:56:16 +02:00
getdls
ef3690860c [TMS] UI aspect matching 21:9, 16:10, 16:9
Scales UI and video to match current 3d aspect.
2019-08-11 20:10:34 +02:00
NAVras-Z
6ec0cfd368 [BotW] Resize dyeing menu background
The game re-applies a cropped 1280x400 background in order to create the fading on the inventory borders. Not resizing it causes the background especially Link and items he is holding to become blurry and aliased mid-screen with two cutoff lines. This rule was present in pre-1.14 rules.
2019-08-07 00:43:04 +08:00
NAVras-Z
d1791b0e5d [BotW] Disable count down fade resize by default
Because it's caused by 128x64 which is disabled by default
2019-08-04 11:58:26 +08:00
NAVras-Z
736412e70f [BotW] Fix mini game count down background
Another mismatch. Shows a broken background at number 3 on one pc while appear normal on another.
2019-08-04 10:01:02 +08:00
NAVras-Z
ef2db1c62b
[BotW] Resize letters box to make text less blurry (#388)
For many cutscenes the game draw the subtitles on a 500x94 box first and apply the box with the letters onto the screen.
2019-07-28 23:51:47 +08:00
NAVras-Z
f4ca28a860
[BotW] Fix 960x540 background ambient light, bloom (#385)
...And other texture cache's mismatch warnings.
Separate slices of cubemap being caught by 32x16 resize is not fixed.
2019-07-27 08:04:27 +08:00
Crementif
a05a3f0545
Add Devil's Third resolution pack 2019-07-18 22:17:56 +02:00
Crementif
c732c869f2 [Docs] Add Darksiders to the list 2019-07-12 14:08:49 +02:00
Michael
008e0cd203 Add Disney Planes 60fps and Darksiders Resolution/Uncapped, fix up 60FPS packs 2019-07-08 11:43:23 -07:00
NAVras-Z
a60932d040 [BotW] Make circular blur more optimized (used in battle, camera and scope)
PR made by NAVras-Z!
2019-07-07 11:26:09 +02: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
Michael
db73b47288 Rename VC folder names and add shader to undarken GBA VC 2019-06-09 20:05:34 -07:00
Zalnor
9b13e15da6 Add NES, SNES, GBA, and N64 Resolution packs (#376) 2019-06-09 20:03:41 -07:00
Crementif
f7d3cf68cd
Add Skylanders Trap Team res pack
Also updated the skylander game's statuses in the list.

They did do some optimizations. Also, the music is so god damn repetitive, I think I've listened 1 hour of what felt like a 30 second music loop...
2019-06-05 15:56:14 +02:00
Crementif
884f86f210 [Child of Light] Fix for half-res video
Whoops, tested it this time atleast
2019-05-31 21:55:20 +02:00
Crementif
700ebb3b49 [Child of Light] Fix videos 2019-05-31 21:35:45 +02:00
Crementif
6ac196e885 Add Child of Light res pack
Still an improvement over the 720p resolution even though most of it is hand-drawn. The assets are actually far more higher-resolution then the game renders them at.
2019-05-31 20:16:46 +02:00
Crementif
fbfb805ac9 [Hyrule Historia] Fix gamepad 2019-05-31 10:57:42 +02:00
Crementif
60548c02a5 Add Hyrule Historia res pack by Morph
Removed the resolution ratio indicators since it's not needed if there's no other aspect ratio resolution available, also removed the disclaimer about not being able to change them on the fly since Cemu warns you via it's interface already when you change a preset on rules.txt with texture redefine's
2019-05-31 10:44:29 +02:00
Crementif
3c8621e665 Add Runner2 res pack
Probably the easiest version 3 resolution pack to make! No viewports with some margin or half-res stuff, 2 formats for all of it's rendering (doesn't even blur by downscaling viewports)...

Also added a shader edit for the background, just because. This game is also pretty cool.
2019-05-31 10:12:09 +02:00
Crementif
dadc19d259 [DKC:TF] Fix missing puzzle pieces
Previously wouldn't show puzzle pieces in the level selection screen.

The texture that would also need to be scaled is 0x033 which is a compressed texture which can't be scaled, so removing this filter was the only option. But this was mostly pointless anyway since the GUI is also just images which won't really become sharper.

Issue reported by Nathan in the discord.
2019-05-30 19:40:18 +02: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
Xalphenos
1d623c739c Lego Dimensions res and 60 EU.
Add EU support for 60 fps pack.
Add Resolution pack.  All credits for the res pack go to bloodshot(bloodmc ), ultrawide patches by me.
2019-05-29 17:07:59 -05:00
Crementif
26872c1326 [Skylanders Imaginators] Fix shadow edge smoothing
Would produce really ugly shadow edges previously, but now it's all smoothed out.
2019-05-28 23:21:19 +02:00
Crementif
40382eabdb Add Fist of the North Star res pack
Closes https://github.com/slashiee/cemu_graphic_packs/issues/370 where this game got requested.
2019-05-28 22:15:29 +02:00
Crementif
71a1c3d012 Add Skylanders Imaginators res pack 2019-05-27 20:52:23 +02:00
Crementif
ee821ff6a1 Change game name for Taiko no Tatsujin
Added the message to the description instead.
2019-05-27 15:52:43 +02:00
Crementif
7b47c8d45b
Add Ducktales: Remastered res pack
Also normalized the name of a resolution pack
2019-05-25 22:29:53 +02:00
Crementif
209d464422
Add Star Fox Guard and Tekken Tag 2 res packs
Also added the european title id to Star Fox Zero since that was missing.
2019-05-25 18:10:46 +02:00
Crementif
a0232c2c6f
Add Lego Star Wars Resolution pack
Plus add Marvels Avengers and The Lego Movie 60FPS patches.
2019-05-24 02:14:20 +02:00
Crementif
e0f99ada11
Add Kirby and the Rainbow Curse/Paintbrush res pack 2019-05-24 01:25:33 +02:00
Arkadius Stefanski
445c1ddb89 [BotW] Add 3840x1600 (21:10) resolution 2019-05-23 16:21:07 +02:00
agent31750
762698a588 Add Shovel Knight res pack by Atom 2019-05-04 20:20:52 +02:00
agent31750
54cac26981 Add Minecraft res pack by Atom 2019-05-04 17:12:33 +02:00
bloodmc
e3fce2ce9b Fix git status 2019-05-04 16:06:29 +02:00
agent31750
96c0b6ebf5 Add Call of Duty: Ghosts res pack by Atom 2019-05-03 22:49:34 +02:00
Crementif
ad9c969f5c
Add Minecraft: Story Mode resolution pack 2019-04-28 12:46:13 +02:00
Crementif
e74f1acca5
[NSMBU] Add video exceptiongamepad 2019-04-14 20:10:02 +02:00
Crementif
bd1b7ba518
[Mario Party 10] Fix some minigames upscaling
Also, fix videos for NSMBU (maybe)? This fix is just a shot in the dark, I don't know where it's located.
2019-04-14 17:16:14 +02:00
Michael
399daf17d7 add two more slw uw shaders 2019-04-12 14:29:59 -07:00
Michael
b974d50cb0 scale ui shaders for sonic lost world ultrawide 2019-04-12 14:25:42 -07:00
SkalFate
9cc500f210 Botw 48:9 Res Added & Distant Fog Removal Close Aura RGB Added
Botw 48:9 Res Added & Distant Fog Removal Close Aura RGB Added
2019-04-07 20:06:09 -06:00
Michael
9440409e25 revert smash 4 game height changes for certain resolutions 2019-04-06 16:42:49 -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
cc1c7061af Add gamepad water 2019-03-24 23:49:44 +01:00
GetDls
da1168db89 [SSB] Fix bottom black line 2019-03-24 19:14:50 +01:00
getdls
3e8f82ce92 [HW] Fix single player map regression 2019-03-23 22:37:22 +01:00
getdls
717a144262 [HW] 2p res tweaks
2p res added and tweaked to scale to native res
2019-03-23 22:22:16 +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
getdls
0f696473a7 [WWHD] Re-Organize-Pictograph - No features 2019-02-25 23:00:06 +01:00
getdls
ef18ccc503 [WWHD] Cleanup and comments - No features
Re-added pictograph rules commented out for reference
2019-02-25 22:54:08 +01:00
getdls
4d428e5279 Revert "[WWHD] Pictograph res scaling added"
This reverts commit c2a3ab05bb.
2019-02-25 19:36:29 +01:00
getdls
c2a3ab05bb [WWHD] Pictograph res scaling added 2019-02-24 16:20:37 +01:00
getdls
05de9e861e sorry...last one i promise.. wiki is fun 2019-02-24 03:25:56 +01:00
getdls
002a833091 Even more formatting...Just ignore this 2019-02-24 03:23:44 +01:00
getdls
3135f17888 Beautify readme. 2019-02-24 03:21:52 +01:00
getdls
eb7cdef038 [WWHD] Readme - include options 2019-02-24 03:18:12 +01:00
getdls
85d267b88d [WWHD] - Fix flashing horizon and AO workaround 2019-02-24 03:15:03 +01:00
Skal Fate
c6643ba1de
Botw Res Pack Refined (#338)
* Update rules.txt

Added some new 019s for scope and camera, and removes the very small 01a as they arent needed. Minimized the texture cache debug options rules mismatch error to 1, rather than a whole bunch. And chasing that one leads only to breaking graphics.
2019-02-21 21:13:30 -07:00
Michael
9918196b5a [BotW] add "5k" (10240x5760) resolution pack
added it specifically for those with RTX card, i'm curious on the performance
2019-02-21 17:51:45 -08:00
getdls
98d2c06d15 TaikoNoTatsujin Res scaling all versions #336 2019-02-19 22:30:55 +01:00
getdls
85d5c73eab [TMS] Map fix, bloom scaling 2019-02-09 21:34:35 +01:00
Michael
05a3da2195 fix gamepad for slw 2019-02-06 22:07:08 -08:00
Michael
49447d1164 fix W101 gamepad displaying nothing 2019-02-06 19:48:25 -08:00