gsdx: tooltip description formatting and minor fixes

The hack description box messages were replaced by tooltips on Windows,
so there is no need for the first line in the description to refer to
the hack anymore.

3-state checkboxes were also converted to comboboxes, so remove any
references to checkbox states.

Reformat the descriptions so it looks okay on both Windows and Linux.
Could be better, but I'm out of ideas.

Also fix a few typos and missing punctuation.
This commit is contained in:
Jonathan Li 2015-08-11 23:48:49 +01:00
parent b687b106f1
commit 55adc7e728
2 changed files with 35 additions and 55 deletions

View File

@ -31,55 +31,42 @@ const char* dialog_message(int ID, bool* updateText) {
switch (ID)
{
case IDC_FILTER:
return "Control the texture bilinear filtering of the emulation\n\n"
"Nearest or OFF\t: Always disable interpolation, rendering will be blocky.\n"
"----------------------------------------------------------------------------\n"
"PS2 or GRAYED\t: Use same mode as the PS2. It is the more accurate option.\n"
"----------------------------------------------------------------------------\n"
"Forced or ON\t: Always enable interpolation. Rendering is smoother but it could generate some glitches.";
return "Control the texture bilinear filtering of the emulation.\n\n"
"Nearest:\nAlways disable interpolation, rendering will be blocky.\n\n"
"PS2:\nUse same mode as the PS2. It is the more accurate option.\n\n"
"Forced:\nAlways enable interpolation. Rendering is smoother but it could generate some glitches.";
case IDC_CRC_LEVEL:
return "Control the number of Auto-CRC hacks applied to games.\n\n"
"None\t\t: Remove nearly all CRC hacks (debug only).\n"
"------------------------------------------------------------------\n"
"Minimum\t: Enable a couple of CRC hacks (23).\n"
"------------------------------------------------------------------\n"
"Partial\t\t: Enable most of the CRC hacks.\n\n"
"Recommended setting for OpenGL users.\n"
"Note, may require \'Accurate\' options to be enabled under Hardware Mode Settings.\n"
"------------------------------------------------------------------\n"
"Full\t\t: Enable all CRC hacks.\n\n"
"Recommended setting for DirectX users.\n"
"------------------------------------------------------------------\n"
"Aggressive\t : Use more aggressive CRC hacks.\n\n"
"Only affects a few games, removing some effects which might make the image sharper/clearer.\n\n"
"None:\nRemove nearly all CRC hacks (debug only).\n\n"
"Minimum:\nEnable a couple of CRC hacks (23).\n\n"
"Partial:\nEnable most of the CRC hacks.\nRecommended OpenGL setting (Accurate/depth options may be required).\n\n"
"Full:\nEnable all CRC hacks.\nRecommended Direct3D setting.\n\n"
"Aggressive:\nUse more aggressive CRC hacks. Only affects a few games, removing some effects which might make the image sharper/clearer.\n"
"Affected games: FFX, FFX2, FFXII, GOW2, ICO, SoTC, SSX3, SMT3, SMTDDS1, SMTDDS2.\n"
"Works as a speedhack for: Steambot Chronicles.";
case IDC_SKIPDRAWHACK:
case IDC_SKIPDRAWHACKEDIT:
return "Skipdraw\n\nSkips drawing n surfaces completely. "
return "Skips drawing n surfaces completely. "
"Use it, for example, to try and get rid of bad post processing effects."
" Try values between 1 and 100.";
case IDC_ALPHAHACK:
return "Alpha Hack\n\nDifferent alpha handling. Can work around some shadow problems.\n\n"
"DX only, OpenGL emulates those effects correctly with accurate options.";
return "Different alpha handling. Can work around some shadow problems.";
case IDC_OFFSETHACK:
return "Halfpixel\n\nMight fix some misaligned fog, bloom, or blend effect.";
return "Might fix some misaligned fog, bloom, or blend effect.";
case IDC_SPRITEHACK:
return "Sprite Hack\n\nHelps getting rid of black inner lines in some filtered sprites."
" Half option is the preferred one. Use it for Mana Khemia or Ar Tonelico for example."
return "Helps getting rid of black inner lines in some filtered sprites."
" Half option is the preferred one. Use it for Mana Khemia or Ar tonelico for example."
" Full can be used for Tales of Destiny.";
case IDC_WILDHACK:
return "Wild Arms\n\nLowers the GS precision to avoid gaps between pixels when upscaling. Fixes the text on Wild Arms games.";
return "Lowers the GS precision to avoid gaps between pixels when upscaling. Fixes the text on Wild Arms games.";
case IDC_MSAACB:
return "Multisample Anti-Aliasing\n\nEnables hardware Anti-Aliasing. Needs lots of memory."
return "Enables hardware Anti-Aliasing. Needs lots of memory."
" The Z-24 modes might need to have LogarithmicZ to compensate for the bits lost (only in DX9 mode).\n\n"
" MSAA is not implemented on the OpenGL renderer";
" MSAA is not implemented on the OpenGL renderer.";
case IDC_ALPHASTENCIL:
return "Extend stencil based emulation of destination alpha to perform stencil operations while drawing.\n\n"
"Improves many shadows which are normally overdrawn in parts, may affect other effects.\n"
"Will disable partial transparency in some games or even prevent drawing some elements altogether."
"DX only, OpenGL emulates those effects correctly with accurate options.";
"Will disable partial transparency in some games or even prevent drawing some elements altogether.";
case IDC_CHECK_DISABLE_ALL_HACKS:
return "FOR TESTING ONLY!!\n\n"
"Disable all CRC hacks - will break many games. Overrides CrcHacksExclusion at gsdx.ini\n"
@ -88,40 +75,33 @@ const char* dialog_message(int ID, bool* updateText) {
"CrcHacksExclusions=all\n"
"CrcHacksExclusions=0x0F0C4A9C, 0x0EE5646B, 0x7ACF7E03";
case IDC_ALIGN_SPRITE:
return "Sprite Alignment Hack\n\n"
"Fixes issues with upscaling(vertical lines) in Namco games like Ace Combat, Tekken, Soul Calibur, etc.";
return "Fixes issues with upscaling(vertical lines) in Namco games like Ace Combat, Tekken, Soul Calibur, etc.";
case IDC_ROUND_SPRITE:
return "Corrects the sampling of 2D sprite textures when upscaling.\n\n"
"Fixes lines in sprites of games like Ar tonelico when upscaling.\n\n"
"Windows: Carries a total of three states: Unchecked (off), Checked (on for all sprites) and Shaded (on for flat sprites)";
"Half option is for flat sprites, Full is for all sprites.";
case IDC_TCOFFSETX:
case IDC_TCOFFSETX2:
case IDC_TCOFFSETY:
case IDC_TCOFFSETY2:
return "Texture Coordinates Offset Hack\n\n"
"Offset for the ST/UV texture coordinates. Fixes some odd texture issues and might fix some post processing alignment too.\n\n"
return "Offset for the ST/UV texture coordinates. Fixes some odd texture issues and might fix some post processing alignment too.\n\n"
" 0500 0500, fixes Persona 3 minimap, helps Haunting Ground.\n"
" 0000 1000, fixes Xenosaga hair edges (DX10+ Issue)\n";
" 0000 1000, fixes Xenosaga hair edges (DX10+ Issue)";
case IDC_PALTEX:
return "When checked 4/8 bits texture will be send to the GPU with a palette. GPU will be in charge of the conversion.\n\n"
"When uncheked the CPU will convert directly the texture to 32 bits\n\n"
"It is a basically a trade-off between GPU/CPU";
"When unchecked the CPU will convert directly the texture to 32 bits.\n\n"
"It is basically a trade-off between GPU/CPU.";
case IDC_ACCURATE_DATE:
return "Implement a more accurate algorithm to compute GS destination alpha testing.\n\n"
"It could be slower when the effects are used.\n\nNote: it requires the 4.2 OpenGL extension GL_ARB_shader_image_load_store";
"It could be slower when the effects are used.\n\nNote: it requires the OpenGL 4.2 extension GL_ARB_shader_image_load_store.";
case IDC_ACCURATE_BLEND_UNIT:
return "Control the accuracy level of the GS blending unit emulation. Note: it requires a GL4.5 drivers\n\n"
"None\t: Fast but introduce various rendering issues. It is intended for slow computer.\n"
"------------------------------------------------------------------\n"
"Basic\t: Emulate correctly most of the effects with a limited speed penality. It is the recommended setting.\n"
"------------------------------------------------------------------\n"
"Medium\t: Extend it to all sprites. Performance impact remains reasonable in 3D game.\n"
"------------------------------------------------------------------\n"
"High\t: Extend it to destination alpha blending and color wrapping. (help shadow and fog effect). A good CPU is required\n"
"------------------------------------------------------------------\n"
"Full\t\t: Except few cases, the blending unit will be fully emulated by the shader. It is ultra slow! It is intended for debug\n"
"------------------------------------------------------------------\n"
"Ultra\t: The blending unit will be completely emulated by the shader. It is ultra slow! It is intended for debug\n";
return "Control the accuracy level of the GS blending unit emulation. Note: it requires OpenGL 4.5 driver support.\n\n"
"None:\nFast but introduce various rendering issues. It is intended for slow computer.\n\n"
"Basic:\nEmulate correctly most of the effects with a limited speed penalty. It is the recommended setting.\n\n"
"Medium:\nExtend it to all sprites. Performance impact remains reasonable in 3D game.\n\n"
"High:\nExtend it to destination alpha blending and color wrapping. (help shadow and fog effect). A good CPU is required.\n\n"
"Full:\nExcept few cases, the blending unit will be fully emulated by the shader. It is ultra slow! It is intended for debug.\n\n"
"Ultra:\nThe blending unit will be completely emulated by the shader. It is ultra slow! It is intended for debug.";
case IDC_TC_DEPTH:
return "Allows the conversion of Depth buffer from/to Color buffer. It is used for blur & depth of field effects";
default:

View File

@ -177,12 +177,12 @@ GSdxApp::GSdxApp()
m_gs_gl_ext.push_back(GSSetting(1, "Force-Enabled", ""));
m_gs_hack.push_back(GSSetting(0, "Off", ""));
m_gs_hack.push_back(GSSetting(1, "Halfly On", ""));
m_gs_hack.push_back(GSSetting(2, "Fully On", ""));
m_gs_hack.push_back(GSSetting(1, "Half", ""));
m_gs_hack.push_back(GSSetting(2, "Full", ""));
m_gs_crc_level.push_back(GSSetting(0 , "None", "Debug"));
m_gs_crc_level.push_back(GSSetting(1 , "Minimum", "Debug"));
m_gs_crc_level.push_back(GSSetting(2 , "Partial", "openGL recommended"));
m_gs_crc_level.push_back(GSSetting(2 , "Partial", "OpenGL Recommended"));
m_gs_crc_level.push_back(GSSetting(3 , "Full", "Safest"));
m_gs_crc_level.push_back(GSSetting(4 , "Aggressive", ""));