This commit is contained in:
Intra 2025-04-23 22:36:46 +02:00 committed by GitHub
commit d94a8b8c55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 329 additions and 257 deletions

View file

@ -1,3 +0,0 @@
[ZombiUEUv0]
moduleMatches = 0xA4959FE1
0x1008FA68 = .float $fov # 1.0 is default, 0.75 wider FOV

View file

@ -1,235 +0,0 @@
[Definition]
titleIds = 000500001010DD00,000500001010EF00,0005000010112300,000500001011A700,0005000E1010DD00,0005000E10112300
name = Resolution
path = "ZombiU/Graphics/Resolution"
description = Changes the resolution of the game. Made by getdls.
version = 4
[Preset]
name = 1280x720 (Default)
$width = 1280
$height = 720
$gameWidth = 1280
$gameHeight = 720
$internalRes = 1.0
$scaleShader = 1.0
$textureFormat = 0x01a
# Performance
[Preset]
name = 320x180
$width = 320
$height = 180
$gameWidth = 1280
$gameHeight = 720
$internalRes = 1.0
$scaleShader = 1.0
$textureFormat = 0x01a
[Preset]
name = 640x360
$width = 640
$height = 360
$gameWidth = 1280
$gameHeight = 720
$internalRes = 1.0
$scaleShader = 1.0
$textureFormat = 0x01a
[Preset]
name = 960x540
$width = 960
$height = 540
$gameWidth = 1280
$gameHeight = 720
$internalRes = 1.0
$scaleShader = 1.0
$textureFormat = 0x01a
# Common HD Resolutions
[Preset]
name = 1600x900
$width = 1600
$height = 900
$gameWidth = 1280
$gameHeight = 720
$internalRes = 1.0
$scaleShader = (1440.0/1080.0)
$textureFormat = 0x01a
[Preset]
name = 1920x1080
$width = 1920
$height = 1080
$gameWidth = 1280
$gameHeight = 720
$internalRes = 1.0
$scaleShader = (1440.0/1080.0)
$textureFormat = 0x01a
[Preset]
name = 2560x1440
$width = 2560
$height = 1440
$gameWidth = 1280
$gameHeight = 720
$internalRes = 0.75
$scaleShader = (1440.0/1080.0)
$textureFormat = 0x01a
[Preset]
name = 3200x1800
$width = 3200
$height = 1800
$gameWidth = 1280
$gameHeight = 720
$internalRes = 2.0
$scaleShader = (1440.0/1800.0)
$textureFormat = 0x01a
[Preset]
name = 3840x2160
$width = 3840
$height = 2160
$gameWidth = 1280
$gameHeight = 720
$internalRes = 0.5
$scaleShader = (1440.0/1080.0) #round 1.5 shadow to 2.0
$textureFormat = 0x01a
[Preset]
name = 3840x2160 Experimental (Format, Res, Shaders)
$width = 3840
$height = 2160
$gameWidth = 1280
$gameHeight = 720
$internalRes = 0.5
$scaleShader = (2160.0/1080.0) #round 1.5 shadow to 3.0
$textureFormat = 0x019
[Preset]
name = 5120x2880
$width = 5120
$height = 2880
$gameWidth = 1280
$gameHeight = 720
$internalRes = 0.375
$scaleShader = (1440.0/1080.0)
$textureFormat = 0x01a
#[TextureRedefine] #
#width = 4095
#height = 4095
#formatsExcluded =
#overwriteWidth = ($width/$gameWidth) * 4095
#overwriteHeight = ($height/$gameHeight) * 4095
[TextureRedefine]
width = 1280
height = 720
formats = $textureFormat #
overwriteFormat = 0x01f
[TextureRedefine]
width = 1280
height = 720
#formats = 0x80e,0x034,0x031,0x019,0x001,0x01a
formatsExcluded = 0x034,0x031 # lens dirt
tileModesExcluded = 0x001 # For Video Playback
overwriteWidth = ($width/$gameWidth) * 1280
overwriteHeight = ($height/$gameHeight) * 720
[TextureRedefine] #
width = 1024
height = 1024
formatsExcluded = 0x033,0x031
formats = 0x005 # Ye ol shadow map
overwriteWidth = ($width/$gameWidth) * (1024*$scaleShader*$internalRes)
overwriteHeight = ($height/$gameHeight) * (1024*$scaleShader*$internalRes)
# Gamepad - background
[TextureRedefine]
width = 864
height = 480
#formats = 0x019,0x01a
overwriteWidth = ($width/$gameWidth)* 864
overwriteHeight = ($height/$gameHeight)* 480
[TextureRedefine]
width = 854
height = 480
#formats = 0x019,0x01a
overwriteWidth = ($width/$gameWidth) * 854
overwriteHeight = ($height/$gameHeight) * 480
#[TextureRedefine]
#width = 640
#height = 368
#formats = 0x019
#overwriteFormat = 0x01f
#
#[TextureRedefine]
#width = 640
#height = 360
#formats = 0x019
#overwriteFormat = 0x01f
[TextureRedefine]
width = 640
height = 368
#formatsExcluded = 0x431
overwriteWidth = ($width/$gameWidth)* (640*$internalRes)
overwriteHeight = ($height/$gameHeight)* (368*$internalRes)
[TextureRedefine]
width = 640
height = 360
#formats = 0x01a,0x001
tileModesExcluded = 0x001 # For Video Playback
overwriteWidth = ($width/$gameWidth) * (640*$internalRes)
overwriteHeight = ($height/$gameHeight) * (360*$internalRes)
[TextureRedefine] #
width = 512
height = 512
#formatsExcluded = 0x431,0x035,0x034,0x033,0x031,0x005
formats = 0x005 # ye ol dynamic shadow map
overwriteWidth = ($width/$gameWidth) * (512*$scaleShader*$internalRes)
overwriteHeight = ($height/$gameHeight) * (512*$scaleShader*$internalRes)
[TextureRedefine]
width = 320
height = 192
formats = 0x01a,0x019
overwriteFormat = 0x01f
[TextureRedefine]
width = 320
height = 180
formats = 0x01a,0x019
overwriteFormat = 0x01f
[TextureRedefine]
width = 320
height = 192
#formats = 0x019,0x01a
overwriteWidth = ($width/$gameWidth)* (320*$internalRes)
overwriteHeight = ($height/$gameHeight)* (192*$internalRes)
[TextureRedefine]
width = 320
height = 180
#formats = 0x019,0x01a
overwriteWidth = ($width/$gameWidth) * (320*$internalRes)
overwriteHeight = ($height/$gameHeight) * (180*$internalRes)
[TextureRedefine] #
width = 256
height = 256
formats = 0x005 # ye ol dynamic shadows
#formatsExcluded = 0x431,0x035,0x034,0x033,0x031,
overwriteWidth = ($width/$gameWidth) * (256*$scaleShader*$internalRes)
overwriteHeight = ($height/$gameHeight) * (256*$scaleShader*$internalRes)

