Skip to content

[XCX] clean up and add new features to mods - fixed #695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 53 additions & 53 deletions src/XenobladeChroniclesX/Enhancements/AntiAliasing/rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ version = 6
[Default]
$Preset:int = 0

$subPix:float = 0.75
$edgeThreshold:float = 0.166
$edgeThresholdMin:float = 0.0833
$subPix:double = 0.75
$edgeThreshold:double = 0.166
$edgeThresholdMin:double = 0.0833
$FXAAQUALITYPRESET:int = 12
$FXAAGREENASLUMA:int = 0
$FXAADISCARD:int = 0
Expand All @@ -28,217 +28,217 @@ $Preset:int = 0


[Preset]
category = "FXAA sub-pixel aliasing removal:"
category = "FXAA sub-pixel aliasing removal"
condition = $Preset == 2
name = "1.00 (upper limit, softer) (recommended)"
default = 1
$subPix:float = 1.00
$subPix:double = 1.00

[Preset]
category = "FXAA sub-pixel aliasing removal:"
category = "FXAA sub-pixel aliasing removal"
condition = $Preset == 2
name = "0.75 (default)"
$subPix:float = 0.75
$subPix:double = 0.75

[Preset]
category = "FXAA sub-pixel aliasing removal:"
category = "FXAA sub-pixel aliasing removal"
condition = $Preset == 2
name = "0.50 (lower limit, sharper, less sub-pixel aliasing removal)"
$subPix:float = 0.50
$subPix:double = 0.50

[Preset]
category = "FXAA sub-pixel aliasing removal:"
category = "FXAA sub-pixel aliasing removal"
condition = $Preset == 2
name = "0.25 (almost off)"
$subPix:float = 0.25
$subPix:double = 0.25

[Preset]
category = "FXAA sub-pixel aliasing removal:"
category = "FXAA sub-pixel aliasing removal"
condition = $Preset == 2
name = "0.00 (completely off)"
$subPix:float = 0.00
$subPix:double = 0.00

[Preset]
category = "FXAA Edge detection threshold:"
category = "FXAA Edge detection threshold"
condition = $Preset == 2
name = "0.333 (too little, faster)"
$edgeThreshold:float = 0.333
$edgeThreshold:double = 0.333

[Preset]
category = "FXAA Edge detection threshold:"
category = "FXAA Edge detection threshold"
condition = $Preset == 2
name = "0.250 (low quality)"
$edgeThreshold:float = 0.250
$edgeThreshold:double = 0.250

[Preset]
category = "FXAA Edge detection threshold:"
category = "FXAA Edge detection threshold"
condition = $Preset == 2
name = "0.166 (default)"
$edgeThreshold:float = 0.166
$edgeThreshold:double = 0.166

[Preset]
category = "FXAA Edge detection threshold:"
category = "FXAA Edge detection threshold"
condition = $Preset == 2
name = "0.125 (high quality) (recommended)"
default = 1
$edgeThreshold:float = 0.125
$edgeThreshold:double = 0.125

[Preset]
category = "FXAA Edge detection threshold:"
category = "FXAA Edge detection threshold"
condition = $Preset == 2
name = "0.063 (overkill, slower)"
$edgeThreshold:float = 0.063
$edgeThreshold:double = 0.063

[Preset]
category = "FXAA Darkness threshold:"
category = "FXAA Darkness threshold"
condition = $Preset == 2
name = "0.0833 (upper limit, the start of visible unfiltered edges) (default)"
$edgeThresholdMin:float = 0.0833
$edgeThresholdMin:double = 0.0833

[Preset]
category = "FXAA Darkness threshold:"
category = "FXAA Darkness threshold"
condition = $Preset == 2
name = "0.0625 (high quality, faster)"
$edgeThresholdMin:float = 0.0625
$edgeThresholdMin:double = 0.0625

[Preset]
category = "FXAA Darkness threshold:"
category = "FXAA Darkness threshold"
condition = $Preset == 2
name = "0.0312 (visible limit, slower)"
$edgeThresholdMin:float = 0.0312
$edgeThresholdMin:double = 0.0312

[Preset]
category = "FXAA Darkness threshold:"
category = "FXAA Darkness threshold"
condition = $Preset == 2
name = "0.0156 (overkill) (recommended)"
default = 1
$edgeThresholdMin:float = 0.0156
$edgeThresholdMin:double = 0.0156

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "10 (default medium dither) (10=fastest)"
$FXAAQUALITYPRESET:int = 10

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "11 (default medium dither)"
$FXAAQUALITYPRESET:int = 11

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "12 (default medium dither) (default)"
$FXAAQUALITYPRESET:int = 12

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "13 (default medium dither)"
$FXAAQUALITYPRESET:int = 13

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "14 (default medium dither) (recommended)"
default = 1
$FXAAQUALITYPRESET:int = 14

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "15 (default medium dither) (15=highest quality)"
$FXAAQUALITYPRESET:int = 15

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "20 (less dither, more expensive) (20=fastest)"
$FXAAQUALITYPRESET:int = 20

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "21 (less dither, more expensive)"
$FXAAQUALITYPRESET:int = 21

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "22 (less dither, more expensive)"
$FXAAQUALITYPRESET:int = 22

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "23 (less dither, more expensive)"
$FXAAQUALITYPRESET:int = 23

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "24 (less dither, more expensive)"
$FXAAQUALITYPRESET:int = 24

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "25 (less dither, more expensive)"
$FXAAQUALITYPRESET:int = 25

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "26 (less dither, more expensive)"
$FXAAQUALITYPRESET:int = 26

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "27 (less dither, more expensive)"
$FXAAQUALITYPRESET:int = 27

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "28 (less dither, more expensive)"
$FXAAQUALITYPRESET:int = 28

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "29 (less dither, more expensive) (29=highest quality)"
$FXAAQUALITYPRESET:int = 29

