From f51a045f1350a95fcd1333e717e66de07b9adc92 Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Sat, 4 May 2019 22:16:32 +0200 Subject: [PATCH] Add headers to each explanation --- How-to-create-Graphic-Packs.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/How-to-create-Graphic-Packs.md b/How-to-create-Graphic-Packs.md index 1836d04..b330ed4 100644 --- a/How-to-create-Graphic-Packs.md +++ b/How-to-create-Graphic-Packs.md @@ -62,12 +62,15 @@ $gameHeight = 720 width = 1280 height = 720 formats = 0x0000001a,0x00000011,0x00000820 -overwriteWidth = ($width/$gameWidth) * 1280 +overwriteWidth = ($width/$gameWidth) * 1280 # This basically calculates a modifier value by dividing the target resolution by the game's native resolution. overwriteHeight = ($height/$gameHeight) * 720 ``` +## Usage of each section + There are the four sections: `[Definition]`, `[Preset]`, `[Control]` and `[TextureRedefine]`. Let's take a closer look at each one of these. +### [Definition] | name | description | |-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | titleIds | List of one or multiple titleIds (unique game indentifier) which are used to determine for which games this pack is active. | @@ -76,15 +79,18 @@ There are the four sections: `[Definition]`, `[Preset]`, `[Control]` and `[Textu | description | The description of what the pack does. | | version | Version 3 is used since Cemu 1.13.0 and must always be set. | +### [Preset] | name | description | |-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | name | The name of this preset, which appears in this graphic pack's preset dropdown in Cemu's "Graphic packs" window. | | $[variable] | A set variable for the preset. Can be width, height, scale multiply, bloom strength, etc. (ex: $width, $height, $multiply, $strength). You can have multiple variables in each preset of course. | +### [Control] | name | description | |----------------|------------------------------------------------------| | vsyncFrequency | Sets the VSync frequency to any value that you want. | +### [TextureRedefine] | name | description | |--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | width | The width of the texture that you want to modify. |