View file

@ -1,4 +1,4 @@
#version 420
#version 430
#extension GL_ARB_texture_gather : enable
#extension GL_ARB_separate_shader_objects : enable
#ifdef VULKAN

View file

@ -1,14 +1,17 @@
[Definition]
titleIds = 000500001010DD00,000500001010EF00,0005000010112300,000500001011A700,0005000E1010DD00,0005000E10112300
titleIds = 000500001010DD00,000500001010EF00,0005000010112300,000500001011A700,000500021010DD01,000500021010EF01,0005000210112301
name = Chromatic Aberration
path = "ZombiU/Enhancements/Chromatic Aberration"
description = Changes the intensity of horizontal chromatic aberration. (the red/green/blue edges)
version = 4
#Credits: getdls
version = 6
[Default]
$redHz = 1.0
$blueHz = 1.0
[Preset]
name = CA Default
$redHz = 1.0
$blueHz = 1.0
[Preset]
name = CA 0.75
@ -18,9 +21,9 @@ $blueHz = 1.0025
[Preset]
name = CA 0.5
$redHz = 1.0025
$blueHz = 1.005
$blueHz = 1.005
[Preset]
name = CA Mostly Disabled
$redHz = 1.005
$blueHz = 1.01
$blueHz = 1.01

View file

@ -1,4 +1,4 @@
#version 420
#version 430
#extension GL_ARB_texture_gather : enable
#extension GL_ARB_separate_shader_objects : enable
#ifdef VULKAN

View file

@ -1,13 +1,16 @@
[Definition]
titleIds = 000500001010DD00,000500001010EF00,0005000010112300,000500001011A700,0005000E1010DD00,0005000E10112300
titleIds = 000500001010DD00,000500001010EF00,0005000010112300,000500001011A700,000500021010DD01,000500021010EF01,0005000210112301
name = Lens Dirt Adjustment
path = "ZombiU/Enhancements/Lens Dirt Adjustment"
description = Changes the intensity of the lens dirt effect.
version = 4
#Credits: getdls
version = 6
[Default]
$dirt = 1.0
[Preset]
name = Lens Dirt Default
$dirt = 1.0
[Preset]
name = Lens Dirt 0.85

