Commit Graph

979 Commits

Author SHA1 Message Date
Martino Fontana
b086051de6 Add Bloom Definitions for Skylanders: Spyro's Adventure 2023-06-30 22:02:54 +02:00
JMC47
7a2352f90c
Merge pull request #11998 from JosJuice/hat
GameSettings: Restore HAT.ini
2023-06-29 13:08:22 -04:00
TellowKrinkle
6ac20aea81 Video: Fix shaders on OpenGL 4.1 2023-06-28 01:08:08 -05:00
JosJuice
984ffe65a8 GameSettings: Restore HAT.ini
We only use six-character INIs for settings that have to be set on a
per-version basis.
2023-06-26 17:45:43 +02:00
Admiral H. Curtiss
3a8e7de214
Merge pull request #11903 from noahpistilli/wiilink
IOS/KD: Add WiiLink as WC24 service provider by default
2023-06-26 02:27:47 +02:00
Sketch
f9f8e94e30 Add default support for WiiLink + configuration 2023-06-25 14:57:15 -04:00
Filoppi
a2702c6e27 Video: implement color correction to match the NTSC and PAL color spaces (and gamma) that GC and Wii targeted.
To further increase the accuracy of the post process phase, I've added (scRGB) HDR support, which is necessary
to fully display the PAL and NTSC-J color spaces, and also to improve the quality of post process texture samplings and
do them in linear space instead of gamma space (which is very important when playing at low resolutions).
For SDR, the quality is also slightly increased, at least if any post process runs, as the buffer is now
R10G10B10A2 (on Vulkan, DX11 and DX12) if supported; previously it was R8G8B8A8 but the alpha bits were wasted.

Gamma correction is arguably the most important thing as Dolphin on Windows outputted in "sRGB" (implicitly)
as that's what Windows expects by default, though sRGB gamma is very different from the gamma commonly used
by video standards dating to the pre HDR era (roughly gamma 2.35).

Additionally, the addition of HDR support (which is pretty straight forward and minimal), added support for
our own custom AutoHDR shaders, which would allow us to achieve decent looking HDR in Dolphin games without
having to use SpecialK or Windows 11 AutoHDR. Both of which don't necessarily play nice with older games
with strongly different and simpler lighting. HDR should also be supported in Linux.
Development of my own AutoHDR shader is almost complete and will come next.

This has been carefully tested and there should be no regression in any of the different features that Dolphin
offers, like multisampling, stereo rendering, other post processes, etc etc.

Fixes: https://bugs.dolphin-emu.org/issues/8941

