mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-28 12:24:14 +01:00
549758507f
But now done properly! Basically, a bunch of improvements were made to the script. The previous attempt at this conversion was quickly followed by a rollback since I realized that the script was overlooking certain things that made most of the packs hit or miss whether they would work. A few things missing were: - It only tested the values from 1 preset. Now, each shader gets compiled per each preset, like what Cemu would do. It also merges the changes done for each preset into one. This should solve cases where one shader would define things separately or repeatedly from preset to preset. - All* of the shaders are tested to see if they use the converter used the right values for the locations for Vulkan. Both of these *should* mean that they should both compile and be linkable in Vulkan, which means that I don't have to test each individual shader to see if they work. I will release the two scripts (one used for converting, one used for checking the right values for the locations) tomorrow so that other people might be able to help, if they want. It's fairly straightforward now at least. * Organize workaround graphic packs Pretty hard to organize these correctly, but according to our discord discussion, this was the best layout from a bunch I proposed, together with some suggestions. * Add V4 converter script and instructions on how to use it Now everyone BotW is done and all of the bugs have been kinked out using it (hopefully...), here's the release of the converter script in all of it's very badly coded glory. I hope I didn't leave too much debug glory in there... Also, I hope that I didn't make too many grammatical mistakes in the instructions, but hopefully it's easy enough to follow.
100 lines
1.8 KiB
Plaintext
100 lines
1.8 KiB
Plaintext
[Definition]
|
|
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
|
|
name = Fog Fields Pack
|
|
path = "The Legend of Zelda: Breath of the Wild/Mods/Distant Fog Removal/World Fog Fields"
|
|
description = Can Remove Fog Fields from the whole world. Change its RGB color.
|
|
version = 4
|
|
|
|
|
|
[Preset]
|
|
name = Fog Fields Disabled
|
|
$ffopacity = 0
|
|
$ffred = 1
|
|
$ffgreen = 1
|
|
$ffblue = 1
|
|
|
|
[Preset]
|
|
name = Fog Fields Enabled
|
|
$ffopacity = 1
|
|
$ffred = 1
|
|
$ffgreen = 1
|
|
$ffblue = 1
|
|
|
|
[Preset]
|
|
name = ----------------------------------------
|
|
$ffopacity = 1
|
|
$ffred = 1
|
|
$ffgreen = 1
|
|
$ffblue = 1
|
|
|
|
[Preset]
|
|
name = Fog Fields Opacity 50%
|
|
$ffopacity = 0.5
|
|
$ffred = 1
|
|
$ffgreen = 1
|
|
$ffblue = 1
|
|
|
|
[Preset]
|
|
name = Fog Fields Opacity 2x
|
|
$ffopacity = 2
|
|
$ffred = 1
|
|
$ffgreen = 1
|
|
$ffblue = 1
|
|
|
|
[Preset]
|
|
name = Fog Fields Opacity 3x
|
|
$ffopacity = 3
|
|
$ffred = 1
|
|
$ffgreen = 1
|
|
$ffblue = 1
|
|
|
|
[Preset]
|
|
name = ----------------------------------------
|
|
$ffopacity = 1
|
|
$ffred = 1
|
|
$ffgreen = 1
|
|
$ffblue = 1
|
|
|
|
[Preset]
|
|
name = Fog Fields Red
|
|
$ffopacity = 1
|
|
$ffred = 1
|
|
$ffgreen = 0
|
|
$ffblue = 0
|
|
|
|
[Preset]
|
|
name = Fog Fields Green
|
|
$ffopacity = 1
|
|
$ffred = 0
|
|
$ffgreen = 1
|
|
$ffblue = 0
|
|
|
|
[Preset]
|
|
name = Fog Fields Blue
|
|
$ffopacity = 1
|
|
$ffred = 0
|
|
$ffgreen = 0
|
|
$ffblue = 1
|
|
|
|
[Preset]
|
|
name = ----------------------------------------
|
|
$ffopacity = 1
|
|
$ffred = 1
|
|
$ffgreen = 1
|
|
$ffblue = 1
|
|
|
|
[Preset]
|
|
name = Custom Preset
|
|
$ffopacity = 1
|
|
$ffred = 2
|
|
$ffgreen = 1
|
|
$ffblue = 2
|
|
|
|
# Information
|
|
# by SkalFate
|
|
# ----------------------
|
|
# (ffopacity) = Fog Transparency/Opacity - how thick or thin you want the fog fields to look
|
|
# ------ Values are multiplied, so if you want to lower use [0.01 - 1.0], or if you want to go higher go from [1.0 - X.X]
|
|
|
|
# (ffred, ffgreen, ffblue ) = RGB - Red, Green, Blue - Changes the color of the fog fields.
|
|
# ------ Values are multiplied so if you want to lower use [0.01 - 1.0], or if you want to go higher go from [1.0 - X.X] |