View file

@ -1,4 +1,4 @@
#version 420
#version 430
#extension GL_ARB_texture_gather : enable
#extension GL_ARB_separate_shader_objects : enable
#ifdef VULKAN
@ -19,9 +19,9 @@
// This shader was automatically converted to be cross-compatible with Vulkan and OpenGL.
// shader 9993b65e9eb6bb1d
//aa
// Anti-Aliasing
const float resXScale = float($width)/float($gameWidth);
const float resYScale = float($height)/float($gameHeight);
const float resYScale = float($height)/float($gameHeight);
#ifdef VULKAN
layout(set = 1, binding = 1) uniform ufBlock
{

View file

@ -1,4 +1,4 @@
#version 420
#version 430
#extension GL_ARB_texture_gather : enable
#extension GL_ARB_separate_shader_objects : enable
#ifdef VULKAN
@ -21,7 +21,7 @@
// shader d121b990e877579c
//shadow penumbra
const float resXScale = float($width)/float($gameWidth);
const float resYScale = float($height)/float($gameHeight);
const float resYScale = float($height)/float($gameHeight);
#ifdef VULKAN
layout(set = 1, binding = 5) uniform ufBlock

View file

@ -0,0 +1,286 @@
[Definition]
titleIds = 000500001010DD00,000500001010EF00,0005000010112300,000500001011A700,000500021010DD01,000500021010EF01,0005000210112301
name = Graphics Settings
path = "ZombiU/Graphics"
description = Changes the TV resolution and Gamepad resolution of the game. You can also change the quality of the shadows.|Made by getdls and M&&M.
#Credits: getdls, M&&M
version = 6
[Default]
$width = 1280
$height = 720
$padWidth = 854
$padHeight = 480
$gameWidth = 1280
$gameHeight = 720
$gamePadWidth = 854
$gamePadHeight = 480
$shadowRes = 1
# TV Resolution
[Preset]
category = TV Resolution
name = 640x360
$width = 640
$height = 360
[Preset]
category = TV Resolution
name = 960x540
$width = 960
$height = 540
[Preset]
category = TV Resolution
name = 1280x720 (Default)
default = 1
[Preset]
category = TV Resolution
name = 1600x900
$width = 1600
$height = 900
[Preset]
category = TV Resolution
name = 1920x1080
$width = 1920
$height = 1080
[Preset]
category = TV Resolution
name = 2560x1440
$width = 2560
$height = 1440
[Preset]
category = TV Resolution
name = 3200x1800
$width = 3200
$height = 1800
[Preset]
category = TV Resolution
name = 3840x2160
$width = 3840
$height = 2160
[Preset]
category = TV Resolution
name = 5120x2880
$width = 5120
$height = 2880
[Preset]
category = TV Resolution
name = 7680x4320
$width = 7680
$height = 4320
# Gamepad Resolution
[Preset]
category = Gamepad Resolution
name = 640x360
$padWidth = 640
$padHeight = 360
[Preset]
category = Gamepad Resolution
name = 854x480 (Default)
default = 1
[Preset]
category = Gamepad Resolution
name = 960x540
$padWidth = 960
$padHeight = 540
[Preset]
category = Gamepad Resolution
name = 1600x900
$padWidth = 1600
$padHeight = 900
[Preset]
category = Gamepad Resolution
name = 1920x1080
$padWidth = 1920
$padHeight = 1080
[Preset]
category = Gamepad Resolution
name = 2560x1440
$padWidth = 2560
$padHeight = 1440
[Preset]
category = Gamepad Resolution
name = 3200x1800
$padWidth = 3200
$padHeight = 1800
[Preset]
category = Gamepad Resolution
name = 3840x2160
$padWidth = 3840
$padHeight = 2160
[Preset]
category = Gamepad Resolution
name = 5120x2880
$padWidth = 5120
$padHeight = 2880
[Preset]
category = Gamepad Resolution
name = 7680x4320
$padWidth = 7680
$padHeight = 4320
# Shadow Quality
[Preset]
category = Shadow Quality
name = Low (50%)
$shadowRes = 0.5
[Preset]
category = Shadow Quality
name = Medium (100%, Default)
default = 1
[Preset]
category = Shadow Quality
name = High (200%)
$shadowRes = 2
[Preset]
category = Shadow Quality
name = Ultra (300%)
$shadowRes = 3
[Preset]
category = Shadow Quality
name = Extreme (400%, Unstable)
$shadowRes = 4
# Texture Redefines
[TextureRedefine]
width = 1280
height = 720
#formats = 0x80e,0x019,0x001,0x01a
formatsExcluded = 0x034,0x031 # Exclude Lens Dirt
tileModesExcluded = 0x1 # For Video Playback
overwriteWidth = ($width/$gameWidth) * 1280
overwriteHeight = ($height/$gameHeight) * 720
[TextureRedefine]
width = 640
height = 368
#formatsExcluded = 0x431
overwriteWidth = ($width/$gameWidth) * 640
overwriteHeight = ($height/$gameHeight) * 368
[TextureRedefine]
width = 640
height = 360
#formats = 0x01a,0x001
tileModesExcluded = 0x1 # For Video Playback
overwriteWidth = ($width/$gameWidth) * 640
overwriteHeight = ($height/$gameHeight) * 360
[TextureRedefine]
width = 320
height = 192
#formats = 0x019,0x01a
overwriteWidth = ($width/$gameWidth) * 320
overwriteHeight = ($height/$gameHeight) * 192
[TextureRedefine]
width = 320
height = 180
#formats = 0x019,0x01a
overwriteWidth = ($width/$gameWidth) * 320
overwriteHeight = ($height/$gameHeight) * 180
# Dynamic Shadows
[TextureRedefine]
width = 1024
height = 1024
formats = 0x005
#formatsExcluded = 0x033,0x031
overwriteWidth = $shadowRes * 1024
overwriteHeight = $shadowRes * 1024
[TextureRedefine]
width = 512
height = 512
formats = 0x005
#formatsExcluded = 0x431,0x035,0x034,0x033,0x031
overwriteWidth = $shadowRes * 512
overwriteHeight = $shadowRes * 512
[TextureRedefine]
width = 256
height = 256
formats = 0x005
#formatsExcluded = 0x431,0x035,0x034,0x033,0x031
overwriteWidth = $shadowRes * 256
overwriteHeight = $shadowRes * 256
# Gamepad
[TextureRedefine]
width = 864
height = 480
#formats = 0x019,0x01a
overwriteWidth = ($padWidth/$gamePadWidth) * 864
overwriteHeight = ($padHeight/$gamePadHeight) * 480
[TextureRedefine]
width = 854
height = 480
#formats = 0x019,0x01a
overwriteWidth = ($padWidth/$gamePadWidth) * 854
overwriteHeight = ($padHeight/$gamePadHeight) * 480
# Use more accurate texture formats to reduce banding
[TextureRedefine]
width = 1280
height = 720
formats = 0x01a
overwriteFormat = 0x01f
[TextureRedefine]
width = 320
height = 192
formats = 0x01a,0x019
overwriteFormat = 0x01f
[TextureRedefine]
width = 320
height = 180
formats = 0x01a,0x019
overwriteFormat = 0x01f
#[TextureRedefine]
#width = 640
#height = 368
#formats = 0x019
#overwriteFormat = 0x01f
#
#[TextureRedefine]
#width = 640
#height = 360
#formats = 0x019
#overwriteFormat = 0x01f

View file

@ -0,0 +1,15 @@
[ZombiU_FOV_v32]
moduleMatches = 0xC7039B04 ; v32(EU/NA/JP)
0x100902A8 = .float $fov ;1.0 is default, 0.75 wider FOV
[ZombiU_FOV_v0]
moduleMatches = 0xA4959FE1 ; v0(EU/NA)
0x1008FA68 = .float $fov ;1.0 is default, 0.75 wider FOV
[ZombiU_FOV_JPv0]
moduleMatches = 0x89CEBCD5 ; v0(JP)
0x1008FDC8 = .float $fov ;1.0 is default, 0.75 wider FOV
[ZombiU_FOV_vDemo]
moduleMatches = 0x85FB745A ; demo(EU/NA/JP)
0x1008FEE8 = .float $fov ;1.0 is default, 0.75 wider FOV

View file

@ -1,13 +1,16 @@
[Definition]
titleIds = 000500001010DD00,000500001010EF00,0005000010112300,000500001011A700,0005000E1010DD00,0005000E10112300
titleIds = 000500001010DD00,000500001010EF00,0005000010112300,000500001011A700,000500021010DD01,000500021010EF01,0005000210112301
name = Field of View
path = "ZombiU/Mods/Field of View"
description = Changes the field of view (FOV). Fixes edge framing for 21:9 cinematics and other FOV tweaks.
version = 4
#Credits: getdls
version = 6
[Default]
$fov = 1.0
[Preset]
name = Default FOV
$fov = 1.0
[Preset]
name = Match 16:9 horizontal FOV to 21:9 (1.3125)