Setting up Windows version: Difference between revisions

Line 136: Line 136:


*By selecting ''"Direct3D9 (Hardware)"'', GSdx will use the Direct3D capabilities of your graphics card, boosting the emulation speed significantly.
*By selecting ''"Direct3D9 (Hardware)"'', GSdx will use the Direct3D capabilities of your graphics card, boosting the emulation speed significantly.
*By selecting ''"Direct3D10 (Hardware)"'' or ''"Direct3D11 (Hardware)"'' '''(only selectable in Vista/Windows 7 with DX10/11 graphics card)''', GSdx will use its Direct3D10/11 mode which is usually the fastest mode and sometimes even more compatible as well. It is '''highly recommended''' if your system supports it.
*By selecting ''"Direct3D10 (Hardware)"'' or ''"Direct3D11 (Hardware)"'' '''(only selectable in Vista and up with DX10/11 graphics card)''', GSdx will use its Direct3D10/11 mode which is usually the fastest one and sometimes even more compatible as well. It is '''highly recommended''' if your system supports it.
*By selecting ''"Direct3D9 (Software)"'', ''"Direct3D10 (Software)"'' or ''"Direct3D11 (Software)"'', GSdx will use its built-in software renderer, which will not use your graphics card at all, but your processor instead. This way the rendering speed is greatly reduced but you will get maximum compatibility. Recommended if you encounter graphics bugs with the Direct3D (Hardware) renderer.
*By selecting ''"Direct3D9 (Software)"'', ''"Direct3D10 (Software)"'' or ''"Direct3D11 (Software)"'', GSdx will use its built-in software renderer, which will not use your graphics card at all, but your processor instead. This way the rendering speed is greatly reduced but you will get maximum compatibility. Recommended if you encounter graphics bugs with the Direct3D (Hardware) renderer.
*By selecting ''"OpenGL (hardware)"'', GSdx will use the OpenGL backend. As of now is a slower and less compatible equivalent of the DirectX renderers. But it's the only option for Linux users.
*By selecting ''"OpenGL (hardware)"'', GSdx will use the OpenGL backend. As of now is a slower and less compatible equivalent of the DirectX renderers. But it's the only option for Linux users.
Line 157: Line 157:
'''Shaders subsection'''
'''Shaders subsection'''
[[image:GSdx_Shade_Boost_Settings.png|thumb|left|Shade boost]]
[[image:GSdx_Shade_Boost_Settings.png|thumb|left|Shade boost]]
*''Enable Shade Boost'': This option will help you to adjust saturation, brightness and contrast of any game to your liking. You can click the reset button on the lower left to set the sliders to their initial positions.
*''Enable Shade Boost'': This option will help you to adjust saturation, brightness and contrast to your liking. You can click the reset button on the lower left to set the sliders to their initial positions.


{{Clear new paragraph}}
{{Clear new paragraph}}
*''Enable FXAA'': GSdx will apply the FXAA anti-aliasing algorithm to improve the visual quality of your games with a (usually) minor speed hit. You can also toggle FXAA on and off ''in-game'' by pressing the PageUp key.
*''Enable FXAA'': GSdx will apply the FXAA anti-aliasing algorithm to improve the visual quality of your games with a (usually) minor speed hit. You can also toggle FXAA on and off ''in-game'' by pressing the PageUp key.


