Difference between revisions of "Development:API"
From PCGamingWiki, the wiki about fixing PC games
(rm old Windows 64-bit check) |
(EXE validity checks and 64-bit only checks) |
||
Line 168: | Line 168: | ||
<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:{{#var:Windows 3.x native}}{{{windows 32-bit exe|}}}{{{windows 64-bit exe|}}}|falsefalse|[[Category:Invalid template usage (API)]]}} | ||
}} | }} | ||
{{#if:{{#var:OS X}}{{{macos app notes|}}}| | {{#if:{{#var:OS X}}{{{macos app notes|}}}| | ||
Line 177: | Line 179: | ||
<td class="table-api-body-notes">{{#ifeq:{{{macos 32-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.''}}{{#vardefine:Warnings|true}}|{{{macos app notes|}}}}}</td> | <td class="table-api-body-notes">{{#ifeq:{{{macos 32-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.''}}{{#vardefine:Warnings|true}}|{{{macos app notes|}}}}}</td> | ||
</tr> | </tr> | ||
+ | {{#ifeq:{{{macos 32-bit app|}}}{{{macos 64-bit app|}}}|falsetrue|{{#vardefine:OS X 64-bit only|true}}}} | ||
+ | {{#ifeq:{{{macos 32-bit app|}}}{{{macos 64-bit app|}}}|falsefalse|[[Category:Invalid template usage (API)]]}} | ||
}} | }} | ||
{{#if:{{#var:Linux native}}{{{linux executable notes|}}}| | {{#if:{{#var:Linux native}}{{{linux executable notes|}}}| | ||
Line 186: | Line 190: | ||
<td class="table-api-body-notes">{{{linux executable notes|}}}</td> | <td class="table-api-body-notes">{{{linux executable notes|}}}</td> | ||
</tr> | </tr> | ||
+ | {{#ifeq:{{{linux 32-bit executable|}}}{{{linux 64-bit executable|}}}|falsetrue|{{#vardefine:Linux 64-bit only|true}}}} | ||
+ | {{#ifeq:{{{linux 32-bit executable|}}}{{{linux 64-bit executable|}}}|falsefalse|[[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; 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> |
Revision as of 09:20, 8 June 2019
Documentation for the above template (sometimes hidden from view).
Visit Development:API/Documentation to edit this text. (How does this work?)