Mention game file modification

Michael 2018-11-29 21:09:45 -08:00
parent afd140d986
commit 15c81f7541

@ -8,12 +8,14 @@ Graphic packs are like upscaling 3D in emulators but with more features. Anyone
*Change lighting related aspects of the game
*Custom Anti-Aliasing
*Better LOD Bias
*Modify game files
*Run 30fps games in 60fps (via Cemuhook)
*Modify aspect ratio (via Cemuhook)
From a technical standpoint, graphic packs allow the following:
*Overwrite certain texture properties (like the resolution)
*Overwrite shaders (very powerful since almost everything that gets drawn on the screen uses shaders)
*Replace game files (such as replacing Link with Zelda)
*Modify game code (via Cemuhook)
==Create a graphic pack==
@ -184,6 +186,14 @@ overwriteHeight = $height
</pre>
This rule applies to all textures that have a resolution of 1280x720 and overwrites their resolution to whatever preset is chosen. Depending on the game, this might suffice for simple upscaling. However, since the filter settings in this example are very loose (only width and height is checked) the rule might catch unwanted textures. Some games use background or splash screen textures that have the same resolution as the intended screen resolution. Since Cemu resets the contents of a texture if any rule is applied, you would end up with a black background. A workaround for this is to use the texture dump feature of Cemu and figure out more exact filters.
===Modifying Game Files===
With Cemu 1.15.0, it's possible to use graphic packs as a way of applying game mods. In order to apply game mods using graphic packs, you need to set it up just like SDCaffine (content folder with the modified files inside that folder).
<pre>
Splatoon_Mod_TakorokaFlipMesh/content/model/Hed_CAP002.szs
Splatoon_Mod_TakorokaFlipMesh/rules.txt
</pre>
===List of all texture formats===
{| class="wikitable"
!name
@ -451,6 +461,4 @@ R126f.y = (PV0f.y + intBitsToFloat(uf_remappedPS[0].y) /resXScale + R8f.x);
<b>Call-back</b>
<code>\1/resXScale \2/resXScale \3/resXScale </code>
<code>\1/resXScale \2/resXScale \3/resXScale</code>