*''Enable FX Shader'': Since version 1.2.0, PCSX2 is able to use [[external shader]]s to add various effects and visual improvements. By default, PCSX2 comes with 4 simple scanline shaders (which you can cycle through ''while playing'' with F7). For a huge set of shader effects which include UHQ FXAA, Bilinear FS Filtering, Bicubic FS Filtering, Gaussian FS Filtering, High Quality Blended Bloom, Per-Channel Gamma Correction, Scene Tone Mapping, RGB Colour Correction, S-Curve Contrast Enhancement, Texture, Sharpening, Pixel Vibrance, Post-Complement Colour Grading, Cel Shading, Scanline Emulation, Vignette and Subpixel Dithering you can download Asmodean's shader file [http://forums.pcsx2.net/Thread-Custom-Shaders-for-GSdx?pid=334766#pid334766 from the PCSX2 forums]. Open the zip file and extract the PCSX2Fx_Settings.txt and shader.fx files in the same directory the main ''pcsx2.exe'' is located. You can change some shaders' settings by editing the PCSX2Fx_Settings.txt (the file contains all the needed instructions). External shaders should be used with caution because some of them may have an enormous impact on speed. Note that you can '''use''' external shaders even with a GSdx '''software''' renderer, which is the best way to get higher visual quality with this rendering mode.  
*''Enable FX Shader'': Since version 1.2.0, PCSX2 is able to use [[external shader]]s to add various effects and visual improvements. By default, PCSX2 comes with 4 simple scanline shaders (which you can cycle through with F7 ''even while you're in game''). For a huge set of shader effects which include UHQ FXAA, Bilinear FS Filtering, Bicubic FS Filtering, Gaussian FS Filtering, High Quality Blended Bloom, Per-Channel Gamma Correction, Scene Tone Mapping, RGB Colour Correction, S-Curve Contrast Enhancement, Texture, Sharpening, Pixel Vibrance, Post-Complement Colour Grading, Cel Shading, Scanline Emulation, Vignette and Subpixel Dithering you can download Asmodean's shader file [http://forums.pcsx2.net/Thread-Custom-Shaders-for-GSdx?pid=334766#pid334766 from the PCSX2 forums]. Open the zip file and extract the PCSX2Fx_Settings.txt and shader.fx files in the same directory the main ''pcsx2.exe'' is located. You can change some shaders' settings by editing the PCSX2Fx_Settings.txt (the file contains all the needed instructions). External shaders should be used with caution because some of them may have an enormous impact on speed. Note that you can '''use''' external shaders even with a GSdx '''software''' renderer, which is the best way to get higher visual quality with this rendering mode.  
{{Tip|You can toggle the use of external shaders on and off by pressing the '''Home''' button ''while playing'' a game.
{{Tip|You can toggle the use of external shaders on and off by pressing the '''Home''' button ''while playing'' a game.
}}
}}


'''Hardware mode Subsection'''
'''Hardware mode Settings'''
Only available if a Hardware Renderer has been selected above. Here you can change some settings for extra performance or video quality.
This set of options is available only if you have selected Hardware Renderer. You can tune some settings for extra performance or video quality here.


*''Texture filtering'': This tickbox has 3 states. Checked, grayed and unchecked.
*''Texture filtering'': Enables linear texture filtering when they need to be resized. '''Checked''' option will ensures filtering in any case but '''grayed''' will only use filters for 3D textures (this may help with some 2D games that will look weird otherwise).
**When checked, everything on screen both 2D and 3D will be bilinearly filtered.
**When grayed, filtering will be done as on a PS2. This is the preferred setting.
**When off, bilinear filtering is disabled completely. Lowers video quality but may help some slower graphic cards.


*''Logarithmic Z'': This setting may help when some of the games graphics are "see through". Can be toggled only with graphics cards that do NOT support a 32bit Z-buffer.
*''Logarithmic Z'': Changes the way the third (depth) coordinate is treated (logatithmic or linear). This option should be left ON unless you experience some weirdness in the objects (like seeing through them). This options is enabled only for graphics cards that do NOT support a 32bit Z-buffer.


*''Allow 8-bit textures'': Uses more efficient "palletized textures" for all rendering which reduces the graphic card RAM requirements. On the other hand it increases the processing load and can cause visual bugs. Recommended to try both and see which gives you the most performance.
*''Allow 8-bit textures'': Sacrifices texture decoding speed for video card memory (RAM) requirements. In 8-bit texture mode the plugin will utilize less memory of your graphics card storing some of the textures in 8-bit format (instead of 32-bit otherwise). That may help with some games that use a lot of 8-bit textures but may become a clog for the others because these textures will then be decoded by the special shader consuming a portion of the cards processing power.


*''Alpha Correction (FBA)'': (DX9 mode only) Keep this enabled as it fixes some blending problems that the DX9 mode has. Can also cause some issues.
*''Alpha Correction (FBA)'': (DX9 mode only) This option will make some of the textures partly transparent (when required) but may sometimes cause some slowness. Should be ON by default.


'''Hacks Subsection'''
'''Enabled HW hacks'''
[[image:GSdx2 Hacks Configuration.png|thumb|left|GSdx HW Hacks]]
[[image:GSdx2 Hacks Configuration.png|thumb|left|GSdx HW Hacks]]
{{Warning|The following settings are ONLY for advanced users that know what they are doing.<br />These settings can and WILL cause serious glitches if used in games that don't need them! (only affect hardware modes).}}
{{Warning|Use this settings only in case you absolutely sure they are needed for your game to function.<br />These settings can and WILL cause serious graphical glitches if used in certain games.}}
Check Enable HW hacks to enable the options described below. Click configure to select which you want to enable.
*''MSAA'': Adds Anti-Aliasing of the selected level to every surface rendered. This is highly video card memory demanding and might crash PCSX2 if there's not enough RAM. For more information, read the description at the right panel of the box.
*''Skipdraw'': Skips drawing some surfaces altogether, based on how likely they are to cause issues. Specify how many surfaces should get skipped after the first problematic one is found. Try lower values first like 1-3 then use higher ones (the highest the number the higher the chance of broken/missing graphics and effects). This hack may cause random speedups as well!
*''Alpha'': Try this if your game has issues with fog like effects or shadows. In general, try it if you get graphics glitches in case it fixes them.
*''Half-pixel Offset'': This hack adds an offset to all surfaces so that some common upscaling issues get reduced. Use this when blur or halo effects seem to appear shifted up-left of where they should be.
*''Sprite'': Read the description at the right panel of the box for more information.
*''WildArmsOffset'': Known to help with lots of games. Read the description at the right panel of the box for more information.
*''Aggressive-CRC'': Read the description at the right panel of the box for more information.
*''Alpha Stencil'': Read the description at the right panel of the box for more information.
*''Nvidia Hack'': Try this hack if you own an Nvidia graphics card and experience strange stretching on and off when using scaling.
*''Disable CRCs'': Will disable all the GSdx hacks for specific games. You will usually get more bugs than without having this on, but for certain games like Shadow of the Colossus, you might prefer the output with this on.
*''TC Offset X/Y'': As the description explains, these settings can help fix some misaligment issues when using scaling. You can see some example values which are known to help Persona 3, Haunting Ground and Xenosaga. You can try using the same values for your game in case it fixes it, or try your own.


'''Software mode Subsection'''
This check-box will enable HW hacks that can be configured further using ''Configure'' button.
Only available if a Software Renderer has been selected above. Here you will find options to tweak how many threads the renderer will use and turn on/off the software AA.
*''MSAA'': This option is used to activate multisample anti-aliasing mode. This may dramatically improve the quality of visuals but requires some additional processing power from your video card and is highly video card memory demanding and might crash PCSX2 if there's not enough RAM. You can set this to 2,4,8 or 16. The plugin will automatically choose and use only the supported mode. For more information read the description at the right panel.
*''Skipdraw'': Skips drawing some surfaces altogether, based on how likely they are to cause issues. Specify how many surfaces should get skipped after the first problematic one is found. Try lower values first like 1-3 then use higher ones (this will also increases the chance of broken/missing graphics and effects). This hack may cause random performance boosts as well!
*''Alpha'': Try this if your game has issues with fog like effects or shadows.
*''Half-pixel Offset'': This hack adds an 0.5 pixel offset to all surfaces so some common up-scaling issues may be fixed. You can try it when blur or halo effects seem to appear shifted to the upper-left corner from where they should be.
*''Sprite'': Gets rid of black inner lines in 2D sprites. Half option is recommended.  
*''WildArmsOffset'': Lowers GS precision to avoid gaps in pixels when upscaling. Known to help with upscaling problems for some of 2D games. Read the description at the right panel for more information.
*''Aggressive-CRC'': Can remove effects in some games to make image clearer. Read the description at the right panel for more information.
*''Alpha Stencil'': Improves shadows which are normally overdrawn in parts. This setting will disable partial transparency or prevent drawing some elements altogether. Read the description at the right panel for more information.
*''Nvidia Hack'': Fixes odd stretching issues in recent NVIDIA drivers when upscaling (using DirectX 11). Try not to use this unless your game Videos or 2D screens are stretching outside the frame.
*''Disable CRCs'': For testing purposes only! The option will disable all the GSdx hacks. This will break many games; but for certain games like Shadow of the Colossus, you might like the result better.
*''TC Offset X/Y'': These settings can help fix some misaligned textures when using upscaling. They will correct textures in some games, including Persona 3, Haunting Ground and Xenosaga.


*''Extra Rendering threads'': This box is only usable when having selected a software rendering method. Here you can specify how many threads GSdx will use while software rendering, to take advantage of all cores your processor might have, e.g. set it to 3 for quad core processors. Boosts speed significantly in multi-core systems for software rendering with more than 2 cores.
'''Software Mode Settings'''
This set of options will work only if you have selected Software Renderer. You can tune some settings for extra performance or video quality here. The options will not gray-out even when you select hardware renderer so you'll be able to configure both hardware and software mode. Some games may require switching between those modes (F9) in game so you might need to prepare everything beforehand.


*''Edge anti-aliasing (AA1)'': This box is only usable when having selected a software rendering method. When checked, the plugin will try to apply a form of anti-aliasing on the game improving the visuals. Use with caution, pretty much experimental at this time.
*''Extra Rendering threads'': This option determines how many threads GSdx will use while rendering to take advantage of all the vacant cores your CPU may have (note that will only be useable for software rendering). For example set it to 3 for quad core processors (1 for PCSX2 and 3 for GSDX software rendering). This may boost speed significantly in multi-core systems.
 
*''Edge anti-aliasing (AA1)'': This may improve the resulting visuals by applying an anti-aliasing algorithm (required by emulation in some games) but will also reduce performance. This is an experimental option so it must be used with some caution.


'''Movie Capture'''
'''Movie Capture'''
This is a hidden feature. By pressing F12 while running PCSX2 with GSdx a message box will appear. In the first field you must show the plugin where the captured video will be stored, and type the file name too. In the second field you can choose a compression codec like [http://sourceforge.net/projects/x264vfw/ x264vfw] or "Uncompressed" which will not compress the video at all. If you choose a compression codec, you will be able to change its settings by pressing the "Config" button. Note that only codecs already installed in your PC will show up.
This feature will only work while you are in game. By pressing F12 a message box for video capture will appear. You'll need to specify the place where to store video, processing codec (like for ex. [http://sourceforge.net/projects/x264vfw/ x264vfw], note you'll be only able to use already installed codecs) and picture resolution. Please be aware that lossless or uncompressed video may produce a VERY large file so your HDD must have enough free space to contain it. <br/>
Press F12 twice at any time to stop the capturing. The video produced will be automatically sped up to 100% for your viewing pleasure Smile If using SPU2-X, the audio file will be saved as recording.wav in the same folder pcsx2.exe is in.
Press F12 the second time to stop capturing. The result video will be automatically speed up to 100%. If you use SPU2-X as audio plugin the audio file named ''recording.wav'' will be saved as alongside with the video file.
Hit Ok to save your changes or cancel to go back to the main Configuration window
 
You can find some additional information on GSDX plugin [[GSDX|here]].


====ZeroGS====
====ZeroGS====
67,565

edits