Difference between revisions of "Development:Video"
From PCGamingWiki, the wiki about fixing PC games
m (fix for empty hdr parameters) |
|||
(14 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
<th scope="col" style="width: 50px" class="table-settings-video-head-rating">State</th> | <th scope="col" style="width: 50px" class="table-settings-video-head-rating">State</th> | ||
{{#if: {{{wsgf link|}}} | | {{#if: {{{wsgf link|}}} | | ||
− | <th scope="col" style="width: 50px" class="table-settings-video-head-rating-WSGF"><abbr title="Widescreen Gaming Forum awards">WSGF</abbr> | + | <th scope="col" style="width: 50px" class="table-settings-video-head-rating-WSGF"><abbr title="Widescreen Gaming Forum awards">WSGF</abbr></th> |
<th scope="col" style="width: 490px" class="table-settings-video-head-notes">Notes</th> | | <th scope="col" style="width: 490px" class="table-settings-video-head-notes">Notes</th> | | ||
<th scope="col" style="width: 540px" class="table-settings-video-head-notes">Notes</th> | <th scope="col" style="width: 540px" class="table-settings-video-head-notes">Notes</th> | ||
Line 25: | Line 25: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Widescreen resolution|Widescreen resolution]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Widescreen resolution|Widescreen resolution]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{widescreen resolution}}}| | + | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{widescreen resolution}}}||{{{widescreen resolution notes|}}}}}</td> |
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-rating-WSGF">{{WSGF|ws-{{{widescreen wsgf award|}}}|{{{wsgf link|}}}|Widescreen WSGF award}}</td> }} | {{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-rating-WSGF">{{WSGF|ws-{{{widescreen wsgf award|}}}|{{{wsgf link|}}}|Widescreen WSGF award}}</td> }} | ||
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{widescreen resolution notes|}}}</td> | {{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{widescreen resolution notes|}}}</td> | ||
Line 35: | Line 35: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Multi-monitor|<abbr title="Game can run at a spanned resolution across multiple displays">Multi-monitor</abbr>]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Multi-monitor|<abbr title="Game can run at a spanned resolution across multiple displays">Multi-monitor</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{multimonitor}}}| | + | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{multimonitor}}}||{{{multimonitor notes|}}}}}</td> |
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-rating-WSGF">{{WSGF|mm-{{{multimonitor wsgf award|}}}|{{{wsgf link|}}}|Multi-monitor WSGF award}}</td> }} | {{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-rating-WSGF">{{WSGF|mm-{{{multimonitor wsgf award|}}}|{{{wsgf link|}}}|Multi-monitor WSGF award}}</td> }} | ||
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{multimonitor notes|}}}</td> | {{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{multimonitor notes|}}}</td> | ||
Line 45: | Line 45: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Ultra-widescreen|<abbr title="Game can run at an ultra-widescreen (21:9) resolution">Ultra-widescreen</abbr>]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Ultra-widescreen|<abbr title="Game can run at an ultra-widescreen (21:9) resolution">Ultra-widescreen</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{ultrawidescreen|}}}| | + | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{ultrawidescreen|}}}||{{{ultrawidescreen notes|}}}}}</td> |
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-rating-WSGF">{{WSGF|uw-{{{ultrawidescreen wsgf award|}}}|{{{wsgf link|}}}|Ultra-widescreen WSGF award}}</td> }} | {{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-rating-WSGF">{{WSGF|uw-{{{ultrawidescreen wsgf award|}}}|{{{wsgf link|}}}|Ultra-widescreen WSGF award}}</td> }} | ||
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{ultrawidescreen notes|}}}</td> | {{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{ultrawidescreen notes|}}}</td> | ||
Line 55: | Line 55: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:4K Ultra HD|<abbr title="Game can run at 4K (3840x2160) resolution">4K Ultra HD</abbr>]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:4K Ultra HD|<abbr title="Game can run at 4K (3840x2160) resolution">4K Ultra HD</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{4k ultra hd|}}}| | + | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{4k ultra hd|}}}||{{{4k ultra hd notes|}}}}}</td> |
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-rating-WSGF">{{WSGF|4k-{{{4k ultra hd wsgf award|}}}|{{{wsgf link|}}}|4K Ultra HD WSGF award}}</td> }} | {{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-rating-WSGF">{{WSGF|4k-{{{4k ultra hd wsgf award|}}}|{{{wsgf link|}}}|4K Ultra HD WSGF award}}</td> }} | ||
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{4k ultra hd notes|}}}</td> | {{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{4k ultra hd notes|}}}</td> | ||
Line 65: | Line 65: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Field of view (FOV)|<abbr title="Game has an adjustable field of view">Field of view (FOV)</abbr>]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Field of view (FOV)|<abbr title="Game has an adjustable field of view">Field of view (FOV)</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-na|{{{fov|}}}| | + | <td class="table-settings-video-body-rating">{{Tickcross-na|{{{fov|}}}||{{{fov notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{{fov notes|}}}</td> | <td colspan="2" class="table-settings-video-body-notes">{{{fov notes|}}}</td> | ||
</tr> | </tr> | ||
Line 74: | Line 74: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Windowed|<abbr title="Game can run in a regular windowed mode">Windowed</abbr>]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Windowed|<abbr title="Game can run in a regular windowed mode">Windowed</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{windowed}}}| | + | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{windowed}}}||{{{windowed notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{windowed notes|}}} | {{{windowed notes|}}} | {{#ifeq: {{{windowed|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] toggle with'' {{key|Alt|Enter}} ''(see the [[Glossary:Windowed|glossary page]] for other workarounds).'' | ''See the [[Glossary:Windowed|glossary page]] for potential workarounds.'' }}}}}}</td> | <td colspan="2" class="table-settings-video-body-notes">{{#if: {{{windowed notes|}}} | {{{windowed notes|}}} | {{#ifeq: {{{windowed|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] toggle with'' {{key|Alt|Enter}} ''(see the [[Glossary:Windowed|glossary page]] for other workarounds).'' | ''See the [[Glossary:Windowed|glossary page]] for potential workarounds.'' }}}}}}</td> | ||
</tr> | </tr> | ||
Line 83: | Line 83: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Borderless fullscreen windowed|<abbr title="Game can run in a borderless fullscreen windowed mode">Borderless fullscreen windowed</abbr>]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Borderless fullscreen windowed|<abbr title="Game can run in a borderless fullscreen windowed mode">Borderless fullscreen windowed</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{borderless windowed}}}| | + | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{borderless windowed}}}||{{{borderless windowed notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{borderless windowed notes|}}}|{{{borderless windowed notes|}}}| | <td colspan="2" class="table-settings-video-body-notes">{{#if: {{{borderless windowed notes|}}}|{{{borderless windowed notes|}}}| | ||
{{#switch: {{{windowed|}}}|true|hackable= | {{#switch: {{{windowed|}}}|true|hackable= | ||
Line 97: | Line 97: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Anisotropic filtering (AF)|Anisotropic filtering (AF)]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Anisotropic filtering (AF)|Anisotropic filtering (AF)]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a-na|{{{anisotropic|}}}| | + | <td class="table-settings-video-body-rating">{{Tickcross-a-na|{{{anisotropic|}}}||{{{anisotropic notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{anisotropic notes|}}} | {{{anisotropic notes|}}} | {{#ifeq: {{{anisotropic|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | | ''See the [[Glossary:Anisotropic filtering (AF)|glossary page]] for potential workarounds.''}}}}}}</td> | <td colspan="2" class="table-settings-video-body-notes">{{#if: {{{anisotropic notes|}}} | {{{anisotropic notes|}}} | {{#ifeq: {{{anisotropic|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | | ''See the [[Glossary:Anisotropic filtering (AF)|glossary page]] for potential workarounds.''}}}}}}</td> | ||
</tr> | </tr> | ||
Line 104: | Line 104: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Anti-aliasing (AA)|Anti-aliasing (AA)]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Anti-aliasing (AA)|Anti-aliasing (AA)]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a-na|{{{antialiasing|}}}| | + | <td class="table-settings-video-body-rating">{{Tickcross-a-na|{{{antialiasing|}}}||{{{antialiasing notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{antialiasing notes|}}} | {{{antialiasing notes|}}} | {{#ifeq: {{{antialiasing|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | | ''See the [[Glossary:Anti-aliasing (AA)#Forcing anti-aliasing|glossary page]] for potential workarounds.''}}}}}}</td> | <td colspan="2" class="table-settings-video-body-notes">{{#if: {{{antialiasing notes|}}} | {{{antialiasing notes|}}} | {{#ifeq: {{{antialiasing|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | | ''See the [[Glossary:Anti-aliasing (AA)#Forcing anti-aliasing|glossary page]] for potential workarounds.''}}}}}}</td> | ||
</tr> | </tr> | ||
Line 122: | Line 122: | ||
|limitedlimited | |limitedlimited | ||
|falsefalse = and <abbr title="Game can run at 120 frames per second (or higher)">120+ FPS</abbr>]]</th> | |falsefalse = and <abbr title="Game can run at 120 frames per second (or higher)">120+ FPS</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{ | + | <td class="table-settings-video-body-rating">{{Tickcross|{{{60 fps}}}||{{{60 fps notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{{60 fps notes|}}}{{#if: {{{60 fps notes|}}}|{{#if: {{{120 fps notes|}}}|<br/>}}}}{{{120 fps notes|}}}</td> | <td colspan="2" class="table-settings-video-body-notes">{{{60 fps notes|}}}{{#if: {{{60 fps notes|}}}|{{#if: {{{120 fps notes|}}}|<br/>}}}}{{{120 fps notes|}}}</td> | ||
</tr> | </tr> | ||
|#Default =]]</th> | |#Default =]]</th> | ||
− | <td class="table-settings-video-body-rating">{{ | + | <td class="table-settings-video-body-rating">{{Tickcross|{{{60 fps}}}||{{{60 fps notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{{60 fps notes|}}}</td> | <td colspan="2" class="table-settings-video-body-notes">{{{60 fps notes|}}}</td> | ||
</tr> | </tr> | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Frame rate (FPS)|<abbr title="Game can run at 120 frames per second (or higher)">120+ FPS</abbr>]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Frame rate (FPS)|<abbr title="Game can run at 120 frames per second (or higher)">120+ FPS</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{ | + | <td class="table-settings-video-body-rating">{{Tickcross|{{{120 fps}}}||{{{120 fps notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{{120 fps notes|}}}</td> | <td colspan="2" class="table-settings-video-body-notes">{{{120 fps notes|}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
+ | <!-- HDR support --> | ||
{{#switch: {{#var:VR}},{{{hdr|}}}{{{hdr notes|}}} | true, | true,false | true,unknown = | #default= | {{#switch: {{#var:VR}},{{{hdr|}}}{{{hdr notes|}}} | true, | true,false | true,unknown = | #default= | ||
− | + | {{#if: {{#cargo_query:tables=API|where= | |
+ | (_pageID = {{PAGEID}} AND OpenGL_versions HOLDS LIKE '%') OR | ||
+ | (_pageID = {{PAGEID}} AND Direct3D_versions HOLDS LIKE '9%') OR | ||
+ | (_pageID = {{PAGEID}} AND Direct3D_versions HOLDS LIKE '10%') OR | ||
+ | (_pageID = {{PAGEID}} AND Direct3D_versions HOLDS LIKE '11%') OR | ||
+ | (_pageID = {{PAGEID}} AND Direct3D_versions HOLDS LIKE '12%') | ||
+ | |fields=Direct3D_versions|no html|default=}} | ||
+ | | {{#vardefine:show HDR|true}}{{#vardefine:retrofit HDR|true}} }} | ||
{{#ifeq: {{{hdr|}}}{{{hdr notes|}}}{{#var:show HDR}} | unknown || | {{#ifeq: {{{hdr|}}}{{{hdr notes|}}}{{#var:show HDR}} | unknown || | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:High dynamic range (HDR)|<abbr title="Game supports expanded color space on HDR-compatible displays">High dynamic range display (HDR)</abbr>]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:High dynamic range (HDR)|<abbr title="Game supports expanded color space on HDR-compatible displays">High dynamic range display (HDR)</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{hdr|}}}||{{{hdr notes|}}}}}</td> | + | <td class="table-settings-video-body-rating">{{Tickcross-a|{{#if: {{{hdr|}}} | {{{hdr|}}} | unknown }}||{{{hdr notes|}}}}}</td> |
− | <td colspan="2" class="table-settings-video-body-notes">{{{hdr notes|}}}</td> | + | <td colspan="2" class="table-settings-video-body-notes">{{#if: {{{hdr notes|}}} | {{{hdr notes|}}} | {{#switch: {{{hdr|}}} | limited | true | always on | hackable = | #default = {{#if: {{#var:retrofit HDR}} | ''See the [[Glossary:High dynamic range (HDR)#Enable HDR output in unsupported games|glossary page]] for potential alternatives.'' }} }}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 158: | Line 166: | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Color blind mode|Color blind mode]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:Color blind mode|Color blind mode]]</th> | ||
− | <td class="table-settings-video-body-rating">{{ | + | <td class="table-settings-video-body-rating">{{Tickcross|{{{color blind|}}}||{{{color blind notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{{color blind notes|}}}</td> | <td colspan="2" class="table-settings-video-body-notes">{{{color blind notes|}}}</td> | ||
</tr> | </tr> | ||
Line 165: | Line 173: | ||
-->{{#ifeq:{{#var:VR}}|false| {{#ifeq:{{{widescreen resolution|}}}|false| {{#ifeq:{{{multimonitor|}}}{{{ultrawidescreen|}}}{{{4k ultra hd|}}}|falsefalsefalse||[[Category:Invalid template usage (Video)]]}} }} }}<!-- | -->{{#ifeq:{{#var:VR}}|false| {{#ifeq:{{{widescreen resolution|}}}|false| {{#ifeq:{{{multimonitor|}}}{{{ultrawidescreen|}}}{{{4k ultra hd|}}}|falsefalsefalse||[[Category:Invalid template usage (Video)]]}} }} }}<!-- | ||
-->{{#if:{{#var:screenshots}}|{{#vardefine:Video settings screenshots|true}}{{#vardefine:screenshots|}}}}<!-- | -->{{#if:{{#var:screenshots}}|{{#vardefine:Video settings screenshots|true}}{{#vardefine:screenshots|}}}}<!-- | ||
− | --></table></div></includeonly><!-- | + | --></table></div>{{#arraymap: {{#var:engines}} | , | €€€€€ | {{#switch: {{lc:€€€€€}} |
+ | | engine:unreal engine 4 = {{#ifeq:{{#var:ue4videonote|false}}|false|{{mm}} The game engine may allow for manual configuration of the game via its variables. See the [[Engine:Unreal Engine 4|Unreal Engine 4]] page for more details.{{#vardefine:ue4videonote|true}}}} | ||
+ | }}}}</includeonly><!-- | ||
--><noinclude>{{#cargo_declare: | --><noinclude>{{#cargo_declare: | ||
_table=Video | _table=Video |
Latest revision as of 08:35, 23 May 2022
Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).
Visit Development:Video/Documentation to edit this text. (How does this work?)