Add headers to each explanation

Crementif 2019-05-04 22:16:32 +02:00
parent 5160ff6c2c
commit f51a045f13

@ -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. |