Commit Graph

1061 Commits

Author SHA1 Message Date
Mai 8a9d168775
Merge pull request #12477 from JosJuice/r8a-efb2tex
GameSettings: Don't force EFB to RAM for PokéPark Wii
2024-01-06 20:10:17 -05:00
Patrick Ferry a061678b31 Gameini: Disable "Immediately Present XFB" for Racquet Sports
This was causing the game to output thousands of FPS during the loading screen when it would run uncapped if Immediately Present XFB was enabled.

Please see Redmine 13447 for reference.
2024-01-03 20:32:11 +00:00
JosJuice d423ddc275 GameSettings: Don't force EFB to RAM for PokéPark Wii
This is another one of those games that has an optional screenshot
feature where the images end up all black if you have Store EFB Copies
to Texture Only turned on. Like for other such games, let's not force
Store EFB Copies to Texture Only off, since it's a large performance
impact for a feature most players won't use.

There's one wrinkle here. As part of teaching the player how to take
screenshots, the game forces the player to take a screenshot before it
lets them progress in the story. However, the game doesn't care what's
in the screenshot, so you can progress just fine even if Store EFB
Copies to Texture Only is turned on. I personally tested it.
2024-01-03 21:26:49 +01:00
Admiral H. Curtiss 3ba333fd34
Merge pull request #12434 from Filoppi/fix_sharp_bilinear
Fix sharp bilinear using ceil instead of floor
2023-12-27 21:53:15 +01:00
Filoppi 315992f254 Fix sharp bilinear using ceil instead of floor 2023-12-18 01:43:25 +02:00
Tillmann Karras dcc674febd GameSettings: fix C4 texture tiling in Crash Nitro Kart
For buttons and some character icons the game loads palleted PNGs and
tiles the pallet indices directly into C4 textures but fails to take
into account that PNG and C4 use opposite nibble orders. This causes
adjacent pixel columns to be swapped, see issue 13370.

