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

Difference between revisions of "Template:Compatibility/macOS"

From AppleGamingWiki, the wiki about gaming on M1 Apple silicon Macs
(Default to 'na' in Cargo + hide rows if no value is stored)
m (removed a { that had snuck in on the wine cargo_store call)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==macOS Compatibility==
+
<includeonly>==macOS Compatibility==
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-compatibility">{{#vardefine:section|Compatibility}}
+
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-compatibility">{{#vardefine:section|Compatibility}}<!--
<!-- NEW SECTION -->
+
 
<!-- General -->
+
-->{{#vardefine:rating header|<abbr title="How the game functions through this method">Rating</abbr>}}<!--
{{#if: {{{native|}}}{{{rosetta 2|}}}{{{ios-ipados app|}}} |
+
-->{{#vardefine:notes header|Notes}}<!--
 +
-->{{#if: {{{native|}}}        | {{#vardefine:macOS native|{{{native|}}}}} }}<!--
 +
-->{{#if: {{{rosetta 2|}}}     | {{#vardefine:macOS rosetta 2|{{{rosetta 2|}}}}} }}<!--
 +
-->{{#if: {{{ios-ipados app|}}} | {{#vardefine:macOS ios-ipados app|{{{ios-ipados app|}}}}} }}<!--
 +
-->{{#if: {{{crossover|}}}      | {{#vardefine:macOS crossover|{{{crossover|}}}}} }}<!--
 +
-->{{#if: {{{wine|}}}          | {{#vardefine:macOS wine|{{{wine|}}}}} }}<!--
 +
-->{{#if: {{{parallels|}}}      | {{#vardefine:macOS parallels|{{{parallels|}}}}} }}<!--
 +
-->{{#if: {{{windows 10 arm|}}} | {{#vardefine:macOS windows 10 arm|{{{windows 10 arm|}}}}} }}<!--
 +
-->{{#if: {{{linux arm|}}}      | {{#vardefine:macOS linux arm|{{{linux arm|}}}}} }}<!--
 +
 
 +
  NEW SECTION: General
 +
 
 +
-->{{#ifeq: {{#var:macOS native|na}}{{#var:macOS rosetta 2|na}}{{#var:macOS ios-ipados app|na}} | nanana | |
 
<tr class="template-infotable-head table-compatibility-head-row">
 
<tr class="template-infotable-head table-compatibility-head-row">
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method">Method</th>
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method">Method</th>
<th scope="col" style="width: 100px" class="table-compatibility-head-rating"><abbr title="How the game functions through this method">Rating</abbr></th>
+
<th scope="col" style="width: 100px" class="table-compatibility-head-rating">{{#var:rating header}}{{#vardefine:rating header|}}</th>
<th scope="col" style="width: 520px;" class="table-compatibility-head-notes">Notes</th>
+
<th scope="col" style="width: 520px;" class="table-compatibility-head-notes">{{#var:notes header}}{{#vardefine:notes header|}}</th>
</tr>
+
</tr><!--
 +
 
 +
  NEW ROW: Native
  
<!-- Native -->
+
-->{{#ifeq: {{#var:macOS native|na}} | na | |
{{#if: {{{native|}}} |
 
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method"><abbr title="Game can run natively on Apple silicon">Native</abbr></th>
 
<th scope="row" class="table-compatibility-body-method"><abbr title="Game can run natively on Apple silicon">Native</abbr></th>
<td class="table-compatibility-body-rating">{{Rating|{{{native|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS native|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{native notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{native notes|}}}</td>
 
</tr>
 
</tr>
}}
+
}}<!--
  
<!-- Rosetta 2 -->
+
  NEW ROW: Rosetta 2
{{#if: {{{rosetta 2|}}} |
+
 
 +
-->{{#ifeq: {{#var:macOS rosetta 2|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method"><abbr title="Game can run through Rosetta 2 translation environment">Rosetta 2</abbr></th>
 
<th scope="row" class="table-compatibility-body-method"><abbr title="Game can run through Rosetta 2 translation environment">Rosetta 2</abbr></th>
<td class="table-compatibility-body-rating">{{Rating|{{{rosetta 2|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS rosetta 2|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{rosetta 2 notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{rosetta 2 notes|}}}</td>
 
</tr>
 
</tr>
}}
+
}}<!--
  
<!-- iOS/iPadOS App -->
+
  NEW ROW: iOS/iPadOS App
{{#if: {{{ios-ipados app|}}} |
+
 
 +
-->{{#ifeq: {{#var:macOS ios-ipados app|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method"><abbr title="macOS can run the iOS/iPadOS app of the game">iOS/iPadOS App</abbr></th>
 
<th scope="row" class="table-compatibility-body-method"><abbr title="macOS can run the iOS/iPadOS app of the game">iOS/iPadOS App</abbr></th>
<td class="table-compatibility-body-rating">{{Rating|{{{ios-ipados app|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS ios-ipados app|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{ios-ipados app notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{ios-ipados app notes|}}}</td>
 
</tr>
 
</tr>
}}
+
}}<!--
}}
 
  
<!-- NEW SECTION -->
+
-->}}<!--
<!-- Compatibility layer-->
+
 
{{#if: {{{crossover|}}}{{{wine|}}} |
+
  NEW SECTION: Compatibility layer
 +
 
 +
-->{{#ifeq: {{#var:macOS crossover|na}}{{#var:macOS wine|na}} | nana | |
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through a third-party compatibility layer">Compatibility layer</abbr></th>
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through a third-party compatibility layer">Compatibility layer</abbr></th>
<th scope="col" style="width: 50px;" class="table-compatibility-head-rating"></th>
+
<th scope="col" style="width: 50px;" class="table-compatibility-head-rating">{{#var:rating header}}{{#vardefine:rating header|}}</th>
<th scope="col" style="width: 540px;" class="table-compatibility-head-notes"></th>
+
<th scope="col" style="width: 540px;" class="table-compatibility-head-notes">{{#var:notes header}}{{#vardefine:notes header|}}</th>
</tr>
+
</tr><!--
 +
 
 +
  NEW ROW: CrossOver
  
<!-- CrossOver -->
+
-->{{#ifeq: {{#var:macOS crossover|na}} | na | |
{{#if: {{{crossover|}}} |
 
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">[[CrossOver]]</th>
 
<th scope="row" class="table-compatibility-body-method">[[CrossOver]]</th>
<td class="table-compatibility-body-rating">{{Rating|{{{crossover|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS crossover|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{crossover notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{crossover notes|}}}</td>
 
</tr>
 
</tr>
}}
+
}}<!--
 +
 
 +
  NEW ROW: Wine
  
<!-- Wine -->
+
-->{{#ifeq: {{#var:macOS wine|na}} | na | |
{{#if: {{{wine|}}} |
 
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">Wine</th>
 
<th scope="row" class="table-compatibility-body-method">Wine</th>
<td class="table-compatibility-body-rating">{{Rating|{{{wine|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS wine|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{wine notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{wine notes|}}}</td>
 
</tr>
 
</tr>
}}
+
}}<!--
}}
+
 
 +
-->}}<!--
 +
 
 +
  NEW SECTION: Virtualization
  
<!-- NEW SECTION -->
+
-->{{#ifeq: {{#var:macOS parallels|na}} | na | |
<!-- Virtualization-->
 
{{#if: {{{parallels|}}} |
 
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through virtualization such as e.g. Parallels">Virtualization</abbr></th>
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through virtualization such as e.g. Parallels">Virtualization</abbr></th>
<th scope="col" style="width: 50px;" class="table-compatibility-head-rating"></th>
+
<th scope="col" style="width: 50px;" class="table-compatibility-head-rating">{{#var:rating header}}{{#vardefine:rating header|}}</th>
<th scope="col" style="width: 540px;" class="table-compatibility-head-notes"></th>
+
<th scope="col" style="width: 540px;" class="table-compatibility-head-notes">{{#var:notes header}}{{#vardefine:notes header|}}</th>
</tr>
+
</tr><!--
 +
 
 +
  NEW ROW: Parallels
  
<!-- Parallels -->
+
-->{{#ifeq: {{#var:macOS parallels|na}} | na | |
{{#if: {{{parallels|}}} |
 
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">[[Parallels]]</th>
 
<th scope="row" class="table-compatibility-body-method">[[Parallels]]</th>
<td class="table-compatibility-body-rating">{{Rating|{{{parallels|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS parallels|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{parallels notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{parallels notes|}}}</td>
 
</tr>
 
</tr>
}}
+
}}<!--
}}
 
  
<!-- NEW SECTION -->
+
-->}}<!--
<!-- Multi-booting -->
+
 
{{#if: {{{windows 10 arm|}}}{{{linux arm|}}} |
+
  NEW SECTION: Multi-booting
 +
 
 +
-->{{#ifeq: {{#var:macOS windows 10 arm|na}}{{#var:macOS linux arm|na}} | nana | |
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through another bootable operating system">Multi-booting</abbr></th>
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through another bootable operating system">Multi-booting</abbr></th>
<th scope="col" style="width: 50px;" class="table-compatibility-head-rating"></th>
+
<th scope="col" style="width: 50px;" class="table-compatibility-head-rating">{{#var:rating header}}{{#vardefine:rating header|}}</th>
<th scope="col" style="width: 540px;" class="table-compatibility-head-notes"></th>
+
<th scope="col" style="width: 540px;" class="table-compatibility-head-notes">{{#var:notes header}}{{#vardefine:notes header|}}</th>
</tr>
+
</tr><!--
 +
 
 +
  NEW ROW: Windows 10 ARM
  
<!-- Windows 10 ARM -->
+
-->{{#ifeq: {{#var:macOS windows 10 arm|na}} | na | |
{{#if: {{{windows 10 arm|}}} |
 
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">Windows 10 ARM</th>
 
<th scope="row" class="table-compatibility-body-method">Windows 10 ARM</th>
<td class="table-compatibility-body-rating">{{Rating|{{{windows 10 arm|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS windows 10 arm|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{windows 10 arm notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{windows 10 arm notes|}}}</td>
 
</tr>
 
</tr>
}}
+
}}<!--
  
<!-- Linux ARM -->
+
  NEW ROW: Linux ARM
{{#if: {{{linux arm|}}} |
+
 
 +
-->{{#ifeq: {{#var:macOS linux arm|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">Linux ARM</th>
 
<th scope="row" class="table-compatibility-body-method">Linux ARM</th>
<td class="table-compatibility-body-rating">{{Rating|{{{linux arm|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS linux arm|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{linux arm notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{linux arm notes|}}}</td>
 
</tr>
 
</tr>
}}
+
}}<!--
}}
+
 
 +
-->}}<!--
  
</table></div><noinclude>{{#cargo_declare:
+
--></table></div></includeonly><noinclude>{{ii}} Example from [[Minecraft]]:
 +
{{Compatibility/macOS
 +
|native              = perfect
 +
|native notes        = Java version can be compiled for native ARM, see [[#Native]].
 +
|rosetta 2            = perfect
 +
|rosetta 2 notes      = Java version runs well via Rosetta 2.
 +
|ios-ipados app      = perfect
 +
|ios-ipados app notes = Mobile (Bedrock) can be sideloaded.
 +
|crossover            = unknown
 +
|crossover notes      =
 +
|wine                = unknown
 +
|wine notes          =
 +
|parallels            = perfect
 +
|parallels notes      = Bedrock version playable after using latest Windows Insider Preview build of Windows 10 ARM.
 +
|windows 10 arm      = na
 +
|windows 10 arm notes =
 +
|linux arm            = na
 +
|linux arm notes      =
 +
}}</noinclude><noinclude>{{#cargo_declare:
 
_table=Compatibility_macOS
 
_table=Compatibility_macOS
 
|native=String
 
|native=String
Line 123: Line 165:
 
|windows_10_arm=String
 
|windows_10_arm=String
 
|linux_arm=String
 
|linux_arm=String
}}</noinclude><includeonly>{{#cargo_store:
+
}}</noinclude><includeonly>{{#ifeq: {{NAMESPACE}} | | {{#cargo_store:
 
_table=Compatibility_macOS
 
_table=Compatibility_macOS
|native={{{native|na}}}
+
|native={{#var:macOS native|na}}
|rosetta_2={{{rosetta 2|na}}}
+
|rosetta_2={{#var:macOS rosetta 2|na}}
|iosipados_app={{{ios-ipados app|na}}}
+
|iosipados_app={{#var:macOS ios-ipados app|na}}
|crossover={{{crossover|na}}}
+
|crossover={{#var:macOS crossover|na}}
|wine={{{wine|na}}}
+
|wine={{#var:macOS wine|na}}
|parallels={{{parallels|na}}}
+
|parallels={{#var:macOS parallels|na}}
|windows_10_arm={{{windows 10 arm|na}}}
+
|windows_10_arm={{#var:macOS windows 10 arm|na}}
|linux_arm={{{linux arm|na}}}
+
|linux_arm={{#var:macOS linux arm|na}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
+
}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 21:46, 10 June 2023

Example from Minecraft:

macOS Compatibility

Method Rating Notes
Native Perfect Java version can be compiled for native ARM, see #Native.
Rosetta 2 Perfect Java version runs well via Rosetta 2.
iOS/iPadOS App Perfect Mobile (Bedrock) can be sideloaded.
Compatibility layer
CrossOver Unknown
Wine Unknown
Virtualization
Parallels Perfect Bedrock version playable after using latest Windows Insider Preview build of Windows 10 ARM.

This template defines the table "Compatibility_macOS". View table.

Documentation for the above template (sometimes hidden from view).
{{Compatibility/macOS
|native               =
|native notes         =
|rosetta 2            =
|rosetta 2 notes      =
|ios-ipados app       =
|ios-ipados app notes = 
|crossover            =
|crossover notes      =
|wine                 =
|wine notes           =
|parallels            =
|parallels notes      =
|windows 10 arm       =
|windows 10 arm notes =
|linux arm            =
|linux arm notes      =
}}