mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 03:24:15 +01:00
[Child Of Light] Fix inventory screen using new Cemu 1.22.5d features
Fixes https://github.com/ActualMandM/cemu_graphic_packs/issues/501 Basically, the game uses the 512x512 for both inventory items and for the main character's rendering. So I told Exzap who added this inMEM1 variable which is perfect for cases like these. Anyway, this is basically just the implementation of that.
This commit is contained in:
parent
b877f50f91
commit
852e4800bc
@ -884,7 +884,7 @@ overwriteHeight = ($height/$gameHeight) * 256
|
|||||||
width = 256
|
width = 256
|
||||||
height = 128
|
height = 128
|
||||||
depth = 1
|
depth = 1
|
||||||
formats = 0x1
|
formats = 0x001
|
||||||
tilemodes = 4
|
tilemodes = 4
|
||||||
overwriteWidth = ($width/$gameWidth) * 256
|
overwriteWidth = ($width/$gameWidth) * 256
|
||||||
overwriteHeight = ($height/$gameHeight) * 128
|
overwriteHeight = ($height/$gameHeight) * 128
|
||||||
@ -894,7 +894,7 @@ overwriteHeight = ($height/$gameHeight) * 128
|
|||||||
# width = 128
|
# width = 128
|
||||||
# height = 64
|
# height = 64
|
||||||
# depth = 1
|
# depth = 1
|
||||||
# formats = 0x1
|
# formats = 0x001
|
||||||
# tilemodes = 4
|
# tilemodes = 4
|
||||||
# overwriteWidth = ($width/$gameWidth) * 128
|
# overwriteWidth = ($width/$gameWidth) * 128
|
||||||
# overwriteHeight = ($height/$gameHeight) * 64
|
# overwriteHeight = ($height/$gameHeight) * 64
|
||||||
@ -903,7 +903,7 @@ overwriteHeight = ($height/$gameHeight) * 128
|
|||||||
width = 293
|
width = 293
|
||||||
height = 185
|
height = 185
|
||||||
depth = 1
|
depth = 1
|
||||||
formats = 0x1a
|
formats = 0x01a
|
||||||
tilemodes = 4
|
tilemodes = 4
|
||||||
overwriteWidth = ($width/$gameWidth) * 293
|
overwriteWidth = ($width/$gameWidth) * 293
|
||||||
overwriteHeight = ($height/$gameHeight) * 185
|
overwriteHeight = ($height/$gameHeight) * 185
|
||||||
@ -942,7 +942,7 @@ overwriteHeight = ($height/$gameHeight) * 96
|
|||||||
width = 500
|
width = 500
|
||||||
height = 94
|
height = 94
|
||||||
depth = 1
|
depth = 1
|
||||||
formats = 0x1a
|
formats = 0x01a
|
||||||
tilemodes = 4
|
tilemodes = 4
|
||||||
overwriteWidth = ($width/$gameWidth) * 500
|
overwriteWidth = ($width/$gameWidth) * 500
|
||||||
overwriteHeight = ($height/$gameHeight) * 94
|
overwriteHeight = ($height/$gameHeight) * 94
|
||||||
@ -953,7 +953,7 @@ overwriteHeight = ($height/$gameHeight) * 94
|
|||||||
width = 480
|
width = 480
|
||||||
height = 32
|
height = 32
|
||||||
depth = 1
|
depth = 1
|
||||||
formats = 0x1a
|
formats = 0x01a
|
||||||
tilemodes = 4
|
tilemodes = 4
|
||||||
overwriteWidth = ($width/$gameWidth) * 480
|
overwriteWidth = ($width/$gameWidth) * 480
|
||||||
overwriteHeight = ($height/$gameHeight) * 32
|
overwriteHeight = ($height/$gameHeight) * 32
|
||||||
@ -962,7 +962,7 @@ overwriteHeight = ($height/$gameHeight) * 32
|
|||||||
width = 464
|
width = 464
|
||||||
height = 28
|
height = 28
|
||||||
depth = 1
|
depth = 1
|
||||||
formats = 0x1a
|
formats = 0x01a
|
||||||
tilemodes = 4
|
tilemodes = 4
|
||||||
overwriteWidth = ($width/$gameWidth) * 464
|
overwriteWidth = ($width/$gameWidth) * 464
|
||||||
overwriteHeight = ($height/$gameHeight) * 28
|
overwriteHeight = ($height/$gameHeight) * 28
|
||||||
@ -972,34 +972,34 @@ overwriteHeight = ($height/$gameHeight) * 28
|
|||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 768
|
width = 768
|
||||||
height = 720
|
height = 720
|
||||||
formats = 0x5
|
formats = 0x005
|
||||||
overwriteWidth = $shadowRes * 768
|
overwriteWidth = $shadowRes * 768
|
||||||
overwriteHeight = $shadowRes * 720
|
overwriteHeight = $shadowRes * 720
|
||||||
|
|
||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 720
|
width = 720
|
||||||
height = 720
|
height = 720
|
||||||
formats = 0x5
|
formats = 0x005
|
||||||
overwriteWidth = $shadowRes * 720
|
overwriteWidth = $shadowRes * 720
|
||||||
overwriteHeight = $shadowRes * 720
|
overwriteHeight = $shadowRes * 720
|
||||||
|
|
||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 384
|
width = 384
|
||||||
height = 368
|
height = 368
|
||||||
formats = 0x5
|
formats = 0x005
|
||||||
overwriteWidth = $shadowRes * 384
|
overwriteWidth = $shadowRes * 384
|
||||||
overwriteHeight = $shadowRes * 368
|
overwriteHeight = $shadowRes * 368
|
||||||
|
|
||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 384
|
width = 384
|
||||||
height = 360
|
height = 360
|
||||||
formats = 0x5
|
formats = 0x005
|
||||||
overwriteWidth = $shadowRes * 384
|
overwriteWidth = $shadowRes * 384
|
||||||
overwriteHeight = $shadowRes * 360
|
overwriteHeight = $shadowRes * 360
|
||||||
|
|
||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 360
|
width = 360
|
||||||
height = 360
|
height = 360
|
||||||
formats = 0x5
|
formats = 0x005
|
||||||
overwriteWidth = $shadowRes * 360
|
overwriteWidth = $shadowRes * 360
|
||||||
overwriteHeight = $shadowRes * 360
|
overwriteHeight = $shadowRes * 360
|
||||||
|
@ -1,96 +1,86 @@
|
|||||||
[Definition]
|
[Definition]
|
||||||
titleIds = 000500001015B200,000500001016D800,000500001016EA00
|
titleIds = 000500001015B200,000500001016EA00,000500001016D800
|
||||||
name = Resolution
|
name = Game Resolution
|
||||||
path = "Child of Light/Graphics/Resolution"
|
path = "Child of Light/Graphics"
|
||||||
description = Changes the resolution of the game. Made by Crementif and ICUP321.
|
description = Changes the resolution of the game.||Made by Crementif and ICUP321.
|
||||||
version = 4
|
version = 7
|
||||||
|
|
||||||
[Preset]
|
[Default]
|
||||||
name = 1280x720 (Default)
|
|
||||||
$width = 1280
|
$width = 1280
|
||||||
$height = 720
|
$height = 720
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
|
||||||
// Performance
|
|
||||||
|
# Resolution
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 320x180
|
category = Resolution
|
||||||
$width = 320
|
name = 1280x720 (Default)
|
||||||
$height = 180
|
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
|
category = Resolution
|
||||||
name = 640x360
|
name = 640x360
|
||||||
$width = 640
|
$width = 640
|
||||||
$height = 360
|
$height = 360
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
|
category = Resolution
|
||||||
name = 960x540
|
name = 960x540
|
||||||
$width = 960
|
$width = 960
|
||||||
$height = 540
|
$height = 540
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
// Common HD Resolutions
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
|
category = Resolution
|
||||||
name = 1600x900
|
name = 1600x900
|
||||||
$width = 1600
|
$width = 1600
|
||||||
$height = 900
|
$height = 900
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
|
category = Resolution
|
||||||
name = 1920x1080
|
name = 1920x1080
|
||||||
$width = 1920
|
$width = 1920
|
||||||
$height = 1080
|
$height = 1080
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
|
category = Resolution
|
||||||
name = 2560x1440
|
name = 2560x1440
|
||||||
$width = 2560
|
$width = 2560
|
||||||
$height = 1440
|
$height = 1440
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
|
category = Resolution
|
||||||
name = 3200x1800
|
name = 3200x1800
|
||||||
$width = 3200
|
$width = 3200
|
||||||
$height = 1800
|
$height = 1800
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
|
category = Resolution
|
||||||
name = 3840x2160
|
name = 3840x2160
|
||||||
$width = 3840
|
$width = 3840
|
||||||
$height = 2160
|
$height = 2160
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
|
category = Resolution
|
||||||
name = 5120x2880
|
name = 5120x2880
|
||||||
$width = 5120
|
$width = 5120
|
||||||
$height = 2880
|
$height = 2880
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
|
category = Resolution
|
||||||
name = 7680x4320
|
name = 7680x4320
|
||||||
$width = 7680
|
$width = 7680
|
||||||
$height = 4320
|
$height = 4320
|
||||||
$gameWidth = 1280
|
|
||||||
$gameHeight = 720
|
|
||||||
|
|
||||||
|
# Texture Redefines
|
||||||
|
|
||||||
[TextureRedefine] # TV Resolution
|
[TextureRedefine] # TV Resolution
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
formats = 0x011,0x01a,0x001
|
formats = 0x011,0x01a,0x001
|
||||||
tileModesExcluded = 0x001
|
tileModesExcluded = 0x1
|
||||||
overwriteWidth = ($width/$gameWidth) * 1280
|
overwriteWidth = ($width/$gameWidth) * 1280
|
||||||
overwriteHeight = ($height/$gameHeight) * 720
|
overwriteHeight = ($height/$gameHeight) * 720
|
||||||
|
|
||||||
@ -105,23 +95,19 @@ overwriteHeight = ($height/$gameHeight) * 1024
|
|||||||
width = 512
|
width = 512
|
||||||
height = 512
|
height = 512
|
||||||
formats = 0x01a
|
formats = 0x01a
|
||||||
|
inMEM1 = 1
|
||||||
overwriteWidth = ($width/$gameWidth) * 512
|
overwriteWidth = ($width/$gameWidth) * 512
|
||||||
overwriteHeight = ($height/$gameHeight) * 512
|
overwriteHeight = ($height/$gameHeight) * 512
|
||||||
|
|
||||||
[TextureRedefine]
|
[TextureRedefine] # Half-res
|
||||||
width = 640
|
width = 640
|
||||||
height = 360
|
height = 360
|
||||||
formats = 0x001
|
formats = 0x001
|
||||||
tileModesExcluded = 0x001
|
tileModesExcluded = 0x1
|
||||||
overwriteWidth = ($width/$gameWidth) * 640
|
overwriteWidth = ($width/$gameWidth) * 640
|
||||||
overwriteHeight = ($height/$gameHeight) * 360
|
overwriteHeight = ($height/$gameHeight) * 360
|
||||||
|
|
||||||
[TextureRedefine] # Screen gradient
|
# Screen gradient
|
||||||
width = 448
|
|
||||||
height = 240
|
|
||||||
formats = 0x01a
|
|
||||||
overwriteWidth = ($width/$gameWidth) * 448
|
|
||||||
overwriteHeight = ($height/$gameHeight) * 240
|
|
||||||
|
|
||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 426
|
width = 426
|
||||||
@ -129,3 +115,10 @@ height = 240
|
|||||||
formats = 0x01a
|
formats = 0x01a
|
||||||
overwriteWidth = ($width/$gameWidth) * 426
|
overwriteWidth = ($width/$gameWidth) * 426
|
||||||
overwriteHeight = ($height/$gameHeight) * 240
|
overwriteHeight = ($height/$gameHeight) * 240
|
||||||
|
|
||||||
|
[TextureRedefine]
|
||||||
|
width = 448
|
||||||
|
height = 240
|
||||||
|
formats = 0x01a
|
||||||
|
overwriteWidth = ($width/$gameWidth) * 448
|
||||||
|
overwriteHeight = ($height/$gameHeight) * 240
|
Loading…
Reference in New Issue
Block a user