10 Commits
Author SHA1 Message Date
Christophe 339a7ed52d Readme 2026-04-12 02:34:41 +02:00
Christophe 220a99b7a3 Readme 2026-04-12 02:32:04 +02:00
iChris4 49febf2cbe WII Controller Config Screen Overlay for OpenXR & Quest 3 Controller Fix 2026-04-12 02:08:02 +02:00
iChris4 95b569b681 WIP CullingCodeFinder 2026-04-11 18:11:02 +02:00
iChris4 677aa34050 Added ARMode by Clodo76 2026-04-11 18:08:04 +02:00
iChris4 4a70fd2fbe VR Pane UI 2026-04-10 19:51:45 +02:00
iChris4 1c16f73855 VRPane Settings 2026-04-09 02:11:22 +02:00
iChris4 2ed53222b4 Update Readme 2026-04-07 22:32:00 +02:00
iChris4 780b79b8d7 Add OpenXR as submodule 2026-04-07 00:37:56 +02:00
iChris4 a2dad38be5 Add OpenXR support and related VR changes 2026-04-07 00:18:01 +02:00
3479 changed files with 667212 additions and 91981 deletions

No files matched your search

+4 -15
View File
@@ -50,17 +50,6 @@ function(dolphin_add_bundled_library library use_system bundled_path)
add_subdirectory(${bundled_path} EXCLUDE_FROM_ALL)
endfunction()
function(dolphin_set_library_type library type)
if(DEFINED ${library}_TYPE AND NOT ${${library}_TYPE} STREQUAL "${type}")
message(FATAL_ERROR
"The selection for ${library} changed from '${${library}_TYPE}' to '${type}' after configuration.\n"
"Please delete the build directory (or at least CMakeCache.txt) and reconfigure."
)
endif()
set(${library}_TYPE "${type}" CACHE INTERNAL "")
endfunction()
function(dolphin_find_optional_system_library library bundled_path)
dolphin_optional_system_library(use_system ${library})
string(TOUPPER ${library} upperlib)
@@ -112,11 +101,11 @@ function(dolphin_find_optional_system_library library bundled_path)
endif()
endif()
if(${prefix}_FOUND)
dolphin_set_library_type(${library} "System")
message(STATUS "Using system ${library}")
set(${prefix}_TYPE "System" PARENT_SCOPE)
else()
dolphin_set_library_type(${library} "Bundled")
dolphin_add_bundled_library(${library} ${use_system} ${bundled_path})
set(${prefix}_TYPE "Bundled" PARENT_SCOPE)
endif()
endfunction()
@@ -130,11 +119,11 @@ function(dolphin_find_optional_system_library_pkgconfig library search alias bun
endif()
endif()
if(${library}_FOUND)
dolphin_set_library_type(${library} "System")
message(STATUS "Using system ${library}")
dolphin_alias_library(${alias} PkgConfig::${library})
set(${library}_TYPE "System" PARENT_SCOPE)
else()
dolphin_set_library_type(${library} "Bundled")
dolphin_add_bundled_library(${library} ${use_system} ${bundled_path})
set(${library}_TYPE "Bundled" PARENT_SCOPE)
endif()
endfunction()
+13 -18
View File
@@ -11,15 +11,8 @@
if(ANDROID)
set(LIBUSB_FOUND FALSE CACHE INTERNAL "libusb-1.0 found")
message(STATUS "libusb-1.0 not found.")
return()
endif()
if(TARGET LibUSB::LibUSB)
return()
endif()
if(NOT LIBUSB_FOUND)
pkg_check_modules(LIBUSB_PKG libusb-1.0)
elseif (NOT LIBUSB_FOUND)
pkg_check_modules (LIBUSB_PKG libusb-1.0)
find_path(LIBUSB_INCLUDE_DIR NAMES libusb.h
PATHS
@@ -37,19 +30,21 @@ if(NOT LIBUSB_FOUND)
/usr/local/lib
)
if(LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES)
set(LIBUSB_FOUND TRUE CACHE INTERNAL "libusb-1.0 found")
message(STATUS "Found libusb-1.0: ${LIBUSB_INCLUDE_DIR}, ${LIBUSB_LIBRARIES}")
else(LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES)
set(LIBUSB_FOUND FALSE CACHE INTERNAL "libusb-1.0 found")
message(STATUS "libusb-1.0 not found.")
endif(LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES)
mark_as_advanced(LIBUSB_INCLUDE_DIR LIBUSB_LIBRARIES)
endif()
if(LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES)
endif ()
if(LIBUSB_FOUND AND NOT TARGET LibUSB::LibUSB)
add_library(LibUSB::LibUSB UNKNOWN IMPORTED)
set_target_properties(LibUSB::LibUSB PROPERTIES
IMPORTED_LOCATION "${LIBUSB_LIBRARIES}"
INTERFACE_INCLUDE_DIRECTORIES "${LIBUSB_INCLUDE_DIR}"
)
set(LIBUSB_FOUND TRUE CACHE INTERNAL "libusb-1.0 found")
message(STATUS "Found libusb-1.0: ${LIBUSB_INCLUDE_DIR}, ${LIBUSB_LIBRARIES}")
else()
set(LIBUSB_FOUND FALSE CACHE INTERNAL "libusb-1.0 found")
message(STATUS "libusb-1.0 not found.")
endif()
+1 -1
View File
@@ -33,7 +33,7 @@ endif()
string(TIMESTAMP DOLPHIN_WC_BUILD_DATE "%Y-%m-%d" UTC)
# version number
set(DOLPHIN_VERSION_MAJOR "2603")
set(DOLPHIN_VERSION_MAJOR "2512")
set(DOLPHIN_VERSION_MINOR "0")
set(DOLPHIN_VERSION_PATCH ${DOLPHIN_WC_REVISION})
+31 -12
View File
@@ -93,6 +93,7 @@ option(ENABLE_CUBEB "Enables Cubeb sound backend" ON)
option(ENABLE_LLVM "Enables LLVM support, for disassembly" ON)
option(ENABLE_TESTS "Enables building the unit tests" ON)
option(ENABLE_VULKAN "Enables vulkan video backend" ON)
option(ENABLE_VR "Enables VR support via OpenXR (Windows, D3D11 + Vulkan)" OFF)
option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence, show the current game on Discord" ON)
option(USE_MGBA "Enables GBA controllers emulation using libmgba" ON)
option(ENABLE_AUTOUPDATE "Enables support for automatic updates" ON)
@@ -582,6 +583,10 @@ if(UNIX)
add_definitions(-DUSE_MEMORYWATCHER=1)
endif()
if(ENABLE_SDL)
dolphin_find_optional_system_library(SDL3 Externals/SDL 3.2.0)
endif()
if(ENABLE_ANALYTICS)
message(STATUS "Enabling analytics collection (subject to end-user opt-in)")
add_definitions(-DUSE_ANALYTICS=1)
@@ -649,18 +654,20 @@ if(ENABLE_VULKAN)
endif()
endif()
if(ENABLE_VR AND WIN32)
add_definitions(-DENABLE_VR)
# Build only the OpenXR loader from the Khronos SDK; skip tests, conformance, and samples.
set(BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(BUILD_CONFORMANCE_TESTS OFF CACHE BOOL "" FORCE)
set(DYNAMIC_LOADER OFF CACHE BOOL "" FORCE)
add_subdirectory(Externals/OpenXR "${CMAKE_BINARY_DIR}/Externals/OpenXR" EXCLUDE_FROM_ALL)
endif()
if(NOT (WIN32 AND _M_ARM_64))
# OpenGL is available on all platforms except windows-arm64
add_definitions(-DHAS_OPENGL)
endif()
if(NOT WIN32)
if(ANDROID)
set(USE_SYSTEM_Iconv OFF)
endif()
dolphin_find_optional_system_library(Iconv Externals/libiconv 1.14)
endif()
dolphin_find_optional_system_library(pugixml Externals/pugixml)
dolphin_find_optional_system_library_pkgconfig(ENET libenet>=1.3.18 enet::enet Externals/enet)
@@ -704,14 +711,12 @@ if(ENABLE_CUBEB)
endif()
if(NOT ANDROID)
dolphin_find_optional_system_library(LibUSB Externals/libusb)
dolphin_find_optional_system_library_pkgconfig(
LibUSB libusb-1.0 LibUSB::LibUSB Externals/libusb
)
add_definitions(-D__LIBUSB__)
endif()
if(ENABLE_SDL)
dolphin_find_optional_system_library(SDL3 Externals/SDL 3.2.0)
endif()
dolphin_find_optional_system_library(SFML Externals/SFML 3.0 COMPONENTS Network System)
if(USE_UPNP)
@@ -723,6 +728,15 @@ dolphin_find_optional_system_library(MBEDTLS Externals/mbedtls 2.28)
dolphin_find_optional_system_library(CURL Externals/curl)
if(NOT WIN32)
if(NOT ANDROID)
dolphin_find_optional_system_library(Iconv Externals/libiconv 1.14)
else()
message(STATUS "Using static iconv from Externals")
add_subdirectory(Externals/libiconv EXCLUDE_FROM_ALL)
endif()
endif()
if(NOT ANDROID)
dolphin_find_optional_system_library(HIDAPI Externals/hidapi)
endif()
@@ -733,6 +747,9 @@ if(USE_DISCORD_PRESENCE)
include_directories(Externals/discord-rpc/include)
endif()
if(NOT ENABLE_QT)
set(USE_MGBA 0)
endif()
if(USE_MGBA)
dolphin_find_optional_system_library(LIBMGBA Externals/mGBA 0.11)
endif()
@@ -754,6 +771,8 @@ include_directories(Externals/picojson)
add_subdirectory(Externals/expr)
add_subdirectory(Externals/rangeset)
add_subdirectory(Externals/FatFs)
if (USE_RETRO_ACHIEVEMENTS)
+1 -8
View File
@@ -7,12 +7,11 @@
- [Android](#android)
- [Help](#help)
# <a name="legal"></a>Legal and policies
# <a name="legal"></a>Legal
Summary:
- [Trade secrets](#trade-secrets)
- [Generative AI](#genai)
- [Code licensing](#code-licensing)
## <a name="trade-secrets"></a>Trade secrets
@@ -23,12 +22,6 @@ If you know any confidential information related to the GameCube, Wii, or Trifor
Also, this probably goes without saying, but piracy is strictly forbidden both on GitHub and in all other Dolphin channels.
## <a name="genai"></a>Generative AI
We accept contributions from humans, not from AI agents. We expect you to understand and take responsibility for code submitted in your name. If a non-trivial part of your contribution is generated using AI, you need to disclose which parts are generated.
Because large language models are trained on massive amounts of data gathered from the internet, we have to assume that they contain leaked Nintendo information. Therefore, you're not allowed to use LLMs to make changes related to the behavior of the emulated console or to use LLMs to obtain information related to the console.
## <a name="code-licensing"></a>Code licensing
If you make any contributions to Dolphin after December 1st, 2014, you are agreeing that any code you have contributed will be licensed under the GNU GPL version 2 (or any later version).
+10 -7
View File
@@ -1,17 +1,20 @@
# DLSE64, DLSP64 - Star Wars: Rogue Squadron III: Rebel Strike: Limited Edition Bonus Disc (Demo)
[Core]
# Strictly required.
# Values set here will override the main Dolphin settings.
MMU = True
# Dual core is very unstable in this game and usually causes a freeze before the main menu.
CPUThread = False
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video]
[Video_Settings]
# Improves performance, especially in levels with terrain.
CPUCull = True
# Dolphin misdetects this game as 16:9.
SuggestedAspectRatio = 2
[Video_Hacks]
EFBToTextureEnable = False
# Avoids majorly corrupted graphics in menus.
ImmediateXFBEnable = False
-2
View File
@@ -3,8 +3,6 @@
[Core]
# Values set here will override the main Dolphin settings.
MMU = True
# Fixes freeze on second loading screen
PageTableFastmem = False
[OnFrame]
# Add memory patches to be applied every frame here.
+16
View File
@@ -0,0 +1,16 @@
# GH2E69, GH2P69 - Need for Speed: Hot Pursuit 2
[Core]
# Values set here will override the main Dolphin settings.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video_Settings]
[Video_Hacks]
# Game runs uncapped and is slow to emulate.
ImmediateXFBEnable = False
-12
View File
@@ -1,12 +0,0 @@
# GH2E69 - Need for Speed: Hot Pursuit 2
[OnFrame]
$Limit internal frame rate (speed hack)
0x802243a4:dword:0x60000000
0x802243a8:dword:0x4bf9b58d
0x802243ac:dword:0x806de074
0x802243b0:dword:0x28030000
0x802243b4:dword:0x41820054
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)
-12
View File
@@ -1,12 +0,0 @@
# GH2P69 - Need for Speed: Hot Pursuit 2
[OnFrame]
$Limit internal frame rate (speed hack)
0x80224524:dword:0x60000000
0x80224528:dword:0x4bf9b58d
0x8022452c:dword:0x806de094
0x80224530:dword:0x28030000
0x80224534:dword:0x41820054
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)
+9 -2
View File
@@ -1,7 +1,14 @@
# GKME41, GKMP41 - Prince of Persia The Two Thrones
[Core]
# Values set here will override the main Dolphin settings.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video_Settings]
SafeTextureCacheColorSamples = 512
FastDepthCalc = True
# Avoids misbehaving widescreen heuristic.
SuggestedAspectRatio = 2
+11 -7
View File
@@ -1,17 +1,21 @@
# GLRD64, GLRE64, GLRF64, GLRJ13, GLRP64 - Star Wars - Rogue Squadron III - Rebel Strike
[Core]
# Strictly required.
# Values set here will override the main Dolphin settings.
MMU = True
# Dual core is very unstable in this game and usually causes a freeze before the main menu.
CPUThread = False
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video]
[Video_Settings]
# Improves performance, especially in levels with terrain.
CPUCull = True
# Dolphin misdetects this game as 16:9.
SuggestedAspectRatio = 2
[Video_Hacks]
EFBToTextureEnable = False
# Avoids majorly corrupted graphics in menus.
ImmediateXFBEnable = False
DeferEFBCopies = False
+10 -2
View File
@@ -1,6 +1,14 @@
# GM5E7D, GM5F7D, GM5P7D - Metal Arms: Glitch in the System
[Core]
# Values set here will override the main Dolphin settings.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video_Settings]
SafeTextureCacheColorSamples = 512
# Avoids misbehaving widescreen heuristic.
SuggestedAspectRatio = 2
+1 -5
View File
@@ -1,8 +1,7 @@
# GSNP8P - SONIC ADVENTURE 2 BATTLE
[OnFrame]
$Fix startup errors
0x80114D4E:word:0x00000210
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
@@ -118,8 +117,5 @@ $60Hz Aspect Ratio Fix
0C2BB868 02EA5140
042BB868 02EA3140
[OnFrame_Enabled]
$Fix startup errors
[AR_RetroAchievements_Verified]
$60Hz Aspect Ratio Fix
+1 -1
View File
@@ -1,4 +1,4 @@
# GSOE8P, GSOJ8P, GSOP8P - Sonic Mega Collection
# GSOE8P, GSOJ8P, GSOP8P - Sonic Mega Collection (US)
[Core]
# Values set here will override the main Dolphin settings.
+12 -6
View File
@@ -1,15 +1,21 @@
# GSWD64, GSWE64, GSWF64, GSWI64, GSWJ64, GSWP64, GSWS64 - Star Wars: Rogue Leader
[Core]
# Strictly required.
# Values set here will override the main Dolphin settings.
MMU = True
# Reduces stuttering when switching to and from cockpit view.
JITFollowBranch = False
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video]
[Video_Settings]
# Improves performance, especially in levels with terrain.
CPUCull = True
[Video_Hacks]
# Avoids majorly corrupted graphics in menus.
EFBToTextureEnable = False
EFBEmulateFormatChanges = True
# Avoids majorly corrupted graphics.
ImmediateXFBEnable = False
-2
View File
@@ -2,5 +2,3 @@
[Video_Settings]
SuggestedAspectRatio = 2
# Fix animation stutter
SafeTextureCacheColorSamples = 0
-2
View File
@@ -2,5 +2,3 @@
[Video_Settings]
SuggestedAspectRatio = 2
# Fix animation stutter
SafeTextureCacheColorSamples = 0
-8
View File
@@ -1,8 +0,0 @@
# RGWE41 - Rabbids Go Home
[OnFrame]
$Limit internal frame rate (speed hack)
0x802310a0:dword:0x48148db0
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)
-8
View File
@@ -1,8 +0,0 @@
# RGWX41 - Rabbids Go Home
[OnFrame]
$Limit internal frame rate (speed hack)
0x80231138:dword:0x48148D38
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)
-8
View File
@@ -1,8 +0,0 @@
# RGWX41 - Rabbids Go Home
[OnFrame]
$Limit internal frame rate (speed hack)
0x802318a8:dword:0x48149258
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)
-2
View File
@@ -2,5 +2,3 @@
[Video_Settings]
SuggestedAspectRatio = 2
# Fix animation stutter
SafeTextureCacheColorSamples = 0
-8
View File
@@ -1,8 +0,0 @@
# RQZE41, RQZP41 - Monster 4x4: Stunt Racer
[OnFrame]
$Limit internal frame rate (speed hack)
0x800931f4:dword:0x38600001
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)
-12
View File
@@ -1,12 +0,0 @@
# UGPP01, UGPE01, UGPJ01 - Game Boy Player
[Core]
# Attach Game Boy Player hardware.
HSPDevice = 2
# Overclock to work around sporadic audio/video stream failures.
Overclock = 1.25
OverclockEnable = True
[Video_Settings]
# Fixes old frames being shown when a game updates the center/bottom of the screen without updating the top.
SafeTextureCacheColorSamples = 2048
+11
View File
@@ -1,5 +1,14 @@
# WR2E41, WR2P41 - Rabbids Lab
[Core]
# Values set here will override the main Dolphin settings.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video_Enhancements]
ForceTextureFiltering = 0
@@ -9,5 +18,7 @@ SafeTextureCacheColorSamples = 0
[Video_Hacks]
# Fixes visible lines in air vents/fans.
VertexRounding = True
# This game runs with an uncapped framerate.
ImmediateXFBEnable = False
# Fixes rabbid tattoo textures saving as black.
EFBToTextureEnable = False
-8
View File
@@ -1,8 +0,0 @@
# WR2E41 - Rabbids Lab
[OnFrame]
$Limit internal frame rate (speed hack)
0x802a1380:dword:0x4815da50
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)
-8
View File
@@ -1,8 +0,0 @@
# WR2P41 - Rabbids Lab
[OnFrame]
$Limit internal frame rate (speed hack)
0x802a1360:dword:0x4815da50
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)
@@ -1,45 +0,0 @@
void process_fragment(in DolphinFragmentInput frag_input, out DolphinFragmentOutput frag_output)
{
int layer = int(frag_input.tex0.z);
int r = int(efb_scale) * int(SPREAD_MULTIPLIER);
int coord;
int length;
int2 initial_coords = int2(frag_input.tex0.xy * source_resolution.xy);
vec4 brightness = float4(1.0, 1.0, 1.0, 1.0);
if (HORIZONTAL)
{
length = int(source_resolution.x);
coord = initial_coords.x;
brightness = BRIGHTNESS_MULTIPLIER * brightness;
}
else
{
length = int(source_resolution.y);
coord = initial_coords.y;
}
int offset;
vec4 count = vec4(0.0,0.0,0.0,0.0);
vec4 col = vec4(0.0,0.0,0.0,0.0);
for (offset = -r; offset <= r; offset++)
{
int pos = coord + offset;
if (pos <= length && pos >= 0)
{
int3 sample_coords;
if (HORIZONTAL)
{
sample_coords = int3(int2(pos, initial_coords.y), layer);
}
else
{
sample_coords = int3(int2(initial_coords.x, pos), layer);
}
col += texelFetch(samp0, sample_coords, 0);
count += vec4(1.0,1.0,1.0,1.0);
}
}
frag_output.main = col / count * brightness;
}
@@ -1,23 +0,0 @@
{
"properties":[
{
"code_name": "HORIZONTAL",
"default": true,
"description": "Whether to apply the blur horizontally or vertically",
"type": "bool"
},
{
"code_name": "SPREAD_MULTIPLIER",
"default": 1.0,
"description": "How much to spread the blur",
"type": "float"
},
{
"code_name": "BRIGHTNESS_MULTIPLIER",
"default": 1.0,
"description": "How bright the blur is",
"type": "float"
}
],
"samplers":[]
}
@@ -1,4 +0,0 @@
void process_vertex(in DolphinVertexInput vertex_input, out DolphinVertexOutput vertex_output)
{
dolphin_process_emulated_vertex(vertex_input, vertex_output);
}
@@ -1,19 +0,0 @@
{
"next_material_asset":"dolphin_bloom_blur_vertical",
"properties":[
{
"type": "bool",
"value": true
},
{
"type": "float",
"value": 1.0
},
{
"type": "float",
"value": 1.0
}
],
"textures":[],
"shader_asset": "dolphin_bloom_blur"
}
@@ -1,19 +0,0 @@
{
"next_material_asset":"",
"properties":[
{
"type": "bool",
"value": false
},
{
"type": "float",
"value": 1.0
},
{
"type": "float",
"value": 1.0
}
],
"textures":[],
"shader_asset": "dolphin_bloom_blur"
}
@@ -1,41 +0,0 @@
{
"meta":
{
"title": "Bloom Blurred",
"author": "Dolphin Team",
"description": "Modifies bloom effects to blur them to their native resolution. Results in bloom looking much more natural at higher resolutions but the blur may be too intense in some games."
},
"features":
[
{
"group": "Bloom",
"action": "custom_pipeline",
"action_data":
{
"material_asset": "dolphin_bloom_blur_horizontal"
}
}
],
"assets": [
{
"data": {
"metadata": "blur.rastershader",
"pixel_shader": "blur.ps.glsl",
"vertex_shader": "blur.vs.glsl"
},
"name": "dolphin_bloom_blur"
},
{
"data": {
"metadata": "blur_horizontal.rastermaterial"
},
"name": "dolphin_bloom_blur_horizontal"
},
{
"data": {
"metadata": "blur_vertical.rastermaterial"
},
"name": "dolphin_bloom_blur_vertical"
}
]
}
Whitespace-only changes.
@@ -1,45 +0,0 @@
void process_fragment(in DolphinFragmentInput frag_input, out DolphinFragmentOutput frag_output)
{
int layer = int(frag_input.tex0.z);
int r = int(efb_scale) * int(SPREAD_MULTIPLIER);
int coord;
int length;
int2 initial_coords = int2(frag_input.tex0.xy * source_resolution.xy);
vec4 brightness = float4(1.0, 1.0, 1.0, 1.0);
if (HORIZONTAL)
{
length = int(source_resolution.x);
coord = initial_coords.x;
brightness = BRIGHTNESS_MULTIPLIER * brightness;
}
else
{
length = int(source_resolution.y);
coord = initial_coords.y;
}
int offset;
vec4 count = vec4(0.0,0.0,0.0,0.0);
vec4 col = vec4(0.0,0.0,0.0,0.0);
for (offset = -r; offset <= r; offset++)
{
int pos = coord + offset;
if (pos <= length && pos >= 0)
{
int3 sample_coords;
if (HORIZONTAL)
{
sample_coords = int3(int2(pos, initial_coords.y), layer);
}
else
{
sample_coords = int3(int2(initial_coords.x, pos), layer);
}
col += texelFetch(samp0, sample_coords, 0);
count += vec4(1.0,1.0,1.0,1.0);
}
}
frag_output.main = col / count * brightness;
}
@@ -1,23 +0,0 @@
{
"properties":[
{
"code_name": "HORIZONTAL",
"default": true,
"description": "Whether to apply the blur horizontally or vertically",
"type": "bool"
},
{
"code_name": "SPREAD_MULTIPLIER",
"default": 1.0,
"description": "How much to spread the blur",
"type": "float"
},
{
"code_name": "BRIGHTNESS_MULTIPLIER",
"default": 1.0,
"description": "How bright the blur is",
"type": "float"
}
],
"samplers":[]
}
@@ -1,4 +0,0 @@
void process_vertex(in DolphinVertexInput vertex_input, out DolphinVertexOutput vertex_output)
{
dolphin_process_emulated_vertex(vertex_input, vertex_output);
}
@@ -1,19 +0,0 @@
{
"next_material_asset":"dolphin_dof_blur_vertical",
"properties":[
{
"type": "bool",
"value": true
},
{
"type": "float",
"value": 1.0
},
{
"type": "float",
"value": 1.0
}
],
"textures":[],
"shader_asset": "dolphin_dof_blur"
}
@@ -1,19 +0,0 @@
{
"next_material_asset":"",
"properties":[
{
"type": "bool",
"value": false
},
{
"type": "float",
"value": 1.0
},
{
"type": "float",
"value": 1.0
}
],
"textures":[],
"shader_asset": "dolphin_dof_blur"
}
@@ -1,41 +0,0 @@
{
"meta":
{
"title": "DOF Blurred",
"author": "Dolphin Team",
"description": "Modifies depth of field effects to blur them to their native resolution. Results in depth of field looking much more natural at higher resolutions but the blur may be too intense in some games."
},
"features":
[
{
"group": "DOF",
"action": "custom_pipeline",
"action_data":
{
"material_asset": "dolphin_dof_blur_horizontal"
}
}
],
"assets": [
{
"data": {
"metadata": "blur.rastershader",
"pixel_shader": "blur.ps.glsl",
"vertex_shader": "blur.vs.glsl"
},
"name": "dolphin_dof_blur"
},
{
"data": {
"metadata": "blur_horizontal.rastermaterial"
},
"name": "dolphin_dof_blur_horizontal"
},
{
"data": {
"metadata": "blur_vertical.rastermaterial"
},
"name": "dolphin_dof_blur_vertical"
}
]
}
Whitespace-only changes.
@@ -1,31 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000022_40x28_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000021_80x56_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000020_160x112_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000025_320x224_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,65 +0,0 @@
{
"meta":
{
"title": "Bloom Blurred",
"author": "Dolphin Team",
"description": "Modifies bloom effects to blur them to their native resolution. Results in bloom looking much more natural at higher resolutions but the blur may be too intense in some games."
},
"groups":
[
{
"name": "CustomBloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000134_20x14_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000022_40x28_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000131_80x56_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000130_160x112_6"
}
]
}
],
"features":
[
{
"group": "CustomBloom",
"action": "custom_pipeline",
"action_data":
{
"material_asset": "dolphin_bloom_blur_horizontal"
}
}
],
"assets": [
{
"data": {
"metadata": "../../All Games Blurred Bloom/blur.rastershader",
"pixel_shader": "../../All Games Blurred Bloom/blur.ps.glsl",
"vertex_shader": "../../All Games Blurred Bloom/blur.vs.glsl"
},
"name": "dolphin_bloom_blur"
},
{
"data": {
"metadata": "../../All Games Blurred Bloom/blur_horizontal.rastermaterial"
},
"name": "dolphin_bloom_blur_horizontal"
},
{
"data": {
"metadata": "../../All Games Blurred Bloom/blur_vertical.rastermaterial"
},
"name": "dolphin_bloom_blur_vertical"
}
]
}
Whitespace-only changes.
@@ -1,64 +0,0 @@
{
"meta":
{
"title": "Bloom Removal",
"author": "Dolphin Team",
"description": "Skips drawing bloom effects. May be preferable when using a bloom solution from Dolphin's post processing shaders or a third party tool. Requires enabling 'EFB Copy To Texture Only'"
},
"groups":
[
{
"name": "CustomBloom",
"targets": [
{
"type": "draw_started",
"texture_filename": "efb1_n000134_20x14_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000022_40x28_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000131_80x56_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000130_160x112_6"
}
]
},
{
"name": "Fixup",
"targets": [
{
"type": "draw_started",
"texture_filename": "tex1_256x179_802b7563f35b613a_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000182_640x448_5"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000380_320x224_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000380_240x224_6"
}
]
}
],
"features":
[
{
"group": "CustomBloom",
"action": "skip"
},
{
"group": "Fixup",
"action": "skip"
}
]
}
Whitespace-only changes.
@@ -1,65 +0,0 @@
{
"meta":
{
"title": "Bloom Blurred",
"author": "Dolphin Team",
"description": "Modifies bloom effects to blur them to their native resolution. Results in bloom looking much more natural at higher resolutions but the blur may be too intense in some games."
},
"groups":
[
{
"name": "CustomBloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000134_20x14_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000022_40x28_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000131_80x56_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000130_160x112_6"
}
]
}
],
"features":
[
{
"group": "CustomBloom",
"action": "custom_pipeline",
"action_data":
{
"material_asset": "dolphin_bloom_blur_horizontal"
}
}
],
"assets": [
{
"data": {
"metadata": "../../All Games Blurred Bloom/blur.rastershader",
"pixel_shader": "../../All Games Blurred Bloom/blur.ps.glsl",
"vertex_shader": "../../All Games Blurred Bloom/blur.vs.glsl"
},
"name": "dolphin_bloom_blur"
},
{
"data": {
"metadata": "../../All Games Blurred Bloom/blur_horizontal.rastermaterial"
},
"name": "dolphin_bloom_blur_horizontal"
},
{
"data": {
"metadata": "../../All Games Blurred Bloom/blur_vertical.rastermaterial"
},
"name": "dolphin_bloom_blur_vertical"
}
]
}
Whitespace-only changes.
@@ -1,64 +0,0 @@
{
"meta":
{
"title": "Bloom Removal",
"author": "Dolphin Team",
"description": "Skips drawing bloom effects. May be preferable when using a bloom solution from Dolphin's post processing shaders or a third party tool."
},
"groups":
[
{
"name": "CustomBloom",
"targets": [
{
"type": "draw_started",
"texture_filename": "efb1_n000134_20x14_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000022_40x28_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000131_80x56_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000130_160x112_6"
}
]
},
{
"name": "Fixup",
"targets": [
{
"type": "draw_started",
"texture_filename": "tex1_240x224_05a5e9c230d056cc_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000182_640x448_5"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000380_320x224_6"
},
{
"type": "draw_started",
"texture_filename": "efb1_n000380_240x224_6"
}
]
}
],
"features":
[
{
"group": "CustomBloom",
"action": "skip"
},
{
"group": "Fixup",
"action": "skip"
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000038_160x120_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000038_160x120_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000167_80x58_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000043_80x56_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000013_80x60_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000015_320x224_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000015_320x224_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,23 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000069_80x60_4"
},
{
"type": "efb",
"texture_filename": "efb1_n000068_160x120_4"
}
]
}
]
}
Whitespace-only changes.
@@ -1,23 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "autofire372"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000023_320x224_4"
},
{
"type": "efb",
"texture_filename": "efb1_n000024_320x224_4"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "Stalin15"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000010_80x60_6"
}
]
}
]
}
@@ -2,7 +2,7 @@
"meta":
{
"title": "Bloom and DOF Texture Definitions",
"author": "linckandrea, iwubcode"
"author": "linckandrea"
},
"groups":
[
@@ -15,7 +15,7 @@
},
{
"type": "efb",
"texture_filename": "efb1_n21_40x30_1"
"texture_filename": "efb1_n21_20x15_1"
}
]
},
@@ -25,6 +25,10 @@
{
"type": "efb",
"texture_filename": "efb1_n10_320x240_4"
},
{
"type": "efb",
"texture_filename": "efb1_n11_320x240_1"
}
]
}
Whitespace-only changes.
@@ -1,23 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000010_82x58_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000011_42x30_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,23 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000010_82x58_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000011_42x30_6"
}
]
}
]
}
@@ -2,7 +2,7 @@
"meta":
{
"title": "Bloom Texture Definitions",
"author": "Silent Hell, FrankyBuster"
"author": "Silent Hell"
},
"groups":
[
@@ -13,17 +13,37 @@
"type": "efb",
"texture_filename": "efb1_n000007_160x120_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000008_160x120_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000009_80x60_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000010_80x60_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000011_40x30_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000012_40x30_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000013_20x15_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000014_20x15_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000015_160x120_6"
}
]
}
Whitespace-only changes.
@@ -1,23 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "Dr. Azathoth"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_320x240_6"
},
{
"type": "efb",
"texture_filename": "efb1_640x480_1"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000690_80x56_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,23 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000102_80x66_6"
},
{
"type": "efb",
"texture_filename": "efb1_n000025_320x232_6"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000038_80x60_4"
}
]
}
]
}
Whitespace-only changes.
@@ -1,19 +0,0 @@
{
"meta":
{
"title": "Bloom Texture Definitions",
"author": "iwubcode"
},
"groups":
[
{
"name": "Bloom",
"targets": [
{
"type": "efb",
"texture_filename": "efb1_n000102_80x66_6"
}
]
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Vendored Submodule
+1
Submodule Externals/OpenXR added at 472d817ffe.
-5
View File
@@ -20,11 +20,6 @@ if(CCACHE_BIN)
set(CCACHE_BINARY ${CCACHE_BIN})
endif()
if(LibUSB_TYPE STREQUAL Bundled)
set(LibUSB_FOUND TRUE)
set(SDL_HIDAPI_LIBUSB_SHARED OFF)
endif()
add_subdirectory(SDL)
if (TARGET SDL3)
+1 -5
View File
@@ -13,11 +13,7 @@ set(HTTP_ONLY ON)
set(CURL_USE_LIBPSL OFF)
set(CURL_USE_LIBSSH2 OFF)
set(CURL_ZLIB OFF CACHE BOOL "" FORCE)
set(CURL_ZSTD OFF CACHE BOOL "" FORCE)
set(CURL_BROTLI OFF CACHE BOOL "" FORCE)
set(ZLIB_FOUND FALSE) # TODO: Remove once we update to cURL >=8.17.1 https://github.com/curl/curl/pull/20147
set(ZSTD_FOUND FALSE) # TODO: Same as above
set(BROTLI_FOUND FALSE) # TODO: Same as above
set(CURL_ZSTD OFF)
set(USE_LIBIDN2 OFF)
set(USE_NGHTTP2 OFF)
+1 -12
View File
@@ -125,15 +125,4 @@ check_include_files(sys/timerfd.h HAVE_TIMERFD)
check_include_files(unistd.h HAVE_UNISTD_H)
configure_file(config.h.in config.h)
# We don't create an ALIAS here so that dependencies (SDL) that try_compile libusb
# don't fail due to LibUSB::LibUSB being an alias target
add_library(LibUSB::LibUSB INTERFACE IMPORTED GLOBAL)
target_link_libraries(LibUSB::LibUSB
INTERFACE
usb
)
target_include_directories(LibUSB::LibUSB
INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/libusb/libusb
)
add_library(LibUSB::LibUSB ALIAS usb)
Loaded 100 of 3479 files, more files were not shown because too many files have changed in this diff. Show more