<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.applegamingwiki.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mokman23</id>
	<title>AppleGamingWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.applegamingwiki.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mokman23"/>
	<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/wiki/Special:Contributions/Mokman23"/>
	<updated>2026-04-21T02:35:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Portal&amp;diff=8652</id>
		<title>Portal</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Portal&amp;diff=8652"/>
		<updated>2023-12-09T20:17:03Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: add PCGW metadata&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox game&lt;br /&gt;
|cover        = portal cover.jpg&lt;br /&gt;
|developers   = &lt;br /&gt;
{{Infobox game/row/developer|Valve Corporation}} &lt;br /&gt;
|publishers   = &lt;br /&gt;
{{Infobox game/row/publisher|Valve Corporation}} &lt;br /&gt;
|engines      = &lt;br /&gt;
{{Infobox game/row/engine|Source}}&lt;br /&gt;
|release dates= &lt;br /&gt;
{{Infobox game/row/date|macOS|May 12, 2010}}&lt;br /&gt;
|reception    = &lt;br /&gt;
{{Infobox game/row/reception|Metacritic|portal|90}}&lt;br /&gt;
{{Infobox game/row/reception|IGDB|portal|80}}&lt;br /&gt;
|official site= https://web.archive.org/web/20180102203109/http://www.valvesoftware.com/games/portal.html&lt;br /&gt;
|hltb         = 7230&lt;br /&gt;
|mobygames    = 30616&lt;br /&gt;
|strategywiki = Portal&lt;br /&gt;
|wikipedia    = Portal (video game)&lt;br /&gt;
|winehq       = 5936&lt;br /&gt;
|license      = commercial&lt;br /&gt;
}}&lt;br /&gt;
{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         =[[Half-Life 2#Native|See HL2's Native page for instructions.]]&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=150+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit Application&lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = perfect&lt;br /&gt;
|crossover notes      = Tested on CrossOver 22, 1600p 60fps and the game works perfect.&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=NyonCat&lt;br /&gt;
|date=2022-09-28&lt;br /&gt;
|device=13 Inch MacBook Pro M1 2020 8gb Ram&lt;br /&gt;
|os=macOS 12.6&lt;br /&gt;
|method=CrossOver 22&lt;br /&gt;
|resolution=2560 x 1600&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=60 FPS&lt;br /&gt;
|comment=Everything worked fine, 1 hour of gameplay, tested different stages.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/ref&amp;gt;  /Playable, major graphical issues.&amp;lt;ref&amp;gt;{{Refurl|url=https://applesilicongames.com/games/NHBq3wCYwy8QKNn2FAwrLN/portal|title=Apple Silicon Games|date=2021-04-15|snippet=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = playable&lt;br /&gt;
|wine notes           = Tested with PlayOnMac. Maybe audio issues, then try set audio format to 44 100 Hz.&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refurl|url=https://applesilicongames.com/games/NHBq3wCYwy8QKNn2FAwrLN/portal|title=Apple Silicon Games|date=2021-04-15|snippet=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=File:Portal_cover.jpg&amp;diff=8651</id>
		<title>File:Portal cover.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=File:Portal_cover.jpg&amp;diff=8651"/>
		<updated>2023-12-09T20:09:39Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Portal&amp;diff=8650</id>
		<title>Portal</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Portal&amp;diff=8650"/>
		<updated>2023-12-09T20:02:57Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Undo revision 8649 by Mokman23 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         =[[Half-Life 2#Native|See HL2's Native page for instructions.]]&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=150+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = perfect&lt;br /&gt;
|crossover notes      = Tested on CrossOver 22, 1600p 60fps and the game works perfect.&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=NyonCat&lt;br /&gt;
|date=2022-09-28&lt;br /&gt;
|device=13 Inch MacBook Pro M1 2020 8gb Ram&lt;br /&gt;
|os=macOS 12.6&lt;br /&gt;
|method=CrossOver 22&lt;br /&gt;
|resolution=2560 x 1600&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=60 FPS&lt;br /&gt;
|comment=Everything worked fine, 1 hour of gameplay, tested different stages.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/ref&amp;gt;  /Playable, major graphical issues.&amp;lt;ref&amp;gt;{{Refurl|url=https://applesilicongames.com/games/NHBq3wCYwy8QKNn2FAwrLN/portal|title=Apple Silicon Games|date=2021-04-15|snippet=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = playable&lt;br /&gt;
|wine notes           = Tested with PlayOnMac. Maybe audio issues, then try set audio format to 44 100 Hz.&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refurl|url=https://applesilicongames.com/games/NHBq3wCYwy8QKNn2FAwrLN/portal|title=Apple Silicon Games|date=2021-04-15|snippet=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Portal&amp;diff=8649</id>
		<title>Portal</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Portal&amp;diff=8649"/>
		<updated>2023-12-09T19:58:33Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: update hl2 link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=150+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = perfect&lt;br /&gt;
|crossover notes      = Tested on CrossOver 22, 1600p 60fps and the game works perfect.&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=NyonCat&lt;br /&gt;
|date=2022-09-28&lt;br /&gt;
|device=13 Inch MacBook Pro M1 2020 8gb Ram&lt;br /&gt;
|os=macOS 12.6&lt;br /&gt;
|method=CrossOver 22&lt;br /&gt;
|resolution=2560 x 1600&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=60 FPS&lt;br /&gt;
|comment=Everything worked fine, 1 hour of gameplay, tested different stages.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/ref&amp;gt;  /Playable, major graphical issues.&amp;lt;ref&amp;gt;{{Refurl|url=https://applesilicongames.com/games/NHBq3wCYwy8QKNn2FAwrLN/portal|title=Apple Silicon Games|date=2021-04-15|snippet=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = playable&lt;br /&gt;
|wine notes           = Tested with PlayOnMac. Maybe audio issues, then try set audio format to 44 100 Hz.&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refurl|url=https://applesilicongames.com/games/NHBq3wCYwy8QKNn2FAwrLN/portal|title=Apple Silicon Games|date=2021-04-15|snippet=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8648</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8648"/>
		<updated>2023-12-09T19:51:03Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: added video proof for ravenholm bug&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox game&lt;br /&gt;
|cover        = HL2_cover.jpeg&lt;br /&gt;
|developers   = &lt;br /&gt;
{{Infobox game/row/developer|Valve Corporation}}&lt;br /&gt;
|publishers   = {{Infobox game/row/publisher|Valve Corporation|2005-present}}&lt;br /&gt;
|engines      = {{Infobox game/row/engine|Source}}&lt;br /&gt;
|release dates= {{Infobox game/row/date|macOS|May 26, 2010|ref=&amp;lt;ref&amp;gt;{{Refurl|url=https://store.steampowered.com/oldnews/3874|title=News - Steam For Mac Launch: Week 3|date=2023-07-02}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
|reception    = &lt;br /&gt;
{{Infobox game/row/reception|Metacritic|half-life-2|96}}&lt;br /&gt;
{{Infobox game/row/reception|IGDB|half-life-2|91}}&lt;br /&gt;
|taxonomy     = {{Infobox game/row/taxonomy/series| Half-Life }}&lt;br /&gt;
|official site= https://www.half-life.com/en/halflife2&lt;br /&gt;
|hltb         = 4248&lt;br /&gt;
|mobygames    = 15564&lt;br /&gt;
|strategywiki = Half-Life 2&lt;br /&gt;
|wikipedia    = Half-Life 2&lt;br /&gt;
|winehq       = 2095&lt;br /&gt;
|license      = commercial&lt;br /&gt;
|codeweavers  = half-life-2&lt;br /&gt;
|steam appid = 220&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Compatibility/macOS&lt;br /&gt;
|native               = playable&lt;br /&gt;
|native notes         = Can be run with an EP1/2 installation with &amp;lt;code&amp;gt;-game hl2&amp;lt;/code&amp;gt;, saves and achievements do not sync. See [[#Fixes &amp;amp; Tweaks]]&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|settings=Very High|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = perfect&lt;br /&gt;
|wine notes           = Tested on M1 max with settings set to high and resolution set to 2056x1329. Runs at over 120 fps with no vertical sync. Slight stuttering in load areas.&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native==&lt;br /&gt;
Guides originally written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal.&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew &amp;amp; Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup&lt;br /&gt;
git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python3 waf configure -T release --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1)&lt;br /&gt;
*ep2 (Half-Life 2: Episode 2, can be played without &amp;lt;code&amp;gt;python3 waf build&amp;lt;/code&amp;gt;)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your &amp;quot;Half-Life 2&amp;quot; Folder. (Portal and/or Day of Defeat Source, if you're installing those games)&lt;br /&gt;
''(Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot; on Steam.)''&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files&lt;br /&gt;
(If you're installing multiple games, you only need to replace the files from &amp;quot;[game folder]/bin&amp;quot;):&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
==Fixes &amp;amp; Tweaks==&lt;br /&gt;
'''THESE CONSOLE COMMANDS WILL NOT SAVE!'''&lt;br /&gt;
&lt;br /&gt;
'''Quality/Performance'''&lt;br /&gt;
*MBP Notch Fix (Put these in your Steam Launch Options, Right-Click &amp;gt; &amp;quot;Properties...&amp;quot;):&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Asynchronous Audio (Forces audio asynchronization. Removes audio stuttering in some cases.):&lt;br /&gt;
&amp;lt;code&amp;gt;snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0;snd_noextraupdate 1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Texture Quality Improvement&lt;br /&gt;
&amp;lt;code&amp;gt;mat_picmip -1;mat_antialias 4;mat_forceaniso 8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Software AA: Maximum Quality (Helps to remove further aliasing, such as power lines.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2;mat_software_aa_strength_vgui 2;mat_software_aa_blur_one_pixel_lines 0.5;mat_software_aa_edge_threshold .8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Fixes'''&lt;br /&gt;
*HL2 Flashlight Fix&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; (Replaces buggy HL2 flashlight with HL1 counterpart)&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; (Disable nearby culling.)&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
*When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
&lt;br /&gt;
*Counter-Strike: Source, Half-Life 2: Deathmatch and Day of Defeat: Source show a black screen  has no HUD on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
*[https://www.youtube.com/watch?v=l26R-dRrLZc Father Gregori &amp;amp; The Cart Ride are bugged in the last part of &amp;quot;We don't go to Ravenholm...&amp;quot;, with the cart ride section being culled out until you enter it. ]&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8645</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8645"/>
		<updated>2023-12-09T06:09:47Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: further cleanup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox game&lt;br /&gt;
|cover        = HL2_cover.jpeg&lt;br /&gt;
|developers   = &lt;br /&gt;
{{Infobox game/row/developer|Valve Corporation}}&lt;br /&gt;
|publishers   = {{Infobox game/row/publisher|Valve Corporation|2005-present}}&lt;br /&gt;
|engines      = {{Infobox game/row/engine|Source}}&lt;br /&gt;
|release dates= {{Infobox game/row/date|macOS|May 26, 2010|ref=&amp;lt;ref&amp;gt;{{Refurl|url=https://store.steampowered.com/oldnews/3874|title=News - Steam For Mac Launch: Week 3|date=2023-07-02}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
|reception    = &lt;br /&gt;
{{Infobox game/row/reception|Metacritic|half-life-2|96}}&lt;br /&gt;
{{Infobox game/row/reception|IGDB|half-life-2|91}}&lt;br /&gt;
|taxonomy     = {{Infobox game/row/taxonomy/series| Half-Life }}&lt;br /&gt;
|official site= https://www.half-life.com/en/halflife2&lt;br /&gt;
|hltb         = 4248&lt;br /&gt;
|mobygames    = 15564&lt;br /&gt;
|strategywiki = Half-Life 2&lt;br /&gt;
|wikipedia    = Half-Life 2&lt;br /&gt;
|winehq       = 2095&lt;br /&gt;
|license      = commercial&lt;br /&gt;
|codeweavers  = half-life-2&lt;br /&gt;
|steam appid = 220&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Compatibility/macOS&lt;br /&gt;
|native               = playable&lt;br /&gt;
|native notes         = Can be run with an EP1/2 installation with &amp;lt;code&amp;gt;-game hl2&amp;lt;/code&amp;gt;, saves and achievements do not sync. See [[#Fixes &amp;amp; Tweaks]]&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|settings=Very High|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = perfect&lt;br /&gt;
|wine notes           = Tested on M1 max with settings set to high and resolution set to 2056x1329. Runs at over 120 fps with no vertical sync. Slight stuttering in load areas.&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native==&lt;br /&gt;
Guides originally written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal.&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew &amp;amp; Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup&lt;br /&gt;
git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python3 waf configure -T release --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1)&lt;br /&gt;
*ep2 (Half-Life 2: Episode 2, can be played without &amp;lt;code&amp;gt;python3 waf build&amp;lt;/code&amp;gt;)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your &amp;quot;Half-Life 2&amp;quot; Folder. (Portal and/or Day of Defeat Source, if you're installing those games)&lt;br /&gt;
''(Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot; on Steam.)''&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files&lt;br /&gt;
(If you're installing multiple games, you only need to replace the files from &amp;quot;[game folder]/bin&amp;quot;):&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
==Fixes &amp;amp; Tweaks==&lt;br /&gt;
'''THESE CONSOLE COMMANDS WILL NOT SAVE!'''&lt;br /&gt;
&lt;br /&gt;
'''Quality/Performance'''&lt;br /&gt;
*MBP Notch Fix (Put these in your Steam Launch Options, Right-Click &amp;gt; &amp;quot;Properties...&amp;quot;):&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Asynchronous Audio (Forces audio asynchronization. Removes audio stuttering in some cases.):&lt;br /&gt;
&amp;lt;code&amp;gt;snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0;snd_noextraupdate 1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Texture Quality Improvement&lt;br /&gt;
&amp;lt;code&amp;gt;mat_picmip -1;mat_antialias 4;mat_forceaniso 8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Software AA: Maximum Quality (Helps to remove further aliasing, such as power lines.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2;mat_software_aa_strength_vgui 2;mat_software_aa_blur_one_pixel_lines 0.5;mat_software_aa_edge_threshold .8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Fixes'''&lt;br /&gt;
*HL2 Flashlight Fix&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; (Replaces buggy HL2 flashlight with HL1 counterpart)&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; (Disable nearby culling.)&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
*When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
&lt;br /&gt;
*Counter-Strike: Source, Half-Life 2: Deathmatch and Day of Defeat: Source show a black screen  has no HUD on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
*Father Gregori &amp;amp; The Cart Ride are bugged in the last part of &amp;quot;We don't go to Ravenholm...&amp;quot;, with the cart ride section being culled out until you enter it and Father Gregori not showing at all.&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Grand_Theft_Auto:_Vice_City&amp;diff=8467</id>
		<title>Grand Theft Auto: Vice City</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Grand_Theft_Auto:_Vice_City&amp;diff=8467"/>
		<updated>2023-10-18T18:34:30Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: added PCGW metadata and CrossOver compatibility&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox game&lt;br /&gt;
|cover        = Vice_city.jpeg&lt;br /&gt;
|developers   = {{Infobox game/row/porter|TransGaming Inc.|macOS}}&lt;br /&gt;
|publishers   = {{Infobox game/row/publisher|Rockstar Games}}&lt;br /&gt;
|engines      = {{Infobox game/row/engine|RenderWare}}&lt;br /&gt;
|release dates= &lt;br /&gt;
{{Infobox game/row/date|macOS|November 12, 2010|wrapper=Cider}}&lt;br /&gt;
{{Infobox game/row/date|iOS|December 6, 2012}}&lt;br /&gt;
|reception    = &lt;br /&gt;
{{Infobox game/row/reception|Metacritic|grand-theft-auto-vice-city|94}}&lt;br /&gt;
{{Infobox game/row/reception|IGDB|grand-theft-auto-vice-city|94}}&lt;br /&gt;
|wikipedia    = Grand Theft Auto: Vice City&lt;br /&gt;
|winehq       = 1369&lt;br /&gt;
|codeweavers  = grand-theft-auto-vice-city&lt;br /&gt;
|pcgamingwiki = Grand_Theft_Auto:_Vice_City&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Compatibility/macOS&lt;br /&gt;
|native               = na&lt;br /&gt;
|native notes         = &lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       = perfect&lt;br /&gt;
|ios-ipados app notes = Playable.&amp;lt;ref&amp;gt;{{Refurl|url=https://apps.apple.com/pl/app/grand-theft-auto-vice-city/id578448682|title=Grand Theft Auto: Vice City on App Store|date=2021-04-20|snippet=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|crossover            = playable&lt;br /&gt;
|crossover notes      = Version 1.0 with SilentPatch and Widescreen Fix.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-10-18|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           = &lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Plays well.&amp;lt;ref&amp;gt;{{Refdevice|user=Plex123|date=2021-04-10|device=MacBook Air M1 2020 8 GB RAM|os=macOS 11.3 Beta (20E5196f)|method=Windows ARM Build 21343.1000 on Parallels 16.3.2|version=|resolution=2560x1440|settings=Widescreen, frame limiter off|framerate=Around 400 FPS|controller=Xbox One Bluetooth|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=File:Vice_city.jpeg&amp;diff=8466</id>
		<title>File:Vice city.jpeg</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=File:Vice_city.jpeg&amp;diff=8466"/>
		<updated>2023-10-18T18:12:10Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8343</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8343"/>
		<updated>2023-09-30T21:05:12Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Added (and modified) metadata from PCGW, not sure why there's a WSGF logo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox game&lt;br /&gt;
|cover        = HL2_cover.jpeg&lt;br /&gt;
|developers   = &lt;br /&gt;
{{Infobox game/row/developer|Valve Corporation}}&lt;br /&gt;
|publishers   = {{Infobox game/row/publisher|Valve Corporation|2005-present}}&lt;br /&gt;
|engines      = {{Infobox game/row/engine|Source}}&lt;br /&gt;
|release dates= {{Infobox game/row/date|macOS|May 26, 2010|ref=&amp;lt;ref&amp;gt;{{Refurl|url=https://store.steampowered.com/oldnews/3874|title=News - Steam For Mac Launch: Week 3|date=2023-07-02}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
|reception    = &lt;br /&gt;
{{Infobox game/row/reception|Metacritic|half-life-2|96}}&lt;br /&gt;
{{Infobox game/row/reception|IGDB|half-life-2|91}}&lt;br /&gt;
|taxonomy     = {{Infobox game/row/taxonomy/series| Half-Life }}&lt;br /&gt;
|official site= https://www.half-life.com/en/halflife2&lt;br /&gt;
|hltb         = 4248&lt;br /&gt;
|mobygames    = 15564&lt;br /&gt;
|strategywiki = Half-Life 2&lt;br /&gt;
|wikipedia    = Half-Life 2&lt;br /&gt;
|winehq       = 2095&lt;br /&gt;
|license      = commercial&lt;br /&gt;
|codeweavers  = half-life-2&lt;br /&gt;
|steam appid = 220&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak, can be run with an EP1/2 installation with &amp;lt;code&amp;gt;-game hl2&amp;lt;/code&amp;gt;  https://github.com/nillerusr/source-engine&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|settings=Very High|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native ARM build from leaked source==&lt;br /&gt;
These instructions are based on guides written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal. '''TF2 AND LATER SOURCE GAMES WON'T WORK!!'''&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew and Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup&lt;br /&gt;
git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python3 waf configure -T release --64bits --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1/2)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your Half-Life 2 Folder, and your game's subfolder. (Portal and/or Day of Defeat Source, if you're installing those games), Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot;. '''DO NOT MESS WITH THE HL2 FOLDER UNLESS YOU'RE ACTUALLY INSTALLING HL2'''!)&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files:&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
=== Suggested settings for the native version ===&lt;br /&gt;
Tested on Macbook Pro 16 2021 16 GB&lt;br /&gt;
&lt;br /&gt;
1. '''Add launch parameters (Steam):'''&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed -refresh 120 -autoexec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts the game in the windowed borderless mode and limits FPS to 120.&lt;br /&gt;
Windowed borderless is needed to ignore the Macbook's notch (render the game under it). Otherwise the interface elements and aim are shifted incorrectly, potentially making the game less playable. Optionally, if you have EP2 installed and want to launch EP1 or base HL2 (or any other Half-Life 2 folder game), you can launch it by appending &amp;lt;code&amp;gt;-game [game subfolder name]&amp;lt;/code&amp;gt;. If you'd like to play EP2 again, simply remove the &amp;lt;code&amp;gt;-game&amp;lt;/code&amp;gt; parameter. '''Make sure NOT to share game &amp;quot;bin&amp;quot; folders or they WILL crash upon loading!'''&lt;br /&gt;
&lt;br /&gt;
2. '''Add settings to autoexec.cfg'''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/Users/&amp;lt;username&amp;gt;/Library/Application Support/Steam/steamapps/common/Half-Life 2/hl2/cfg/autoexec.cfg&amp;lt;/code&amp;gt;, add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//set the video mode to your display resolution (i.e. 1728x1117 - Default, 2056x1329 - More Space). Uncomment only the resolution you are using.&lt;br /&gt;
mat_setvideomode 1728 1117 1&lt;br /&gt;
//mat_setvideomode 2056 1329 1&lt;br /&gt;
// Forces the engine to load audio asynchronously. Removes audio micro-stuttering in some cases.&lt;br /&gt;
snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0&lt;br /&gt;
snd_noextraupdate 1&lt;br /&gt;
// Improve texture quality&lt;br /&gt;
mat_picmip -1 &lt;br /&gt;
mat_antialias 4&lt;br /&gt;
mat_forceaniso 8&lt;br /&gt;
//BELOW: Enables software AA at maximum quality. Software AA works alongside normal AA, and helps to remove further&lt;br /&gt;
//aliasing, such as power lines. Little to no frame loss with this enabled.&lt;br /&gt;
mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2&lt;br /&gt;
mat_software_aa_strength_vgui 2&lt;br /&gt;
mat_software_aa_blur_one_pixel_lines 0.5&lt;br /&gt;
mat_software_aa_edge_threshold .8&lt;br /&gt;
// Enables small motion blur with forward movement, feel free to remove&lt;br /&gt;
mat_motion_blur_forward_enabled 1&lt;br /&gt;
// Key binding to manually to enable some of the settings&lt;br /&gt;
bind &amp;quot;/&amp;quot; &amp;quot;r_newflashlight 0; r_lod 0; r_maxdlights 128; r_shadowmaxrendered 1024; echo 'Graphics commands have been applied.'&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make sure that the game will run at max settings. FPS will still be 120 almost everywhere except the places in the game that were buggy on the other platforms as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; - disables HL2 flashlight that is not working well (causes various artefacts when interacting with shadows). With this setting the game will use the still functional HL1 implementation of flashlight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; - always fully load all nearby objects (buildings, cars, etc.). Looks better as the objects will not switch their appearance suddenly when you approach them. There is little to none performance penalty on Mac with its SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_maxdlights 128; r_shadowmaxrendered 1024;&amp;lt;/code&amp;gt; - could potentially improve the look of the game, feel free to remove if you see no difference.&lt;br /&gt;
&lt;br /&gt;
Binding these &amp;lt;code&amp;gt;r_*&amp;lt;/code&amp;gt; settings command to &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key is necessary, because the game will reset these settings while in the Main Menu.&lt;br /&gt;
&lt;br /&gt;
'''You need to tap &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key when you already loaded the save game. The settings then will stay enabled for the whole session (even if re-loading the saves), until you exit the game&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
- When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
&lt;br /&gt;
- Counter-Strike: Source, Half-Life 2: Deathmatch and Day of Defeat: Source show a black screen  has no HUD on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=File:HL2_cover.jpeg&amp;diff=8342</id>
		<title>File:HL2 cover.jpeg</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=File:HL2_cover.jpeg&amp;diff=8342"/>
		<updated>2023-09-30T20:35:23Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: PCGW reupload&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
PCGW reupload&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Minecraft&amp;diff=8341</id>
		<title>Minecraft</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Minecraft&amp;diff=8341"/>
		<updated>2023-09-30T20:30:56Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Cleaned up Wiki article, updated Native information.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox game&lt;br /&gt;
|cover        = Minecraft cover.jpg&lt;br /&gt;
|developers   = &lt;br /&gt;
{{Infobox game/row/developer|Mojang}}&lt;br /&gt;
|publishers   = &lt;br /&gt;
|engines      = &lt;br /&gt;
{{Infobox game/row/engine|LWJGL}}&lt;br /&gt;
|release dates= &lt;br /&gt;
{{Infobox game/row/date|Windows|November 18, 2011}}&lt;br /&gt;
{{Infobox game/row/date|macOS|November 18, 2011}}&lt;br /&gt;
{{Infobox game/row/date|Linux|November 18, 2011}}&lt;br /&gt;
{{Infobox game/row/date|iOS|August 16, 2011}}&lt;br /&gt;
{{Infobox game/row/date|iPadOS|August 16, 2011}}&lt;br /&gt;
|reception    = &lt;br /&gt;
{{Infobox game/row/reception|Metacritic|minecraft|93}}&lt;br /&gt;
{{Infobox game/row/reception|IGDB|minecraft|84}}&lt;br /&gt;
|steam appid  = &lt;br /&gt;
|gogcom id    = &lt;br /&gt;
|strategywiki = Minecraft&lt;br /&gt;
|mobygames    = minecraft&lt;br /&gt;
|wikipedia    = Minecraft&lt;br /&gt;
|winehq       = 12930&lt;br /&gt;
|license      = commercial&lt;br /&gt;
|pcgamingwiki = Minecraft&lt;br /&gt;
|codeweavers  = minecraft&lt;br /&gt;
|asg          =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Compatibility/macOS&lt;br /&gt;
|native               = perfect&lt;br /&gt;
|native notes         = 1.19 and later are native with an ARM64 JDK/JRE. For 1.6.4 - 1.18.2, see [[#Native]].&lt;br /&gt;
|rosetta 2            = perfect&lt;br /&gt;
|rosetta 2 notes      = Java version runs well via Rosetta 2. &amp;lt;ref&amp;gt;{{Refdevice|user=Mhhosseini1384|date=Nov-13th-2021|device=Macbook Air M1 8 Core GPU 8 GB RAM|os=macOS 12.0.1|method=(Normal/Optifine/Sildur's Vibrant Shaders v1.29 High-MB)|version=1.17.1|store=|resolution=2880x1800/2880x1800/1280x800|settings=Highest 12 chunks(8 chunks on Sildur)|framerate=45-60 FPS/100-180 FPS/30-60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|ios-ipados app       = perfect&lt;br /&gt;
|ios-ipados app notes = Mobile (Bedrock) can be sideloaded.&lt;br /&gt;
|crossover            = unplayable&lt;br /&gt;
|crossover notes      = Minecraft Bedrock is a Windows Store App, so it can't run through Crossover.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Bedrock version playable. Xbox app is needed for logging in.&lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            = Perfect&lt;br /&gt;
|linux arm notes      =Linux launcher for Minecraft Bedrock runs smoothly&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Availability==&lt;br /&gt;
{{Availability|&lt;br /&gt;
{{Availability/row| official | https://minecraft.net/store | account | Java and Bedrock editions are included. | | macOS}}&lt;br /&gt;
{{Availability/row| App Store | id479516143 | App Store | Mobile versions connect to Bedrock servers.  |  | iOS, iPadOS }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Gameplay videos==&lt;br /&gt;
{{#widget:YouTube|id=REezEYVmNx8}} &lt;br /&gt;
&lt;br /&gt;
==Native==&lt;br /&gt;
&lt;br /&gt;
Using Prism Launcher, you can play any version of Minecraft natively from 1.6.4 to 1.18.2.&lt;br /&gt;
&lt;br /&gt;
Assuming Homebrew is installed on your Mac, you can install Prism Launcher and openJDK 17 for versions 1.17 and later:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew upgrade &amp;amp;&amp;amp; brew install prismlauncher &amp;amp;&amp;amp; brew install openjdk@17 &amp;amp;&amp;amp; brew cleanup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For 1.6.4 - 1.16.5, download the Zulu 8 openJDK: https://www.azul.com/downloads/?version=java-8-lts&amp;amp;os=macos&amp;amp;architecture=arm-64-bit&amp;amp;package=jdk#zulu&lt;br /&gt;
{{References}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_World_at_War&amp;diff=8340</id>
		<title>Call of Duty: World at War</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_World_at_War&amp;diff=8340"/>
		<updated>2023-09-30T19:22:15Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: update parallels compatibility&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Poor performance, constant stuttering.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-27|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|settings=Auto|resolution=2560x1440|framerate=10 - 30 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|parallels            = playable&lt;br /&gt;
|parallels notes      =&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-30|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|settings=Auto/High|resolution=1920x1080|framerate=30 - 40}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_World_at_War&amp;diff=8333</id>
		<title>Call of Duty: World at War</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_World_at_War&amp;diff=8333"/>
		<updated>2023-09-27T18:03:13Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |crossover            = runs |crossover notes      = Poor performance, constant stuttering.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-27|device=16GB M1...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Poor performance, constant stuttering.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-27|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|settings=Medium|resolution=2560x1440|framerate=10 - 30 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|parallels            = runs&lt;br /&gt;
|parallels notes      = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty_4:_Modern_Warfare&amp;diff=8332</id>
		<title>Call of Duty 4: Modern Warfare</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty_4:_Modern_Warfare&amp;diff=8332"/>
		<updated>2023-09-27T18:00:15Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: update CrossOver compatibility&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = na&lt;br /&gt;
|native notes         = &lt;br /&gt;
|rosetta 2            = na&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = playable&lt;br /&gt;
|crossover notes      = OK framerates.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-27|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|settings=Low|resolution=2560x1440|framerate=20 - 40 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           = &lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = &lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty_2&amp;diff=8331</id>
		<title>Call of Duty 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty_2&amp;diff=8331"/>
		<updated>2023-09-27T17:51:14Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: added CrossOver and Rosetta 2 compatibility&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = na&lt;br /&gt;
|native notes         = &lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit Application.&lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Unplayable framerates.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-27|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|settings=Auto|resolution=2560x1440|framerate=5 - 30 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           = &lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=TheRealThatguy97|date=2022-02-28|device=2021 MBP 14 16gb|os=MacOS 12.2.1|method=Parallels 17|version=|store=Steam|resolution=3024x1964|settings=|framerate=250+|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_Modern_Warfare_2&amp;diff=8330</id>
		<title>Call of Duty: Modern Warfare 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_Modern_Warfare_2&amp;diff=8330"/>
		<updated>2023-09-27T17:47:09Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: add CrossOver compatibility&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = na&lt;br /&gt;
|native notes         = &lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application&lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Incredibly poor framerates, even on the default resolution.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-27|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|settings=Auto|resolution=1024x768|framerate=10 - 30 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           = &lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=Andytizer|date=|device=MacBook Air M1 2020 8 GB RAM|os=|method=Windows ARM on Parallels 16|version=|resolution=|settings=|framerate=|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Refdevice|user=Valeron93|date=|device=MacBook Air M1 2020 8 GB RAM|os=|method=Windows 11 ARM on Parallels 17|version=|resolution=1440x900|settings=Low|framerate=|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty&amp;diff=8327</id>
		<title>Call of Duty</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty&amp;diff=8327"/>
		<updated>2023-09-27T17:40:01Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: update CrossOver compatibility to &amp;quot;runs&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = na&lt;br /&gt;
|native notes         = &lt;br /&gt;
|rosetta 2            = na&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Playable, incredibly poor framerates.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-27|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|settings=Extra|resolution=2048x1536|framerate=10 - 30 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           = &lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = works outstanding.&amp;lt;ref&amp;gt;{{Refdevice|user=TheRealThatguy97|date=23 March 2022|device=M1 Pro Macbook Pro 14 inch 32GB|os=Mac OS Monterrey 12.2.1|method=Parallels 17|version=|store=|resolution=All|settings=Mid|framerate=120 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Launched but the resolution was so bad that I couldn't even see the buttons on the menu to change it. &amp;lt;ref&amp;gt;{{Refdevice|user=RazorMaron|date=2022/02/11|device= MBP M1 16GB|os=MacOS Ventura 13.1|method=Parallels 18.1.1}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_Black_Ops&amp;diff=8326</id>
		<title>Call of Duty: Black Ops</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_Black_Ops&amp;diff=8326"/>
		<updated>2023-09-27T17:36:25Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: add framerate&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = na&lt;br /&gt;
|native notes         = &lt;br /&gt;
|rosetta 2            = na&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Poor performance.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-27|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|settings=Medium|resolution=2560x1440|framerate=10 - 30 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           = &lt;br /&gt;
|parallels            = playable&lt;br /&gt;
|parallels notes      = Steam version runs OK on MBP 14&amp;quot; M1 Pro, MacOS 12.0.1, Win 11 ARM via Parallels 17.1.0.&lt;br /&gt;
|windows 10 arm       = &lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_Black_Ops&amp;diff=8325</id>
		<title>Call of Duty: Black Ops</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Call_of_Duty:_Black_Ops&amp;diff=8325"/>
		<updated>2023-09-27T17:06:23Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: update compatibility&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = na&lt;br /&gt;
|native notes         = &lt;br /&gt;
|rosetta 2            = na&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Poor performance.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-27|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0|settings=Medium|resolution=2560x1440|}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           = &lt;br /&gt;
|parallels            = playable&lt;br /&gt;
|parallels notes      = Steam version runs OK on MBP 14&amp;quot; M1 Pro, MacOS 12.0.1, Win 11 ARM via Parallels 17.1.0.&lt;br /&gt;
|windows 10 arm       = &lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=HuniePop&amp;diff=8317</id>
		<title>HuniePop</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=HuniePop&amp;diff=8317"/>
		<updated>2023-09-26T03:36:31Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |rosetta 2            = perfect |rosetta 2 notes      = 64-bit versions only on Humble Bundle, uncensored. |crossover            = runs |crossover notes...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|rosetta 2            = perfect&lt;br /&gt;
|rosetta 2 notes      = 64-bit versions only on Humble Bundle, uncensored.&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Incredibly long load times and stuttering.&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      =&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Sonic_Adventure_DX:_Director%27s_Cut&amp;diff=8316</id>
		<title>Sonic Adventure DX: Director's Cut</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Sonic_Adventure_DX:_Director%27s_Cut&amp;diff=8316"/>
		<updated>2023-09-26T02:28:27Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |crossover            = runs |crossover notes      = Barely playable framerate, tested 2003 and Steam versions. Lantern Engine crashes the game.&amp;lt;ref&amp;gt;{{Re...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Barely playable framerate, tested 2003 and Steam versions. Lantern Engine crashes the game.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|parallels            = playable&lt;br /&gt;
|parallels notes      = Lantern Engine crashes the game.&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Sonic_Adventure_2&amp;diff=8315</id>
		<title>Sonic Adventure 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Sonic_Adventure_2&amp;diff=8315"/>
		<updated>2023-09-26T02:15:59Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Unplayable framerates, even on low resolutions.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|resolution=2560x1440|comment:}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      =&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Sonic_Adventure_2&amp;diff=8314</id>
		<title>Sonic Adventure 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Sonic_Adventure_2&amp;diff=8314"/>
		<updated>2023-09-26T02:14:04Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |crossover            = runs |crossover notes      = Unplayable framerates, even on low resolutions.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Unplayable framerates, even on low resolutions.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|resolution=2560x1440|comment:}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      =&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life:_Source&amp;diff=8313</id>
		<title>Half-Life: Source</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life:_Source&amp;diff=8313"/>
		<updated>2023-09-25T22:31:51Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |native               = Perfect |native notes         = Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_buil...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|settings=Very High|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application.&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8312</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8312"/>
		<updated>2023-09-25T22:29:19Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Undo revision 8311 by Mokman23 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak, can be run with an EP1/2 installation with &amp;lt;code&amp;gt;-game hl2&amp;lt;/code&amp;gt;  https://github.com/nillerusr/source-engine&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|settings=Very High|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native ARM build from leaked source==&lt;br /&gt;
These instructions are based on guides written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal. '''TF2 AND LATER SOURCE GAMES WON'T WORK!!'''&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew and Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup&lt;br /&gt;
git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python3 waf configure -T release --64bits --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1/2)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your Half-Life 2 Folder, and your game's subfolder. (Portal and/or Day of Defeat Source, if you're installing those games), Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot;. '''DO NOT MESS WITH THE HL2 FOLDER UNLESS YOU'RE ACTUALLY INSTALLING HL2'''!)&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files:&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
=== Suggested settings for the native version ===&lt;br /&gt;
Tested on Macbook Pro 16 2021 16 GB&lt;br /&gt;
&lt;br /&gt;
1. '''Add launch parameters (Steam):'''&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed -refresh 120 -autoexec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts the game in the windowed borderless mode and limits FPS to 120.&lt;br /&gt;
Windowed borderless is needed to ignore the Macbook's notch (render the game under it). Otherwise the interface elements and aim are shifted incorrectly, potentially making the game less playable. Optionally, if you have EP2 installed and want to launch EP1 or base HL2 (or any other Half-Life 2 folder game), you can launch it by appending &amp;lt;code&amp;gt;-game [game subfolder name]&amp;lt;/code&amp;gt;. If you'd like to play EP2 again, simply remove the &amp;lt;code&amp;gt;-game&amp;lt;/code&amp;gt; parameter. '''Make sure NOT to share game &amp;quot;bin&amp;quot; folders or they WILL crash upon loading!'''&lt;br /&gt;
&lt;br /&gt;
2. '''Add settings to autoexec.cfg'''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/Users/&amp;lt;username&amp;gt;/Library/Application Support/Steam/steamapps/common/Half-Life 2/hl2/cfg/autoexec.cfg&amp;lt;/code&amp;gt;, add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//set the video mode to your display resolution (i.e. 1728x1117 - Default, 2056x1329 - More Space). Uncomment only the resolution you are using.&lt;br /&gt;
mat_setvideomode 1728 1117 1&lt;br /&gt;
//mat_setvideomode 2056 1329 1&lt;br /&gt;
// Forces the engine to load audio asynchronously. Removes audio micro-stuttering in some cases.&lt;br /&gt;
snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0&lt;br /&gt;
snd_noextraupdate 1&lt;br /&gt;
// Improve texture quality&lt;br /&gt;
mat_picmip -1 &lt;br /&gt;
mat_antialias 4&lt;br /&gt;
mat_forceaniso 8&lt;br /&gt;
//BELOW: Enables software AA at maximum quality. Software AA works alongside normal AA, and helps to remove further&lt;br /&gt;
//aliasing, such as power lines. Little to no frame loss with this enabled.&lt;br /&gt;
mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2&lt;br /&gt;
mat_software_aa_strength_vgui 2&lt;br /&gt;
mat_software_aa_blur_one_pixel_lines 0.5&lt;br /&gt;
mat_software_aa_edge_threshold .8&lt;br /&gt;
// Enables small motion blur with forward movement, feel free to remove&lt;br /&gt;
mat_motion_blur_forward_enabled 1&lt;br /&gt;
// Key binding to manually to enable some of the settings&lt;br /&gt;
bind &amp;quot;/&amp;quot; &amp;quot;r_newflashlight 0; r_lod 0; r_maxdlights 128; r_shadowmaxrendered 1024; echo 'Graphics commands have been applied.'&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make sure that the game will run at max settings. FPS will still be 120 almost everywhere except the places in the game that were buggy on the other platforms as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; - disables HL2 flashlight that is not working well (causes various artefacts when interacting with shadows). With this setting the game will use the still functional HL1 implementation of flashlight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; - always fully load all nearby objects (buildings, cars, etc.). Looks better as the objects will not switch their appearance suddenly when you approach them. There is little to none performance penalty on Mac with its SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_maxdlights 128; r_shadowmaxrendered 1024;&amp;lt;/code&amp;gt; - could potentially improve the look of the game, feel free to remove if you see no difference.&lt;br /&gt;
&lt;br /&gt;
Binding these &amp;lt;code&amp;gt;r_*&amp;lt;/code&amp;gt; settings command to &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key is necessary, because the game will reset these settings while in the Main Menu.&lt;br /&gt;
&lt;br /&gt;
'''You need to tap &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key when you already loaded the save game. The settings then will stay enabled for the whole session (even if re-loading the saves), until you exit the game&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
- When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
&lt;br /&gt;
- Counter-Strike: Source, Half-Life 2: Deathmatch and Day of Defeat: Source show a black screen  has no HUD on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8311</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8311"/>
		<updated>2023-09-25T22:27:28Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak, can be run with an EP2 installation with &amp;lt;code&amp;gt;-game hl2&amp;lt;/code&amp;gt; https://github.com/nillerusr/source-engine&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|method=CrossOver 23.0.1|settings=High|resolution=2560x1440|framerate=40-60 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native ARM build from leaked source==&lt;br /&gt;
These instructions are based on guides written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal. '''TF2 AND LATER SOURCE GAMES WON'T WORK!!'''&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew and Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup&lt;br /&gt;
git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python3 waf configure -T release --64bits --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1/2)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your Half-Life 2 Folder, and your game's subfolder. (Portal and/or Day of Defeat Source, if you're installing those games), Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot;. '''DO NOT MESS WITH THE HL2 FOLDER UNLESS YOU'RE ACTUALLY INSTALLING HL2'''!)&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files:&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
=== Suggested settings for the native version ===&lt;br /&gt;
Tested on Macbook Pro 16 2021 16 GB&lt;br /&gt;
&lt;br /&gt;
1. '''Add launch parameters (Steam):'''&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed -refresh 120 -autoexec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts the game in the windowed borderless mode and limits FPS to 120.&lt;br /&gt;
Windowed borderless is needed to ignore the Macbook's notch (render the game under it). Otherwise the interface elements and aim are shifted incorrectly, potentially making the game less playable. Optionally, if you have EP2 installed and want to launch EP1 or base HL2 (or any other Half-Life 2 folder game), you can launch it by appending &amp;lt;code&amp;gt;-game [game subfolder name]&amp;lt;/code&amp;gt;. If you'd like to play EP2 again, simply remove the &amp;lt;code&amp;gt;-game&amp;lt;/code&amp;gt; parameter. '''Make sure NOT to share game &amp;quot;bin&amp;quot; folders or they WILL crash upon loading!'''&lt;br /&gt;
&lt;br /&gt;
2. '''Add settings to autoexec.cfg'''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/Users/&amp;lt;username&amp;gt;/Library/Application Support/Steam/steamapps/common/Half-Life 2/hl2/cfg/autoexec.cfg&amp;lt;/code&amp;gt;, add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//set the video mode to your display resolution (i.e. 1728x1117 - Default, 2056x1329 - More Space). Uncomment only the resolution you are using.&lt;br /&gt;
mat_setvideomode 1728 1117 1&lt;br /&gt;
//mat_setvideomode 2056 1329 1&lt;br /&gt;
// Forces the engine to load audio asynchronously. Removes audio micro-stuttering in some cases.&lt;br /&gt;
snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0&lt;br /&gt;
snd_noextraupdate 1&lt;br /&gt;
// Improve texture quality&lt;br /&gt;
mat_picmip -1 &lt;br /&gt;
mat_antialias 4&lt;br /&gt;
mat_forceaniso 8&lt;br /&gt;
//BELOW: Enables software AA at maximum quality. Software AA works alongside normal AA, and helps to remove further&lt;br /&gt;
//aliasing, such as power lines. Little to no frame loss with this enabled.&lt;br /&gt;
mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2&lt;br /&gt;
mat_software_aa_strength_vgui 2&lt;br /&gt;
mat_software_aa_blur_one_pixel_lines 0.5&lt;br /&gt;
mat_software_aa_edge_threshold .8&lt;br /&gt;
// Enables small motion blur with forward movement, feel free to remove&lt;br /&gt;
mat_motion_blur_forward_enabled 1&lt;br /&gt;
// Key binding to manually to enable some of the settings&lt;br /&gt;
bind &amp;quot;/&amp;quot; &amp;quot;r_newflashlight 0; r_lod 0; r_maxdlights 128; r_shadowmaxrendered 1024; echo 'Graphics commands have been applied.'&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make sure that the game will run at max settings. FPS will still be 120 almost everywhere except the places in the game that were buggy on the other platforms as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; - disables HL2 flashlight that is not working well (causes various artefacts when interacting with shadows). With this setting the game will use the still functional HL1 implementation of flashlight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; - always fully load all nearby objects (buildings, cars, etc.). Looks better as the objects will not switch their appearance suddenly when you approach them. There is little to none performance penalty on Mac with its SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_maxdlights 128; r_shadowmaxrendered 1024;&amp;lt;/code&amp;gt; - could potentially improve the look of the game, feel free to remove if you see no difference.&lt;br /&gt;
&lt;br /&gt;
Binding these &amp;lt;code&amp;gt;r_*&amp;lt;/code&amp;gt; settings command to &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key is necessary, because the game will reset these settings while in the Main Menu.&lt;br /&gt;
&lt;br /&gt;
'''You need to tap &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key when you already loaded the save game. The settings then will stay enabled for the whole session (even if re-loading the saves), until you exit the game&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
- When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
&lt;br /&gt;
- Counter-Strike: Source, Half-Life 2: Deathmatch and Day of Defeat: Source show a black screen  has no HUD on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2:_Episode_2&amp;diff=8310</id>
		<title>Half-Life 2: Episode 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2:_Episode_2&amp;diff=8310"/>
		<updated>2023-09-25T22:25:08Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |native               = Perfect |native notes         = Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_buil...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|settings=Very High|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application.&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2:_Episode_1&amp;diff=8309</id>
		<title>Half-Life 2: Episode 1</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2:_Episode_1&amp;diff=8309"/>
		<updated>2023-09-25T22:24:21Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |native               = Perfect |native notes         = Compiled the Source Engine Leak, and launched with an EP2 installation with &amp;lt;code&amp;gt;-game episodic&amp;lt;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak, and launched with an EP2 installation with &amp;lt;code&amp;gt;-game episodic&amp;lt;/code&amp;gt; https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|settings=Very High|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application.&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2:_Deathmatch&amp;diff=8308</id>
		<title>Half-Life 2: Deathmatch</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2:_Deathmatch&amp;diff=8308"/>
		<updated>2023-09-25T22:10:26Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |native               = Runs |native notes         = Black screen. Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Nati...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Runs&lt;br /&gt;
|native notes         = Black screen. Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application.&lt;br /&gt;
|crossover            = playable&lt;br /&gt;
|crossover notes      = Framerate dependent on server.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|method=CrossOver 23.0.1|settings=High|resolution=2560x1440|framerate=10-110 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Day_of_Defeat:_Source&amp;diff=8307</id>
		<title>Day of Defeat: Source</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Day_of_Defeat:_Source&amp;diff=8307"/>
		<updated>2023-09-25T21:59:32Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Runs&lt;br /&gt;
|native notes         = Black screen. Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application.&lt;br /&gt;
|crossover            = playable&lt;br /&gt;
|crossover notes      = Constant framerate stuttering.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|method=CrossOver 23.0.1|settings=High|resolution=2560x1440|framerate=40-80 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Day_of_Defeat:_Source&amp;diff=8306</id>
		<title>Day of Defeat: Source</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Day_of_Defeat:_Source&amp;diff=8306"/>
		<updated>2023-09-25T21:58:52Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |native               = Runs |native notes         = Missing HUD. Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Nativ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Runs&lt;br /&gt;
|native notes         = Missing HUD. Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application.&lt;br /&gt;
|crossover            = playable&lt;br /&gt;
|crossover notes      = Constant framerate stuttering.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|method=CrossOver 23.0.1|settings=High|resolution=2560x1440|framerate=40-80 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Counter-Strike:_Source&amp;diff=8305</id>
		<title>Counter-Strike: Source</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Counter-Strike:_Source&amp;diff=8305"/>
		<updated>2023-09-25T21:48:12Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Undo revision 8304 by Mokman23 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Runs&lt;br /&gt;
|native notes         = Missing HUD. Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application.&lt;br /&gt;
|crossover            = playable&lt;br /&gt;
|crossover notes      = Low framerates.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|method=CrossOver 23.0.1|settings=High|resolution=2560x1440|framerate=40-60 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Counter-Strike:_Source&amp;diff=8304</id>
		<title>Counter-Strike: Source</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Counter-Strike:_Source&amp;diff=8304"/>
		<updated>2023-09-25T21:46:20Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: added ref&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Runs&lt;br /&gt;
|native notes         = Missing HUD. Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|resolution=2560x1440}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application&lt;br /&gt;
|crossover            = playable&lt;br /&gt;
|crossover notes      = Low framerates.&amp;lt;ref&amp;gt;{{Refdevice|user=mokMan23|date=2023-09-25|device=16GB M1 Mac Mini|os=macOS Sonoma 14.0 RC2|method=Native &amp;amp; CrossOver|settings=High|resolution=2560x1440|framerate=40-60 FPS}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Counter-Strike:_Source&amp;diff=8303</id>
		<title>Counter-Strike: Source</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Counter-Strike:_Source&amp;diff=8303"/>
		<updated>2023-09-25T21:34:57Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Created page with &amp;quot;{{Compatibility/macOS |native               = Runs |native notes         = Missing HUD. Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Nativ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Runs&lt;br /&gt;
|native notes         = Missing HUD. Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&lt;br /&gt;
|rosetta 2            = unplayable&lt;br /&gt;
|rosetta 2 notes      = 32-bit application&lt;br /&gt;
|crossover            = playable&lt;br /&gt;
|crossover notes      = Low framerates.&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8302</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8302"/>
		<updated>2023-09-25T21:18:53Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Undo revision 8301 by Mokman23 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://github.com/nillerusr/source-engine&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native ARM build from leaked source==&lt;br /&gt;
These instructions are based on guides written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal. '''TF2 AND LATER SOURCE GAMES WON'T WORK!!'''&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew and Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup&lt;br /&gt;
git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python3 waf configure -T release --64bits --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1/2)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your Half-Life 2 Folder, and your game's subfolder. (Portal and/or Day of Defeat Source, if you're installing those games), Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot;. '''DO NOT MESS WITH THE HL2 FOLDER UNLESS YOU'RE ACTUALLY INSTALLING HL2'''!)&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files:&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
=== Suggested settings for the native version ===&lt;br /&gt;
Tested on Macbook Pro 16 2021 16 GB&lt;br /&gt;
&lt;br /&gt;
1. '''Add launch parameters (Steam):'''&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed -refresh 120 -autoexec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts the game in the windowed borderless mode and limits FPS to 120.&lt;br /&gt;
Windowed borderless is needed to ignore the Macbook's notch (render the game under it). Otherwise the interface elements and aim are shifted incorrectly, potentially making the game less playable. Optionally, if you have EP2 installed and want to launch EP1 or base HL2 (or any other Half-Life 2 folder game), you can launch it by appending &amp;lt;code&amp;gt;-game [game subfolder name]&amp;lt;/code&amp;gt;. If you'd like to play EP2 again, simply remove the &amp;lt;code&amp;gt;-game&amp;lt;/code&amp;gt; parameter. '''Make sure NOT to share game &amp;quot;bin&amp;quot; folders or they WILL crash upon loading!'''&lt;br /&gt;
&lt;br /&gt;
2. '''Add settings to autoexec.cfg'''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/Users/&amp;lt;username&amp;gt;/Library/Application Support/Steam/steamapps/common/Half-Life 2/hl2/cfg/autoexec.cfg&amp;lt;/code&amp;gt;, add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//set the video mode to your display resolution (i.e. 1728x1117 - Default, 2056x1329 - More Space). Uncomment only the resolution you are using.&lt;br /&gt;
mat_setvideomode 1728 1117 1&lt;br /&gt;
//mat_setvideomode 2056 1329 1&lt;br /&gt;
// Forces the engine to load audio asynchronously. Removes audio micro-stuttering in some cases.&lt;br /&gt;
snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0&lt;br /&gt;
snd_noextraupdate 1&lt;br /&gt;
// Improve texture quality&lt;br /&gt;
mat_picmip -1 &lt;br /&gt;
mat_antialias 4&lt;br /&gt;
mat_forceaniso 8&lt;br /&gt;
//BELOW: Enables software AA at maximum quality. Software AA works alongside normal AA, and helps to remove further&lt;br /&gt;
//aliasing, such as power lines. Little to no frame loss with this enabled.&lt;br /&gt;
mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2&lt;br /&gt;
mat_software_aa_strength_vgui 2&lt;br /&gt;
mat_software_aa_blur_one_pixel_lines 0.5&lt;br /&gt;
mat_software_aa_edge_threshold .8&lt;br /&gt;
// Enables small motion blur with forward movement, feel free to remove&lt;br /&gt;
mat_motion_blur_forward_enabled 1&lt;br /&gt;
// Key binding to manually to enable some of the settings&lt;br /&gt;
bind &amp;quot;/&amp;quot; &amp;quot;r_newflashlight 0; r_lod 0; r_maxdlights 128; r_shadowmaxrendered 1024; echo 'Graphics commands have been applied.'&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make sure that the game will run at max settings. FPS will still be 120 almost everywhere except the places in the game that were buggy on the other platforms as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; - disables HL2 flashlight that is not working well (causes various artefacts when interacting with shadows). With this setting the game will use the still functional HL1 implementation of flashlight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; - always fully load all nearby objects (buildings, cars, etc.). Looks better as the objects will not switch their appearance suddenly when you approach them. There is little to none performance penalty on Mac with its SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_maxdlights 128; r_shadowmaxrendered 1024;&amp;lt;/code&amp;gt; - could potentially improve the look of the game, feel free to remove if you see no difference.&lt;br /&gt;
&lt;br /&gt;
Binding these &amp;lt;code&amp;gt;r_*&amp;lt;/code&amp;gt; settings command to &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key is necessary, because the game will reset these settings while in the Main Menu.&lt;br /&gt;
&lt;br /&gt;
'''You need to tap &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key when you already loaded the save game. The settings then will stay enabled for the whole session (even if re-loading the saves), until you exit the game&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
- When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
&lt;br /&gt;
- Counter-Strike: Source, Half-Life 2: Deathmatch and Day of Defeat: Source show a black screen  has no HUD on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8301</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8301"/>
		<updated>2023-09-25T21:02:38Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: /* Known bugs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://github.com/nillerusr/source-engine&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native ARM build from leaked source==&lt;br /&gt;
These instructions are based on guides written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal. '''TF2 AND LATER SOURCE GAMES WON'T WORK!!'''&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew and Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup &amp;amp;&amp;amp; git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python3 waf configure -T release --64bits --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1/2)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 (Half-Life 2), &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your Half-Life 2 Folder, and your game's subfolder. (Portal and/or Day of Defeat Source, if you're installing those games), Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot;. '''DO NOT MESS WITH THE HL2 FOLDER UNLESS YOU'RE ACTUALLY INSTALLING HL2'''!)&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files:&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
=== Suggested settings for the native version ===&lt;br /&gt;
Tested on Macbook Pro 16 2021 16 GB&lt;br /&gt;
&lt;br /&gt;
1. '''Add launch parameters (Steam):'''&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed -refresh 120 -autoexec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts the game in the windowed borderless mode and limits FPS to 120.&lt;br /&gt;
Windowed borderless is needed to ignore the Macbook's notch (render the game under it). Otherwise the interface elements and aim are shifted incorrectly, potentially making the game less playable. Optionally, if you have EP2 installed and want to launch EP1 or base HL2 (or any other Half-Life 2 folder game), you can launch it by appending &amp;lt;code&amp;gt;-game [game subfolder name]&amp;lt;/code&amp;gt;. If you'd like to play EP2 again, simply remove the &amp;lt;code&amp;gt;-game&amp;lt;/code&amp;gt; parameter. '''Make sure NOT to share game &amp;quot;bin&amp;quot; folders or they WILL crash upon loading!'''&lt;br /&gt;
&lt;br /&gt;
2. '''Add settings to autoexec.cfg'''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/Users/&amp;lt;username&amp;gt;/Library/Application Support/Steam/steamapps/common/Half-Life 2/hl2/cfg/autoexec.cfg&amp;lt;/code&amp;gt;, add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//set the video mode to your display resolution (i.e. 1728x1117 - Default, 2056x1329 - More Space). Uncomment only the resolution you are using.&lt;br /&gt;
mat_setvideomode 1728 1117 1&lt;br /&gt;
//mat_setvideomode 2056 1329 1&lt;br /&gt;
// Forces the engine to load audio asynchronously. Removes audio micro-stuttering in some cases.&lt;br /&gt;
snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0&lt;br /&gt;
snd_noextraupdate 1&lt;br /&gt;
// Improve texture quality&lt;br /&gt;
mat_picmip -1 &lt;br /&gt;
mat_antialias 4&lt;br /&gt;
mat_forceaniso 8&lt;br /&gt;
//BELOW: Enables software AA at maximum quality. Software AA works alongside normal AA, and helps to remove further&lt;br /&gt;
//aliasing, such as power lines. Little to no frame loss with this enabled.&lt;br /&gt;
mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2&lt;br /&gt;
mat_software_aa_strength_vgui 2&lt;br /&gt;
mat_software_aa_blur_one_pixel_lines 0.5&lt;br /&gt;
mat_software_aa_edge_threshold .8&lt;br /&gt;
// Enables small motion blur with forward movement, feel free to remove&lt;br /&gt;
mat_motion_blur_forward_enabled 1&lt;br /&gt;
// Key binding to manually to enable some of the settings&lt;br /&gt;
bind &amp;quot;/&amp;quot; &amp;quot;r_newflashlight 0; r_lod 0; r_maxdlights 128; r_shadowmaxrendered 1024; echo 'Graphics commands have been applied.'&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make sure that the game will run at max settings. FPS will still be 120 almost everywhere except the places in the game that were buggy on the other platforms as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; - disables HL2 flashlight that is not working well (causes various artefacts when interacting with shadows). With this setting the game will use the still functional HL1 implementation of flashlight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; - always fully load all nearby objects (buildings, cars, etc.). Looks better as the objects will not switch their appearance suddenly when you approach them. There is little to none performance penalty on Mac with its SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_maxdlights 128; r_shadowmaxrendered 1024;&amp;lt;/code&amp;gt; - could potentially improve the look of the game, feel free to remove if you see no difference.&lt;br /&gt;
&lt;br /&gt;
Binding these &amp;lt;code&amp;gt;r_*&amp;lt;/code&amp;gt; settings command to &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key is necessary, because the game will reset these settings while in the Main Menu.&lt;br /&gt;
&lt;br /&gt;
'''You need to tap &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key when you already loaded the save game. The settings then will stay enabled for the whole session (even if re-loading the saves), until you exit the game&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
- When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
&lt;br /&gt;
- Counter-Strike: Source has no HUD, Half-Life 2: Deathmatch and Day of Defeat: Source show a black screen on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8300</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8300"/>
		<updated>2023-09-25T20:43:02Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Undo revision 8299 by Mokman23 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://github.com/nillerusr/source-engine&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native ARM build from leaked source==&lt;br /&gt;
These instructions are based on guides written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal. '''TF2 AND LATER SOURCE GAMES WON'T WORK!!'''&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew and Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup &amp;amp;&amp;amp; git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python3 waf configure -T release --64bits --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1/2)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 (Half-Life 2), &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your Half-Life 2 Folder, and your game's subfolder. (Portal and/or Day of Defeat Source, if you're installing those games), Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot;. '''DO NOT MESS WITH THE HL2 FOLDER UNLESS YOU'RE ACTUALLY INSTALLING HL2'''!)&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files:&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
=== Suggested settings for the native version ===&lt;br /&gt;
Tested on Macbook Pro 16 2021 16 GB&lt;br /&gt;
&lt;br /&gt;
1. '''Add launch parameters (Steam):'''&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed -refresh 120 -autoexec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts the game in the windowed borderless mode and limits FPS to 120.&lt;br /&gt;
Windowed borderless is needed to ignore the Macbook's notch (render the game under it). Otherwise the interface elements and aim are shifted incorrectly, potentially making the game less playable. Optionally, if you have EP2 installed and want to launch EP1 or base HL2 (or any other Half-Life 2 folder game), you can launch it by appending &amp;lt;code&amp;gt;-game [game subfolder name]&amp;lt;/code&amp;gt;. If you'd like to play EP2 again, simply remove the &amp;lt;code&amp;gt;-game&amp;lt;/code&amp;gt; parameter. '''Make sure NOT to share game &amp;quot;bin&amp;quot; folders or they WILL crash upon loading!'''&lt;br /&gt;
&lt;br /&gt;
2. '''Add settings to autoexec.cfg'''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/Users/&amp;lt;username&amp;gt;/Library/Application Support/Steam/steamapps/common/Half-Life 2/hl2/cfg/autoexec.cfg&amp;lt;/code&amp;gt;, add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//set the video mode to your display resolution (i.e. 1728x1117 - Default, 2056x1329 - More Space). Uncomment only the resolution you are using.&lt;br /&gt;
mat_setvideomode 1728 1117 1&lt;br /&gt;
//mat_setvideomode 2056 1329 1&lt;br /&gt;
// Forces the engine to load audio asynchronously. Removes audio micro-stuttering in some cases.&lt;br /&gt;
snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0&lt;br /&gt;
snd_noextraupdate 1&lt;br /&gt;
// Improve texture quality&lt;br /&gt;
mat_picmip -1 &lt;br /&gt;
mat_antialias 4&lt;br /&gt;
mat_forceaniso 8&lt;br /&gt;
//BELOW: Enables software AA at maximum quality. Software AA works alongside normal AA, and helps to remove further&lt;br /&gt;
//aliasing, such as power lines. Little to no frame loss with this enabled.&lt;br /&gt;
mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2&lt;br /&gt;
mat_software_aa_strength_vgui 2&lt;br /&gt;
mat_software_aa_blur_one_pixel_lines 0.5&lt;br /&gt;
mat_software_aa_edge_threshold .8&lt;br /&gt;
// Enables small motion blur with forward movement, feel free to remove&lt;br /&gt;
mat_motion_blur_forward_enabled 1&lt;br /&gt;
// Key binding to manually to enable some of the settings&lt;br /&gt;
bind &amp;quot;/&amp;quot; &amp;quot;r_newflashlight 0; r_lod 0; r_maxdlights 128; r_shadowmaxrendered 1024; echo 'Graphics commands have been applied.'&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make sure that the game will run at max settings. FPS will still be 120 almost everywhere except the places in the game that were buggy on the other platforms as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; - disables HL2 flashlight that is not working well (causes various artefacts when interacting with shadows). With this setting the game will use the still functional HL1 implementation of flashlight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; - always fully load all nearby objects (buildings, cars, etc.). Looks better as the objects will not switch their appearance suddenly when you approach them. There is little to none performance penalty on Mac with its SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_maxdlights 128; r_shadowmaxrendered 1024;&amp;lt;/code&amp;gt; - could potentially improve the look of the game, feel free to remove if you see no difference.&lt;br /&gt;
&lt;br /&gt;
Binding these &amp;lt;code&amp;gt;r_*&amp;lt;/code&amp;gt; settings command to &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key is necessary, because the game will reset these settings while in the Main Menu.&lt;br /&gt;
&lt;br /&gt;
'''You need to tap &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key when you already loaded the save game. The settings then will stay enabled for the whole session (even if re-loading the saves), until you exit the game&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
- When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
- Counter-Strike: Source has no HUD on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8299</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8299"/>
		<updated>2023-09-25T20:41:07Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: /* Native ARM build from leaked source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://github.com/nillerusr/source-engine&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native ARM build from leaked source==&lt;br /&gt;
These instructions are based on guides written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal. '''TF2 AND LATER SOURCE GAMES WON'T WORK!!'''&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew and Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup&lt;br /&gt;
git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;python3 waf configure -T release --64bits --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1/2)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 (Half-Life 2), &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your Half-Life 2 Folder, and your game's subfolder. (Portal and/or Day of Defeat Source, if you're installing those games), Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot;. '''DO NOT MESS WITH THE HL2 FOLDER UNLESS YOU'RE ACTUALLY INSTALLING HL2'''!)&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files:&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
=== Suggested settings for the native version ===&lt;br /&gt;
Tested on Macbook Pro 16 2021 16 GB&lt;br /&gt;
&lt;br /&gt;
1. '''Add launch parameters (Steam):'''&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed -refresh 120 -autoexec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts the game in the windowed borderless mode and limits FPS to 120.&lt;br /&gt;
Windowed borderless is needed to ignore the Macbook's notch (render the game under it). Otherwise the interface elements and aim are shifted incorrectly, potentially making the game less playable. Optionally, if you have EP2 installed and want to launch EP1 or base HL2 (or any other Half-Life 2 folder game), you can launch it by appending &amp;lt;code&amp;gt;-game [game subfolder name]&amp;lt;/code&amp;gt;. If you'd like to play EP2 again, simply remove the &amp;lt;code&amp;gt;-game&amp;lt;/code&amp;gt; parameter. '''Make sure NOT to share game &amp;quot;bin&amp;quot; folders or they WILL crash upon loading!'''&lt;br /&gt;
&lt;br /&gt;
2. '''Add settings to autoexec.cfg'''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/Users/&amp;lt;username&amp;gt;/Library/Application Support/Steam/steamapps/common/Half-Life 2/hl2/cfg/autoexec.cfg&amp;lt;/code&amp;gt;, add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//set the video mode to your display resolution (i.e. 1728x1117 - Default, 2056x1329 - More Space). Uncomment only the resolution you are using.&lt;br /&gt;
mat_setvideomode 1728 1117 1&lt;br /&gt;
//mat_setvideomode 2056 1329 1&lt;br /&gt;
// Forces the engine to load audio asynchronously. Removes audio micro-stuttering in some cases.&lt;br /&gt;
snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0&lt;br /&gt;
snd_noextraupdate 1&lt;br /&gt;
// Improve texture quality&lt;br /&gt;
mat_picmip -1 &lt;br /&gt;
mat_antialias 4&lt;br /&gt;
mat_forceaniso 8&lt;br /&gt;
//BELOW: Enables software AA at maximum quality. Software AA works alongside normal AA, and helps to remove further&lt;br /&gt;
//aliasing, such as power lines. Little to no frame loss with this enabled.&lt;br /&gt;
mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2&lt;br /&gt;
mat_software_aa_strength_vgui 2&lt;br /&gt;
mat_software_aa_blur_one_pixel_lines 0.5&lt;br /&gt;
mat_software_aa_edge_threshold .8&lt;br /&gt;
// Enables small motion blur with forward movement, feel free to remove&lt;br /&gt;
mat_motion_blur_forward_enabled 1&lt;br /&gt;
// Key binding to manually to enable some of the settings&lt;br /&gt;
bind &amp;quot;/&amp;quot; &amp;quot;r_newflashlight 0; r_lod 0; r_maxdlights 128; r_shadowmaxrendered 1024; echo 'Graphics commands have been applied.'&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make sure that the game will run at max settings. FPS will still be 120 almost everywhere except the places in the game that were buggy on the other platforms as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; - disables HL2 flashlight that is not working well (causes various artefacts when interacting with shadows). With this setting the game will use the still functional HL1 implementation of flashlight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; - always fully load all nearby objects (buildings, cars, etc.). Looks better as the objects will not switch their appearance suddenly when you approach them. There is little to none performance penalty on Mac with its SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_maxdlights 128; r_shadowmaxrendered 1024;&amp;lt;/code&amp;gt; - could potentially improve the look of the game, feel free to remove if you see no difference.&lt;br /&gt;
&lt;br /&gt;
Binding these &amp;lt;code&amp;gt;r_*&amp;lt;/code&amp;gt; settings command to &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key is necessary, because the game will reset these settings while in the Main Menu.&lt;br /&gt;
&lt;br /&gt;
'''You need to tap &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key when you already loaded the save game. The settings then will stay enabled for the whole session (even if re-loading the saves), until you exit the game&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
- When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
- Counter-Strike: Source has no HUD on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Portal&amp;diff=8298</id>
		<title>Portal</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Portal&amp;diff=8298"/>
		<updated>2023-09-25T20:37:47Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Updated dead link to Wiki tutorial in HL2 article&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://www.applegamingwiki.com/wiki/Half-Life_2#Native_ARM_build_from_leaked_source&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=150+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       = na&lt;br /&gt;
|ios-ipados app notes = &lt;br /&gt;
|crossover            = perfect&lt;br /&gt;
|crossover notes      = Tested on CrossOver 22, 1600p 60fps and the game works perfect.&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=NyonCat&lt;br /&gt;
|date=2022-09-28&lt;br /&gt;
|device=13 Inch MacBook Pro M1 2020 8gb Ram&lt;br /&gt;
|os=macOS 12.6&lt;br /&gt;
|method=CrossOver 22&lt;br /&gt;
|resolution=2560 x 1600&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=60 FPS&lt;br /&gt;
|comment=Everything worked fine, 1 hour of gameplay, tested different stages.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/ref&amp;gt;  /Playable, major graphical issues.&amp;lt;ref&amp;gt;{{Refurl|url=https://applesilicongames.com/games/NHBq3wCYwy8QKNn2FAwrLN/portal|title=Apple Silicon Games|date=2021-04-15|snippet=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|wine                 = playable&lt;br /&gt;
|wine notes           = Tested with PlayOnMac. Maybe audio issues, then try set audio format to 44 100 Hz.&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refurl|url=https://applesilicongames.com/games/NHBq3wCYwy8QKNn2FAwrLN/portal|title=Apple Silicon Games|date=2021-04-15|snippet=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       = na&lt;br /&gt;
|windows 10 arm notes = &lt;br /&gt;
|linux arm            = na&lt;br /&gt;
|linux arm notes      = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8297</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8297"/>
		<updated>2023-09-25T20:29:06Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: /* Known bugs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://github.com/nillerusr/source-engine&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native ARM build from leaked source==&lt;br /&gt;
These instructions are based on guides written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal. '''TF2 AND LATER SOURCE GAMES WON'T WORK!!'''&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew and Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup &amp;amp;&amp;amp; git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;python3 waf configure -T release --64bits --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1/2)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 (Half-Life 2), &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your Half-Life 2 Folder, and your game's subfolder. (Portal and/or Day of Defeat Source, if you're installing those games), Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot;. '''DO NOT MESS WITH THE HL2 FOLDER UNLESS YOU'RE ACTUALLY INSTALLING HL2'''!)&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files:&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
=== Suggested settings for the native version ===&lt;br /&gt;
Tested on Macbook Pro 16 2021 16 GB&lt;br /&gt;
&lt;br /&gt;
1. '''Add launch parameters (Steam):'''&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed -refresh 120 -autoexec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts the game in the windowed borderless mode and limits FPS to 120.&lt;br /&gt;
Windowed borderless is needed to ignore the Macbook's notch (render the game under it). Otherwise the interface elements and aim are shifted incorrectly, potentially making the game less playable. Optionally, if you have EP2 installed and want to launch EP1 or base HL2 (or any other Half-Life 2 folder game), you can launch it by appending &amp;lt;code&amp;gt;-game [game subfolder name]&amp;lt;/code&amp;gt;. If you'd like to play EP2 again, simply remove the &amp;lt;code&amp;gt;-game&amp;lt;/code&amp;gt; parameter. '''Make sure NOT to share game &amp;quot;bin&amp;quot; folders or they WILL crash upon loading!'''&lt;br /&gt;
&lt;br /&gt;
2. '''Add settings to autoexec.cfg'''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/Users/&amp;lt;username&amp;gt;/Library/Application Support/Steam/steamapps/common/Half-Life 2/hl2/cfg/autoexec.cfg&amp;lt;/code&amp;gt;, add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//set the video mode to your display resolution (i.e. 1728x1117 - Default, 2056x1329 - More Space). Uncomment only the resolution you are using.&lt;br /&gt;
mat_setvideomode 1728 1117 1&lt;br /&gt;
//mat_setvideomode 2056 1329 1&lt;br /&gt;
// Forces the engine to load audio asynchronously. Removes audio micro-stuttering in some cases.&lt;br /&gt;
snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0&lt;br /&gt;
snd_noextraupdate 1&lt;br /&gt;
// Improve texture quality&lt;br /&gt;
mat_picmip -1 &lt;br /&gt;
mat_antialias 4&lt;br /&gt;
mat_forceaniso 8&lt;br /&gt;
//BELOW: Enables software AA at maximum quality. Software AA works alongside normal AA, and helps to remove further&lt;br /&gt;
//aliasing, such as power lines. Little to no frame loss with this enabled.&lt;br /&gt;
mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2&lt;br /&gt;
mat_software_aa_strength_vgui 2&lt;br /&gt;
mat_software_aa_blur_one_pixel_lines 0.5&lt;br /&gt;
mat_software_aa_edge_threshold .8&lt;br /&gt;
// Enables small motion blur with forward movement, feel free to remove&lt;br /&gt;
mat_motion_blur_forward_enabled 1&lt;br /&gt;
// Key binding to manually to enable some of the settings&lt;br /&gt;
bind &amp;quot;/&amp;quot; &amp;quot;r_newflashlight 0; r_lod 0; r_maxdlights 128; r_shadowmaxrendered 1024; echo 'Graphics commands have been applied.'&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make sure that the game will run at max settings. FPS will still be 120 almost everywhere except the places in the game that were buggy on the other platforms as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; - disables HL2 flashlight that is not working well (causes various artefacts when interacting with shadows). With this setting the game will use the still functional HL1 implementation of flashlight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; - always fully load all nearby objects (buildings, cars, etc.). Looks better as the objects will not switch their appearance suddenly when you approach them. There is little to none performance penalty on Mac with its SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_maxdlights 128; r_shadowmaxrendered 1024;&amp;lt;/code&amp;gt; - could potentially improve the look of the game, feel free to remove if you see no difference.&lt;br /&gt;
&lt;br /&gt;
Binding these &amp;lt;code&amp;gt;r_*&amp;lt;/code&amp;gt; settings command to &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key is necessary, because the game will reset these settings while in the Main Menu.&lt;br /&gt;
&lt;br /&gt;
'''You need to tap &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key when you already loaded the save game. The settings then will stay enabled for the whole session (even if re-loading the saves), until you exit the game&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
- When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
- Counter-Strike: Source has no HUD on macOS Sonoma&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
	<entry>
		<id>https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8296</id>
		<title>Half-Life 2</title>
		<link rel="alternate" type="text/html" href="https://www.applegamingwiki.com/w/index.php?title=Half-Life_2&amp;diff=8296"/>
		<updated>2023-09-25T20:28:30Z</updated>

		<summary type="html">&lt;p&gt;Mokman23: Cleaned up Wiki article, removed dead links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compatibility/macOS&lt;br /&gt;
|native               = Perfect&lt;br /&gt;
|native notes         = Compiled the Source Engine Leak. https://github.com/nillerusr/source-engine&amp;lt;ref&amp;gt;{{Refdevice&lt;br /&gt;
|user=PBeGood4&lt;br /&gt;
|date=29 April 2023&lt;br /&gt;
|device=M1 MacBook Pro&lt;br /&gt;
|method=Compiled Source Engine Leak&lt;br /&gt;
|resolution=1920x1080&lt;br /&gt;
|settings=high&lt;br /&gt;
|framerate=120+ FPS&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|rosetta 2            = unknown&lt;br /&gt;
|rosetta 2 notes      = &lt;br /&gt;
|ios-ipados app       =&lt;br /&gt;
|ios-ipados app notes =&lt;br /&gt;
|crossover            = runs&lt;br /&gt;
|crossover notes      = Installed via Steam on CrossOver 21, extreme fps drops during shootouts and explosions.&lt;br /&gt;
|wine                 = unknown&lt;br /&gt;
|wine notes           =&lt;br /&gt;
|parallels            = perfect&lt;br /&gt;
|parallels notes      = Playable.&amp;lt;ref&amp;gt;{{Refdevice|user=gp|date=7 Sep 2021|device=Mac M1 16 GB RAM|os=Windows 11 (latest Insider ISO)|method=Parallels 17|version=|resolution=1080p|settings=Medium|framerate=50~60 FPS|controller=|url=|title=|comment=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|windows 10 arm       =&lt;br /&gt;
|windows 10 arm notes =&lt;br /&gt;
|linux arm            =&lt;br /&gt;
|linux arm notes      =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Native ARM build from leaked source==&lt;br /&gt;
These instructions are based on guides written by [https://www.youtube.com/watch?v=mMuSXs0SF_g James Hug]. This method builds a native port for older Source engine games, such as Half-Life 2, its episodes, and Portal. '''TF2 AND LATER SOURCE GAMES WON'T WORK!!'''&lt;br /&gt;
&lt;br /&gt;
Enter these commands into Terminal, Homebrew and Xcode Command Line Tools are required:&lt;br /&gt;
&lt;br /&gt;
1. Install prerequisites from Homebrew and clone Repository (added the jpeg-turbo dependency from instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit python3 jpeg jpeg-turbo &amp;amp;&amp;amp; brew cleanup &amp;amp;&amp;amp; git clone --recursive https://github.com/nillerusr/source-engine &amp;amp;&amp;amp; cd source-engine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Set pkg path:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PKG_CONFIG_PATH=&amp;quot;/opt/homebrew/opt/jpeg/lib/pkgconfig&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure, build and install the game into your Documents Folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;python3 waf configure -T release --64bits --prefix='' --build-games=[game folder] &amp;amp;&amp;amp; python3 waf build &amp;amp;&amp;amp; python3 waf install --destdir='~/Documents/Build/[game folder]'&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Valid Game Folder Names:&lt;br /&gt;
*cstrike (Counter-Strike Source) &lt;br /&gt;
*episodic (Half-Life 2: Episode 1/2)&lt;br /&gt;
*hl1 (Half-Life: Source)&lt;br /&gt;
*hl2 (Half-Life 2), &lt;br /&gt;
*portal &lt;br /&gt;
*dod (Day of Defeat: Source)&lt;br /&gt;
*hl2mp (Half-Life 2: Deathmatch)&lt;br /&gt;
&lt;br /&gt;
4. Open your Half-Life 2 Folder, and your game's subfolder. (Portal and/or Day of Defeat Source, if you're installing those games), Right-Click &amp;gt; &amp;quot;Browse local files&amp;quot;. '''DO NOT MESS WITH THE HL2 FOLDER UNLESS YOU'RE ACTUALLY INSTALLING HL2'''!)&lt;br /&gt;
&lt;br /&gt;
5. Modify Installation Files:&lt;br /&gt;
*Delete the root and game folder &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;&amp;lt;/code&amp;gt; directories and &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt; executable&lt;br /&gt;
**Move your &amp;lt;code&amp;gt;&amp;quot;bin&amp;quot;, &amp;quot;[game folder]/bin&amp;quot;&amp;lt;/code&amp;gt; folders and &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; executable to your Half-Life 2 folder, &lt;br /&gt;
**and rename &amp;lt;code&amp;gt;&amp;quot;hl2_launcher&amp;quot;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;quot;hl2_osx&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
Congratulations! You (hopefully) successfully built a working Native Source Port!&lt;br /&gt;
&lt;br /&gt;
=== Suggested settings for the native version ===&lt;br /&gt;
Tested on Macbook Pro 16 2021 16 GB&lt;br /&gt;
&lt;br /&gt;
1. '''Add launch parameters (Steam):'''&lt;br /&gt;
&amp;lt;code&amp;gt;-noborder -windowed -refresh 120 -autoexec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts the game in the windowed borderless mode and limits FPS to 120.&lt;br /&gt;
Windowed borderless is needed to ignore the Macbook's notch (render the game under it). Otherwise the interface elements and aim are shifted incorrectly, potentially making the game less playable. Optionally, if you have EP2 installed and want to launch EP1 or base HL2 (or any other Half-Life 2 folder game), you can launch it by appending &amp;lt;code&amp;gt;-game [game subfolder name]&amp;lt;/code&amp;gt;. If you'd like to play EP2 again, simply remove the &amp;lt;code&amp;gt;-game&amp;lt;/code&amp;gt; parameter. '''Make sure NOT to share game &amp;quot;bin&amp;quot; folders or they WILL crash upon loading!'''&lt;br /&gt;
&lt;br /&gt;
2. '''Add settings to autoexec.cfg'''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/Users/&amp;lt;username&amp;gt;/Library/Application Support/Steam/steamapps/common/Half-Life 2/hl2/cfg/autoexec.cfg&amp;lt;/code&amp;gt;, add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//set the video mode to your display resolution (i.e. 1728x1117 - Default, 2056x1329 - More Space). Uncomment only the resolution you are using.&lt;br /&gt;
mat_setvideomode 1728 1117 1&lt;br /&gt;
//mat_setvideomode 2056 1329 1&lt;br /&gt;
// Forces the engine to load audio asynchronously. Removes audio micro-stuttering in some cases.&lt;br /&gt;
snd_async_fullyasync 1&lt;br /&gt;
snd_async_minsize 0&lt;br /&gt;
snd_noextraupdate 1&lt;br /&gt;
// Improve texture quality&lt;br /&gt;
mat_picmip -1 &lt;br /&gt;
mat_antialias 4&lt;br /&gt;
mat_forceaniso 8&lt;br /&gt;
//BELOW: Enables software AA at maximum quality. Software AA works alongside normal AA, and helps to remove further&lt;br /&gt;
//aliasing, such as power lines. Little to no frame loss with this enabled.&lt;br /&gt;
mat_software_aa_quality 8&lt;br /&gt;
mat_software_aa_strength 2&lt;br /&gt;
mat_software_aa_strength_vgui 2&lt;br /&gt;
mat_software_aa_blur_one_pixel_lines 0.5&lt;br /&gt;
mat_software_aa_edge_threshold .8&lt;br /&gt;
// Enables small motion blur with forward movement, feel free to remove&lt;br /&gt;
mat_motion_blur_forward_enabled 1&lt;br /&gt;
// Key binding to manually to enable some of the settings&lt;br /&gt;
bind &amp;quot;/&amp;quot; &amp;quot;r_newflashlight 0; r_lod 0; r_maxdlights 128; r_shadowmaxrendered 1024; echo 'Graphics commands have been applied.'&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make sure that the game will run at max settings. FPS will still be 120 almost everywhere except the places in the game that were buggy on the other platforms as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_newflashlight 0&amp;lt;/code&amp;gt; - disables HL2 flashlight that is not working well (causes various artefacts when interacting with shadows). With this setting the game will use the still functional HL1 implementation of flashlight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_lod 0&amp;lt;/code&amp;gt; - always fully load all nearby objects (buildings, cars, etc.). Looks better as the objects will not switch their appearance suddenly when you approach them. There is little to none performance penalty on Mac with its SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;r_maxdlights 128; r_shadowmaxrendered 1024;&amp;lt;/code&amp;gt; - could potentially improve the look of the game, feel free to remove if you see no difference.&lt;br /&gt;
&lt;br /&gt;
Binding these &amp;lt;code&amp;gt;r_*&amp;lt;/code&amp;gt; settings command to &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key is necessary, because the game will reset these settings while in the Main Menu.&lt;br /&gt;
&lt;br /&gt;
'''You need to tap &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; key when you already loaded the save game. The settings then will stay enabled for the whole session (even if re-loading the saves), until you exit the game&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
- When playing with Airpods, the audio starts stuttering randomly. '''Fix:''' Mute and unmute the audio on the Macbook.&lt;br /&gt;
&lt;br /&gt;
{{References}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Games]]&lt;/div&gt;</summary>
		<author><name>Mokman23</name></author>
	</entry>
</feed>