AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
With this, you can do a much better kind of fixes than shader overrides. By default this is disabled, because you could use the depth hunting hotkeys accidentally. You can enable an OSD that shows information about the current value of hotkeys and other useful information. OSD and depth hunting (advanced users mostly) And you can delete your dumped shaders that are inside "ShaderFixes". When you are done, close the game and set "hunting" to 0 again. Changes should be applied instantly (it will also reset the state of all hotkeys). Then you can go back ingame without closing it, make the game 3D with the explained method, and press F10. If you want to not stereoize that effect, write this in the appropriate ".ini" game file (you can create new empty files and then include them in "d3dx.ini" like the existing examples), below other shader overrides if there are any: If you look a few paragraphs above in this post, you will see that it's regex 1. The pixel shader "07ee058e5bed1e6b" is related to vertex shader "6d64bfd710f98b05". Get the hash (filename part before "-ps_replace.txt"), open the "ShaderUsage.txt" file that will appear in the emulator folder and search that hash. Numpad key 3 will dump the shader inside the "ShaderFixes" folder. Numpad keys 1 and 2 will cycle through the available pixel shaders, disabling the current one. Press "0" in the numpad and you will see a green overlay. How to get the pixel shader hashes? Search the "hunting=0" line and change it to "hunting=2".Īfter that, run the emulator and play the game you want. Set them to "=2" to not stereoize them but not making them count as HUD. New: setting them to "=1" now assumes that they are HUD shaders, so they'll be affected by the HUD hotkeys. Useful if you want to enable/disable game fixes break effects in other games. If it's "圓=0", it means it will stereoize it, the same as not writing the shader override at all. If you write for example "z3=1", it means that regex 3 won't stereoize that specific pixel shader. They contain the hash of the pixel shader, and the value they pass to their parent vertex shader. In the ".ini" files inside "GameFixes" there are shader overrides with comments saying what they fix (sometimes). The values after "Hash=" may change with future GSdx versions, but I will be able to recognize them and update the fix. "w3" is an extra option about the fix I made for the skybox in the Ratchet & Clank saga (it forces the skybox to max depth without breaking other things in those games). "x3" for regex 1, "圓" for regex 2, and "z3" for regex 3. Those are the three vertex shaders I stereoize with regexes, and their default values for stereoization. The fix includes working examples for games I own, inside the "GameFixes" folder. Even with a small library of 30 something games I found a little more than 10 conflicts between games. So fixing all games at the same time is impossible. Most of the affected games need between 1 and 3 in my experience.Ģ- Fixing something in one game can break something else in another game, or even in the same game in some cases. Still, games don't usually need a lot of these. This is where things get more complicated, for these reasons:ġ- Future PCSX2 (specifically GSdx) builds may change the hash of the generated shaders, rendering all game specific fixes useless. In these cases, you need to tell the regex to not stereoize a specific pixel shader. Sometimes, or usually, disabling some of the regex isn't enough to make a game perfect or almost perfect, because you will be disabling more things than needed. Warning: for advanced users and perfectionists A lot of times a mix of regex 3 and regex 2 will fix HUD issues, but regex 2 is usually related to other effects. And that's also their order of importance, as you'll almost never have to disable the first one. They are "j", "k" and "l", and I'll refer to them as "regex 1", "regex 2" and "regex 3". The first and most simple solution, which may be partial or fix some things and break others but it's useful many times, is using three hotkeys I offer to disable stereoization in each of the three shaders that control geometry. The regex function tries to not stereoize things that have a depth value of 0 or 1, and in some games it works (most of the HUD of the Kingdom Hearts games). The problem is that some effects of those shaders need to not be stereoized, like the HUD or some double stereoized effects (sometimes bloom, blur filters, shadows.). Instead, it uses a real time "find and replace" function for exactly three shaders that control all geometry in all games. This fix was done without using physical shader files, for better future compatibility.
0 Comments
Read More
Leave a Reply. |