Co-authored-by: EndlesslyFlowering <EndlesslyFlowering@protonmail.com>
Co-authored-by: Dogway <lin_ares@hotmail.com>
2023-06-19 01:34:42 +03:00
InfoManiac742
8e68696d7a
Fix white bars in Ice Age 2: The Meltdown (GC)
Defer EFB Copies to RAM is necessary in order to avoid white bars obscuring the screen: see https://wiki.dolphin-emu.org/index.php?title=Ice_Age_2:_The_Meltdown_(GC)#White_Bars
2023-06-13 11:41:59 -10:00
Notexe
6a0a11c0b3 Data: Add missing Super Mario Sunshine goop map texture to graphics mod 2023-06-08 20:00:07 +10:00
JMC47
426dffe789
Merge pull request #11865 from garlic-os/master
WALL•E - Use 'Safe' Texture Cache Accuracy
2023-06-02 15:11:28 -04:00
Filippo Tarpini
79120e0d33
Video: Fix lens_distortion post process shader not compiling
`any()` failed to build on my machine, but it doesn't seem to be necessary
2023-06-01 20:32:16 +02:00
Nate Kean
9ddd692309
Use 'Safe' Texture Cache Accuracy
Prevents missing characters in text in menus
2023-05-30 15:09:56 -05:00
Admiral H. Curtiss
3905288465
Merge pull request #11816 from MarioPartyNetplay/gmpe01-fixes
Update Mario Party 4 cheats
2023-05-19 19:28:10 +02:00
Admiral H. Curtiss
2e9b7f1192
Merge pull request #11817 from Pokechu22/solitaire-and-mahjong-bounding-box
GameINI: Enable bounding box for "Solitaire & Mahjong"
2023-05-07 19:16:38 +02:00
CasualPokePlayer
a64657c1e9 Add CPUCull to Pokemon Colosseum and Pokemon XD inis.
These games seem to constantly have unused vertices, and this is worst shown in the Shadow Pokemon purification cutscene. The Shadow Pokemon purification cutscene is even worse on XD with forced single core mode, as instead of having FPS dropping with VPS staying 60ish, it will drop both, resulting in audio stuttering. Turning on CPUCall seems to have a 7/8 reduction of draw calls for that cutscene (~800 -> ~100), doubling performance. Many other areas of the game seem to benefit from this setting too, having some kind of performance boost.
2023-05-06 22:54:15 -07:00
Pokechu22
749c51978d GameINI: Enable bounding box for "Solitaire & Mahjong"
See https://bugs.dolphin-emu.org/issues/13248. This is needed for the menus to work properly (not run at 1FPS and render incorrectly). Additionally, immediate XFB causes flickering.
2023-05-06 18:09:30 -07:00
Nayla
bd62e9fc5d
Update GMPE01.ini 2023-05-05 20:06:43 -04:00
Shawn Hoffman
51e528e45f DolphinQt: cache icons instead of single pixmaps
Fixes dynamically changing dpi scaling.
Load resources from svg if possible.
Currently svg support is not in Qt build in Externals,
and image files need to be added later.
2023-04-25 12:34:27 -07:00
Nayla
b3fad3b41a
GMPE01, GP5E01, GP6E01, GP7E01, RM8E01: Code Updates 2023-04-18 22:02:15 +02:00
degasus
57088ebb82 Shaders: Add error message for asciiart shader if shader_subgroup is missing.
This extension is currently required to get good performance.
So instead of maybe triggering a GPU hang, let's just disable the shader and show a warning instead.

Sadly our postprocessing framework does not support reporting a warning, so the way to display the warning is a bit hacky.
But this is an ascii-art shader, we already have a font in the shader, so let's use it.
2023-03-29 23:12:50 +02:00
degasus
4780953172 Shaders: Clang-format
With no modification.
2023-03-29 23:12:50 +02:00
Pierre Bourdon
d62838a2f4
Merge pull request #11690 from degasus/asciiart
Shaders: Reintroduce the old Ascii-Art shader.
2023-03-28 11:17:27 +02:00
Admiral H. Curtiss
012044eb64
Merge pull request #11542 from linckandrea/master
Update GraphicMods
2023-03-28 00:55:18 +02:00
degasus
196c684ac1 Vulkan: Enable subgroupShuffle.
It is used as workaround for the missing subgroupBroadcastDynamicId flag on SPIR-V < 1.5.
2023-03-24 21:53:23 +01:00
degasus
1571098783 Shaders: Reintroduce the old Asci-Art shader.
Dolphin had a nice but horrible slow asci art shader.
Beside being slow, it used the font from dolphin's old OSD implementation.
So it was also broken after the VideoCommon redesign.