Also disable Immediate XFB for the Japanese release. It has the same
black screen and flickering issues as the other regions.
2023-12-17 15:50:05 +00:00
Tilka 773ffd04b8
Merge pull request #11497 from vyuuui/debugger_assembler_ui
Built-in assembler for debugger interface
2023-12-16 21:15:31 +00:00
vyuuui 0905ffd043 Add icons for assembler widget 2023-12-13 05:32:41 -08:00
Mai bf415f9b54
Merge pull request #12350 from PatrickFerry/add_accurate_nans_game
Gameini: Enable AccurateNaNs for "Jeep Thrills"
2023-12-05 01:35:00 -05:00
Sketch b1759477f3 Data: Correct wc24recv.ctl file 2023-12-03 21:07:12 -05:00
Patrick Ferry f47ac24170 Gameini: Enable AccurateNaNs for "Jeep Thrills" 2023-12-03 16:57:13 +00:00
Tillmann Karras d12642b392 GameSettings: add patch to disable interlacing in Black & Bruised 2023-11-29 23:59:33 +00:00
Tillmann Karras 4d346f29eb GameSettings: add patch to disable blur in Tony Hawk's Downhill Jam
This is a fullscreen blur that looks bad at higher internal resolutions.
The offset happens to work out for both the NTSC and the PAL release.
2023-11-28 01:15:37 +00:00
Tillmann Karras 921d4f1e60 GameSettings: port Gormiti black screen fix to PAL version
Same workaround as @Pokechu22's NTSC version
(8316c7af99).
2023-11-24 19:21:40 +00:00
Admiral H. Curtiss 6309aa0010
Merge pull request #12175 from Sam-Belliveau/correct-area-sampling
Corrected Area Sampling Range
2023-11-15 01:49:45 +01:00
Admiral H. Curtiss 3975d5e923
Merge pull request #12176 from Filoppi/patch-22
Make AutoHDR work with color luminance instead of average
2023-11-14 19:53:35 +01:00
Sam Belliveau 7894b40111
Fix inner area sampling loop from going beyond bounds 2023-11-14 12:05:12 -05:00
Pokechu22 c0f4825a97 Disable Store EFB Copies to Texture Only for Mystery Case Files: The Malgrave Incident
See https://bugs.dolphin-emu.org/issues/13356. Testing there determined that forcing a specific value for SafeTextureCacheColorSamples is not needed.
2023-09-20 13:39:58 -07:00
Filippo Tarpini 84c8eb5a01
Make AutoHDR work with color luminance instead of average
This gives more consistent results.
My main ReShade has also been updated with the same change: https://github.com/Filoppi/PumboAutoHDR
2023-09-09 18:12:47 +03:00
Sketch fdaa82f96d Add Everybody Votes Channel and Region Select to WiiLink config 2023-09-03 15:56:02 -04:00
Sam Belliveau d4f8c1b2bd fixed area sampling 2023-08-21 14:20:44 -04:00
Admiral H. Curtiss b3faca5be9
Merge pull request #12113 from Seedonator/master
Dragon Ball Z: Budokai Tenkaichi 3 - Graphics Mod Bloom and HUD Definitions
2023-08-18 21:27:43 +02:00
Admiral H. Curtiss 4ba2724489
Merge pull request #12071 from JosJuice/gametdb-update
Update GameTDB files
2023-08-18 21:27:33 +02:00
Seedonator 5dc01e6107
Dragon Ball Z: Budokai Tenkaichi 3 - Graphics Mod Bloom and HUD Definitions 2023-08-18 21:08:16 +02:00
Filoppi fc3f7866f8 Video: Fix area/box resampling shifting the output by about one pixel when upscaling and downscaling 2023-08-18 02:00:56 +03:00
Sam Belliveau 39d96a21a8 Video: Improved Tooltips & Bicubic (#5)
Edited by Filoppi
2023-08-18 02:00:56 +03:00
Sam Belliveau ca93a5191f Video: Added Box Resampling
Edited by Filoppi
2023-08-18 02:00:56 +03:00
Filoppi 2edf81cdb0 Video: implement output resampling (upscaling/downscaling) methods 2023-08-18 02:00:55 +03:00
Admiral H. Curtiss 1854ff0142
Merge pull request #12003 from Filoppi/auto_hdr
Add AutoHDR post process shader
2023-08-18 00:20:08 +02:00
JosJuice e3453ea23d Update GameTDB files 2023-07-27 19:45:52 +02:00
Sketch 84e8516341
Add Forecast Channel buffer patch 2023-07-19 18:30:40 -04:00
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
Filoppi a924483dc5 Add AutoHDR post process shader 2023-06-29 14:24:27 +03: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
JMC47 2f80928be3
Merge pull request #11216 from JMC47/OwlsofGaINI
Disable "Force Texture Filtering" in Owls of Ga'Hoole
2022-10-30 13:36:46 -04:00
JMC47 1049ae629e Disable Force Texture Filtering in DKCR
This enhancement causes a rather distracting outline around the main characters.
2022-10-28 01:13:27 -04:00
Admiral H. Curtiss 904551fdb9
Merge pull request #11218 from JMC47/pxdmmu
Enable MMU in Pokemon XD
2022-10-28 04:24:44 +02:00
JMC47 8209f96a4f Add Force Progressive Patch for Egg Mania
This patch substitutes field rendering with full frame rendering in the
NTSC and NTSC-J versions of Eggmania.  This allows Dolphin's
"Force Progressive" hack to work with this title.

Codes originally from Swiss, written by Extrems.
2022-10-27 20:07:35 -04:00
JMC47 8080ebcd76 Enable MMU in Pokemon XD
Fixes invalid read spam during normal battles and Pokemon Bingo.
2022-10-27 16:29:53 -04:00
JosJuice 5ee7a55588
Merge pull request #11217 from JMC47/nsmbwvertexrounding
Disable Vertex Rounding in New Super Mario Bros. Wii
2022-10-27 20:48:27 +02:00
JMC47 895e5ca3e3 Disable Vertex Rounding in New Super Mario Bros. Wii
Vertex Rounding causes severe animation issues on 3D models,
so let's disable it.  Also correct the game title to match the wiki.
2022-10-27 14:17:42 -04:00
JMC47 1158fab3b7 Disable Vertex Rounding in Wii Play
Prevents severe graphical issues in "Tanks" Minigame.
2022-10-27 14:13:45 -04:00
JMC47 76ce7da022 Disable "Force Texture Filtering" in Owls of Ga'Hoole
Fixes broken FMV visuals.
2022-10-27 00:56:06 -04:00
JMC47 c3f3d2b6ba Enable slight CPU Overclock for Manhunt 2
Fixes video hangs in single core and unknown opcodes during FMVs in Dualcore.
2022-10-26 15:59:11 -04:00
JMC47 b25956849d Force Safe Texture Cache in Legend of Spyro: A New Beginning
Fixes freezes/stuttering during FMV cutscenes.
2022-10-25 04:48:23 -04:00
JMC47 c94f87151f Force EFB2RAM in WWE WrestleMania XIX
Fixes invisible models in Revenge Mode.
2022-10-25 04:42:17 -04:00
JMC47 5c24d7bd8d Add Safe Texture Cache for Deepak Chopra's Leela
Fixes missing text issues.
2022-10-24 19:19:32 -04:00
Pokechu22 e4a02f3229 GameSettings: Properly set MissingColorValue for Lego Indiana Jones 1
In 3465b2af27 (#10937) I incorrectly put it under [Video_Settings] instead of [Video_Hacks], so it didn't work. https://bugs.dolphin-emu.org/issues/12987 should now properly be fixed.
2022-10-23 17:01:58 -07:00
JMC47 5f1b7012ed
Merge pull request #10853 from RedStoneMatt/master
Kirby's Return to Dreamland "Bypass Metafortress" patch ported to PAL
2022-10-22 04:45:13 -04:00
JMC47 19e25e32a1
Merge pull request #11175 from b3rru/patch-2
GZLP01.ini – Update Cheatcode to Remove Distance Blur
2022-10-22 03:20:24 -04:00
b3rru 92917061a8
GZLP01.ini – Update cheatcode to Remove Distance Blur
The old code caused the black and white effect in some rooms not to work. The new one works properly.
2022-10-16 22:36:17 +02:00
joon cada690192 Delete outdated SoulCalibur II ini.
Fast texture cache samples and immediate xfb has no ill effects.
2022-10-11 15:38:32 -04:00