[Preset]
category = "FXAA Quality Preset:"
category = "FXAA Quality Preset"
condition = $Preset == 2
name = "39 (no dither, very expensive)"
$FXAAQUALITYPRESET:int = 39

[Preset]
category = "FXAA Green As Luma:"
category = "FXAA Green As Luma"
condition = $Preset == 2
name = "On (will turn off AA on anything which lacks some amount of green)"
default = 1
$FXAAGREENASLUMA:int = 1
$FXAADISCARD:int = 0

[Preset]
category = "FXAA Green As Luma:"
category = "FXAA Green As Luma"
condition = $Preset == 2
name = "Off"
$FXAAGREENASLUMA:int = 0

[Preset]
category = "FXAA discard on pixels which don't need AA:"
category = "FXAA discard on pixels which don't need AA"
condition = ($Preset == 2)*($FXAAGREENASLUMA == 0) == 1
name = "On (not compatable with Green As Luma)"
name = "On (not compatible with Green As Luma)"
$FXAADISCARD:int = 1

[Preset]
category = "FXAA discard on pixels which don't need AA:"
category = "FXAA discard on pixels which don't need AA"
condition = ($Preset == 2)*($FXAAGREENASLUMA == 0) == 1
name = "Off"
default = 1
Expand Down
68 changes: 34 additions & 34 deletions src/XenobladeChroniclesX/Enhancements/FancyFX/rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,43 @@
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = Fancy GFX
path = "Xenoblade Chronicles X/Enhancements/Fancy FX"
description = Pretty blur, de-band sky, re-align cinematic etc, maintained on Nvidia. Made by getdls.
description = Pretty blur, de-band sky, re-align cinematic etc.|Made by getdls.
#Credits: getdls
version = 4

[Preset]
name = 1080 -> 1440
$width = 2560
$height = 1440
$gameWidth = 1280
$gameHeight = 720
$internalRes = 0.75
$dither = 0.15
$scaleShader = (1440.0/1080.0)
$scaleBlur = 0.5

[Preset]
name = 1440 -> 2880
$width = 3840
$height = 2160
$gameWidth = 1280
$gameHeight = 720
$internalRes = (1440.0/2160.0)
$dither = 0.25
$scaleShader = 1.0 #round 1.5 shadow to 2.0
$scaleBlur = 0.75

[Preset]
name = 2880+ (probably won't look good)
$width = 7680
$height = 4320
$gameWidth = 1280
$gameHeight = 720
$internalRes = 0.5
$dither = 0.25
$scaleShader = 1.0
$scaleBlur = 1.0

#Disabled, causes gfx errors on 1.15.x Enable if fixed.
#[TextureRedefine]
#width = 1280
Expand Down Expand Up @@ -144,36 +177,3 @@ width = 80
height = 46
formats = 0x816
overwriteFormat = 0x820

[Preset]
name = 1080 -> 1440
$width = 2560
$height = 1440
$gameWidth = 1280
$gameHeight = 720
$internalRes = 0.75
$dither = 0.15
$scaleShader = (1440.0/1080.0)
$scaleBlur = 0.5

[Preset]
name = 1440 -> 2880
$width = 3840
$height = 2160
$gameWidth = 1280
$gameHeight = 720
$internalRes = (1440.0/2160.0)
$dither = 0.25
$scaleShader = 1.0 #round 1.5 shadow to 2.0
$scaleBlur = 0.75

[Preset]
name = 2880+ (probably won't look good)
$width = 7680
$height = 4320
$gameWidth = 1280
$gameHeight = 720
$internalRes = 0.5
$dither = 0.25
$scaleShader = 1.0
$scaleBlur = 1.0
16 changes: 13 additions & 3 deletions src/XenobladeChroniclesX/Enhancements/NegativeLOD/rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,25 @@ name = Negative texture LOD bias
path = "Xenoblade Chronicles X/Enhancements/Negative Texture LOD"
description = Texture LOD override, possible shimmer but sharper textures.
#Credits: Crementif
version = 4
version = 6

[Preset]
name = LOD Default
[Default]
$0x031 = 0
$0x033 = 0
$0x034 = 0
$0x035 = 0

[Preset]
name = LOD +4 (Funny - Makes the game low poly)
$0x031 = 16
$0x033 = 16
$0x034 = 16
$0x035 = 16

[Preset]
name = LOD Default
default = 1

[Preset]
name = LOD -0.5 (Sharper)
$0x031 = -.5
Expand Down
Loading