This patch reintroduces the (almost) identical method for the asci art generation.
However with many improvements:
* Inline definition of the font, so no external dependency any more
* Optimized performance by partial unrolling with CSE'ing some memory loads
* Shader subgroup instructions, so 32 times faster on desktop CPUs on Vulkan + OGL (no D3D support)
* Option to select character size by internal or window resultion
* Dropped the last row of pixels of each character (only modification of the outcome)
2023-03-24 21:43:19 +01:00
Bobby Smith
655ef1498f [GameSettings] Change remaining 0/1 bools to False/True 2023-03-20 15:46:32 +01:00
Pierre Bourdon
ef3cb6fba5
Merge pull request #11617 from icup321/master
GameINI: Krome updates
2023-03-16 05:54:54 +01:00
InfoManiac742
2213980ee9
Create GAS.ini 2023-03-12 14:35:27 -10:00
InfoManiac742
b7593c2b24
Create GSB.ini 2023-03-11 19:29:11 -10:00
icup321
3d4c572e0c Add region indicators for TFU II
Because this game decided to have 2 completely separate serial IDs for some reason.
2023-03-01 23:40:23 -05:00
icup321
7016a45db7 GameINI: Krome updates
Update several INI GameSettings for Krome Studios games
2023-03-01 22:19:26 -05:00
kaiboisdumb
06d65f2363
Disable Immediate XFB in Cubivore
Cubivore had an old issue before Hybrid XFB was merged involving the screen shifting left. Immediate XFB actually brings the issue back. It should be disabled for this title.
2023-02-14 00:13:39 +01:00
icup321
70a5895a42
GameINI: Heavy Iron updates 2023-02-12 19:19:13 +01:00
linckandrea
a05654b571 GraphicMods: The Last Story: update HUD mod & add DOF definitions 2023-02-06 22:01:54 +01:00
linckandrea
f024fa7ee0 GraphicMods: add Pandora's Tower 2023-02-06 22:01:47 +01:00
linckandrea
c175b67407 GraphicMods: add built in mods for DOF 2023-02-06 22:01:46 +01:00
Admiral H. Curtiss
23b504a952
Merge pull request #10722 from TryTwo/PR_Integer_Shader
Post-processing: Add integer scaling shader
2023-02-05 00:48:47 +01:00
Admiral H. Curtiss
1e7efb2354
Add sharp bilinear postprocessing shader. 2023-02-04 20:48:01 +01:00
Admiral H. Curtiss
07cf8c5668
Merge pull request #11323 from iwubcode/marvel_super_hero_squad_ini
GameINI: Force safe texture cache on Marvel Super Hero Squad
2023-01-30 10:06:23 +01:00
Admiral H. Curtiss
0ec4ef4d25
Merge pull request #11033 from autofire372/mp3-bloom
Add bloom definitions for Metroid Prime 3
2023-01-30 09:00:44 +01:00
autofire372
53f3d97b7d
Add bloom definitions for Metroid Prime 3 2023-01-30 08:59:30 +01:00
JMC47
df536b1443 Add CPU Cull to Twilight Princess and Metroid Prime Series
These games greatly benefit from CPU Culling, and there isn't much reason
not to just blanket enable it for all users.  There is no case where you'd
want it disabled.
2023-01-30 01:08:34 -05:00
JosJuice
afe9d5b098 GameSettings: Replace ForceFiltering with ForceTextureFiltering
This setting was renamed when it was updated to also support forcing
nearest neighbor filtering.
2023-01-29 17:34:26 +01:00
JMC47
7e9bd34519 Disable VI Skip in Wind Waker and Twilight Princess
These games do some funky VI stuff which causes VI Skip
to be completely incompatible with them, so let's disable it.
2023-01-18 19:43:24 -05:00
iwubcode
259f2972a0 GameINI: Force safe texture cache on Marvel Super Hero Squad: The Infinity Gauntlet 2022-12-04 11:31:01 -06:00
smurf3tte
d448af0e84 GameSettings: Add patch for Ten Pin Alley 2 (RLEEFS)
A call to GXCopyDisp(), made once before the title screen for no
apparent purpose, is causing heap corruption, but it isn't observed on
real hardware thanks to the data cache. Skipping the call works too,
preventing a crash on the main menu.
2022-11-30 05:24:04 -08:00
Mai
1469055244
Merge pull request #11209 from JMC47/wrestmaniaXIXini
Force EFB2RAM in WWE WrestleMania XIX
2022-11-23 04:48:00 +00:00
Mai
20155544d3
Merge pull request #11210 from JMC47/spyroanbini
Force Safe Texture Cache in Legend of Spyro: A New Beginning
2022-11-23 04:47:47 +00:00
Mai
6c08dcfbab
Merge pull request #11213 from JMC47/manhuntini
GameINI:  Enable slight CPU Overclock for Manhunt 2
2022-11-23 04:47:33 +00:00
Admiral H. Curtiss
7a76aeef21
Merge pull request #11222 from JMC47/eggmaniaprog
Add Force Progressive Patch for Egg Mania
2022-11-04 23:07:27 +01:00