Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Development:API"

From PCGamingWiki, the wiki about fixing PC games
(test macOS 64-bit unknown warning state (initial))
(1:1 with live)
Line 1: Line 1:
<includeonly>{{#vardefine:section|Other_information}}{{#if:{{{direct3d versions|}}}{{{directdraw versions|}}}{{{wing|}}}{{{opengl versions|}}}{{{glide versions|}}}{{{software mode|}}}{{{mantle support|}}}{{{metal support|}}}{{{vulkan versions|}}}{{#var:DOS}}{{#var:PC booter}}{{{shader model versions|}}}{{{64-bit executable|}}}{{#var:Windows 3.x}}{{#var:Windows native}}{{{windows exe notes|}}}{{#var:OS X}}{{{macos app notes|}}}{{#var:Linux native}}{{{linux executable notes|}}}|
+
<includeonly>{{#vardefine:section|Other_information}}{{#vardefine:API|present}}{{#if:{{{direct3d versions|}}}{{{directdraw versions|}}}{{{wing|}}}{{{opengl versions|}}}{{{glide versions|}}}{{{software mode|}}}{{{mantle support|}}}{{{metal support|}}}{{{vulkan versions|}}}{{#var:DOS}}{{#var:PC booter}}{{{shader model versions|}}}{{#var:Windows 3.x}}{{#var:Windows native}}{{{windows exe notes|}}}{{#var:OS X}}{{{macos app notes|}}}{{#var:Linux native}}{{{linux executable notes|}}}|
{{#if:{{{direct3d versions|}}}{{{directdraw versions|}}}{{{wing|}}}{{{opengl versions|}}}{{{glide versions|}}}{{{software mode|}}}{{{mantle support|}}}{{{metal support|}}}{{{vulkan versions|}}}{{#var:DOS}}{{#var:PC booter}}{{{shader model versions|}}}{{{64-bit executable|}}}
+
{{#if:{{{direct3d versions|}}}{{{directdraw versions|}}}{{{wing|}}}{{{opengl versions|}}}{{{glide versions|}}}{{{software mode|}}}{{{mantle support|}}}{{{metal support|}}}{{{vulkan versions|}}}{{#var:DOS}}{{#var:PC booter}}{{{shader model versions|}}}
 
|<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-api">
 
|<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-api">
 
<tr class="template-infotable-head table-api-head-row">
 
<tr class="template-infotable-head table-api-head-row">
Line 91: Line 91:
 
<th scope="row" class="table-api-body-parameter"><abbr title="Only supported on compatible AMD video cards">Mantle support</abbr></th>
 
<th scope="row" class="table-api-body-parameter"><abbr title="Only supported on compatible AMD video cards">Mantle support</abbr></th>
 
<td class="table-api-body-support">{{Tickcross|{{{mantle support|}}}|Mantle support|{{{mantle support notes|}}}}}{{#vardefine:Warnings|true}}</td>
 
<td class="table-api-body-support">{{Tickcross|{{{mantle support|}}}|Mantle support|{{{mantle support notes|}}}}}{{#vardefine:Warnings|true}}</td>
<td class="table-api-body-notes">{{{mantle support notes|}}}</td>
+
<td class="table-api-body-notes">{{#if:{{{mantle support notes|}}}|{{{mantle support notes|}}}|''Requires an AMD video card with a driver version earlier than 19.5.1 (2019).''<ref name="Mantle support"/>}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 145: Line 145:
 
}}
 
}}
 
}}
 
}}
{{#if: {{{64-bit executable|}}} |
+
</table></div>}}{{#if:{{#var:Windows 3.x native}}{{#var:Windows native}}{{{windows exe notes|}}}{{#var:OS X}}{{{macos app notes|}}}{{#var:Linux native}}{{{linux executable notes|}}}|<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-api-executable">
<tr class="template-infotable-body table-api-body-row">
 
<th scope="row" class="table-api-body-parameter"><abbr title="Compiled for 64-bit">64-bit executable</abbr></th>
 
<td class="table-api-body-support">{{Tickcross|{{{64-bit executable|}}}|64-bit executable|{{{64-bit executable notes|}}}}}</td>
 
<td class="table-api-body-notes">{{{64-bit executable notes|}}}</td>
 
</tr>
 
}}
 
</table></div>}}{{#if:{{#var:Windows 3.x native}}{{#var:Windows native}}{{{windows exe notes|}}}{{#var:OS X}}{{{macos app notes|}}}{{#var:Linux native}}{{{linux executable notes|}}}|{{#if:{{{64-bit executable|}}}||<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable">
 
 
<tr class="template-infotable-head table-api-head-row"><!--
 
<tr class="template-infotable-head table-api-head-row"><!--
 
-->{{#switch:{{{mac os x powerpc app|}}}|true|hackable={{#vardefine:powerpc app|true}}}}<!--
 
-->{{#switch:{{{mac os x powerpc app|}}}|true|hackable={{#vardefine:powerpc app|true}}}}<!--
-->{{#switch:{{{linux powerpc app|}}}|true|hackable={{#vardefine:powerpc app|true}}}}
+
-->{{#switch:{{{linux powerpc app|}}}|true|hackable={{#vardefine:powerpc app|true}}}}<!--
 +
-->{{#switch:{{{windows arm app|}}}|true|hackable={{#vardefine:arm app|true}}}}<!--
 +
-->{{#switch:{{{macos arm app|}}}|true|hackable={{#vardefine:arm app|true}}}}<!--
 +
-->{{#switch:{{{linux arm app|}}}|true|hackable|limited={{#vardefine:arm app|true}}}}<!--
 +
-->{{#vardefine:api notes width|490}}<!--
 +
-->{{#if:{{#var:Windows 3.x native}}|{{#vardefine:api notes width|{{#expr: {{#var:api notes width}} - 50}}}}}}<!--
 +
-->{{#if:{{#var:powerpc app}}|{{#vardefine:api notes width|{{#expr: {{#var:api notes width}} - 50}}}}}}<!--
 +
-->{{#if:{{#var:arm app}}|{{#vardefine:api notes width|{{#expr: {{#var:api notes width}} - 50}}}}}}
 
<th scope="col" style="width: 230px;" class="table-api-head-parameter">Executable</th><!--
 
<th scope="col" style="width: 230px;" class="table-api-head-parameter">Executable</th><!--
 
-->{{#if:{{#var:powerpc app}}|<th scope="col" style="width: 50px;" class="table-api-head-support"><abbr title="PowerPC">PPC</abbr></th>}}<!--
 
-->{{#if:{{#var:powerpc app}}|<th scope="col" style="width: 50px;" class="table-api-head-support"><abbr title="PowerPC">PPC</abbr></th>}}<!--
-->{{#if:{{#var:Windows 3.x native}}|<th scope="col" style="width: 50px;" class="table-api-head-support">16-bit</th>}}
+
-->{{#if:{{#var:Windows 3.x native}}|<th scope="col" style="width: 50px;" class="table-api-head-support"><abbr title="Intel 16-bit">16-bit</abbr></th>}}
<th scope="col" style="width: 50px;" class="table-api-head-support">32-bit</th>
+
<th scope="col" style="width: 50px;" class="table-api-head-support"><abbr title="Intel 32-bit (x86)">32-bit</abbr></th>
<th scope="col" style="width: 50px;" class="table-api-head-support">64-bit</th>
+
<th scope="col" style="width: 50px;" class="table-api-head-support"><abbr title="Intel 64-bit (x64 / x86-64)">64-bit</abbr></th><!--
<th scope="col" style="width: {{#if:{{#var:powerpc app}} | 440px | 490px }};" class="table-api-head-notes">Notes</th>
+
-->{{#if:{{#var:arm app}}|<th scope="col" style="width: 50px;" class="table-api-head-support">ARM</th>}}
 +
<th scope="col" style="width: {{#var:api notes width}}px;" class="table-api-head-notes">Notes</th>
 
</tr>
 
</tr>
 
{{#if:{{#var:Windows 3.x native}}{{#var:Windows native}}{{{windows exe notes|}}}|
 
{{#if:{{#var:Windows 3.x native}}{{#var:Windows native}}{{{windows exe notes|}}}|
Line 169: Line 170:
 
-->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross|true}}</td>}}
 
-->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross|true}}</td>}}
 
<td class="table-api-body-support">{{Tickcross|{{{windows 32-bit exe|}}}|Windows 32-bit executable|{{{windows exe notes|}}}}}</td>
 
<td class="table-api-body-support">{{Tickcross|{{{windows 32-bit exe|}}}|Windows 32-bit executable|{{{windows exe notes|}}}}}</td>
<td class="table-api-body-support">{{Tickcross|{{{windows 64-bit exe|}}}|Windows 64-bit executable|{{{windows exe notes|}}}}}</td>
+
<td class="table-api-body-support">{{Tickcross|{{{windows 64-bit exe|}}}|Windows 64-bit executable|{{{windows exe notes|}}}}}</td><!--
 +
-->{{#if:{{#var:arm app}}|<td class="table-api-body-support">{{Tickcross|{{{windows arm app|}}}|Windows ARM app|{{{windows exe notes|}}}}}</td>}}
 
<td class="table-api-body-notes">{{#if: {{{windows exe notes|}}}|{{{windows exe notes|}}}|{{#if:{{#var:Windows 3.x native}}|''Windows 3.x version might be playable on a 64-bit OS using {{#if:{{#var:ScummVM}}|[[ScummVM]]|[https://github.com/otya128/winevdm winevdm]}}.''}}}}</td>
 
<td class="table-api-body-notes">{{#if: {{{windows exe notes|}}}|{{{windows exe notes|}}}|{{#if:{{#var:Windows 3.x native}}|''Windows 3.x version might be playable on a 64-bit OS using {{#if:{{#var:ScummVM}}|[[ScummVM]]|[https://github.com/otya128/winevdm winevdm]}}.''}}}}</td>
 
</tr>
 
</tr>
 
{{#ifeq:{{{windows 32-bit exe|}}}{{{windows 64-bit exe|}}}|falsetrue|{{#vardefine:Windows 64-bit only|true}}}}
 
{{#ifeq:{{{windows 32-bit exe|}}}{{{windows 64-bit exe|}}}|falsetrue|{{#vardefine:Windows 64-bit only|true}}}}
{{#if:{{#var:Windows native}}|{{#ifeq:{{{windows 32-bit exe|}}}{{{windows 64-bit exe|}}}|falsefalse|[[Category:Invalid template usage (API)]]}}}}
+
{{#if:{{#var:Windows native}}|{{#ifeq:{{{windows 32-bit exe|}}}{{{windows 64-bit exe|}}}|falsefalse|{{#ifeq:{{{windows arm app|}}}|true||[[Category:Invalid template usage (API)]]}}}}}}
 
}}
 
}}
{{#if:{{#var:OS X}}{{{macos app notes|}}}|
+
{{#if:{{#var:OS X}}{{{macos app notes|}}}{{{macos arm notes|}}}|
 
<tr class="template-infotable-body table-api-body-row">
 
<tr class="template-infotable-body table-api-body-row">
 
<th scope="row" class="table-api-body-parameter">macOS (OS X)</th><!--
 
<th scope="row" class="table-api-body-parameter">macOS (OS X)</th><!--
 
-->{{#if:{{#var:powerpc app}}|<td class="table-api-body-support">{{Tickcross|{{{mac os x powerpc app|}}}|Mac OS X PowerPC app|{{{macos app notes|}}}}}</td><!--
 
-->{{#if:{{#var:powerpc app}}|<td class="table-api-body-support">{{Tickcross|{{{mac os x powerpc app|}}}|Mac OS X PowerPC app|{{{macos app notes|}}}}}</td><!--
-->{{#ifeq:{{{mac os x powerpc app|}}}{{{macos intel 32-bit app|}}}{{{macos 32-bit app|}}}{{{macos intel 64-bit app|}}}{{{macos 64-bit app|}}}|truefalsefalse|{{#vardefine:Warnings|true}}}}}}<!--
+
-->{{#ifeq:{{{mac os x powerpc app|}}}{{{macos intel 32-bit app|}}}{{{macos 32-bit app|}}}{{{macos intel 64-bit app|}}}{{{macos 64-bit app|}}}|truefalsefalse|{{#ifeq:{{{macos arm app|}}}|true||{{#vardefine:Warnings|true}}}}}}}}<!--
 
-->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross-na|n/a}}</td>}}
 
-->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross-na|n/a}}</td>}}
 
<td class="table-api-body-support">{{Tickcross|{{{macos intel 32-bit app|{{{macos 32-bit app|}}}}}}|macOS Intel 32-bit app|{{{macos app notes|}}}}}</td>
 
<td class="table-api-body-support">{{Tickcross|{{{macos intel 32-bit app|{{{macos 32-bit app|}}}}}}|macOS Intel 32-bit app|{{{macos app notes|}}}}}</td>
<td class="table-api-body-support">{{Tickcross|{{{macos intel 64-bit app|{{{macos 64-bit app|}}}}}}|macOS Intel 64-bit app|{{{macos app notes|}}}}}</td>
+
<td class="table-api-body-support">{{Tickcross|{{{macos intel 64-bit app|{{{macos 64-bit app|}}}}}}|macOS Intel 64-bit app|{{{macos app notes|}}}}}</td><!--
<td class="table-api-body-notes">{{#ifeq:{{{macos intel 32-bit app|{{{macos 32-bit app|}}}}}}{{{macos intel 64-bit app|{{{macos 64-bit app|}}}}}}|truefalse|{{#if:{{{macos app notes|}}}|{{{macos app notes|}}}|''This 32-bit-only macOS game '''does not work''' on macOS Catalina (10.15) or later.''}}|{{{macos app notes|}}}}}</td>
+
-->{{#if:{{#var:arm app}}|<td class="table-api-body-support">{{Tickcross|{{{macos arm app|}}}|MacOS ARM app|{{{macos app notes|}}}}}</td>}}
 +
<td class="table-api-body-notes">{{#ifeq:{{{macos intel 32-bit app|{{{macos 32-bit app|}}}}}}{{{macos intel 64-bit app|{{{macos 64-bit app|}}}}}}|truefalse|{{#ifeq:{{{macos arm app|}}}|true||{{#if:{{{macos app notes|}}}{{{macos arm notes|}}}|{{{macos app notes|}}} {{{macos arm notes|}}}|''This 32-bit-only macOS game '''does not work''' on macOS Catalina (10.15) or later.''}}}}|{{{macos app notes|}}} {{{macos arm notes|}}}}}</td>
 
</tr>
 
</tr>
 
{{#switch:{{{macos intel 32-bit app|{{{macos 32-bit app|}}}}}}{{{macos intel 64-bit app|{{{macos 64-bit app|}}}}}}
 
{{#switch:{{{macos intel 32-bit app|{{{macos 32-bit app|}}}}}}{{{macos intel 64-bit app|{{{macos 64-bit app|}}}}}}
 
|falsetrue={{#vardefine:OS X 64-bit only|true}}
 
|falsetrue={{#vardefine:OS X 64-bit only|true}}
|trueunknown
 
|unknownunknown
 
 
|truefalse
 
|truefalse
|truehackable={{#vardefine:Warnings|true}}
+
|truehackable={{#ifeq:{{{macos arm app|}}}|true||{{#vardefine:Warnings|true}}}}
|falsefalse={{#ifeq:{{{mac os x powerpc app|}}}|true||[[Category:Invalid template usage (API)]]}}
+
|falsefalse={{#ifeq:{{{mac os x powerpc app|}}}|true||{{#ifeq:{{{macos arm app|}}}|true||[[Category:Invalid template usage (API)]]}}}}
 
}}
 
}}
 
}}
 
}}
Line 200: Line 201:
 
-->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross-na|n/a}}</td>}}
 
-->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross-na|n/a}}</td>}}
 
<td class="table-api-body-support">{{Tickcross|{{{linux 32-bit executable|}}}|Linux 32-bit executable|{{{linux executable notes|}}}}}</td>
 
<td class="table-api-body-support">{{Tickcross|{{{linux 32-bit executable|}}}|Linux 32-bit executable|{{{linux executable notes|}}}}}</td>
<td class="table-api-body-support">{{Tickcross|{{{linux 64-bit executable|}}}|Linux 64-bit executable|{{{linux executable notes|}}}}}</td>
+
<td class="table-api-body-support">{{Tickcross|{{{linux 64-bit executable|}}}|Linux 64-bit executable|{{{linux executable notes|}}}}}</td><!--
 +
-->{{#if:{{#var:arm app}}|<td class="table-api-body-support">{{Tickcross|{{{linux arm app|}}}|Linux ARM app|{{{linux executable notes|}}}}}</td>}}
 
<td class="table-api-body-notes">{{{linux executable notes|}}}</td>
 
<td class="table-api-body-notes">{{{linux executable notes|}}}</td>
 
</tr>
 
</tr>
Line 206: Line 208:
 
{{#ifeq:{{{linux 32-bit executable|}}}{{{linux 64-bit executable|}}}|falsefalse|{{#ifeq:{{{linux powerpc app|}}}|true||[[Category:Invalid template usage (API)]]}}}}
 
{{#ifeq:{{{linux 32-bit executable|}}}{{{linux 64-bit executable|}}}|falsefalse|{{#ifeq:{{{linux powerpc app|}}}|true||[[Category:Invalid template usage (API)]]}}}}
 
}}
 
}}
</table></div>}} }}|{{ii}} ''No API information; you can <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page]</span> to add it.''}}{{#if: {{{vulkan support|}}} |[[Category:Invalid template usage (API)]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
</table></div> }}|{{ii}} ''No API information; <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page]</span> to add it.''}}{{#if: {{{vulkan support|}}} |[[Category:Invalid template usage (API)]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 03:59, 26 August 2021

Documentation for the above template (sometimes hidden from view).