Skip to content

Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.

Engine pin: seedds/nxnative 641d1480021a (52 commits ahead)

v0lumehi56bd0e7b4940
diff --git a/.upstream-ref b/.upstream-ref
index 4823c253..bab21e27 100644
--- a/.upstream-ref
+++ b/.upstream-ref
@@ -1 +1 @@
-65501fbbaf8526f7aab0a1edd028135888590f8e
+641d1480021a57840b7acc15f92cbd86ecfae611
diff --git a/GAMES.it.md b/GAMES.it.md
index 01b0a517..0d817382 100644
--- a/GAMES.it.md
+++ b/GAMES.it.md
@@ -2,7 +2,7 @@ Follows [GAMES.md](GAMES.md) as of v1.0.2
# Giochi
-Tutti i giochi per i quali questo fork dispone di un profilo, con il relativo pacchetto di aggiornamento NSP richiesto da ciascuno. La pagina principale per i giocatori è [README.it.md](README.it.md), mentre [dm/games/README.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/README.md) (in inglese) elenca gli stessi titoli con le note tecniche del motore per ciascuno di essi. Questa pagina raccoglie l'elenco completo e la galleria, così da mantenere il README principale snello. English: [GAMES.md](GAMES.md). 中文:[GAMES.zh-CN.md](GAMES.zh-CN.md).
+Tutti i giochi per i quali questo fork dispone di un profilo, con il relativo pacchetto di aggiornamento NSP richiesto da ciascuno. La pagina principale per i giocatori è [README.it.md](README.it.md), mentre [dm/games/README.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/README.md) (in inglese) elenca gli stessi titoli con le note tecniche del motore per ciascuno di essi. Questa pagina raccoglie l'elenco completo e la galleria, così da mantenere il README principale snello. English: [GAMES.md](GAMES.md). 中文:[GAMES.zh-CN.md](GAMES.zh-CN.md).
## Galleria
@@ -10,209 +10,209 @@ Screenshot accompagnati da una nota quando un gioco presenta indicazioni specifi
<table>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/donkey-kong-bananza.jpg" width="256" alt="Donkey Kong Bananza"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/040074A01BF12000/README.md">Donkey Kong Bananza</a></b><br>Switch 2, solo Mac, da un dump</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-kart-8-deluxe.jpg" width="256" alt="Mario Kart 8 Deluxe"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100152000022000/README.md">Mario Kart 8 Deluxe</a></b><br>senza teste dei Mii</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-vs-donkey-kong.jpg" width="256" alt="Mario vs. Donkey Kong"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100B99019412000/README.md">Mario vs. Donkey Kong</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/donkey-kong-bananza.jpg" width="256" alt="Donkey Kong Bananza"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/040074A01BF12000/README.md">Donkey Kong Bananza</a></b><br>Switch 2, solo Mac, da un dump</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-kart-8-deluxe.jpg" width="256" alt="Mario Kart 8 Deluxe"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100152000022000/README.md">Mario Kart 8 Deluxe</a></b><br>senza teste dei Mii</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-vs-donkey-kong.jpg" width="256" alt="Mario vs. Donkey Kong"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100B99019412000/README.md">Mario vs. Donkey Kong</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/paper-mario-the-thousand-year-door.jpg" width="256" alt="Paper Mario: Il Portale Millenario"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100ECD018EBE000/README.md">Paper Mario: The Thousand-Year Door</a></b><br>60 fps con 1.0.1</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-3d-world.jpg" width="256" alt="Super Mario 3D World + Bowser's Fury"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010028600EBDA000/README.md">Super Mario 3D World + Bowser's Fury</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-bros-wonder.jpg" width="256" alt="Super Mario Bros. Wonder"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010015100B514000/README.md">Super Mario Bros. Wonder</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/paper-mario-the-thousand-year-door.jpg" width="256" alt="Paper Mario: Il Portale Millenario"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100ECD018EBE000/README.md">Paper Mario: The Thousand-Year Door</a></b><br>60 fps con 1.0.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-3d-world.jpg" width="256" alt="Super Mario 3D World + Bowser's Fury"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010028600EBDA000/README.md">Super Mario 3D World + Bowser's Fury</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-bros-wonder.jpg" width="256" alt="Super Mario Bros. Wonder"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010015100B514000/README.md">Super Mario Bros. Wonder</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-galaxy.jpg" width="256" alt="Super Mario Galaxy"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010099C022B96000/README.md">Super Mario Galaxy</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-galaxy-2.jpg" width="256" alt="Super Mario Galaxy 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100FD8022DAA000/README.md">Super Mario Galaxy 2</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-odyssey.jpg" width="256" alt="Super Mario Odyssey"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100000000010000/README.md">Super Mario Odyssey</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-galaxy.jpg" width="256" alt="Super Mario Galaxy"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010099C022B96000/README.md">Super Mario Galaxy</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-galaxy-2.jpg" width="256" alt="Super Mario Galaxy 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100FD8022DAA000/README.md">Super Mario Galaxy 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-odyssey.jpg" width="256" alt="Super Mario Odyssey"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100000000010000/README.md">Super Mario Odyssey</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-breath-of-the-wild.jpg" width="256" alt="The Legend of Zelda: Breath of the Wild"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01007EF00011E000/README.md">The Legend of Zelda: Breath of the Wild</a></b><br>60 fps con 1.9.0</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-links-awakening.jpg" width="256" alt="The Legend of Zelda: Link's Awakening"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006BB00C6F0000/README.md">The Legend of Zelda: Link's Awakening</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-tears-of-the-kingdom.jpg" width="256" alt="The Legend of Zelda: Tears of the Kingdom"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100F2C0115B6000/README.md">The Legend of Zelda: Tears of the Kingdom</a></b><br>60 fps con 1.4.3</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-breath-of-the-wild.jpg" width="256" alt="The Legend of Zelda: Breath of the Wild"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01007EF00011E000/README.md">The Legend of Zelda: Breath of the Wild</a></b><br>60 fps con 1.9.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-links-awakening.jpg" width="256" alt="The Legend of Zelda: Link's Awakening"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006BB00C6F0000/README.md">The Legend of Zelda: Link's Awakening</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-tears-of-the-kingdom.jpg" width="256" alt="The Legend of Zelda: Tears of the Kingdom"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100F2C0115B6000/README.md">The Legend of Zelda: Tears of the Kingdom</a></b><br>60 fps con 1.4.3</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/13-sentinels.jpg" width="256" alt="13 Sentinels: Aegis Rim"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01003FC01670C000/README.md">13 Sentinels: Aegis Rim</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/absolum.jpg" width="256" alt="Absolum"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A83022A22000/README.md">Absolum</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ace-attorney-investigations.jpg" width="256" alt="Ace Attorney Investigations Collection"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010005501E68C000/README.md">Ace Attorney Investigations Collection</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/13-sentinels.jpg" width="256" alt="13 Sentinels: Aegis Rim"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01003FC01670C000/README.md">13 Sentinels: Aegis Rim</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/absolum.jpg" width="256" alt="Absolum"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A83022A22000/README.md">Absolum</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ace-attorney-investigations.jpg" width="256" alt="Ace Attorney Investigations Collection"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010005501E68C000/README.md">Ace Attorney Investigations Collection</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/advance-wars-1-2-re-boot-camp.jpg" width="256" alt="Advance Wars 1+2: Re-Boot Camp"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100300012F2A000/README.md">Advance Wars 1+2: Re-Boot Camp</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ai-the-somnium-files.jpg" width="256" alt="AI: THE SOMNIUM FILES"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010089B00D09C000/README.md">AI: THE SOMNIUM FILES</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ai-the-somnium-files-nirvana-initiative.jpg" width="256" alt="AI: THE SOMNIUM FILES - nirvanA Initiative"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100713016CCC000/README.md">AI: THE SOMNIUM FILES - nirvanA Initiative</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/advance-wars-1-2-re-boot-camp.jpg" width="256" alt="Advance Wars 1+2: Re-Boot Camp"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100300012F2A000/README.md">Advance Wars 1+2: Re-Boot Camp</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ai-the-somnium-files.jpg" width="256" alt="AI: THE SOMNIUM FILES"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010089B00D09C000/README.md">AI: THE SOMNIUM FILES</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ai-the-somnium-files-nirvana-initiative.jpg" width="256" alt="AI: THE SOMNIUM FILES - nirvanA Initiative"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100713016CCC000/README.md">AI: THE SOMNIUM FILES - nirvanA Initiative</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-crossing-new-horizons.jpg" width="256" alt="Animal Crossing: New Horizons"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006F8002326000/README.md">Animal Crossing: New Horizons</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-well.png" width="256" alt="ANIMAL WELL"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010020D01AD24000/README.md">ANIMAL WELL</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/astral-chain.png" width="256" alt="ASTRAL CHAIN"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01007300020FA000/README.md">ASTRAL CHAIN</a></b><br>obiettivo 60 fps con 1.0.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-crossing-new-horizons.jpg" width="256" alt="Animal Crossing: New Horizons"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006F8002326000/README.md">Animal Crossing: New Horizons</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-well.png" width="256" alt="ANIMAL WELL"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010020D01AD24000/README.md">ANIMAL WELL</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/astral-chain.png" width="256" alt="ASTRAL CHAIN"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01007300020FA000/README.md">ASTRAL CHAIN</a></b><br>obiettivo 60 fps con 1.0.1</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/balatro.jpg" width="256" alt="Balatro"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100CD801CE5E000/README.md">Balatro</a></b><br>giocabile tramite touch</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ball-x-pit.jpg" width="256" alt="BALL x PIT"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010086A022444000/README.md">BALL x PIT</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/bayonetta.jpg" width="256" alt="Bayonetta"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010076F0049A2000/README.md">Bayonetta</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/balatro.jpg" width="256" alt="Balatro"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100CD801CE5E000/README.md">Balatro</a></b><br>giocabile tramite touch</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ball-x-pit.jpg" width="256" alt="BALL x PIT"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010086A022444000/README.md">BALL x PIT</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/bayonetta.jpg" width="256" alt="Bayonetta"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010076F0049A2000/README.md">Bayonetta</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/bayonetta-2.jpg" width="256" alt="Bayonetta 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01007960049A0000/README.md">Bayonetta 2</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/bayonetta-3.jpg" width="256" alt="Bayonetta 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01004A4010FEA000/README.md">Bayonetta 3</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/big-brain-academy-brain-vs-brain.jpg" width="256" alt="Big Brain Academy: Sfida tra menti"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100620012D6E000/README.md">Big Brain Academy: Brain vs. Brain</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/bayonetta-2.jpg" width="256" alt="Bayonetta 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01007960049A0000/README.md">Bayonetta 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/bayonetta-3.jpg" width="256" alt="Bayonetta 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01004A4010FEA000/README.md">Bayonetta 3</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/big-brain-academy-brain-vs-brain.jpg" width="256" alt="Big Brain Academy: Sfida tra menti"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100620012D6E000/README.md">Big Brain Academy: Brain vs. Brain</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/brain-memory-training-academy.jpg" width="256" alt="Brain Memory Training Academy"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100F5D01DA3A000/README.md">Brain Memory Training Academy</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/captain-toad-treasure-tracker.jpg" width="256" alt="Captain Toad: Treasure Tracker"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01009BF0072D4000/README.md">Captain Toad: Treasure Tracker</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/catherine-full-body.jpg" width="256" alt="Catherine: Full Body"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100BF00112C0000/README.md">Catherine: Full Body</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/brain-memory-training-academy.jpg" width="256" alt="Brain Memory Training Academy"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100F5D01DA3A000/README.md">Brain Memory Training Academy</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/captain-toad-treasure-tracker.jpg" width="256" alt="Captain Toad: Treasure Tracker"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01009BF0072D4000/README.md">Captain Toad: Treasure Tracker</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/catherine-full-body.jpg" width="256" alt="Catherine: Full Body"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100BF00112C0000/README.md">Catherine: Full Body</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/celeste.jpg" width="256" alt="Celeste"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01002B30028F6000/README.md">Celeste</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/cuphead.jpg" width="256" alt="Cuphead"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A5C00D162000/README.md">Cuphead</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dark-souls-remastered-creation.jpg" width="256" alt="DARK SOULS: REMASTERED"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01004AB00A260000/README.md">DARK SOULS: REMASTERED</a></b><br>60 fps con 1.0.3</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/celeste.jpg" width="256" alt="Celeste"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01002B30028F6000/README.md">Celeste</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/cuphead.jpg" width="256" alt="Cuphead"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A5C00D162000/README.md">Cuphead</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dark-souls-remastered-creation.jpg" width="256" alt="DARK SOULS: REMASTERED"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01004AB00A260000/README.md">DARK SOULS: REMASTERED</a></b><br>60 fps con 1.0.3</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/digimon-story-cyber-sleuth.jpg" width="256" alt="Digimon Story Cyber Sleuth: Complete Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010014E00DB56000/README.md">Digimon Story Cyber Sleuth: Complete Edition</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/donkey-kong-country-tropical-freeze.jpg" width="256" alt="Donkey Kong Country: Tropical Freeze"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100C1F0051B6000/README.md">Donkey Kong Country: Tropical Freeze</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dragon-quest-vii-reimagined.jpg" width="256" alt="DRAGON QUEST VII Reimagined"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A9D01C446000/README.md">DRAGON QUEST VII Reimagined</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/digimon-story-cyber-sleuth.jpg" width="256" alt="Digimon Story Cyber Sleuth: Complete Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010014E00DB56000/README.md">Digimon Story Cyber Sleuth: Complete Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/donkey-kong-country-tropical-freeze.jpg" width="256" alt="Donkey Kong Country: Tropical Freeze"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100C1F0051B6000/README.md">Donkey Kong Country: Tropical Freeze</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dragon-quest-vii-reimagined.jpg" width="256" alt="DRAGON QUEST VII Reimagined"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A9D01C446000/README.md">DRAGON QUEST VII Reimagined</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dragon-quest-xi-s.jpg" width="256" alt="DRAGON QUEST XI S: Echi di un'era perduta – Edizione definitiva"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006C300E9F0000/README.md">DRAGON QUEST XI S: Echoes of an Elusive Age – Definitive Edition</a></b><br>60 fps con 1.0.4</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/final-fantasy-resonance.jpg" width="256" alt="FINAL FANTASY RESONANCE"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100606026F12000/README.md">FINAL FANTASY RESONANCE</a></b><br>60 fps con 1.0.1</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/final-fantasy-tactics.jpg" width="256" alt="FINAL FANTASY TACTICS - The Ivalice Chronicles"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010038B015560000/README.md">FINAL FANTASY TACTICS - The Ivalice Chronicles</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dragon-quest-xi-s.jpg" width="256" alt="DRAGON QUEST XI S: Echi di un'era perduta – Edizione definitiva"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006C300E9F0000/README.md">DRAGON QUEST XI S: Echoes of an Elusive Age – Definitive Edition</a></b><br>60 fps con 1.0.4</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/final-fantasy-resonance.jpg" width="256" alt="FINAL FANTASY RESONANCE"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100606026F12000/README.md">FINAL FANTASY RESONANCE</a></b><br>60 fps con 1.0.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/final-fantasy-tactics.jpg" width="256" alt="FINAL FANTASY TACTICS - The Ivalice Chronicles"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010038B015560000/README.md">FINAL FANTASY TACTICS - The Ivalice Chronicles</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/fire-emblem-engage.jpg" width="256" alt="Fire Emblem Engage"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A6301214E000/README.md">Fire Emblem Engage</a></b><br>60 fps con 2.0.0</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/fire-emblem-three-houses.jpg" width="256" alt="Fire Emblem: Three Houses"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010055D009F78000/README.md">Fire Emblem: Three Houses</a></b><br>60 fps con 1.2.0</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ghost-trick-phantom-detective.jpg" width="256" alt="Ghost Trick: Detective Fantasma"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010029B018432000/README.md">Ghost Trick: Phantom Detective</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/fire-emblem-engage.jpg" width="256" alt="Fire Emblem Engage"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A6301214E000/README.md">Fire Emblem Engage</a></b><br>60 fps con 2.0.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/fire-emblem-three-houses.jpg" width="256" alt="Fire Emblem: Three Houses"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010055D009F78000/README.md">Fire Emblem: Three Houses</a></b><br>60 fps con 1.2.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ghost-trick-phantom-detective.jpg" width="256" alt="Ghost Trick: Detective Fantasma"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010029B018432000/README.md">Ghost Trick: Phantom Detective</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/the-great-ace-attorney-chronicles.jpg" width="256" alt="The Great Ace Attorney Chronicles"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010036E00FB20000/README.md">The Great Ace Attorney Chronicles</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades.jpg" width="256" alt="Hades"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100535012974000/README.md">Hades</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades-ii.jpg" width="256" alt="Hades II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A00019DE0000/README.md">Hades II</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/the-great-ace-attorney-chronicles.jpg" width="256" alt="The Great Ace Attorney Chronicles"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010036E00FB20000/README.md">The Great Ace Attorney Chronicles</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades.jpg" width="256" alt="Hades"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100535012974000/README.md">Hades</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades-ii.jpg" width="256" alt="Hades II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A00019DE0000/README.md">Hades II</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hollow-knight-silksong.jpg" width="256" alt="Hollow Knight: Silksong"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010013C00E930000/README.md">Hollow Knight: Silksong</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hyrule-warriors-age-of-calamity.jpg" width="256" alt="Hyrule Warriors: L'era della calamità"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01002B00111A2000/README.md">Hyrule Warriors: Age of Calamity</a></b><br>60 fps con 1.3.0</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/kirby-and-the-forgotten-land.jpg" width="256" alt="Kirby e la terra perduta"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01004D300C5AE000/README.md">Kirby and the Forgotten Land</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hollow-knight-silksong.jpg" width="256" alt="Hollow Knight: Silksong"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010013C00E930000/README.md">Hollow Knight: Silksong</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hyrule-warriors-age-of-calamity.jpg" width="256" alt="Hyrule Warriors: L'era della calamità"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01002B00111A2000/README.md">Hyrule Warriors: Age of Calamity</a></b><br>60 fps con 1.3.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/kirby-and-the-forgotten-land.jpg" width="256" alt="Kirby e la terra perduta"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01004D300C5AE000/README.md">Kirby and the Forgotten Land</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/luigis-mansion-3.jpg" width="256" alt="Luigi's Mansion 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100DCA0064A6000/README.md">Luigi's Mansion 3</a></b><br>60 fps con 1.4.0</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/metroid-dread.jpg" width="256" alt="Metroid Dread"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010093801237C000/README.md">Metroid Dread</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/monster-hunter-rise.jpg" width="256" alt="Monster Hunter Rise"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100B04011742000/README.md">Monster Hunter Rise</a></b><br>60 fps con 16.0.2</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/luigis-mansion-3.jpg" width="256" alt="Luigi's Mansion 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100DCA0064A6000/README.md">Luigi's Mansion 3</a></b><br>60 fps con 1.4.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/metroid-dread.jpg" width="256" alt="Metroid Dread"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010093801237C000/README.md">Metroid Dread</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/monster-hunter-rise.jpg" width="256" alt="Monster Hunter Rise"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100B04011742000/README.md">Monster Hunter Rise</a></b><br>60 fps con 16.0.2</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/monster-train-2.jpg" width="256" alt="Monster Train 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010051701FB46000/README.md">Monster Train 2</a></b><br>60 fps con 1.1.1</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/octopath-traveler.jpg" width="256" alt="OCTOPATH TRAVELER"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010057D006492000/README.md">OCTOPATH TRAVELER</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/octopath-traveler-0.jpg" width="256" alt="Octopath Traveler 0"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01005270232F2000/README.md">Octopath Traveler 0</a></b><br>60 fps con 1.0.5</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/monster-train-2.jpg" width="256" alt="Monster Train 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010051701FB46000/README.md">Monster Train 2</a></b><br>60 fps con 1.1.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/octopath-traveler.jpg" width="256" alt="OCTOPATH TRAVELER"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010057D006492000/README.md">OCTOPATH TRAVELER</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/octopath-traveler-0.jpg" width="256" alt="Octopath Traveler 0"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01005270232F2000/README.md">Octopath Traveler 0</a></b><br>60 fps con 1.0.5</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/octopath-traveler-ii.jpg" width="256" alt="Octopath Traveler II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A3501946E000/README.md">Octopath Traveler II</a></b><br>60 fps con 1.1.1</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/patricks-parabox.jpg" width="256" alt="Patrick's Parabox"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100E44016C22000/README.md">Patrick's Parabox</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/persona-5-royal.jpg" width="256" alt="Persona 5 Royal"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01005CA01580E000/README.md">Persona 5 Royal</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/octopath-traveler-ii.jpg" width="256" alt="Octopath Traveler II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A3501946E000/README.md">Octopath Traveler II</a></b><br>60 fps con 1.1.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/patricks-parabox.jpg" width="256" alt="Patrick's Parabox"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100E44016C22000/README.md">Patrick's Parabox</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/persona-5-royal.jpg" width="256" alt="Persona 5 Royal"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01005CA01580E000/README.md">Persona 5 Royal</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pikmin-4.jpg" width="256" alt="Pikmin 4"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100B7C00933A000/README.md">Pikmin 4</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-brilliant-diamond.jpg" width="256" alt="Pokémon Diamante Lucente"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100000011D90000/README.md">Pokémon Brilliant Diamond</a></b><br>60 fps con 1.3.0</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-legends-z-a.jpg" width="256" alt="Leggende Pokémon: Z-A"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100F43008C44000/README.md">Pokémon Legends: Z-A</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pikmin-4.jpg" width="256" alt="Pikmin 4"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100B7C00933A000/README.md">Pikmin 4</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-brilliant-diamond.jpg" width="256" alt="Pokémon Diamante Lucente"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100000011D90000/README.md">Pokémon Brilliant Diamond</a></b><br>60 fps con 1.3.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-legends-z-a.jpg" width="256" alt="Leggende Pokémon: Z-A"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100F43008C44000/README.md">Pokémon Legends: Z-A</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-scarlet.png" width="256" alt="Pokémon Scarlatto"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A3D008C5C000/README.md">Pokémon Scarlet</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-violet.jpg" width="256" alt="Pokémon Violetto"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008F6008C5E000/README.md">Pokémon Violet</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-sword.jpg" width="256" alt="Pokémon Spada"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100ABF008968000/README.md">Pokémon Sword</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-scarlet.png" width="256" alt="Pokémon Scarlatto"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A3D008C5C000/README.md">Pokémon Scarlet</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-violet.jpg" width="256" alt="Pokémon Violetto"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008F6008C5E000/README.md">Pokémon Violet</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-sword.jpg" width="256" alt="Pokémon Spada"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100ABF008968000/README.md">Pokémon Sword</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-shield.jpg" width="256" alt="Pokémon Scudo"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008DB008C2C000/README.md">Pokémon Shield</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/portal.jpg" width="256" alt="Portal"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01007BB017812000/README.md">Portal</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/raging-loop.jpg" width="256" alt="Raging Loop"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010020400E1C2000/README.md">Raging Loop</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-shield.jpg" width="256" alt="Pokémon Scudo"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008DB008C2C000/README.md">Pokémon Shield</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/portal.jpg" width="256" alt="Portal"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01007BB017812000/README.md">Portal</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/raging-loop.jpg" width="256" alt="Raging Loop"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010020400E1C2000/README.md">Raging Loop</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/rhythm-heaven-groove.jpg" width="256" alt="Rhythm Heaven Groove"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100D9F01D474000/README.md">Rhythm Heaven Groove</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/romance-of-the-three-kingdoms-8-remake.jpg" width="256" alt="ROMANCE OF THE THREE KINGDOMS 8 REMAKE"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100C2A01A730000/README.md">ROMANCE OF THE THREE KINGDOMS 8 REMAKE</a></b><br>solo con controller</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/sea-of-stars.jpg" width="256" alt="Sea of Stars"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008C0016544000/README.md">Sea of Stars</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/rhythm-heaven-groove.jpg" width="256" alt="Rhythm Heaven Groove"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100D9F01D474000/README.md">Rhythm Heaven Groove</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/romance-of-the-three-kingdoms-8-remake.jpg" width="256" alt="ROMANCE OF THE THREE KINGDOMS 8 REMAKE"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100C2A01A730000/README.md">ROMANCE OF THE THREE KINGDOMS 8 REMAKE</a></b><br>solo con controller</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/sea-of-stars.jpg" width="256" alt="Sea of Stars"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008C0016544000/README.md">Sea of Stars</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/shin-megami-tensei-v-vengeance.jpg" width="256" alt="SHIN MEGAMI TENSEI V: Vengeance"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010069C01AB82000/README.md">SHIN MEGAMI TENSEI V: Vengeance</a></b><br>60 fps con 1.0.3</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/stardew-valley.jpg" width="256" alt="Stardew Valley"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100E65002BB8000/README.md">Stardew Valley</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steins-gate-reboot.jpg" width="256" alt="STEINS;GATE RE:BOOT"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008BC024FDE000/README.md">STEINS;GATE RE:BOOT</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/shin-megami-tensei-v-vengeance.jpg" width="256" alt="SHIN MEGAMI TENSEI V: Vengeance"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010069C01AB82000/README.md">SHIN MEGAMI TENSEI V: Vengeance</a></b><br>60 fps con 1.0.3</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/stardew-valley.jpg" width="256" alt="Stardew Valley"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100E65002BB8000/README.md">Stardew Valley</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steins-gate-reboot.jpg" width="256" alt="STEINS;GATE RE:BOOT"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008BC024FDE000/README.md">STEINS;GATE RE:BOOT</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-smash-bros-ultimate.jpg" width="256" alt="Super Smash Bros. Ultimate"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006A800016E000/README.md">Super Smash Bros. Ultimate</a></b><br>offline</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/taiko-risshiden-v-dx.jpg" width="256" alt="Taiko Risshiden V DX"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100346017304000/README.md">Taiko Risshiden V DX</a></b><br>giapponese · giocabile tramite touch</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/unicorn-overlord.jpg" width="256" alt="Unicorn Overlord"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010069401ADB8000/README.md">Unicorn Overlord</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-smash-bros-ultimate.jpg" width="256" alt="Super Smash Bros. Ultimate"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006A800016E000/README.md">Super Smash Bros. Ultimate</a></b><br>offline</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/taiko-risshiden-v-dx.jpg" width="256" alt="Taiko Risshiden V DX"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100346017304000/README.md">Taiko Risshiden V DX</a></b><br>giapponese · giocabile tramite touch</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/unicorn-overlord.jpg" width="256" alt="Unicorn Overlord"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010069401ADB8000/README.md">Unicorn Overlord</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/yoshis-crafted-world.jpg" width="256" alt="Yoshi's Crafted World"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006000040C2000/README.md">Yoshi's Crafted World</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/nier-automata.png" width="256" alt="NieR:Automata The End of YoRHa Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010056B015FE8000/README.md">NieR:Automata The End of YoRHa Edition</a></b><br>60 fps con 1.0.3</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-echoes-of-wisdom.jpg" width="256" alt="The Legend of Zelda: Echoes of Wisdom"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008CF01BAAC000/README.md">The Legend of Zelda: Echoes of Wisdom</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/yoshis-crafted-world.jpg" width="256" alt="Yoshi's Crafted World"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006000040C2000/README.md">Yoshi's Crafted World</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/nier-automata.png" width="256" alt="NieR:Automata The End of YoRHa Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010056B015FE8000/README.md">NieR:Automata The End of YoRHa Edition</a></b><br>60 fps con 1.0.3</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-echoes-of-wisdom.jpg" width="256" alt="The Legend of Zelda: Echoes of Wisdom"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008CF01BAAC000/README.md">The Legend of Zelda: Echoes of Wisdom</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/donkey-kong-country-returns-hd.png" width="256" alt="Donkey Kong Country Returns HD"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01009D901BC56000/README.md">Donkey Kong Country Returns HD</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-rabbids-sparks-of-hope.jpg" width="256" alt="Mario + Rabbids Sparks of Hope"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100317013770000/README.md">Mario + Rabbids Sparks of Hope</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/xenoblade-chronicles-2.jpg" width="256" alt="Xenoblade Chronicles 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100E95004038000/README.md">Xenoblade Chronicles 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/donkey-kong-country-returns-hd.png" width="256" alt="Donkey Kong Country Returns HD"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01009D901BC56000/README.md">Donkey Kong Country Returns HD</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-rabbids-sparks-of-hope.jpg" width="256" alt="Mario + Rabbids Sparks of Hope"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100317013770000/README.md">Mario + Rabbids Sparks of Hope</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/xenoblade-chronicles-2.jpg" width="256" alt="Xenoblade Chronicles 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100E95004038000/README.md">Xenoblade Chronicles 2</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/xenoblade-chronicles-3.jpg" width="256" alt="Xenoblade Chronicles 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010074F013262000/README.md">Xenoblade Chronicles 3</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/final-fantasy-crystal-chronicles.jpg" width="256" alt="FINAL FANTASY CRYSTAL CHRONICLES Remastered Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100CE4010AAC000/README.md">FINAL FANTASY CRYSTAL CHRONICLES Remastered Edition</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/return-of-the-obra-dinn.png" width="256" alt="Return of the Obra Dinn"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010032E00E6E2000/README.md">Return of the Obra Dinn</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/xenoblade-chronicles-3.jpg" width="256" alt="Xenoblade Chronicles 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010074F013262000/README.md">Xenoblade Chronicles 3</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/final-fantasy-crystal-chronicles.jpg" width="256" alt="FINAL FANTASY CRYSTAL CHRONICLES Remastered Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100CE4010AAC000/README.md">FINAL FANTASY CRYSTAL CHRONICLES Remastered Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/return-of-the-obra-dinn.png" width="256" alt="Return of the Obra Dinn"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010032E00E6E2000/README.md">Return of the Obra Dinn</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/blasphemous-2.png" width="256" alt="Blasphemous 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010040801A4C8000/README.md">Blasphemous 2</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/silver-pines.jpg" width="256" alt="Silver Pines"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100D5B026844000/README.md">Silver Pines</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/blasphemous.jpg" width="256" alt="Blasphemous"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100698009C6E000/README.md">Blasphemous</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/blasphemous-2.png" width="256" alt="Blasphemous 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010040801A4C8000/README.md">Blasphemous 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/silver-pines.jpg" width="256" alt="Silver Pines"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100D5B026844000/README.md">Silver Pines</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/blasphemous.jpg" width="256" alt="Blasphemous"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100698009C6E000/README.md">Blasphemous</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/final-fantasy-x-x2-hd-remaster.jpg" width="256" alt="FINAL FANTASY X/X-2 HD Remaster"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100BC300CB48000/README.md">FINAL FANTASY X/X-2 HD Remaster</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-rabbids-kingdom-battle.jpg" width="256" alt="Mario + Rabbids Kingdom Battle"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010067300059A000/README.md">Mario + Rabbids Kingdom Battle</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/persona-4-golden.jpg" width="256" alt="Persona 4 Golden"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010062B01525C000/README.md">Persona 4 Golden</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/final-fantasy-x-x2-hd-remaster.jpg" width="256" alt="FINAL FANTASY X/X-2 HD Remaster"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100BC300CB48000/README.md">FINAL FANTASY X/X-2 HD Remaster</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-rabbids-kingdom-battle.jpg" width="256" alt="Mario + Rabbids Kingdom Battle"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010067300059A000/README.md">Mario + Rabbids Kingdom Battle</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/persona-4-golden.jpg" width="256" alt="Persona 4 Golden"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010062B01525C000/README.md">Persona 4 Golden</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/xenoblade-chronicles-definitive-edition.jpg" width="256" alt="Xenoblade Chronicles: Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100FF500E34A000/README.md">Xenoblade Chronicles: Definitive Edition</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-legends-arceus.jpg" width="256" alt="Leggende Pokémon: Arceus"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01001F5010DFA000/README.md">Pokémon Legends: Arceus</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-party-jamboree.jpg" width="256" alt="Super Mario Party Jamboree"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100965017338000/README.md">Super Mario Party Jamboree</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/xenoblade-chronicles-definitive-edition.jpg" width="256" alt="Xenoblade Chronicles: Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100FF500E34A000/README.md">Xenoblade Chronicles: Definitive Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-legends-arceus.jpg" width="256" alt="Leggende Pokémon: Arceus"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01001F5010DFA000/README.md">Pokémon Legends: Arceus</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-party-jamboree.jpg" width="256" alt="Super Mario Party Jamboree"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100965017338000/README.md">Super Mario Party Jamboree</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/cult-of-the-lamb.jpg" width="256" alt="Cult of the Lamb"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01002E7016C46000/README.md">Cult of the Lamb</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/paper-mario-the-origami-king.jpg" width="256" alt="Paper Mario: The Origami King"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A3900C3E2000/README.md">Paper Mario: The Origami King</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/batman-arkham-knight.jpg" width="256" alt="Batman: Arkham Knight"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100ACD0163D0000/README.md">Batman: Arkham Knight</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/cult-of-the-lamb.jpg" width="256" alt="Cult of the Lamb"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01002E7016C46000/README.md">Cult of the Lamb</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/paper-mario-the-origami-king.jpg" width="256" alt="Paper Mario: The Origami King"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A3900C3E2000/README.md">Paper Mario: The Origami King</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/batman-arkham-knight.jpg" width="256" alt="Batman: Arkham Knight"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100ACD0163D0000/README.md">Batman: Arkham Knight</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/bastion.jpg" width="256" alt="Bastion"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010038600B27E000/README.md">Bastion</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/baba-is-you.jpg" width="256" alt="Baba Is You"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01002CD00A51C000/README.md">Baba Is You</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steamworld-heist-ii.jpg" width="256" alt="SteamWorld Heist II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010089C01E9CA000/README.md">SteamWorld Heist II</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/bastion.jpg" width="256" alt="Bastion"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010038600B27E000/README.md">Bastion</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/baba-is-you.jpg" width="256" alt="Baba Is You"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01002CD00A51C000/README.md">Baba Is You</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steamworld-heist-ii.jpg" width="256" alt="SteamWorld Heist II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010089C01E9CA000/README.md">SteamWorld Heist II</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steamworld-heist.jpg" width="256" alt="SteamWorld Heist: Ultimate Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010016100A186000/README.md">SteamWorld Heist: Ultimate Edition</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/subnautica-below-zero.jpg" width="256" alt="Subnautica: Below Zero"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010014C011146000/README.md">Subnautica: Below Zero</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steamworld-dig-2.jpg" width="256" alt="SteamWorld Dig 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100CA9002322000/README.md">SteamWorld Dig 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steamworld-heist.jpg" width="256" alt="SteamWorld Heist: Ultimate Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010016100A186000/README.md">SteamWorld Heist: Ultimate Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/subnautica-below-zero.jpg" width="256" alt="Subnautica: Below Zero"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010014C011146000/README.md">Subnautica: Below Zero</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steamworld-dig-2.jpg" width="256" alt="SteamWorld Dig 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100CA9002322000/README.md">SteamWorld Dig 2</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/streets-of-rage-4.jpg" width="256" alt="Streets of Rage 4"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100EC9010258000/README.md">Streets of Rage 4</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-party-superstars.jpg" width="256" alt="Mario Party Superstars"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006FE013472000/README.md">Mario Party Superstars</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/subnautica.jpg" width="256" alt="Subnautica"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100429011144000/README.md">Subnautica</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/streets-of-rage-4.jpg" width="256" alt="Streets of Rage 4"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100EC9010258000/README.md">Streets of Rage 4</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-party-superstars.jpg" width="256" alt="Mario Party Superstars"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006FE013472000/README.md">Mario Party Superstars</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/subnautica.jpg" width="256" alt="Subnautica"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100429011144000/README.md">Subnautica</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steamworld-dig.jpg" width="256" alt="SteamWorld Dig"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01009320084A4000/README.md">SteamWorld Dig</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/team-sonic-racing.jpg" width="256" alt="Team Sonic Racing"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010092B0091D0000/README.md">Team Sonic Racing</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/well-dweller.jpg" width="256" alt="Well Dweller"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100217023F6C000/README.md">Well Dweller</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steamworld-dig.jpg" width="256" alt="SteamWorld Dig"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01009320084A4000/README.md">SteamWorld Dig</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/team-sonic-racing.jpg" width="256" alt="Team Sonic Racing"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010092B0091D0000/README.md">Team Sonic Racing</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/well-dweller.jpg" width="256" alt="Well Dweller"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100217023F6C000/README.md">Well Dweller</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/need-for-speed-hot-pursuit-remastered.jpg" width="256" alt="Need for Speed: Hot Pursuit Remastered"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010029B0118E8000/README.md">Need for Speed: Hot Pursuit Remastered</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ea-sports-fc-27.jpg" width="256" alt="EA SPORTS FC 27"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100C49025D3E000/README.md">EA SPORTS FC 27</a></b><br>60 fps con 1.8d.310c</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/portal-2.jpg" width="256" alt="Portal 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100ABD01785C000/README.md">Portal 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/need-for-speed-hot-pursuit-remastered.jpg" width="256" alt="Need for Speed: Hot Pursuit Remastered"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010029B0118E8000/README.md">Need for Speed: Hot Pursuit Remastered</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ea-sports-fc-27.jpg" width="256" alt="EA SPORTS FC 27"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100C49025D3E000/README.md">EA SPORTS FC 27</a></b><br>60 fps con 1.8d.310c</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/portal-2.jpg" width="256" alt="Portal 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100ABD01785C000/README.md">Portal 2</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-monkey-ball-banana-rumble.jpg" width="256" alt="Super Monkey Ball Banana Rumble"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010031F019294000/README.md">Super Monkey Ball Banana Rumble</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/atelier-ryza-dx.jpg" width="256" alt="Atelier Ryza: Ever Darkness &amp; the Secret Hideout DX"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100199023B2E000/README.md">Atelier Ryza: Ever Darkness &amp; the Secret Hideout DX</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dragon-quest-iii-hd-2d-remake.jpg" width="256" alt="DRAGON QUEST III HD-2D Remake"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01003E601E324000/README.md">DRAGON QUEST III HD-2D Remake</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-monkey-ball-banana-rumble.jpg" width="256" alt="Super Monkey Ball Banana Rumble"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010031F019294000/README.md">Super Monkey Ball Banana Rumble</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/atelier-ryza-dx.jpg" width="256" alt="Atelier Ryza: Ever Darkness &amp; the Secret Hideout DX"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100199023B2E000/README.md">Atelier Ryza: Ever Darkness &amp; the Secret Hideout DX</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dragon-quest-iii-hd-2d-remake.jpg" width="256" alt="DRAGON QUEST III HD-2D Remake"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01003E601E324000/README.md">DRAGON QUEST III HD-2D Remake</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hyrule-warriors-definitive-edition.jpg" width="256" alt="Hyrule Warriors: Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100AE00096EA000/README.md">Hyrule Warriors: Definitive Edition</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/metroid-prime-remastered.jpg" width="256" alt="Metroid Prime Remastered"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010012101468C000/README.md">Metroid Prime Remastered</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dragon-quest-i-ii-hd-2d-remake.jpg" width="256" alt="DRAGON QUEST I &amp; II HD-2D Remake"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100D7C01F254000/README.md">DRAGON QUEST I &amp; II HD-2D Remake</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hyrule-warriors-definitive-edition.jpg" width="256" alt="Hyrule Warriors: Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100AE00096EA000/README.md">Hyrule Warriors: Definitive Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/metroid-prime-remastered.jpg" width="256" alt="Metroid Prime Remastered"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010012101468C000/README.md">Metroid Prime Remastered</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dragon-quest-i-ii-hd-2d-remake.jpg" width="256" alt="DRAGON QUEST I &amp; II HD-2D Remake"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100D7C01F254000/README.md">DRAGON QUEST I &amp; II HD-2D Remake</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dead-cells.jpg" width="256" alt="Dead Cells"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100646009FBE000/README.md">Dead Cells</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hollow-knight.jpg" width="256" alt="Hollow Knight"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100633007D48000/README.md">Hollow Knight</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/triangle-strategy.jpg" width="256" alt="TRIANGLE STRATEGY"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100CC80140F8000/README.md">TRIANGLE STRATEGY</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dead-cells.jpg" width="256" alt="Dead Cells"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100646009FBE000/README.md">Dead Cells</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hollow-knight.jpg" width="256" alt="Hollow Knight"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100633007D48000/README.md">Hollow Knight</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/triangle-strategy.jpg" width="256" alt="TRIANGLE STRATEGY"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100CC80140F8000/README.md">TRIANGLE STRATEGY</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/castlevania-belmonts-curse.jpg" width="256" alt="Castlevania: Belmont's Curse"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100BA4026E94000/README.md">Castlevania: Belmont's Curse</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-robot-wars-y.jpg" width="256" alt="SUPER ROBOT WARS Y"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010063301BD50000/README.md">SUPER ROBOT WARS Y</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-rpg.jpg" width="256" alt="Super Mario RPG"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100BC0018138000/README.md">Super Mario RPG</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/castlevania-belmonts-curse.jpg" width="256" alt="Castlevania: Belmont's Curse"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100BA4026E94000/README.md">Castlevania: Belmont's Curse</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-robot-wars-y.jpg" width="256" alt="SUPER ROBOT WARS Y"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010063301BD50000/README.md">SUPER ROBOT WARS Y</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-rpg.jpg" width="256" alt="Super Mario RPG"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100BC0018138000/README.md">Super Mario RPG</a></b></small></td>
</tr>
</table>
diff --git a/GAMES.md b/GAMES.md
index 7180e9f7..73ec7ab7 100644
--- a/GAMES.md
+++ b/GAMES.md
@@ -1,6 +1,6 @@
# Games
-Every game this fork has a profile for, with the update NSP each one needs. The player's page is [README.md](README.md), and [dm/games/README.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/README.md) lists the same games with the engine's own notes on each. This page is the full list, so the README stays short. 中文:[GAMES.zh-CN.md](GAMES.zh-CN.md).
+Every game this fork has a profile for, with the update NSP each one needs. The player's page is [README.md](README.md), and [dm/games/README.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/README.md) lists the same games with the engine's own notes on each. This page is the full list, so the README stays short. 中文:[GAMES.zh-CN.md](GAMES.zh-CN.md).
## Gallery
@@ -9,213 +9,213 @@ Screenshots, with a note where a game has one (a frame rate, a limit). The block
<!-- gallery: written by dm/tools/docs_gallery.py from docs/images/gallery.tsv; change the table, then run it -->
<table>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/donkey-kong-bananza.jpg" width="256" alt="Donkey Kong Bananza"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/040074A01BF12000/README.md">Donkey Kong Bananza</a></b><br>Switch 2, Mac only, from a dump</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/splatoon-raiders.jpg" width="256" alt="Splatoon Raiders"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0400380020056000/README.md">Splatoon Raiders</a></b><br>Switch 2, Mac only, from a dump</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/fire-emblem-fortunes-weave.jpg" width="256" alt="Fire Emblem Fortune's Weave"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/04007EF01F8AE000/README.md">Fire Emblem Fortune's Weave</a></b><br>Switch 2, Mac only, from a dump</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/donkey-kong-bananza.jpg" width="256" alt="Donkey Kong Bananza"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/040074A01BF12000/README.md">Donkey Kong Bananza</a></b><br>Switch 2, Mac only, from a dump</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/splatoon-raiders.jpg" width="256" alt="Splatoon Raiders"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0400380020056000/README.md">Splatoon Raiders</a></b><br>Switch 2, Mac only, from a dump</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/fire-emblem-fortunes-weave.jpg" width="256" alt="Fire Emblem Fortune's Weave"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/04007EF01F8AE000/README.md">Fire Emblem Fortune's Weave</a></b><br>Switch 2, Mac only, from a dump</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-kart-8-deluxe.jpg" width="256" alt="Mario Kart 8 Deluxe"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100152000022000/README.md">Mario Kart 8 Deluxe</a></b><br>no Mii heads</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-vs-donkey-kong.jpg" width="256" alt="Mario vs. Donkey Kong"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100B99019412000/README.md">Mario vs. Donkey Kong</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/paper-mario-the-thousand-year-door.jpg" width="256" alt="Paper Mario: The Thousand-Year Door"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100ECD018EBE000/README.md">Paper Mario: The Thousand-Year Door</a></b><br>60 fps with 1.0.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-kart-8-deluxe.jpg" width="256" alt="Mario Kart 8 Deluxe"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100152000022000/README.md">Mario Kart 8 Deluxe</a></b><br>no Mii heads</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-vs-donkey-kong.jpg" width="256" alt="Mario vs. Donkey Kong"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100B99019412000/README.md">Mario vs. Donkey Kong</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/paper-mario-the-thousand-year-door.jpg" width="256" alt="Paper Mario: The Thousand-Year Door"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100ECD018EBE000/README.md">Paper Mario: The Thousand-Year Door</a></b><br>60 fps with 1.0.1</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-3d-world.jpg" width="256" alt="Super Mario 3D World + Bowser's Fury"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010028600EBDA000/README.md">Super Mario 3D World + Bowser's Fury</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-bros-wonder.jpg" width="256" alt="Super Mario Bros. Wonder"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010015100B514000/README.md">Super Mario Bros. Wonder</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-galaxy.jpg" width="256" alt="Super Mario Galaxy"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010099C022B96000/README.md">Super Mario Galaxy</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-3d-world.jpg" width="256" alt="Super Mario 3D World + Bowser's Fury"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010028600EBDA000/README.md">Super Mario 3D World + Bowser's Fury</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-bros-wonder.jpg" width="256" alt="Super Mario Bros. Wonder"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010015100B514000/README.md">Super Mario Bros. Wonder</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-galaxy.jpg" width="256" alt="Super Mario Galaxy"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010099C022B96000/README.md">Super Mario Galaxy</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-galaxy-2.jpg" width="256" alt="Super Mario Galaxy 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100FD8022DAA000/README.md">Super Mario Galaxy 2</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-odyssey.jpg" width="256" alt="Super Mario Odyssey"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100000000010000/README.md">Super Mario Odyssey</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-breath-of-the-wild.jpg" width="256" alt="The Legend of Zelda: Breath of the Wild"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01007EF00011E000/README.md">The Legend of Zelda: Breath of the Wild</a></b><br>60 fps with 1.9.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-galaxy-2.jpg" width="256" alt="Super Mario Galaxy 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100FD8022DAA000/README.md">Super Mario Galaxy 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-odyssey.jpg" width="256" alt="Super Mario Odyssey"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100000000010000/README.md">Super Mario Odyssey</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-breath-of-the-wild.jpg" width="256" alt="The Legend of Zelda: Breath of the Wild"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01007EF00011E000/README.md">The Legend of Zelda: Breath of the Wild</a></b><br>60 fps with 1.9.0</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-links-awakening.jpg" width="256" alt="The Legend of Zelda: Link's Awakening"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006BB00C6F0000/README.md">The Legend of Zelda: Link's Awakening</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-tears-of-the-kingdom.jpg" width="256" alt="The Legend of Zelda: Tears of the Kingdom"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100F2C0115B6000/README.md">The Legend of Zelda: Tears of the Kingdom</a></b><br>60 fps with 1.4.3</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/13-sentinels.jpg" width="256" alt="13 Sentinels: Aegis Rim"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01003FC01670C000/README.md">13 Sentinels: Aegis Rim</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-links-awakening.jpg" width="256" alt="The Legend of Zelda: Link's Awakening"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006BB00C6F0000/README.md">The Legend of Zelda: Link's Awakening</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-tears-of-the-kingdom.jpg" width="256" alt="The Legend of Zelda: Tears of the Kingdom"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100F2C0115B6000/README.md">The Legend of Zelda: Tears of the Kingdom</a></b><br>60 fps with 1.4.3</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/13-sentinels.jpg" width="256" alt="13 Sentinels: Aegis Rim"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01003FC01670C000/README.md">13 Sentinels: Aegis Rim</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/absolum.jpg" width="256" alt="Absolum"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A83022A22000/README.md">Absolum</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ace-attorney-investigations.jpg" width="256" alt="Ace Attorney Investigations Collection"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010005501E68C000/README.md">Ace Attorney Investigations Collection</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/advance-wars-1-2-re-boot-camp.jpg" width="256" alt="Advance Wars 1+2: Re-Boot Camp"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100300012F2A000/README.md">Advance Wars 1+2: Re-Boot Camp</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/absolum.jpg" width="256" alt="Absolum"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A83022A22000/README.md">Absolum</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ace-attorney-investigations.jpg" width="256" alt="Ace Attorney Investigations Collection"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010005501E68C000/README.md">Ace Attorney Investigations Collection</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/advance-wars-1-2-re-boot-camp.jpg" width="256" alt="Advance Wars 1+2: Re-Boot Camp"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100300012F2A000/README.md">Advance Wars 1+2: Re-Boot Camp</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ai-the-somnium-files.jpg" width="256" alt="AI: THE SOMNIUM FILES"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010089B00D09C000/README.md">AI: THE SOMNIUM FILES</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ai-the-somnium-files-nirvana-initiative.jpg" width="256" alt="AI: THE SOMNIUM FILES - nirvanA Initiative"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100713016CCC000/README.md">AI: THE SOMNIUM FILES - nirvanA Initiative</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-crossing-new-horizons.jpg" width="256" alt="Animal Crossing: New Horizons"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006F8002326000/README.md">Animal Crossing: New Horizons</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ai-the-somnium-files.jpg" width="256" alt="AI: THE SOMNIUM FILES"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010089B00D09C000/README.md">AI: THE SOMNIUM FILES</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ai-the-somnium-files-nirvana-initiative.jpg" width="256" alt="AI: THE SOMNIUM FILES - nirvanA Initiative"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100713016CCC000/README.md">AI: THE SOMNIUM FILES - nirvanA Initiative</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-crossing-new-horizons.jpg" width="256" alt="Animal Crossing: New Horizons"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006F8002326000/README.md">Animal Crossing: New Horizons</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-well.png" width="256" alt="ANIMAL WELL"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010020D01AD24000/README.md">ANIMAL WELL</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/astral-chain.png" width="256" alt="ASTRAL CHAIN"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01007300020FA000/README.md">ASTRAL CHAIN</a></b><br>60 fps target with 1.0.1</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/balatro.jpg" width="256" alt="Balatro"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100CD801CE5E000/README.md">Balatro</a></b><br>played by touch</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-well.png" width="256" alt="ANIMAL WELL"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010020D01AD24000/README.md">ANIMAL WELL</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/astral-chain.png" width="256" alt="ASTRAL CHAIN"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01007300020FA000/README.md">ASTRAL CHAIN</a></b><br>60 fps target with 1.0.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/balatro.jpg" width="256" alt="Balatro"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100CD801CE5E000/README.md">Balatro</a></b><br>played by touch</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ball-x-pit.jpg" width="256" alt="BALL x PIT"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010086A022444000/README.md">BALL x PIT</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/bayonetta.jpg" width="256" alt="Bayonetta"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010076F0049A2000/README.md">Bayonetta</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/bayonetta-2.jpg" width="256" alt="Bayonetta 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01007960049A0000/README.md">Bayonetta 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ball-x-pit.jpg" width="256" alt="BALL x PIT"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010086A022444000/README.md">BALL x PIT</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/bayonetta.jpg" width="256" alt="Bayonetta"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010076F0049A2000/README.md">Bayonetta</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/bayonetta-2.jpg" width="256" alt="Bayonetta 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01007960049A0000/README.md">Bayonetta 2</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/bayonetta-3.jpg" width="256" alt="Bayonetta 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01004A4010FEA000/README.md">Bayonetta 3</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/big-brain-academy-brain-vs-brain.jpg" width="256" alt="Big Brain Academy: Brain vs. Brain"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100620012D6E000/README.md">Big Brain Academy: Brain vs. Brain</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/brain-memory-training-academy.jpg" width="256" alt="Brain Memory Training Academy"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100F5D01DA3A000/README.md">Brain Memory Training Academy</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/bayonetta-3.jpg" width="256" alt="Bayonetta 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01004A4010FEA000/README.md">Bayonetta 3</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/big-brain-academy-brain-vs-brain.jpg" width="256" alt="Big Brain Academy: Brain vs. Brain"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100620012D6E000/README.md">Big Brain Academy: Brain vs. Brain</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/brain-memory-training-academy.jpg" width="256" alt="Brain Memory Training Academy"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100F5D01DA3A000/README.md">Brain Memory Training Academy</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/captain-toad-treasure-tracker.jpg" width="256" alt="Captain Toad: Treasure Tracker"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01009BF0072D4000/README.md">Captain Toad: Treasure Tracker</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/catherine-full-body.jpg" width="256" alt="Catherine: Full Body"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100BF00112C0000/README.md">Catherine: Full Body</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/celeste.jpg" width="256" alt="Celeste"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01002B30028F6000/README.md">Celeste</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/captain-toad-treasure-tracker.jpg" width="256" alt="Captain Toad: Treasure Tracker"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01009BF0072D4000/README.md">Captain Toad: Treasure Tracker</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/catherine-full-body.jpg" width="256" alt="Catherine: Full Body"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100BF00112C0000/README.md">Catherine: Full Body</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/celeste.jpg" width="256" alt="Celeste"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01002B30028F6000/README.md">Celeste</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/cuphead.jpg" width="256" alt="Cuphead"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A5C00D162000/README.md">Cuphead</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dark-souls-remastered-creation.jpg" width="256" alt="DARK SOULS: REMASTERED"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01004AB00A260000/README.md">DARK SOULS: REMASTERED</a></b><br>60 fps with 1.0.3</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/digimon-story-cyber-sleuth.jpg" width="256" alt="Digimon Story Cyber Sleuth: Complete Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010014E00DB56000/README.md">Digimon Story Cyber Sleuth: Complete Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/cuphead.jpg" width="256" alt="Cuphead"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A5C00D162000/README.md">Cuphead</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dark-souls-remastered-creation.jpg" width="256" alt="DARK SOULS: REMASTERED"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01004AB00A260000/README.md">DARK SOULS: REMASTERED</a></b><br>60 fps with 1.0.3</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/digimon-story-cyber-sleuth.jpg" width="256" alt="Digimon Story Cyber Sleuth: Complete Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010014E00DB56000/README.md">Digimon Story Cyber Sleuth: Complete Edition</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/donkey-kong-country-tropical-freeze.jpg" width="256" alt="Donkey Kong Country: Tropical Freeze"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100C1F0051B6000/README.md">Donkey Kong Country: Tropical Freeze</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dragon-quest-vii-reimagined.jpg" width="256" alt="DRAGON QUEST VII Reimagined"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A9D01C446000/README.md">DRAGON QUEST VII Reimagined</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dragon-quest-xi-s.jpg" width="256" alt="DRAGON QUEST XI S: Echoes of an Elusive Age – Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006C300E9F0000/README.md">DRAGON QUEST XI S: Echoes of an Elusive Age – Definitive Edition</a></b><br>60 fps with 1.0.4</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/donkey-kong-country-tropical-freeze.jpg" width="256" alt="Donkey Kong Country: Tropical Freeze"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100C1F0051B6000/README.md">Donkey Kong Country: Tropical Freeze</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dragon-quest-vii-reimagined.jpg" width="256" alt="DRAGON QUEST VII Reimagined"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A9D01C446000/README.md">DRAGON QUEST VII Reimagined</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dragon-quest-xi-s.jpg" width="256" alt="DRAGON QUEST XI S: Echoes of an Elusive Age – Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006C300E9F0000/README.md">DRAGON QUEST XI S: Echoes of an Elusive Age – Definitive Edition</a></b><br>60 fps with 1.0.4</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/final-fantasy-resonance.jpg" width="256" alt="FINAL FANTASY RESONANCE"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100606026F12000/README.md">FINAL FANTASY RESONANCE</a></b><br>60 fps with 1.0.1</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/final-fantasy-tactics.jpg" width="256" alt="FINAL FANTASY TACTICS - The Ivalice Chronicles"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010038B015560000/README.md">FINAL FANTASY TACTICS - The Ivalice Chronicles</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/fire-emblem-engage.jpg" width="256" alt="Fire Emblem Engage"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A6301214E000/README.md">Fire Emblem Engage</a></b><br>60 fps with 2.0.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/final-fantasy-resonance.jpg" width="256" alt="FINAL FANTASY RESONANCE"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100606026F12000/README.md">FINAL FANTASY RESONANCE</a></b><br>60 fps with 1.0.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/final-fantasy-tactics.jpg" width="256" alt="FINAL FANTASY TACTICS - The Ivalice Chronicles"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010038B015560000/README.md">FINAL FANTASY TACTICS - The Ivalice Chronicles</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/fire-emblem-engage.jpg" width="256" alt="Fire Emblem Engage"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A6301214E000/README.md">Fire Emblem Engage</a></b><br>60 fps with 2.0.0</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/fire-emblem-three-houses.jpg" width="256" alt="Fire Emblem: Three Houses"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010055D009F78000/README.md">Fire Emblem: Three Houses</a></b><br>60 fps with 1.2.0</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ghost-trick-phantom-detective.jpg" width="256" alt="Ghost Trick: Phantom Detective"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010029B018432000/README.md">Ghost Trick: Phantom Detective</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/the-great-ace-attorney-chronicles.jpg" width="256" alt="The Great Ace Attorney Chronicles"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010036E00FB20000/README.md">The Great Ace Attorney Chronicles</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/fire-emblem-three-houses.jpg" width="256" alt="Fire Emblem: Three Houses"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010055D009F78000/README.md">Fire Emblem: Three Houses</a></b><br>60 fps with 1.2.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ghost-trick-phantom-detective.jpg" width="256" alt="Ghost Trick: Phantom Detective"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010029B018432000/README.md">Ghost Trick: Phantom Detective</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/the-great-ace-attorney-chronicles.jpg" width="256" alt="The Great Ace Attorney Chronicles"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010036E00FB20000/README.md">The Great Ace Attorney Chronicles</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades.jpg" width="256" alt="Hades"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100535012974000/README.md">Hades</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades-ii.jpg" width="256" alt="Hades II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A00019DE0000/README.md">Hades II</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hollow-knight-silksong.jpg" width="256" alt="Hollow Knight: Silksong"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010013C00E930000/README.md">Hollow Knight: Silksong</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades.jpg" width="256" alt="Hades"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100535012974000/README.md">Hades</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades-ii.jpg" width="256" alt="Hades II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A00019DE0000/README.md">Hades II</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hollow-knight-silksong.jpg" width="256" alt="Hollow Knight: Silksong"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010013C00E930000/README.md">Hollow Knight: Silksong</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hyrule-warriors-age-of-calamity.jpg" width="256" alt="Hyrule Warriors: Age of Calamity"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01002B00111A2000/README.md">Hyrule Warriors: Age of Calamity</a></b><br>60 fps with 1.3.0</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/kirby-and-the-forgotten-land.jpg" width="256" alt="Kirby and the Forgotten Land"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01004D300C5AE000/README.md">Kirby and the Forgotten Land</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/luigis-mansion-3.jpg" width="256" alt="Luigi's Mansion 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100DCA0064A6000/README.md">Luigi's Mansion 3</a></b><br>60 fps with 1.4.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hyrule-warriors-age-of-calamity.jpg" width="256" alt="Hyrule Warriors: Age of Calamity"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01002B00111A2000/README.md">Hyrule Warriors: Age of Calamity</a></b><br>60 fps with 1.3.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/kirby-and-the-forgotten-land.jpg" width="256" alt="Kirby and the Forgotten Land"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01004D300C5AE000/README.md">Kirby and the Forgotten Land</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/luigis-mansion-3.jpg" width="256" alt="Luigi's Mansion 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100DCA0064A6000/README.md">Luigi's Mansion 3</a></b><br>60 fps with 1.4.0</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/metroid-dread.jpg" width="256" alt="Metroid Dread"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010093801237C000/README.md">Metroid Dread</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/monster-hunter-rise.jpg" width="256" alt="Monster Hunter Rise"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100B04011742000/README.md">Monster Hunter Rise</a></b><br>60 fps with 16.0.2</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/monster-train-2.jpg" width="256" alt="Monster Train 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010051701FB46000/README.md">Monster Train 2</a></b><br>60 fps with 1.1.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/metroid-dread.jpg" width="256" alt="Metroid Dread"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010093801237C000/README.md">Metroid Dread</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/monster-hunter-rise.jpg" width="256" alt="Monster Hunter Rise"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100B04011742000/README.md">Monster Hunter Rise</a></b><br>60 fps with 16.0.2</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/monster-train-2.jpg" width="256" alt="Monster Train 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010051701FB46000/README.md">Monster Train 2</a></b><br>60 fps with 1.1.1</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/octopath-traveler.jpg" width="256" alt="OCTOPATH TRAVELER"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010057D006492000/README.md">OCTOPATH TRAVELER</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/octopath-traveler-0.jpg" width="256" alt="Octopath Traveler 0"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01005270232F2000/README.md">Octopath Traveler 0</a></b><br>60 fps with 1.0.5</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/octopath-traveler-ii.jpg" width="256" alt="Octopath Traveler II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A3501946E000/README.md">Octopath Traveler II</a></b><br>60 fps with 1.1.1</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/octopath-traveler.jpg" width="256" alt="OCTOPATH TRAVELER"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010057D006492000/README.md">OCTOPATH TRAVELER</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/octopath-traveler-0.jpg" width="256" alt="Octopath Traveler 0"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01005270232F2000/README.md">Octopath Traveler 0</a></b><br>60 fps with 1.0.5</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/octopath-traveler-ii.jpg" width="256" alt="Octopath Traveler II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A3501946E000/README.md">Octopath Traveler II</a></b><br>60 fps with 1.1.1</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/patricks-parabox.jpg" width="256" alt="Patrick's Parabox"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100E44016C22000/README.md">Patrick's Parabox</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/persona-5-royal.jpg" width="256" alt="Persona 5 Royal"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01005CA01580E000/README.md">Persona 5 Royal</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pikmin-4.jpg" width="256" alt="Pikmin 4"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100B7C00933A000/README.md">Pikmin 4</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/patricks-parabox.jpg" width="256" alt="Patrick's Parabox"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100E44016C22000/README.md">Patrick's Parabox</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/persona-5-royal.jpg" width="256" alt="Persona 5 Royal"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01005CA01580E000/README.md">Persona 5 Royal</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pikmin-4.jpg" width="256" alt="Pikmin 4"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100B7C00933A000/README.md">Pikmin 4</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-brilliant-diamond.jpg" width="256" alt="Pokémon Brilliant Diamond"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100000011D90000/README.md">Pokémon Brilliant Diamond</a></b><br>60 fps with 1.3.0</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-legends-z-a.jpg" width="256" alt="Pokémon Legends: Z-A"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100F43008C44000/README.md">Pokémon Legends: Z-A</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-scarlet.png" width="256" alt="Pokémon Scarlet"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A3D008C5C000/README.md">Pokémon Scarlet</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-brilliant-diamond.jpg" width="256" alt="Pokémon Brilliant Diamond"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100000011D90000/README.md">Pokémon Brilliant Diamond</a></b><br>60 fps with 1.3.0</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-legends-z-a.jpg" width="256" alt="Pokémon Legends: Z-A"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100F43008C44000/README.md">Pokémon Legends: Z-A</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-scarlet.png" width="256" alt="Pokémon Scarlet"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A3D008C5C000/README.md">Pokémon Scarlet</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-violet.jpg" width="256" alt="Pokémon Violet"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008F6008C5E000/README.md">Pokémon Violet</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-sword.jpg" width="256" alt="Pokémon Sword"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100ABF008968000/README.md">Pokémon Sword</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-shield.jpg" width="256" alt="Pokémon Shield"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008DB008C2C000/README.md">Pokémon Shield</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-violet.jpg" width="256" alt="Pokémon Violet"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008F6008C5E000/README.md">Pokémon Violet</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-sword.jpg" width="256" alt="Pokémon Sword"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100ABF008968000/README.md">Pokémon Sword</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-shield.jpg" width="256" alt="Pokémon Shield"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008DB008C2C000/README.md">Pokémon Shield</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/portal.jpg" width="256" alt="Portal"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01007BB017812000/README.md">Portal</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/raging-loop.jpg" width="256" alt="Raging Loop"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010020400E1C2000/README.md">Raging Loop</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/rhythm-heaven-groove.jpg" width="256" alt="Rhythm Heaven Groove"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100D9F01D474000/README.md">Rhythm Heaven Groove</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/portal.jpg" width="256" alt="Portal"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01007BB017812000/README.md">Portal</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/raging-loop.jpg" width="256" alt="Raging Loop"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010020400E1C2000/README.md">Raging Loop</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/rhythm-heaven-groove.jpg" width="256" alt="Rhythm Heaven Groove"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100D9F01D474000/README.md">Rhythm Heaven Groove</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/romance-of-the-three-kingdoms-8-remake.jpg" width="256" alt="ROMANCE OF THE THREE KINGDOMS 8 REMAKE"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100C2A01A730000/README.md">ROMANCE OF THE THREE KINGDOMS 8 REMAKE</a></b><br>controller only</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/sea-of-stars.jpg" width="256" alt="Sea of Stars"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008C0016544000/README.md">Sea of Stars</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/shin-megami-tensei-v-vengeance.jpg" width="256" alt="SHIN MEGAMI TENSEI V: Vengeance"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010069C01AB82000/README.md">SHIN MEGAMI TENSEI V: Vengeance</a></b><br>60 fps with 1.0.3</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/romance-of-the-three-kingdoms-8-remake.jpg" width="256" alt="ROMANCE OF THE THREE KINGDOMS 8 REMAKE"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100C2A01A730000/README.md">ROMANCE OF THE THREE KINGDOMS 8 REMAKE</a></b><br>controller only</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/sea-of-stars.jpg" width="256" alt="Sea of Stars"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008C0016544000/README.md">Sea of Stars</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/shin-megami-tensei-v-vengeance.jpg" width="256" alt="SHIN MEGAMI TENSEI V: Vengeance"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010069C01AB82000/README.md">SHIN MEGAMI TENSEI V: Vengeance</a></b><br>60 fps with 1.0.3</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/stardew-valley.jpg" width="256" alt="Stardew Valley"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100E65002BB8000/README.md">Stardew Valley</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steins-gate-reboot.jpg" width="256" alt="STEINS;GATE RE:BOOT"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008BC024FDE000/README.md">STEINS;GATE RE:BOOT</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-smash-bros-ultimate.jpg" width="256" alt="Super Smash Bros. Ultimate"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006A800016E000/README.md">Super Smash Bros. Ultimate</a></b><br>offline</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/stardew-valley.jpg" width="256" alt="Stardew Valley"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100E65002BB8000/README.md">Stardew Valley</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steins-gate-reboot.jpg" width="256" alt="STEINS;GATE RE:BOOT"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008BC024FDE000/README.md">STEINS;GATE RE:BOOT</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-smash-bros-ultimate.jpg" width="256" alt="Super Smash Bros. Ultimate"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006A800016E000/README.md">Super Smash Bros. Ultimate</a></b><br>offline</small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/taiko-risshiden-v-dx.jpg" width="256" alt="Taiko Risshiden V DX"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100346017304000/README.md">Taiko Risshiden V DX</a></b><br>Japanese · played by touch</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/unicorn-overlord.jpg" width="256" alt="Unicorn Overlord"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010069401ADB8000/README.md">Unicorn Overlord</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/yoshis-crafted-world.jpg" width="256" alt="Yoshi's Crafted World"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006000040C2000/README.md">Yoshi's Crafted World</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/taiko-risshiden-v-dx.jpg" width="256" alt="Taiko Risshiden V DX"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100346017304000/README.md">Taiko Risshiden V DX</a></b><br>Japanese · played by touch</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/unicorn-overlord.jpg" width="256" alt="Unicorn Overlord"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010069401ADB8000/README.md">Unicorn Overlord</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/yoshis-crafted-world.jpg" width="256" alt="Yoshi's Crafted World"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006000040C2000/README.md">Yoshi's Crafted World</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/nier-automata.png" width="256" alt="NieR:Automata The End of YoRHa Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010056B015FE8000/README.md">NieR:Automata The End of YoRHa Edition</a></b><br>60 fps with 1.0.3</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-echoes-of-wisdom.jpg" width="256" alt="The Legend of Zelda: Echoes of Wisdom"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01008CF01BAAC000/README.md">The Legend of Zelda: Echoes of Wisdom</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/donkey-kong-country-returns-hd.png" width="256" alt="Donkey Kong Country Returns HD"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01009D901BC56000/README.md">Donkey Kong Country Returns HD</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/nier-automata.png" width="256" alt="NieR:Automata The End of YoRHa Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010056B015FE8000/README.md">NieR:Automata The End of YoRHa Edition</a></b><br>60 fps with 1.0.3</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-echoes-of-wisdom.jpg" width="256" alt="The Legend of Zelda: Echoes of Wisdom"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01008CF01BAAC000/README.md">The Legend of Zelda: Echoes of Wisdom</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/donkey-kong-country-returns-hd.png" width="256" alt="Donkey Kong Country Returns HD"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01009D901BC56000/README.md">Donkey Kong Country Returns HD</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-rabbids-sparks-of-hope.jpg" width="256" alt="Mario + Rabbids Sparks of Hope"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100317013770000/README.md">Mario + Rabbids Sparks of Hope</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/xenoblade-chronicles-2.jpg" width="256" alt="Xenoblade Chronicles 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100E95004038000/README.md">Xenoblade Chronicles 2</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/xenoblade-chronicles-3.jpg" width="256" alt="Xenoblade Chronicles 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010074F013262000/README.md">Xenoblade Chronicles 3</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-rabbids-sparks-of-hope.jpg" width="256" alt="Mario + Rabbids Sparks of Hope"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100317013770000/README.md">Mario + Rabbids Sparks of Hope</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/xenoblade-chronicles-2.jpg" width="256" alt="Xenoblade Chronicles 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100E95004038000/README.md">Xenoblade Chronicles 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/xenoblade-chronicles-3.jpg" width="256" alt="Xenoblade Chronicles 3"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010074F013262000/README.md">Xenoblade Chronicles 3</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/final-fantasy-crystal-chronicles.jpg" width="256" alt="FINAL FANTASY CRYSTAL CHRONICLES Remastered Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100CE4010AAC000/README.md">FINAL FANTASY CRYSTAL CHRONICLES Remastered Edition</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/return-of-the-obra-dinn.png" width="256" alt="Return of the Obra Dinn"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010032E00E6E2000/README.md">Return of the Obra Dinn</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/blasphemous-2.png" width="256" alt="Blasphemous 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010040801A4C8000/README.md">Blasphemous 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/final-fantasy-crystal-chronicles.jpg" width="256" alt="FINAL FANTASY CRYSTAL CHRONICLES Remastered Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100CE4010AAC000/README.md">FINAL FANTASY CRYSTAL CHRONICLES Remastered Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/return-of-the-obra-dinn.png" width="256" alt="Return of the Obra Dinn"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010032E00E6E2000/README.md">Return of the Obra Dinn</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/blasphemous-2.png" width="256" alt="Blasphemous 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010040801A4C8000/README.md">Blasphemous 2</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/silver-pines.jpg" width="256" alt="Silver Pines"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100D5B026844000/README.md">Silver Pines</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/blasphemous.jpg" width="256" alt="Blasphemous"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100698009C6E000/README.md">Blasphemous</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/final-fantasy-x-x2-hd-remaster.jpg" width="256" alt="FINAL FANTASY X/X-2 HD Remaster"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100BC300CB48000/README.md">FINAL FANTASY X/X-2 HD Remaster</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/silver-pines.jpg" width="256" alt="Silver Pines"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100D5B026844000/README.md">Silver Pines</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/blasphemous.jpg" width="256" alt="Blasphemous"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100698009C6E000/README.md">Blasphemous</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/final-fantasy-x-x2-hd-remaster.jpg" width="256" alt="FINAL FANTASY X/X-2 HD Remaster"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100BC300CB48000/README.md">FINAL FANTASY X/X-2 HD Remaster</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-rabbids-kingdom-battle.jpg" width="256" alt="Mario + Rabbids Kingdom Battle"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010067300059A000/README.md">Mario + Rabbids Kingdom Battle</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/persona-4-golden.jpg" width="256" alt="Persona 4 Golden"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010062B01525C000/README.md">Persona 4 Golden</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/xenoblade-chronicles-definitive-edition.jpg" width="256" alt="Xenoblade Chronicles: Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100FF500E34A000/README.md">Xenoblade Chronicles: Definitive Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-rabbids-kingdom-battle.jpg" width="256" alt="Mario + Rabbids Kingdom Battle"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010067300059A000/README.md">Mario + Rabbids Kingdom Battle</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/persona-4-golden.jpg" width="256" alt="Persona 4 Golden"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010062B01525C000/README.md">Persona 4 Golden</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/xenoblade-chronicles-definitive-edition.jpg" width="256" alt="Xenoblade Chronicles: Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100FF500E34A000/README.md">Xenoblade Chronicles: Definitive Edition</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/pokemon-legends-arceus.jpg" width="256" alt="Pokémon Legends: Arceus"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01001F5010DFA000/README.md">Pokémon Legends: Arceus</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-party-jamboree.jpg" width="256" alt="Super Mario Party Jamboree"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100965017338000/README.md">Super Mario Party Jamboree</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/cult-of-the-lamb.jpg" width="256" alt="Cult of the Lamb"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01002E7016C46000/README.md">Cult of the Lamb</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/pokemon-legends-arceus.jpg" width="256" alt="Pokémon Legends: Arceus"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01001F5010DFA000/README.md">Pokémon Legends: Arceus</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-party-jamboree.jpg" width="256" alt="Super Mario Party Jamboree"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100965017338000/README.md">Super Mario Party Jamboree</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/cult-of-the-lamb.jpg" width="256" alt="Cult of the Lamb"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01002E7016C46000/README.md">Cult of the Lamb</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/paper-mario-the-origami-king.jpg" width="256" alt="Paper Mario: The Origami King"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100A3900C3E2000/README.md">Paper Mario: The Origami King</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/batman-arkham-knight.jpg" width="256" alt="Batman: Arkham Knight"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100ACD0163D0000/README.md">Batman: Arkham Knight</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/bastion.jpg" width="256" alt="Bastion"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010038600B27E000/README.md">Bastion</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/paper-mario-the-origami-king.jpg" width="256" alt="Paper Mario: The Origami King"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100A3900C3E2000/README.md">Paper Mario: The Origami King</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/batman-arkham-knight.jpg" width="256" alt="Batman: Arkham Knight"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100ACD0163D0000/README.md">Batman: Arkham Knight</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/bastion.jpg" width="256" alt="Bastion"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010038600B27E000/README.md">Bastion</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/baba-is-you.jpg" width="256" alt="Baba Is You"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01002CD00A51C000/README.md">Baba Is You</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steamworld-heist-ii.jpg" width="256" alt="SteamWorld Heist II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010089C01E9CA000/README.md">SteamWorld Heist II</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steamworld-heist.jpg" width="256" alt="SteamWorld Heist: Ultimate Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010016100A186000/README.md">SteamWorld Heist: Ultimate Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/baba-is-you.jpg" width="256" alt="Baba Is You"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01002CD00A51C000/README.md">Baba Is You</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steamworld-heist-ii.jpg" width="256" alt="SteamWorld Heist II"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010089C01E9CA000/README.md">SteamWorld Heist II</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steamworld-heist.jpg" width="256" alt="SteamWorld Heist: Ultimate Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010016100A186000/README.md">SteamWorld Heist: Ultimate Edition</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/subnautica-below-zero.jpg" width="256" alt="Subnautica: Below Zero"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010014C011146000/README.md">Subnautica: Below Zero</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steamworld-dig-2.jpg" width="256" alt="SteamWorld Dig 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100CA9002322000/README.md">SteamWorld Dig 2</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/streets-of-rage-4.jpg" width="256" alt="Streets of Rage 4"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100EC9010258000/README.md">Streets of Rage 4</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/subnautica-below-zero.jpg" width="256" alt="Subnautica: Below Zero"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010014C011146000/README.md">Subnautica: Below Zero</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steamworld-dig-2.jpg" width="256" alt="SteamWorld Dig 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100CA9002322000/README.md">SteamWorld Dig 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/streets-of-rage-4.jpg" width="256" alt="Streets of Rage 4"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100EC9010258000/README.md">Streets of Rage 4</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-party-superstars.jpg" width="256" alt="Mario Party Superstars"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01006FE013472000/README.md">Mario Party Superstars</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/subnautica.jpg" width="256" alt="Subnautica"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100429011144000/README.md">Subnautica</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/steamworld-dig.jpg" width="256" alt="SteamWorld Dig"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01009320084A4000/README.md">SteamWorld Dig</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-party-superstars.jpg" width="256" alt="Mario Party Superstars"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01006FE013472000/README.md">Mario Party Superstars</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/subnautica.jpg" width="256" alt="Subnautica"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100429011144000/README.md">Subnautica</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/steamworld-dig.jpg" width="256" alt="SteamWorld Dig"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01009320084A4000/README.md">SteamWorld Dig</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/team-sonic-racing.jpg" width="256" alt="Team Sonic Racing"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010092B0091D0000/README.md">Team Sonic Racing</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/well-dweller.jpg" width="256" alt="Well Dweller"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100217023F6C000/README.md">Well Dweller</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/need-for-speed-hot-pursuit-remastered.jpg" width="256" alt="Need for Speed: Hot Pursuit Remastered"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010029B0118E8000/README.md">Need for Speed: Hot Pursuit Remastered</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/team-sonic-racing.jpg" width="256" alt="Team Sonic Racing"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010092B0091D0000/README.md">Team Sonic Racing</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/well-dweller.jpg" width="256" alt="Well Dweller"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100217023F6C000/README.md">Well Dweller</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/need-for-speed-hot-pursuit-remastered.jpg" width="256" alt="Need for Speed: Hot Pursuit Remastered"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010029B0118E8000/README.md">Need for Speed: Hot Pursuit Remastered</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/ea-sports-fc-27.jpg" width="256" alt="EA SPORTS FC 27"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100C49025D3E000/README.md">EA SPORTS FC 27</a></b><br>60 fps with 1.8d.310c</small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/portal-2.jpg" width="256" alt="Portal 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100ABD01785C000/README.md">Portal 2</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-monkey-ball-banana-rumble.jpg" width="256" alt="Super Monkey Ball Banana Rumble"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010031F019294000/README.md">Super Monkey Ball Banana Rumble</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/ea-sports-fc-27.jpg" width="256" alt="EA SPORTS FC 27"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100C49025D3E000/README.md">EA SPORTS FC 27</a></b><br>60 fps with 1.8d.310c</small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/portal-2.jpg" width="256" alt="Portal 2"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100ABD01785C000/README.md">Portal 2</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-monkey-ball-banana-rumble.jpg" width="256" alt="Super Monkey Ball Banana Rumble"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010031F019294000/README.md">Super Monkey Ball Banana Rumble</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/atelier-ryza-dx.jpg" width="256" alt="Atelier Ryza: Ever Darkness &amp; the Secret Hideout DX"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100199023B2E000/README.md">Atelier Ryza: Ever Darkness &amp; the Secret Hideout DX</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dragon-quest-iii-hd-2d-remake.jpg" width="256" alt="DRAGON QUEST III HD-2D Remake"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/01003E601E324000/README.md">DRAGON QUEST III HD-2D Remake</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hyrule-warriors-definitive-edition.jpg" width="256" alt="Hyrule Warriors: Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100AE00096EA000/README.md">Hyrule Warriors: Definitive Edition</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/atelier-ryza-dx.jpg" width="256" alt="Atelier Ryza: Ever Darkness &amp; the Secret Hideout DX"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100199023B2E000/README.md">Atelier Ryza: Ever Darkness &amp; the Secret Hideout DX</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dragon-quest-iii-hd-2d-remake.jpg" width="256" alt="DRAGON QUEST III HD-2D Remake"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/01003E601E324000/README.md">DRAGON QUEST III HD-2D Remake</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hyrule-warriors-definitive-edition.jpg" width="256" alt="Hyrule Warriors: Definitive Edition"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100AE00096EA000/README.md">Hyrule Warriors: Definitive Edition</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/metroid-prime-remastered.jpg" width="256" alt="Metroid Prime Remastered"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010012101468C000/README.md">Metroid Prime Remastered</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dragon-quest-i-ii-hd-2d-remake.jpg" width="256" alt="DRAGON QUEST I &amp; II HD-2D Remake"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100D7C01F254000/README.md">DRAGON QUEST I &amp; II HD-2D Remake</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/dead-cells.jpg" width="256" alt="Dead Cells"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100646009FBE000/README.md">Dead Cells</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/metroid-prime-remastered.jpg" width="256" alt="Metroid Prime Remastered"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010012101468C000/README.md">Metroid Prime Remastered</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dragon-quest-i-ii-hd-2d-remake.jpg" width="256" alt="DRAGON QUEST I &amp; II HD-2D Remake"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100D7C01F254000/README.md">DRAGON QUEST I &amp; II HD-2D Remake</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/dead-cells.jpg" width="256" alt="Dead Cells"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100646009FBE000/README.md">Dead Cells</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hollow-knight.jpg" width="256" alt="Hollow Knight"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100633007D48000/README.md">Hollow Knight</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/triangle-strategy.jpg" width="256" alt="TRIANGLE STRATEGY"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100CC80140F8000/README.md">TRIANGLE STRATEGY</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/castlevania-belmonts-curse.jpg" width="256" alt="Castlevania: Belmont's Curse"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100BA4026E94000/README.md">Castlevania: Belmont's Curse</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hollow-knight.jpg" width="256" alt="Hollow Knight"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100633007D48000/README.md">Hollow Knight</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/triangle-strategy.jpg" width="256" alt="TRIANGLE STRATEGY"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100CC80140F8000/README.md">TRIANGLE STRATEGY</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/castlevania-belmonts-curse.jpg" width="256" alt="Castlevania: Belmont's Curse"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100BA4026E94000/README.md">Castlevania: Belmont's Curse</a></b></small></td>
</tr>
<tr>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-robot-wars-y.jpg" width="256" alt="SUPER ROBOT WARS Y"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/010063301BD50000/README.md">SUPER ROBOT WARS Y</a></b></small></td>
-<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-rpg.jpg" width="256" alt="Super Mario RPG"><br><small><b><a href="https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/0100BC0018138000/README.md">Super Mario RPG</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-robot-wars-y.jpg" width="256" alt="SUPER ROBOT WARS Y"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/010063301BD50000/README.md">SUPER ROBOT WARS Y</a></b></small></td>
+<td align="center" valign="top" width="33%"><img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-rpg.jpg" width="256" alt="Super Mario RPG"><br><small><b><a href="https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/0100BC0018138000/README.md">Super Mario RPG</a></b></small></td>
<td></td>
</tr>
</table>
diff --git a/GAMES.zh-CN.md b/GAMES.zh-CN.md
index d04b9907..631d3c1c 100644
--- a/GAMES.zh-CN.md
+++ b/GAMES.zh-CN.md
@@ -1,6 +1,6 @@
# 游戏
-本 fork 有 profile 的全部游戏,以及每款需要的更新包。玩家主页是 [README.zh-CN.md](README.zh-CN.md)。[dm/games/README.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/games/README.md)(英文)是引擎对每款游戏的笔记。截图和 IPA 大小在英文页的[图库](GAMES.md#gallery)里。
+本 fork 有 profile 的全部游戏,以及每款需要的更新包。玩家主页是 [README.zh-CN.md](README.zh-CN.md)。[dm/games/README.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/games/README.md)(英文)是引擎对每款游戏的笔记。截图和 IPA 大小在英文页的[图库](GAMES.md#gallery)里。
## 实测游戏
diff --git a/README.de.md b/README.de.md
index ec2c4c05..19c335c8 100644
--- a/README.de.md
+++ b/README.de.md
@@ -119,12 +119,12 @@ deine eigenen Spiele zwischenspeichert.
Die **Startoptionen** (pro Spiel, bleiben bei Neubauten erhalten) legen die Bildrate, den Konsolenmodus (angedockt
oder Handheld), die Render-Skalierung und das Upscaling, die Spielsprache, die Steuerung und mehr fest. Was
jede Option bewirkt, steht in
-[docs/settings.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/settings.md). Ein Controller steuert den Launcher ebenso wie die Spiele.
+[docs/settings.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/settings.md). Ein Controller steuert den Launcher ebenso wie die Spiele.
**Auf dem iPhone** zeigt die App dieselben Einstellungen, bevor das Spiel startet. Tippe auf **Spielen**.
Die Touch-Steuerung gibt es in einem 2D- und einem 3D-Layout (tippe auf den Button oben in der Mitte), und ein
verbundener Controller (Xbox, PlayStation, Switch Pro, MFi) ersetzt sie.
-[docs/playing.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/playing.md) behandelt Touch,
+[docs/playing.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/playing.md) behandelt Touch,
Vibration und Bewegung. Kurze Ruckler, wenn eine Szene zum ersten Mal erscheint, sind normal: Die App
kompiliert die Grafik dafür einmal und merkt sie sich. Die Daten des Spiels (`romfs.img`) können auf einer
externen Festplatte liegen, die die Dateien-App auswählt.
@@ -163,12 +163,12 @@ es ein Profil, das noch nicht auf einem Handy ausprobiert wurde. Einige davon:
| | Spiel | Wo es läuft | Status |
|---|---|---|---|
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac und iPhone | **Hier verifiziert**: 304.243 Dateien, Byte für Byte geprüft, ca. 17 GB |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac und iPhone | **Hier verifiziert** |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Hier verifiziert**: läuft flüssig |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Upstream als spielbar gemeldet |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Upstream als spielbar gemeldet, 60 fps mit 1.9.0 |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Upstream als spielbar gemeldet |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac und iPhone | **Hier verifiziert**: 304.243 Dateien, Byte für Byte geprüft, ca. 17 GB |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac und iPhone | **Hier verifiziert** |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Hier verifiziert**: läuft flüssig |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Upstream als spielbar gemeldet |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Upstream als spielbar gemeldet, 60 fps mit 1.9.0 |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Upstream als spielbar gemeldet |
**[GAMES.md](GAMES.md)** enthält die Screenshot-Galerie mit der Installationsgröße jedes Spiels und die
vollständige Tabelle mit der Update-Version, die jedes Spiel braucht: Die angezeigte Version der Update-NSP
@@ -177,7 +177,7 @@ muss zu der des Profils passen, sonst sagt dir das der Build.
## Einschränkungen
- **Nur die Spiele mit einem Profil.** Ein Titel außerhalb der Liste braucht eigene Bring-up-Arbeit. Der
- Einstieg ist [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md), der Leitfaden von upstream für einen weiteren Switch-Titel.
+ Einstieg ist [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md), der Leitfaden von upstream für einen weiteren Switch-Titel.
- **Große Spiele stoßen auf dem iPhone an ein Speicherlimit.** Ohne das Entitlement Increased Memory Limit
gibt iOS der App etwa 3,4 GB, was für Tears of the Kingdom nicht reicht. Die App fordert es an, und
AltStore Classic 2.2+, Impactor und Xcode mit einem Personal Team behalten es. SideStore mit einer
@@ -200,7 +200,7 @@ muss zu der des Profils passen, sonst sagt dir das der Build.
[patches/README.md](patches/README.md) erklärt das, und `python3 tools/engine.py status` listet auf, was
mitgetragen wird. Ein täglicher Job verschiebt den Pin und öffnet einen Pull Request, oder ein Issue, das den Patch
nennt, der nicht mehr passt. Die Links zu den Dokumenten der Engine in dieser README zeigen auf nxnative am festgelegten Commit.
-- **Ein anderes Switch-Spiel:** [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md) (Extraktion, Binärübersicht, Bring-up).
+- **Ein anderes Switch-Spiel:** [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md) (Extraktion, Binärübersicht, Bring-up).
- **Versionsverlauf:** [CHANGELOG.md](CHANGELOG.md).
## Danksagung
@@ -228,7 +228,7 @@ Die gesamte Arbeit an der Engine stammt von anderen. Dieses Repository ergänzt
- **[SPIRV-Cross](https://github.com/KhronosGroup/SPIRV-Cross)**: SPIR-V zu Metal Shading Language.
- **yuzu**, **deko3d**, **libvpx**, **stb_vorbis**, **libdeflate**: in der Danksagungsliste von upstream steht, was jedes beiträgt.
-`dm/third_party` enthält andere Projekte mit ihren Lizenzen ([Liste](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/third_party/README.md)).
+`dm/third_party` enthält andere Projekte mit ihren Lizenzen ([Liste](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/third_party/README.md)).
## Rechtliches
diff --git a/README.fr.md b/README.fr.md
index 2b079097..4da99fde 100644
--- a/README.fr.md
+++ b/README.fr.md
@@ -116,12 +116,12 @@ met en cache pour vos propres jeux.
Les **Options de lancement** (par jeu, conservées d’une compilation à l’autre) règlent la fréquence d’images, le
mode de la console (TV ou portable), l’échelle de rendu et la mise à l’échelle, la langue du jeu, les commandes et
plus encore. Ce que fait chaque option est décrit dans
-[docs/settings.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/settings.md). Une manette pilote le lanceur aussi bien que les jeux.
+[docs/settings.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/settings.md). Une manette pilote le lanceur aussi bien que les jeux.
**Sur l’iPhone**, l’app montre les mêmes réglages avant le démarrage du jeu. Touchez **Jouer**. Les commandes
tactiles existent en disposition 2D et 3D (touchez le bouton en haut au centre), et une manette connectée
(Xbox, PlayStation, Switch Pro, MFi) les remplace.
-[docs/playing.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/playing.md) traite du tactile, des vibrations et du mouvement. De courtes saccades la première fois
+[docs/playing.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/playing.md) traite du tactile, des vibrations et du mouvement. De courtes saccades la première fois
qu’une scène apparaît sont normales : l’app compile les graphismes pour elle une fois et s’en souvient. Les
données du jeu (`romfs.img`) peuvent se trouver sur un disque externe choisi dans l’app Fichiers.
@@ -159,12 +159,12 @@ encore été essayé sur un téléphone. En voici quelques-uns :
| | Jeu | Où il tourne | Statut |
|---|---|---|---|
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac et iPhone | **Vérifié ici** : 304 243 fichiers, vérifiés octet par octet, environ 17 Go |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac et iPhone | **Vérifié ici** |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Vérifié ici** : tourne de façon fluide |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Signalé jouable en amont |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Signalé jouable en amont, 60 fps avec 1.9.0 |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Signalé jouable en amont |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac et iPhone | **Vérifié ici** : 304 243 fichiers, vérifiés octet par octet, environ 17 Go |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac et iPhone | **Vérifié ici** |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Vérifié ici** : tourne de façon fluide |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Signalé jouable en amont |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Signalé jouable en amont, 60 fps avec 1.9.0 |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Signalé jouable en amont |
**[GAMES.md](GAMES.md)** contient la galerie de captures avec la taille d’installation de chaque jeu, et le
tableau complet avec la version de mise à jour dont chaque jeu a besoin : la version affichée du NSP de mise à
@@ -173,7 +173,7 @@ jour doit correspondre à celle du profil, sinon la compilation le signale.
## Limites
- **Seulement les jeux qui ont un profil.** Un titre hors de la liste demande son propre travail de mise en route.
- Le point de départ est [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md), le guide du projet en amont pour un autre titre Switch.
+ Le point de départ est [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md), le guide du projet en amont pour un autre titre Switch.
- **Les gros jeux atteignent une limite de mémoire sur iPhone.** Sans l’entitlement Increased Memory Limit, iOS
donne à l’app environ 3,4 Go, ce qui ne suffit pas pour Tears of the Kingdom. L’app le demande, et
AltStore Classic 2.2+, Impactor et Xcode avec une Personal Team le conservent. SideStore avec un identifiant
@@ -197,7 +197,7 @@ jour doit correspondre à celle du profil, sinon la compilation le signale.
l’explique, et `python3 tools/engine.py status` liste ce qui est porté. Une tâche quotidienne déplace l’épingle
et ouvre une pull request, ou un ticket qui nomme le correctif qui ne s’applique plus. Les liens vers les
documents du moteur dans ce README pointent vers nxnative au commit épinglé.
-- **Un autre jeu Switch :** [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md) (extraction, analyse du binaire, mise en route).
+- **Un autre jeu Switch :** [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md) (extraction, analyse du binaire, mise en route).
- **Historique des versions :** [CHANGELOG.md](CHANGELOG.md).
## Remerciements
@@ -225,7 +225,7 @@ Tout le travail sur le moteur est celui d’autres personnes. Ce dépôt ajoute
- **[SPIRV-Cross](https://github.com/KhronosGroup/SPIRV-Cross)** : de SPIR-V vers Metal Shading Language.
- **yuzu**, **deko3d**, **libvpx**, **stb_vorbis**, **libdeflate** : la liste de remerciements du projet en amont dit ce que chacun apporte.
-`dm/third_party` contient d’autres projets avec leurs licences ([liste](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/third_party/README.md)).
+`dm/third_party` contient d’autres projets avec leurs licences ([liste](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/third_party/README.md)).
## Mentions légales
diff --git a/README.it.md b/README.it.md
index fdecba0c..5d6b5a33 100644
--- a/README.it.md
+++ b/README.it.md
@@ -117,11 +117,11 @@ per i tuoi giochi.
**Sul Mac**, un gioco completato compare nella libreria con la sua copertina. **Play** lo avvia.
Le **Opzioni di avvio** (specifiche per ogni gioco e mantenute anche dopo nuove compilazioni) regolano il frame rate, la modalità console (dock o
portatile), la scala di rendering e l'upscaling, la lingua del gioco, i controlli e altro ancora. La spiegazione dettagliata di ogni opzione si trova in
-[docs/settings.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/settings.md). Un controller può comandare sia il launcher sia i giochi.
+[docs/settings.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/settings.md). Un controller può comandare sia il launcher sia i giochi.
**Sull'iPhone**, l'app mostra le stesse impostazioni prima dell'avvio del gioco: tocca **Play**. I controlli touch
sono disponibili in un layout 2D e uno 3D (tocca il pulsante in alto al centro per cambiare) e vengono sostituiti automaticamente quando colleghi un controller
-(Xbox, PlayStation, Switch Pro, MFi). [docs/playing.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/playing.md) illustra i controlli touch,
+(Xbox, PlayStation, Switch Pro, MFi). [docs/playing.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/playing.md) illustra i controlli touch,
la vibrazione e i sensori di movimento. Brevi incertezze la prima volta che compare una nuova scena sono normali: l'app compila
la grafica per quella scena una sola volta e poi la memorizza. I dati del gioco (`romfs.img`) possono risiedere anche su un'unità esterna
selezionata tramite l'app File.
@@ -153,12 +153,12 @@ ancora stato provato su un telefono. Eccone alcuni:
| | Gioco | Dove gira | Stato |
|---|---|---|---|
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac e iPhone | **Verificato qui**: 304.243 file controllati byte per byte, circa 17 GB |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac e iPhone | **Verificato qui** |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Verificato qui**: gira in modo fluido |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Segnalato come giocabile upstream |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Segnalato come giocabile upstream, 60 fps con la versione 1.9.0 |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Segnalato come giocabile upstream |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac e iPhone | **Verificato qui**: 304.243 file controllati byte per byte, circa 17 GB |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac e iPhone | **Verificato qui** |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Verificato qui**: gira in modo fluido |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Segnalato come giocabile upstream |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Segnalato come giocabile upstream, 60 fps con la versione 1.9.0 |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Segnalato come giocabile upstream |
**[GAMES.it.md](GAMES.it.md)** contiene la galleria di screenshot con le dimensioni di installazione
di ciascun gioco e la tabella completa con la versione dell'aggiornamento richiesta da ogni titolo: la versione visualizzata dell'NSP di aggiornamento
@@ -167,7 +167,7 @@ deve corrispondere a quella prevista dal profilo, altrimenti il processo di comp
## Limitazioni
- **Solo i giochi dotati di un profilo.** Un titolo non presente nell'elenco richiede un lavoro di adattamento dedicato, e il
- punto di partenza è [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md), la guida upstream per aggiungere il supporto a un altro titolo Switch.
+ punto di partenza è [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md), la guida upstream per aggiungere il supporto a un altro titolo Switch.
- **I giochi di grandi dimensioni su iPhone incontrano un limite di memoria.** Senza l'entitlement Increased Memory Limit, iOS
mette a disposizione dell'app circa 3,4 GB, che non bastano per Tears of the Kingdom. L'app lo richiede automaticamente e
AltStore Classic 2.2+, Impactor e Xcode con un Personal Team lo mantengono. SideStore con un ID Apple gratuito
@@ -190,7 +190,7 @@ deve corrispondere a quella prevista dal profilo, altrimenti il processo di comp
[patches/README.md](patches/README.md) ne spiega il funzionamento e `python3 tools/engine.py status` elenca le patch attualmente
applicate. Un'operazione automatica giornaliera aggiorna il commit di riferimento e apre una pull request, oppure apre una issue indicando la patch che non
si applica più correttamente. I collegamenti ai documenti del motore presenti in questo README puntano a nxnative al commit fissato.
-- **Aggiungere un altro gioco Switch:** [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md) (estrazione, analisi dei binari, bring-up).
+- **Aggiungere un altro gioco Switch:** [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md) (estrazione, analisi dei binari, bring-up).
- **Cronologia delle versioni:** [CHANGELOG.it.md](CHANGELOG.it.md).
## Riconoscimenti
@@ -222,7 +222,7 @@ Tutto il lavoro sul motore sottostante è opera di altri sviluppatori. Questo re
- **yuzu**, **deko3d**, **libvpx**, **stb_vorbis**, **libdeflate** — consulta l'elenco dei ringraziamenti upstream
per scoprire il contributo di ciascun progetto.
-La cartella `dm/third_party` include altri progetti con le rispettive licenze ([elenco](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/third_party/README.md)).
+La cartella `dm/third_party` include altri progetti con le rispettive licenze ([elenco](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/third_party/README.md)).
## Note legali
diff --git a/README.md b/README.md
index 495f9018..6571065c 100644
--- a/README.md
+++ b/README.md
@@ -116,11 +116,11 @@ for your own games.
**On the Mac**, a finished game appears in the library with its key art. **Play** starts it.
**Launch options** (per game, kept across rebuilds) set the frame rate, console mode (docked or
handheld), render scale and upscaling, game language, controls and more; what each does is in
-[docs/settings.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/settings.md). A controller drives the launcher as well as the games.
+[docs/settings.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/settings.md). A controller drives the launcher as well as the games.
**On the iPhone**, the app shows the same settings before the game starts; tap **Play**. Touch
controls come in a 2D and a 3D layout (tap the button at the top centre), and a connected controller
-(Xbox, PlayStation, Switch Pro, MFi) replaces them. [docs/playing.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/playing.md) covers touch,
+(Xbox, PlayStation, Switch Pro, MFi) replaces them. [docs/playing.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/playing.md) covers touch,
rumble and motion. Short stutters the first time a scene appears are normal: the app compiles
graphics for it once and remembers them. The game's data (`romfs.img`) can live on an external drive
that the Files app picks.
@@ -159,12 +159,12 @@ been tried on a phone yet. A few of them:
| | Game | Where it runs | Status |
|---|---|---|---|
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac and iPhone | **Verified here**: 304,243 files, byte-checked; ~17 GB |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac and iPhone | **Verified here** |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Verified here**: runs smoothly |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Reported playable upstream |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Reported playable upstream; 60 fps with 1.9.0 |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Reported playable upstream |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac and iPhone | **Verified here**: 304,243 files, byte-checked; ~17 GB |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac and iPhone | **Verified here** |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Verified here**: runs smoothly |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Reported playable upstream |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Reported playable upstream; 60 fps with 1.9.0 |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Reported playable upstream |
**[GAMES.md](GAMES.md)** has the screenshot gallery with each
game's install size, and the full table with the update version each game needs: the update NSP's
@@ -173,7 +173,7 @@ display version must match the profile's, or the build says so.
## Limitations
- **Only the games with a profile.** A title outside the list needs bring-up work of its own; the
- place to start is [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md), upstream's guide for another Switch title.
+ place to start is [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md), upstream's guide for another Switch title.
- **Big games on an iPhone hit a memory limit.** Without the Increased Memory Limit entitlement iOS
gives the app about 3.4 GB, which is not enough for Tears of the Kingdom. The app requests it, and
AltStore Classic 2.2+, Impactor and Xcode with a Personal Team keep it; SideStore with a free Apple
@@ -196,7 +196,7 @@ display version must match the profile's, or the build says so.
[patches/README.md](patches/README.md) explains it, and `python3 tools/engine.py status` lists what
is carried. A daily job moves the pin and opens a pull request, or an issue naming the patch that no
longer fits. The links to the engine's documents in this README point at nxnative at the pinned commit.
-- **Another Switch game:** [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md) (extraction, binary survey, bring-up).
+- **Another Switch game:** [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md) (extraction, binary survey, bring-up).
- **Release history:** [CHANGELOG.md](CHANGELOG.md).
## Credits
@@ -228,7 +228,7 @@ All of the engine work is other people's. This repository adds the launcher and
- **yuzu**, **deko3d**, **libvpx**, **stb_vorbis**, **libdeflate** — see upstream's acknowledgement
list for what each contributes.
-`dm/third_party` ships other projects with their licenses ([list](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/third_party/README.md)).
+`dm/third_party` ships other projects with their licenses ([list](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/third_party/README.md)).
## Legal
diff --git a/README.sv.md b/README.sv.md
index 968389be..f762f7b5 100644
--- a/README.sv.md
+++ b/README.sv.md
@@ -116,12 +116,12 @@ dina egna spel.
**På Mac** visas ett färdigt spel i biblioteket med sin key art. **Spela** startar det.
**Startalternativ** (per spel, behålls vid ombyggen) styr bildfrekvens, konsolläge (dockad eller handhållen),
renderskala och uppskalning, spelspråk, kontroller med mera. Vad varje alternativ gör står i
-[docs/settings.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/settings.md). En handkontroll styr launchern lika väl som spelen.
+[docs/settings.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/settings.md). En handkontroll styr launchern lika väl som spelen.
**På iPhone** visar appen samma inställningar innan spelet startar. Tryck på **Spela**. Pekkontrollerna
finns i en 2D- och en 3D-layout (tryck på knappen överst i mitten), och en ansluten handkontroll (Xbox,
PlayStation, Switch Pro, MFi) ersätter dem.
-[docs/playing.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/playing.md) tar upp touch, vibration och rörelse. Korta hack första gången en scen visas är
+[docs/playing.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/playing.md) tar upp touch, vibration och rörelse. Korta hack första gången en scen visas är
normala: Appen kompilerar grafiken för den en gång och kommer ihåg den. Spelets data (`romfs.img`) kan ligga
på en extern enhet som appen Filer väljer.
@@ -158,12 +158,12 @@ spelade på en telefon), 45 till rapporteras som spelbara på en iPhone uppströ
| | Spel | Var det körs | Status |
|---|---|---|---|
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac och iPhone | **Verifierat här**: 304 243 filer, bytekontrollerade, ca 17 GB |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac och iPhone | **Verifierat här** |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Verifierat här**: går smidigt |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Rapporterat som spelbart uppströms |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Rapporterat som spelbart uppströms, 60 fps med 1.9.0 |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Rapporterat som spelbart uppströms |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | The Legend of Zelda: Tears of the Kingdom | Mac och iPhone | **Verifierat här**: 304 243 filer, bytekontrollerade, ca 17 GB |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac och iPhone | **Verifierat här** |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | Animal Crossing: New Horizons | iPhone | **Verifierat här**: går smidigt |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | Super Mario Odyssey | iPhone | Rapporterat som spelbart uppströms |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | The Legend of Zelda: Breath of the Wild | iPhone | Rapporterat som spelbart uppströms, 60 fps med 1.9.0 |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | Mario Kart 8 Deluxe | iPhone | Rapporterat som spelbart uppströms |
**[GAMES.md](GAMES.md)** har skärmbildsgalleriet med varje spels installationsstorlek och den fullständiga
tabellen med den uppdateringsversion som varje spel behöver: Uppdaterings-NSP:ns visade version måste
@@ -172,7 +172,7 @@ stämma med profilens, annars säger bygget ifrån.
## Begränsningar
- **Bara spelen med en profil.** En titel utanför listan kräver eget bring-up-arbete. Börja med
- [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md), uppströmsprojektets guide för en annan Switch-titel.
+ [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md), uppströmsprojektets guide för en annan Switch-titel.
- **Stora spel slår i en minnesgräns på iPhone.** Utan behörigheten Increased Memory Limit ger iOS appen
cirka 3,4 GB, vilket inte räcker för Tears of the Kingdom. Appen begär den, och AltStore Classic 2.2+,
Impactor och Xcode med ett Personal Team behåller den. SideStore med ett gratis Apple-ID behöver en
@@ -195,7 +195,7 @@ stämma med profilens, annars säger bygget ifrån.
[patches/README.md](patches/README.md) förklarar det, och `python3 tools/engine.py status` listar vad som
bärs. Ett dagligt jobb flyttar fästpunkten och öppnar en pull request, eller ett ärende som namnger patchen
som inte längre passar. Länkarna till motorns dokument i den här README:n pekar på nxnative vid den fastlåsta committen.
-- **Ett annat Switch-spel:** [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md) (extrahering, binärgenomgång, bring-up).
+- **Ett annat Switch-spel:** [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md) (extrahering, binärgenomgång, bring-up).
- **Versionshistorik:** [CHANGELOG.md](CHANGELOG.md).
## Tack
@@ -223,7 +223,7 @@ Allt motorarbete är andras. Det här förrådet lägger launchern och patchkön
- **[SPIRV-Cross](https://github.com/KhronosGroup/SPIRV-Cross)**: SPIR-V till Metal Shading Language.
- **yuzu**, **deko3d**, **libvpx**, **stb_vorbis**, **libdeflate**: uppströmsprojektets tackslista säger vad var och en bidrar med.
-`dm/third_party` innehåller andra projekt med deras licenser ([lista](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/third_party/README.md)).
+`dm/third_party` innehåller andra projekt med deras licenser ([lista](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/third_party/README.md)).
## Juridik
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 25a9af46..2b90ded2 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -99,11 +99,11 @@ App 需要 iOS 或 iPadOS 26 或更新。封面是 Mac 启动器为你自己的
**在 Mac 上**,构建好的游戏带着封面出现在游戏库里,点 **Play** 启动。**启动选项**(按游戏保存,重新
构建后仍然保留)可设置帧率、主机模式(底座或掌机)、渲染缩放和超分辨率、游戏语言、操控等;每项的
-作用见 [docs/settings.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/settings.md)(英文)。手柄既能操作游戏,也能操作启动器。
+作用见 [docs/settings.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/settings.md)(英文)。手柄既能操作游戏,也能操作启动器。
**在 iPhone 上**,App 在游戏开始前显示同样的设置,点 **Play** 即可。触屏操控有 2D 和 3D 两种布局
(点顶部中央的按钮切换),连接手柄(Xbox、PlayStation、Switch Pro、MFi)后触屏控件会隐藏。
-触屏、震动和体感见 [docs/playing.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/playing.md)(英文)。新场景第一次出现时短促卡顿是正常的:
+触屏、震动和体感见 [docs/playing.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/playing.md)(英文)。新场景第一次出现时短促卡顿是正常的:
App 会为它编译一次图形并记住。游戏数据(`romfs.img`)可以放在外置硬盘上,用「文件」App 选取。
**游戏语言。** 默认英文。Mac 上用启动选项里的「游戏语言」一行。面板里没有的设置,可以写一个
@@ -134,12 +134,12 @@ iPhone 上在「文件」App 里该 App 名字下:`save/` 和 `log.txt`(上
| | 游戏 | 运行于 | 状态 |
|---|---|---|---|
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | 塞尔达传说:王国之泪 | Mac 和 iPhone | **本 fork 验证**:304,243 个文件,逐字节校验;约 17 GB |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac 和 iPhone | **本 fork 验证** |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | 集合啦!动物森友会 | iPhone | **本 fork 验证**:流畅运行 |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | 超级马力欧 奥德赛 | iPhone | 上游报告可玩 |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | 塞尔达传说:旷野之息 | iPhone | 上游报告可玩;1.9.0 可 60 fps |
-| <img src="https://raw.githubusercontent.com/seedds/nxnative/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | 马力欧卡丁车 8 豪华版 | iPhone | 上游报告可玩 |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-tears-of-the-kingdom.jpg" width="96" alt=""> | 塞尔达传说:王国之泪 | Mac 和 iPhone | **本 fork 验证**:304,243 个文件,逐字节校验;约 17 GB |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/hades-ii.jpg" width="96" alt=""> | Hades II | Mac 和 iPhone | **本 fork 验证** |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/animal-crossing-new-horizons.jpg" width="96" alt=""> | 集合啦!动物森友会 | iPhone | **本 fork 验证**:流畅运行 |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/super-mario-odyssey.jpg" width="96" alt=""> | 超级马力欧 奥德赛 | iPhone | 上游报告可玩 |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/zelda-breath-of-the-wild.jpg" width="96" alt=""> | 塞尔达传说:旷野之息 | iPhone | 上游报告可玩;1.9.0 可 60 fps |
+| <img src="https://raw.githubusercontent.com/seedds/nxnative/641d1480021a57840b7acc15f92cbd86ecfae611/docs/images/mario-kart-8-deluxe.jpg" width="96" alt=""> | 马力欧卡丁车 8 豪华版 | iPhone | 上游报告可玩 |
**[GAMES.zh-CN.md](GAMES.zh-CN.md)**(带截图图库和每款的安装大小)
有完整表格和每款游戏需要的更新包版本:更新包 NSP 的显示版本必须与 profile 一致,否则构建会提示。
@@ -147,7 +147,7 @@ iPhone 上在「文件」App 里该 App 名字下:`save/` 和 `log.txt`(上
## 限制
- **只支持有 profile 的游戏。** 列表之外的游戏需要单独的 bring-up 工作;起点是
- [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md)(上游为其他 Switch 游戏写的指南,英文)。
+ [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md)(上游为其他 Switch 游戏写的指南,英文)。
- **大体积游戏在 iPhone 上会碰到内存上限。** 没有 Increased Memory Limit entitlement 时 iOS 只给 App
约 3.4 GB,不够《王国之泪》用。App 请求了它,AltStore Classic 2.2+、Impactor 和 Xcode + Personal Team
会保留;SideStore 配合免费 Apple ID 需要对 App ID 做一次性修复,Sideloadly 会丢掉它
@@ -166,7 +166,7 @@ iPhone 上在「文件」App 里该 App 名字下:`save/` 和 `log.txt`(上
`python3 tools/engine.py sync` 把它构建到 `engine/`。见 [patches/README.md](patches/README.md)。
`python3 tools/engine.py status` 列出带着的全部补丁。每天一次的任务移动固定提交并开 pull request,
某个补丁对不上时开一个点名该补丁的 issue。本页指向引擎文档的链接都指向 nxnative 的固定提交。
-- **其他 Switch 游戏:** [docs/agents](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/agents/README.md)(解包、二进制调查、bring-up)。
+- **其他 Switch 游戏:** [docs/agents](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/agents/README.md)(解包、二进制调查、bring-up)。
- **版本历史:** [CHANGELOG.zh-CN.md](CHANGELOG.zh-CN.md)。
## 致谢
@@ -190,7 +190,7 @@ iPhone 上在「文件」App 里该 App 名字下:`save/` 和 `log.txt`(上
- **[SPIRV-Cross](https://github.com/KhronosGroup/SPIRV-Cross)** —— SPIR-V 转 Metal Shading Language。
- **yuzu**、**deko3d**、**libvpx**、**stb_vorbis**、**libdeflate** —— 各自贡献见上游致谢列表。
-`dm/third_party` 里随附了其他项目及其许可证([列表](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/dm/third_party/README.md))。
+`dm/third_party` 里随附了其他项目及其许可证([列表](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/dm/third_party/README.md))。
## 法律
diff --git a/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings b/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings
index 2a2db877..dc48846f 100644
--- a/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings
+++ b/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings
@@ -2635,6 +2635,86 @@
}
}
},
+ "Game's own": {
+ "localizations": {
+ "de": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Vom Spiel"
+ }
+ },
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Game's own"
+ }
+ },
+ "fr": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Celui du jeu"
+ }
+ },
+ "it": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Quello del gioco"
+ }
+ },
+ "sv": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Spelets egen"
+ }
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏自带"
+ }
+ }
+ }
+ },
+ "Game's upscaler": {
+ "localizations": {
+ "de": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Upscaler des Spiels"
+ }
+ },
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Game's upscaler"
+ }
+ },
+ "fr": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Upscaler du jeu"
+ }
+ },
+ "it": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Upscaler del gioco"
+ }
+ },
+ "sv": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Spelets uppskalare"
+ }
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏自带超分"
+ }
+ }
+ }
+ },
"Games look for their data here. Keep one romfs.img per game in any folder inside. Each game is found by the image itself, so the folder names do not matter. Each game can also have a folder of its own.": {
"localizations": {
"en": {
diff --git a/frontend/README.md b/frontend/README.md
index ce0b036a..bd49c563 100644
--- a/frontend/README.md
+++ b/frontend/README.md
@@ -169,7 +169,7 @@ library manifest is stored at
## Launch options
The button beside **Play** opens the game's launch options: the settings the iPhone
-launcher shows before a game starts ([docs/settings.md](https://github.com/seedds/nxnative/blob/65501fbbaf8526f7aab0a1edd028135888590f8e/docs/settings.md)), read
+launcher shows before a game starts ([docs/settings.md](https://github.com/seedds/nxnative/blob/641d1480021a57840b7acc15f92cbd86ecfae611/docs/settings.md)), read
from the list the engine packs into the Mac app (`Contents/Resources/dm/launcher.json`,
written by `dm/games/settings.py` from `dm/games/settings.tsv`, and the engine change that
packs it is [seedds/nxnative#352](https://github.com/seedds/nxnative/pull/352), so a
diff --git a/frontend/Tests/NX2AppleTests/FrenchLocalizationTests.swift b/frontend/Tests/NX2AppleTests/FrenchLocalizationTests.swift
index 2c9898d2..35c701c1 100644
--- a/frontend/Tests/NX2AppleTests/FrenchLocalizationTests.swift
+++ b/frontend/Tests/NX2AppleTests/FrenchLocalizationTests.swift
@@ -17,7 +17,7 @@ final class FrenchLocalizationTests: IsolatedDefaultsTestCase {
"dep.spirv.win", "dep.zstd.win", "dep.python.hint", "controls.mode.auto", "controls.fn.A",
"controls.fn.B", "controls.fn.X", "controls.fn.Y", "controls.fn.L", "controls.fn.R",
"controls.fn.ZL", "controls.fn.ZR", "controls.fn.Plus", "controls.fn.Minus", "launch.mods",
- "pad.options", "engine.channel.stable", "launch.opt.DM_PRESENT_UPSCALE.off", "launch.opt.DM_PRESENT_UPSCALE.metalfx", "key.tab",
+ "pad.options", "engine.channel.stable", "launch.opt.DM_PRESENT_UPSCALE.off", "launch.opt.DM_PRESENT_UPSCALE.metalfx", "launch.opt.DM_UPSCALER.metalfx", "key.tab",
]
func testNothingIsLeftInEnglishButTheListedNames() {
diff --git a/frontend/Tests/NX2AppleTests/GermanLocalizationTests.swift b/frontend/Tests/NX2AppleTests/GermanLocalizationTests.swift
index 34610e5b..8da0dc27 100644
--- a/frontend/Tests/NX2AppleTests/GermanLocalizationTests.swift
+++ b/frontend/Tests/NX2AppleTests/GermanLocalizationTests.swift
@@ -19,7 +19,7 @@ final class GermanLocalizationTests: IsolatedDefaultsTestCase {
"controls.fn.A", "controls.fn.B", "controls.fn.X", "controls.fn.Y", "controls.fn.L", "controls.fn.R",
"controls.fn.ZL", "controls.fn.ZR", "controls.fn.Plus", "controls.fn.Minus", "launch.mods",
"update.pill", "launch.opt.DM_OPMODE.0", "launch.opt.DM_PRESENT_UPSCALE.off",
- "launch.opt.DM_FPS_TARGET.30", "launch.opt.DM_FPS_TARGET.60", "launch.opt.DM_PRESENT_UPSCALE.metalfx",
+ "launch.opt.DM_FPS_TARGET.30", "launch.opt.DM_FPS_TARGET.60", "launch.opt.DM_PRESENT_UPSCALE.metalfx", "launch.opt.DM_UPSCALER.metalfx",
]
func testGermanIsNotLeftInEnglish() {
diff --git a/frontend/l10n/de.json b/frontend/l10n/de.json
index 99c458a3..a38f0586 100644
--- a/frontend/l10n/de.json
+++ b/frontend/l10n/de.json
@@ -746,6 +746,8 @@
"launch.opt.DM_PICTURE_FIT.fit": "Einpassen",
"launch.opt.DM_PRESENT_UPSCALE.metalfx": "MetalFX",
"launch.opt.DM_PRESENT_UPSCALE.off": "Standard",
+ "launch.opt.DM_UPSCALER.game": "Vom Spiel",
+ "launch.opt.DM_UPSCALER.metalfx": "MetalFX",
"launch.reset": "Getestete Werte laden",
"launch.rowReset": "Diese Einstellung auf den Standard zurücksetzen",
"launch.savesShow": "Spielstände zeigen",
@@ -779,6 +781,7 @@
"launch.set.DM_RUMBLE_MIN": "Vibrationsschwelle",
"launch.set.DM_SHOW_FPS": "Bildraten-Anzeige",
"launch.set.DM_TOUCH_HAPTICS": "Touch-Feedback",
+ "launch.set.DM_UPSCALER": "Upscaler des Spiels",
"launch.title": "Startoptionen",
"library.appReady": "NX2Apple %@ ist bereit",
"library.artworkHint": "Wähle ein breites Bild für dieses Spiel. Das Bild bleibt an seinem ursprünglichen Ort.",
diff --git a/frontend/l10n/en.json b/frontend/l10n/en.json
index 5316a501..4c873c16 100644
--- a/frontend/l10n/en.json
+++ b/frontend/l10n/en.json
@@ -872,6 +872,8 @@
"launch.opt.DM_PICTURE_FIT.fit": "Fit",
"launch.opt.DM_PRESENT_UPSCALE.metalfx": "MetalFX",
"launch.opt.DM_PRESENT_UPSCALE.off": "Standard",
+ "launch.opt.DM_UPSCALER.game": "Game's own",
+ "launch.opt.DM_UPSCALER.metalfx": "MetalFX",
"launch.reset": "Reset to tested defaults",
"launch.rowReset": "Reset this setting to its default",
"launch.savesShow": "Show saves",
@@ -905,6 +907,7 @@
"launch.set.DM_RUMBLE_MIN": "Rumble cutoff",
"launch.set.DM_SHOW_FPS": "Frame-rate counter",
"launch.set.DM_TOUCH_HAPTICS": "Touch feedback",
+ "launch.set.DM_UPSCALER": "Game's upscaler",
"launch.title": "Launch options",
"library.appReady": "NX2Apple %@ is ready",
"library.artworkHint": "Choose a wide image for this game. The image stays in its original location.",
diff --git a/frontend/l10n/fr.json b/frontend/l10n/fr.json
index 903adfe3..a3f1878a 100644
--- a/frontend/l10n/fr.json
+++ b/frontend/l10n/fr.json
@@ -748,6 +748,8 @@
"launch.opt.DM_PICTURE_FIT.fit": "Ajuster",
"launch.opt.DM_PRESENT_UPSCALE.metalfx": "MetalFX",
"launch.opt.DM_PRESENT_UPSCALE.off": "Standard",
+ "launch.opt.DM_UPSCALER.game": "Celui du jeu",
+ "launch.opt.DM_UPSCALER.metalfx": "MetalFX",
"launch.reset": "Rétablir valeurs testées",
"launch.rowReset": "Rétablir la valeur par défaut de ce réglage",
"launch.savesShow": "Afficher les sauvegardes",
@@ -781,6 +783,7 @@
"launch.set.DM_RUMBLE_MIN": "Seuil des vibrations",
"launch.set.DM_SHOW_FPS": "Compteur d’images par seconde",
"launch.set.DM_TOUCH_HAPTICS": "Retour tactile",
+ "launch.set.DM_UPSCALER": "Upscaler du jeu",
"launch.title": "Options de lancement",
"library.appReady": "NX2Apple %@ est prête",
"library.artworkHint": "Choisissez une image large pour ce jeu. L’image reste à son emplacement d’origine.",
diff --git a/frontend/l10n/it.json b/frontend/l10n/it.json
index fcaeb849..b20b79ea 100644
--- a/frontend/l10n/it.json
+++ b/frontend/l10n/it.json
@@ -749,6 +749,8 @@
"launch.opt.DM_PICTURE_FIT.fit": "Adatta",
"launch.opt.DM_PRESENT_UPSCALE.metalfx": "MetalFX",
"launch.opt.DM_PRESENT_UPSCALE.off": "Standard",
+ "launch.opt.DM_UPSCALER.game": "Quello del gioco",
+ "launch.opt.DM_UPSCALER.metalfx": "MetalFX",
"launch.reset": "Carica valori testati",
"launch.rowReset": "Ripristina il valore predefinito di questa impostazione",
"launch.savesShow": "Mostra i salvataggi",
@@ -782,6 +784,7 @@
"launch.set.DM_RUMBLE_MIN": "Soglia della vibrazione",
"launch.set.DM_SHOW_FPS": "Contatore fotogrammi",
"launch.set.DM_TOUCH_HAPTICS": "Feedback al tocco",
+ "launch.set.DM_UPSCALER": "Upscaler del gioco",
"launch.title": "Opzioni di avvio",
"library.appReady": "NX2Apple %@ è pronto",
"library.artworkHint": "Scegli un’immagine larga per questo gioco. L’immagine resta nella sua posizione originale.",
diff --git a/frontend/l10n/sv.json b/frontend/l10n/sv.json
index eec74b14..def63d89 100644
--- a/frontend/l10n/sv.json
+++ b/frontend/l10n/sv.json
@@ -591,6 +591,8 @@
"launch.opt.DM_PICTURE_FIT.fit": "Anpassa",
"launch.opt.DM_PRESENT_UPSCALE.metalfx": "MetalFX",
"launch.opt.DM_PRESENT_UPSCALE.off": "Standard",
+ "launch.opt.DM_UPSCALER.game": "Spelets egen",
+ "launch.opt.DM_UPSCALER.metalfx": "MetalFX",
"launch.reset": "Återställ testade värden",
"launch.rowReset": "Återställ den här inställningen till standardvärdet",
"launch.savesShow": "Visa sparfiler",
@@ -624,6 +626,7 @@
"launch.set.DM_RUMBLE_MIN": "Vibrationsgräns",
"launch.set.DM_SHOW_FPS": "Bildfrekvensräknare",
"launch.set.DM_TOUCH_HAPTICS": "Beröringsåterkoppling",
+ "launch.set.DM_UPSCALER": "Spelets uppskalare",
"launch.title": "Startalternativ",
"library.appReady": "NX2Apple %@ är klart",
"library.artworkHint": "Välj en bred bild för spelet. Bilden ligger kvar på sin ursprungliga plats.",
diff --git a/frontend/l10n/zh.json b/frontend/l10n/zh.json
index a18819d3..dbcb022c 100644
--- a/frontend/l10n/zh.json
+++ b/frontend/l10n/zh.json
@@ -873,6 +873,8 @@
"launch.opt.DM_PICTURE_FIT.fit": "适应",
"launch.opt.DM_PRESENT_UPSCALE.metalfx": "MetalFX",
"launch.opt.DM_PRESENT_UPSCALE.off": "标准",
+ "launch.opt.DM_UPSCALER.game": "游戏自带",
+ "launch.opt.DM_UPSCALER.metalfx": "MetalFX",
"launch.reset": "恢复测试默认值",
"launch.rowReset": "恢复此设置的默认值",
"launch.savesShow": "显示存档",
@@ -906,6 +908,7 @@
"launch.set.DM_RUMBLE_MIN": "震动下限",
"launch.set.DM_SHOW_FPS": "帧率显示",
"launch.set.DM_TOUCH_HAPTICS": "触控反馈",
+ "launch.set.DM_UPSCALER": "游戏自带超分",
"launch.title": "启动选项",
"library.appReady": "NX2Apple %@ 已就绪",
"library.artworkHint": "选择游戏的宽幅图片。图片将保留在原来的位置。",
diff --git a/patches/0001-runtime-profile.patch b/patches/0001-runtime-profile.patch
index a55fa26c..c756eaad 100644
--- a/patches/0001-runtime-profile.patch
+++ b/patches/0001-runtime-profile.patch
@@ -30,10 +30,10 @@ Issue: LNPANDY/NX2Apple#123
create mode 100644 dm/host/tests/t_layout_runtime.c
diff --git a/dm/games/game.py b/dm/games/game.py
-index 6089fe9..bc2ad82 100644
+index eb751d9..4ec5bbb 100644
--- a/dm/games/game.py
+++ b/dm/games/game.py
-@@ -202,6 +202,40 @@ if __name__ == '__main__':
+@@ -219,6 +219,40 @@ if __name__ == '__main__':
out, text = Path(a[2]), header(load(a[1])); out.parent.mkdir(parents=True, exist_ok=True)
if not (out.exists() and out.read_text() == text): # written only when it changes: make runs this every time (the profile folder can change under the same GAME), and an unchanged header must not rebuild the host
tmp = out.with_name(out.name + '.tmp'); tmp.write_text(text); tmp.replace(out)
@@ -75,7 +75,7 @@ index 6089fe9..bc2ad82 100644
print(load(a[1]).dir)
elif len(a) == 3 and a[0] == 'link': # link → the profile folder (replaced when it points elsewhere)
diff --git a/dm/host/dm.h b/dm/host/dm.h
-index 84b5321..402a3aa 100644
+index beed456..1fac8a6 100644
--- a/dm/host/dm.h
+++ b/dm/host/dm.h
@@ -7,6 +7,7 @@
@@ -87,10 +87,10 @@ index 84b5321..402a3aa 100644
// Explicit host work does not occupy a guest core (Metal submission, or a blocked native codec lock). A contended host mutex must count as blocked: a signal's same-core handoff
// can otherwise wait forever for a peer that needs the signaller's native lock. Uncontended locks retain guest ordering; the counter nests inside existing host work.
diff --git a/dm/host/hle_fpslock.c b/dm/host/hle_fpslock.c
-index 9a8b631..0b70203 100644
+index f3d26fb..4678d3c 100644
--- a/dm/host/hle_fpslock.c
+++ b/dm/host/hle_fpslock.c
-@@ -217,7 +217,7 @@ void dm_fps_lock_tick(void) {
+@@ -229,7 +229,7 @@ void dm_fps_lock_tick(void) {
if (state == -2) {
state = -1; pthread_once(&g_found, lock_find);
if (!nrow && !nier && !fb.n && !ue_missing) return;
@@ -100,10 +100,10 @@ index 9a8b631..0b70203 100644
if (t && ue_missing) LOG("[RED] main: Unreal %s not found by the rewriter (ue_cvar.py NAMES; game profile ue_fps_cvar): the game's own frame limit stays", DM_GAME_UE_FPS_CVAR);
if (!nrow && !nier && !fb.n) return;
diff --git a/dm/host/hle_fs.c b/dm/host/hle_fs.c
-index 8d0077d..84b2c74 100644
+index a90fb7a..114e399 100644
--- a/dm/host/hle_fs.c
+++ b/dm/host/hle_fs.c
-@@ -592,7 +592,7 @@ HLE_FORCE("_ZN2nn2fs14ExtendSaveDataERKNS_7account3UidEll", "fsp-srv; extend sav
+@@ -593,7 +593,7 @@ HLE_FORCE("_ZN2nn2fs14ExtendSaveDataERKNS_7account3UidEll", "fsp-srv; extend sav
HLE_FORCE("_ZN2nn2fs14EnsureSaveDataERKNS_7account3UidE", "fsp-srv; the save directory is created at mount time", Result, h_fs_EnsureSave, const void *uid) { (void)uid; return RES_OK; }
// Another application's save data (Tears of the Kingdom asks by application ID and would mount it read-only): the host keeps only this game's own save, which exists once mounted
HLE_FORCE("_ZN2nn2fs18IsSaveDataExistingENS_13ApplicationIdERKNS_7account3UidE", "fsp-srv; only this game's own save data exists", int, h_fs_SaveExisting, uint64_t app, const void *uid) {
@@ -564,10 +564,10 @@ index 15d4ccc..4955a89 100644
// nn::os::GetFreeThreadCount (SDK 11+): the thread resource limit less the threads alive, as the kernel answers it (Atmosphère kern_svc_info.cpp). pm gives an application a limit of
// 96 threads (pm_spec.cpp BaseApplicationThreads; a boost raises it to 256). Monster Train 2's Unity 2022.3 player creates a thread only when this is at least 1: the 0 it got here
diff --git a/dm/host/loader.c b/dm/host/loader.c
-index 05d17aa..2cc2900 100644
+index 9a1341e..dc44b26 100644
--- a/dm/host/loader.c
+++ b/dm/host/loader.c
-@@ -297,7 +297,7 @@ static void install_fps_state(module_t *m) {
+@@ -299,7 +299,7 @@ static void install_fps_state(module_t *m) {
// DM_RENDER_SCALE (Launcher.swift), and nothing reads the page before the game runs
void dm_fps_state_apply(void) {
if (!dm_fps_state) return;
@@ -577,10 +577,10 @@ index 05d17aa..2cc2900 100644
float f = (float)t; memcpy(dm_fps_state, &f, sizeof f);
// Render scale of the 3D views (the stubs at Tears of the Kingdom's main+0xd5cc0, Breath of the Wild's main+0x1266880): 1.0 keeps the game's own size and dynamic resolution;
diff --git a/dm/host/tests/Makefile b/dm/host/tests/Makefile
-index ba96248..9b7b2d5 100644
+index 68bde94..2d49ba4 100644
--- a/dm/host/tests/Makefile
+++ b/dm/host/tests/Makefile
-@@ -65,7 +65,7 @@ run: $(B)/t_language $(B)/t_motion $(B)/t_heap_size $(B)/t_touch $(B)/t_gesture
+@@ -68,7 +68,7 @@ run: $(B)/t_language $(B)/t_motion $(B)/t_heap_size $(B)/t_touch $(B)/t_gesture
run: $(B)/t_nro
run: $(B)/t_symbols
$(B)/t_symbols: t_symbols.c ../hle.c ../loader.c ../hle.h ../dm.h $(GAME_H) | $(B)
@@ -589,7 +589,7 @@ index ba96248..9b7b2d5 100644
.PHONY: symbols
symbols: $(B)/t_symbols
$(B)/t_symbols
-@@ -83,12 +83,12 @@ $(B)/t_audren_layout: t_audren_layout.c ../hle_audren.c ../hle.h ../dm.h $(GAME_
+@@ -86,12 +86,12 @@ $(B)/t_audren_layout: t_audren_layout.c ../hle_audren.c ../hle.h ../dm.h $(GAME_
audren-layout: $(B)/t_audren_layout
$(B)/t_audren_layout
$(B)/t_system_event: t_system_event.c ../hle_thread.c ../hle_sdk16.c ../hle.h ../dm.h $(GAME_H) | $(B)
@@ -604,7 +604,7 @@ index ba96248..9b7b2d5 100644
.PHONY: nro
nro: $(B)/t_nro
$(B)/t_nro
-@@ -102,7 +102,7 @@ cheats: $(B)/t_cheats
+@@ -105,7 +105,7 @@ cheats: $(B)/t_cheats
$(GAME_H): FORCE
$(MAKE) -C .. game_profile GAME=$(GAME)
$(B)/t_heap_size: t_heap_size.c ../hle_svc.c ../dm.h $(GAME_H) | $(B)
@@ -613,7 +613,7 @@ index ba96248..9b7b2d5 100644
.PHONY: heap_size
heap_size: $(B)/t_heap_size
$(B)/t_heap_size
-@@ -112,27 +112,27 @@ $(B)/t_gesture: t_gesture.c ../hle_touch.c ../front.h ../dm.h $(GAME_H) | $(B)
+@@ -115,27 +115,27 @@ $(B)/t_gesture: t_gesture.c ../hle_touch.c ../front.h ../dm.h $(GAME_H) | $(B)
$(CLANG) -O1 -Wall -Wno-unused-function -I.. $(GINC) -o $@ t_gesture.c ../hle_touch.c
$(B)/t_thread_leak: t_thread_leak.c ../thread.c ../dm.h $(GAME_H) | $(B)
$(CLANG) -O1 -Wno-unused-function -I.. $(GINC) -o $@ t_thread_leak.c
@@ -653,16 +653,16 @@ index ba96248..9b7b2d5 100644
$(B)/t_save_sync_metadata: t_save_sync_metadata.c ../save_sync.c ../save_sync.h | $(B)
$(CLANG) -O1 -Wall -Wno-unused-function -I.. -o $@ t_save_sync_metadata.c
.PHONY: save-sync
-@@ -156,7 +156,7 @@ $(B)/t_audio_spsc_tsan: t_audio_spsc.c ../hle_audio.c ../hle_bigstack.c ../hle.h
+@@ -159,7 +159,7 @@ $(B)/t_audio_spsc_tsan: t_audio_spsc.c ../hle_audio.c ../hle_bigstack.c ../hle.h
$(CLANG) -O1 -g -O1 -fsanitize=thread -Wno-unused-function -I.. $(GINC) -o $@ t_audio_spsc.c ../hle_bigstack.c -framework AudioToolbox
run: $(B)/t_fpslock
$(B)/t_fpslock: t_fpslock.c ../hle_fpslock.c ../hle.h ../dm.h $(GAME_H) | $(B)
- $(CLANG) -O1 -g -Wno-unused-function $(GINC) -o $@ t_fpslock.c
+ $(CLANG) -O1 -g -Wno-unused-function $(GINC) -o $@ t_fpslock.c ../hle_profile.c
- run: $(B)/t_uecvar
- $(B)/t_uecvar: t_uecvar.c ../hle_uecvar.c ../hle.h ../dm.h $(GAME_H) | $(B)
- $(CLANG) -O1 -g -Wno-unused-function $(GINC) -o $@ t_uecvar.c
-@@ -170,19 +170,19 @@ $(B)/t_altstack: t_altstack.c t_altstack_stub.c ../crash.c ../dm.h $(GAME_H) | $
+ run: $(B)/t_ue_heap_span
+ $(B)/t_ue_heap_span: t_ue_heap_span.c ../hle_uemalloc.c ../hle.h ../dm.h $(GAME_H) | $(B)
+ $(CLANG) -O1 -g -Wall -Werror -Wno-unused-function $(GINC) -o $@ t_ue_heap_span.c
+@@ -182,19 +182,19 @@ $(B)/t_altstack: t_altstack.c t_altstack_stub.c ../crash.c ../dm.h $(GAME_H) | $
$(B)/t_pctl: t_pctl.c ../hle_misc.c ../hle.h ../dm.h $(GAME_H) | $(B)
$(CLANG) -O1 -Wall -Werror -Wno-unused-function -I.. $(GINC) -o $@ t_pctl.c
$(B)/t_shared_font: t_shared_font.c ../hle_sdk16.c ../hle.h ../dm.h $(GAME_H) | $(B)
@@ -686,7 +686,7 @@ index ba96248..9b7b2d5 100644
$(B)/t_motion: t_motion.c ../motion_fusion.h | $(B)
$(CLANG) -O1 -Wall -Werror -Wno-unused-function -o $@ t_motion.c -lm
run: $(B)/t_motion_apple
-@@ -207,15 +207,15 @@ $(B)/t_haptics_apple: t_haptics_apple.m ../haptics_apple.m ../haptics_apple.h ..
+@@ -224,15 +224,15 @@ $(B)/t_haptics_apple: t_haptics_apple.m ../haptics_apple.m ../haptics_apple.h ..
$(B)/t_time: t_time.c ../hle_time.c ../hle.h ../dm.h $(GAME_H) | $(B)
$(CLANG) -O1 -Wall -Werror -Wno-unused-function -I.. $(GINC) -o $@ t_time.c
$(B)/t_oe: t_oe.c ../hle_oe.c ../hle.h ../dm.h $(GAME_H) | $(B)
@@ -707,7 +707,7 @@ index ba96248..9b7b2d5 100644
.PHONY: preempt
preempt: $(B)/t_preempt
$(B)/t_preempt
-@@ -247,7 +247,7 @@ $(B):
+@@ -264,7 +264,7 @@ $(B):
mkdir -p $@
.PHONY: run tsan
$(B)/t_resolution: t_resolution.c ../hle_fpslock.c ../hle.h ../dm.h $(GAME_H) | $(B)
@@ -716,7 +716,7 @@ index ba96248..9b7b2d5 100644
.PHONY: resolution
run: resolution
resolution: $(B)/t_resolution
-@@ -260,17 +260,17 @@ tsan: $(B)/t_audio_spsc_tsan $(B)/t_hid_tsan
+@@ -277,17 +277,17 @@ tsan: $(B)/t_audio_spsc_tsan $(B)/t_hid_tsan
TMPDIR="$(abspath $(B))" $(B)/t_hid_tsan
MEM_FLAGS = -O1 -Wall -Werror -Wno-unused-function -Imemory_profile -I..
@@ -740,7 +740,7 @@ index ba96248..9b7b2d5 100644
.PHONY: memory memory-tsan memory-dirty memory-profile
memory: $(B)/t_svc_memory $(B)/t_svc_memory_unlimited $(B)/t_svc_memory_16k
$(B)/t_svc_memory
-@@ -286,7 +286,7 @@ run: memory memory-dirty memory-profile
+@@ -303,7 +303,7 @@ run: memory memory-dirty memory-profile
# A native blocking notification wait must release the thread's guest core.
$(B)/t_notify_sched: t_notify_sched.c t_condvar_stub.c ../hle_thread.c ../hle_oe.c ../hle.h ../dm.h $(GAME_H) | $(B)
@@ -859,12 +859,12 @@ index 0000000..20b210d
+ return bad ? 1 : 0;
+}
diff --git a/dm/ios/Sources/DmGamepad.m b/dm/ios/Sources/DmGamepad.m
-index a079d7f..3747fc9 100644
+index a076196..b6a2c3f 100644
--- a/dm/ios/Sources/DmGamepad.m
+++ b/dm/ios/Sources/DmGamepad.m
-@@ -193,7 +193,7 @@ - (instancetype)initWithFrame:(CGRect)f {
- }
- _swap = shape(_controls); _swapLabel = label(_swap, @"");
+@@ -217,7 +217,7 @@ - (instancetype)initWithFrame:(CGRect)f {
+ [_menu addAction:[UIAction actionWithHandler:^(UIAction *a) { (void)a; [weakSelf reset]; }] forControlEvents:UIControlEventMenuActionTriggered]; // the menu opens: release every key and touch first
+ [self addSubview:_menu];
NSNumber *saved = [NSUserDefaults.standardUserDefaults objectForKey:k_layout_key];
- int l = saved ? (int)saved.integerValue : DM_GAME_PAD_LAYOUT;
+ int l = saved ? (int)saved.integerValue : dm_profile()->pad_layout;
@@ -872,10 +872,10 @@ index a079d7f..3747fc9 100644
_full = l == 1; _tap = l == 2;
[self applyLayout];
diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
-index 95001cf..8f79420 100644
+index 6e3c9e4..2ddda64 100644
--- a/docs/env_switches.tsv
+++ b/docs/env_switches.tsv
-@@ -225,6 +225,7 @@ DM_PROBE_LIMIT diagnostic Maximum printed hits per guest probe; 0 or absent leav
+@@ -231,6 +231,7 @@ DM_PROBE_LIMIT diagnostic Maximum printed hits per guest probe; 0 or absent leav
DM_PROBE_POLL diagnostic `=<address>[+<length>]` (hex, 4 bytes by default, up to 8): a host thread spins on the bytes and on each change snapshots every thread's pc, lr and frames, for writes the watch misses
DM_PROBE_WATCH diagnostic `=<address>[+<length>]` (hex, 8 bytes by default): write-protects that host page and reports who writes these bytes, without a debugger
DM_PROBE_X2 diagnostic `=<bytes>` (hex): probe hits also dump that many bytes of the memory x2 points to
diff --git a/patches/0003-ios-game-data-folder.patch b/patches/0003-ios-game-data-folder.patch
index 53db254e..b4642203 100644
--- a/patches/0003-ios-game-data-folder.patch
+++ b/patches/0003-ios-game-data-folder.patch
@@ -12,14 +12,14 @@ Issue: LNPANDY/NX2Apple#123
---
dm/ios/Sources/DataBookmark.h | 32 +++++++
dm/ios/Sources/DataBookmark.m | 79 ++++++++++++++++
- dm/ios/Sources/DmIOS-Bridging-Header.h | 8 +-
+ dm/ios/Sources/DmIOS-Bridging-Header.h | 7 +-
dm/ios/Sources/Launcher.swift | 63 ++++++++++++-
dm/ios/Sources/front_ios.m | 13 ++-
dm/ios/Sources/main.m | 123 +++++++++++++++++++++++--
dm/ios/project.yml | 2 +-
dm/ios/tests/test_aoc_layouts.py | 92 ++++++++++++++++++
dm/ios/tests/test_romfs_startup.py | 49 +++++++++-
- 9 files changed, 445 insertions(+), 16 deletions(-)
+ 9 files changed, 444 insertions(+), 16 deletions(-)
create mode 100644 dm/ios/Sources/DataBookmark.h
create mode 100644 dm/ios/Sources/DataBookmark.m
create mode 100644 dm/ios/tests/test_aoc_layouts.py
@@ -148,21 +148,21 @@ index 0000000..3dcc383
+ [NSUserDefaults.standardUserDefaults removeObjectForKey:kPickedData];
+}
diff --git a/dm/ios/Sources/DmIOS-Bridging-Header.h b/dm/ios/Sources/DmIOS-Bridging-Header.h
-index 70789d3..710e59a 100644
+index 7ba971c..4ea3995 100644
--- a/dm/ios/Sources/DmIOS-Bridging-Header.h
+++ b/dm/ios/Sources/DmIOS-Bridging-Header.h
-@@ -1,2 +1,8 @@
--// The Objective-C functions Launcher.swift calls (CloudSaves.h). project.yml points SWIFT_OBJC_BRIDGING_HEADER here.
-+// What Swift sees of the app's Objective-C: the cloud-save folder pick (see CloudSaves.h) and the data bookmark the Files app
-+// hands out (see DataBookmark.h). project.yml points SWIFT_OBJC_BRIDGING_HEADER here.
+@@ -1,3 +1,8 @@
+-// The Objective-C functions Launcher.swift and GameMenu.swift call (CloudSaves.h, DmGameMenu.h). project.yml points SWIFT_OBJC_BRIDGING_HEADER here.
++// The Objective-C functions Launcher.swift and GameMenu.swift call (CloudSaves.h, DataBookmark.h, DmGameMenu.h). project.yml points SWIFT_OBJC_BRIDGING_HEADER here.
#import "CloudSaves.h"
+#import "DataBookmark.h"
+ #import "DmGameMenu.h"
+
+// main.m: set when the game data found is an old shard archive (romfs.idx), which is no longer read. The sentence names the
+// action (re-send the game data as romfs.img from the launcher), or NULL. The launcher's Game data section shows it.
+const char *dm_old_archive_message(void);
diff --git a/dm/ios/Sources/Launcher.swift b/dm/ios/Sources/Launcher.swift
-index 924e2e0..ebaa055 100644
+index d6b6eba..d8ceac0 100644
--- a/dm/ios/Sources/Launcher.swift
+++ b/dm/ios/Sources/Launcher.swift
@@ -10,6 +10,64 @@ import os
@@ -256,10 +256,10 @@ index 924e2e0..ebaa055 100644
Section {
HStack {
diff --git a/dm/ios/Sources/front_ios.m b/dm/ios/Sources/front_ios.m
-index 1a994ee..c560abb 100644
+index aa2b581..0276e8b 100644
--- a/dm/ios/Sources/front_ios.m
+++ b/dm/ios/Sources/front_ios.m
-@@ -21,6 +21,7 @@
+@@ -23,6 +23,7 @@
const char *front_ios_boot_message(void); // main.m: why a build that keeps the game files off the IPA found none usable (NULL = the generic hint)
const char *front_ios_device_check(void); // main.m: why this device cannot run the games (its GPU has no BC textures; NULL = supported); makes the first Metal device
bool dm_show_launcher(void *view_controller, void (*done)(void)); // Launcher.swift: false = no launcher (no dm/launcher.json, or DM_LAUNCHER=0)
@@ -267,15 +267,15 @@ index 1a994ee..c560abb 100644
static CAMetalLayer *g_layer;
static void front_ios_power_watch(void);
-@@ -64,6 +65,7 @@ @interface DmRootVC : UIViewController
- @property (nonatomic, strong) UILabel *fps;
- @property (nonatomic) BOOL launched;
- @property (nonatomic, strong) id tv; // the TV scene accessory's registration (iOS 27)
+@@ -88,6 +89,7 @@ @interface DmRootVC : UIViewController
+ #if __has_include(<UIKit/UIHingeInteraction.h>)
+ - (void)hingeChanged:(UIHinge *)hinge API_AVAILABLE(ios(27.1));
+ #endif
+@property (nonatomic) BOOL hasLauncher; // the app has a settings screen: a failed Play goes back to it (its Game data section is the way out)
- (void)startGame;
+ - (void)showFPS:(BOOL)on;
@end
- static DmRootVC *g_root;
-@@ -95,6 +97,14 @@ - (void)viewDidLoad {
+@@ -141,6 +143,14 @@ - (void)hingeChanged:(UIHinge *)hinge API_AVAILABLE(ios(27.1)) {
// The game view, the pad and the frame-rate counter are made once the launcher has set the switches they read (DM_SHOW_FPS, DM_METAL_HUD); the host's loading began at app launch (main.m)
- (void)startGame {
if (self.game) return;
@@ -290,7 +290,7 @@ index 1a994ee..c560abb 100644
dm_cloud_saves_env(); // DM_SAVE_SYNC from the launcher's Cloud saves pick, before the game's first save mount reads it (CloudSaves.m, save_sync.h)
front_hud_env(); // before the process's first Metal device, which reads MTL_HUD_ENABLED (an env file's DM_METAL_HUD sets it in main.m already; GitHub issue #840)
const char *dev = front_ios_device_check(); // that first device: a GPU without BC textures is refused here, not at launch, so the launcher's HUD switch counts
-@@ -132,7 +142,8 @@ - (void)viewDidAppear:(BOOL)a {
+@@ -207,7 +217,8 @@ - (void)viewDidAppear:(BOOL)a {
}
if (self.launched || !front_ios_boot_ok()) return;
self.launched = YES; g_root = self;
@@ -474,10 +474,10 @@ index 7afe1c3..85c068c 100644
NSString *pso = [res stringByAppendingPathComponent:@"pso"]; // the pipeline archive made offline (build_ipa.sh, dm/gfx/tools/pso_offline.py): the shader pairs' bases, which the device then does not build
if ([fm fileExistsAtPath:pso]) setenv("DM_PSO_BUNDLE", pso.fileSystemRepresentation, 0);
diff --git a/dm/ios/project.yml b/dm/ios/project.yml
-index 5be3a4c..16b4165 100644
+index 323b5f6..e542cf1 100644
--- a/dm/ios/project.yml
+++ b/dm/ios/project.yml
-@@ -79,7 +79,7 @@ targets:
+@@ -83,7 +83,7 @@ targets:
OTHER_CFLAGS: $(inherited) -mcpu=apple-a18 # The host assembly contains LSE atomic instructions, which the default baseline does not accept
CLANG_ENABLE_OBJC_ARC: YES
SWIFT_VERSION: "5.0" # Launcher.swift (SwiftUI)
diff --git a/patches/0004-ios-slim-ipa.patch b/patches/0004-ios-slim-ipa.patch
index 8444a09a..c5ae12df 100644
--- a/patches/0004-ios-slim-ipa.patch
+++ b/patches/0004-ios-slim-ipa.patch
@@ -148,7 +148,7 @@ index a832ad5..0f5485d 100644
raise ValueError(f'bundle ID {bundle_id} is already used by {other}; choose a different --bundle-id for this game')
diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
-index 8f79420..eb0dd7c 100644
+index 2ddda64..4032389 100644
--- a/docs/env_switches.tsv
+++ b/docs/env_switches.tsv
@@ -42,6 +42,7 @@ DM_FS diagnostic When set, logs file opens, paths not found or not mounted, and
diff --git a/patches/0005-nsp-dotnet-home.patch b/patches/0005-nsp-dotnet-home.patch
index 7df3ce60..dc512569 100644
--- a/patches/0005-nsp-dotnet-home.patch
+++ b/patches/0005-nsp-dotnet-home.patch
@@ -14,10 +14,10 @@ Issue: LNPANDY/NX2Apple#10
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/scripts/build_ipa_from_nsp.py b/scripts/build_ipa_from_nsp.py
-index 2cc0d22..50e040e 100755
+index 3e47f57..caa8b01 100755
--- a/scripts/build_ipa_from_nsp.py
+++ b/scripts/build_ipa_from_nsp.py
-@@ -30,7 +30,7 @@
+@@ -32,7 +32,7 @@
# unless ALLOW_OTHER_METAL / --allow-other-metal. Issue #242 reported corruption with another compiler; the cause is still unconfirmed.
# Python 3.12+ is required for bounded archive mappings inside images. The Python running this file needs lz4, capstone 5.x and fonttools (and backports.zstd before Python 3.14); also needed: Xcode, xcodegen, .NET SDK 10, zstd. SPIRV-Cross is the in-repo build. A first run takes 2 (Metroid Dread) to 10 minutes (Breath of the Wild: 5 of them the shader split), longer when shader libraries must be compiled; a repeat run with unchanged inputs takes about 20 s (Metroid Dread), mostly packing the IPA. Key values are never printed.
# The console shows one line per stage ([k/n] stage, with a bar, done/total, percent, elapsed time and ETA where the work can be counted); the tools' own output goes only to logs/ (PROGRESS / --progress). --progress json writes newline-delimited JSON events to stdout.
@@ -26,7 +26,7 @@ index 2cc0d22..50e040e 100755
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "dm/tools"))
import romfs as rfs
-@@ -2456,6 +2456,24 @@ def main(args=None):
+@@ -2540,6 +2540,24 @@ def main(args=None):
if not want_lang: raise BuildError(f'unknown game language {lang_in!r}; give one of {language_list([c for c, _ in nacp.LANGUAGES])}, by code or by name')
env = dict(os.environ, PATH=os.pathsep.join(TOOL_PATHS + [os.environ.get('PATH', '/usr/bin:/bin:/usr/sbin:/sbin')]))
env.setdefault('USER', getpass.getuser()) # xcodegen fails without USER (Couldn't find current username)
diff --git a/patches/0006-nsp-chain-changed-note.patch b/patches/0006-nsp-chain-changed-note.patch
index b68ba482..afd70481 100644
--- a/patches/0006-nsp-chain-changed-note.patch
+++ b/patches/0006-nsp-chain-changed-note.patch
@@ -14,10 +14,10 @@ Issue: LNPANDY/NX2Apple#123
1 file changed, 5 insertions(+)
diff --git a/scripts/build_ipa_from_nsp.py b/scripts/build_ipa_from_nsp.py
-index 50e040e..f869f4e 100755
+index caa8b01..4a41374 100755
--- a/scripts/build_ipa_from_nsp.py
+++ b/scripts/build_ipa_from_nsp.py
-@@ -1989,6 +1989,11 @@ def build_shaders(py, repo, sh, xlate, env, logs, g, pkg_key=None, mac=False):
+@@ -2071,6 +2071,11 @@ def build_shaders(py, repo, sh, xlate, env, logs, g, pkg_key=None, mac=False):
ios, log = sh / 'ios', logs / 'dmsh_build.log'
PROG.stage('Mac shaders' if mac else 'iOS shaders')
chain = chain_of(repo)
diff --git a/patches/0008-bc-cpu-decode.patch b/patches/0008-bc-cpu-decode.patch
index ca59a87c..f91875bc 100644
--- a/patches/0008-bc-cpu-decode.patch
+++ b/patches/0008-bc-cpu-decode.patch
@@ -46,10 +46,10 @@ index 8a8adb8..223a7f7 100644
tex_dirty_upload on
# 60 fps (30 on the Switch): the host decides each frame's step in whole vsyncs and holds the frame that long (rewriter stubs at FPSLocker's sites, patches.py FRAME_STEP);
diff --git a/dm/games/game.py b/dm/games/game.py
-index bc2ad82..2456df0 100644
+index 4ec5bbb..baff1c6 100644
--- a/dm/games/game.py
+++ b/dm/games/game.py
-@@ -131,6 +131,8 @@ def header(g):
+@@ -146,6 +146,8 @@ def header(g):
if tfu not in ('on', 'off'): sys.exit(f'{g.id}: tex_flush_upload must be on or off: {tfu}')
tdu = g.get('tex_dirty_upload', 'off') # with tex_flush_upload: a registered texture the CPU writes after init without any flush is uploaded too (dirty pages, hle_nvn.c nvn_ft_written): on / off
if tdu not in ('on', 'off') or (tdu == 'on' and tfu != 'on'): sys.exit(f'{g.id}: tex_dirty_upload must be on or off, and needs tex_flush_upload on: {tdu}')
@@ -58,16 +58,16 @@ index bc2ad82..2456df0 100644
tds = g.get('tex_dyn_slots', 'off') # shaders whose texture handle the translator could not trace to one slot: slot indices in c2, the bound slots in the fallback arrays (nvn_mtl.m): on / off
if tds not in ('on', 'off'): sys.exit(f'{g.id}: tex_dyn_slots must be on or off: {tds}')
vcr = g.get('vconv_range', 'off') # vertex attributes converted on the CPU only over the vertices each draw reads (nvn_mtl.m vc_draw_range): on / off
-@@ -186,6 +188,7 @@ def header(g):
+@@ -202,6 +204,7 @@ def header(g):
f'#define DM_GAME_SHADER_KEY_SKIP_OFF {sko:#x}', f'#define DM_GAME_SHADER_KEY_SKIP_LEN {skl:#x}',
f'#define DM_GAME_RENDER_COND {int(rcd == "on")}',
f'#define DM_GAME_TEX_DIRTY_UPLOAD {int(tdu == "on")}',
+ f'#define DM_GAME_TEX_BC_CPU {int(tbc == "on")}',
f'#define DM_GAME_TEX_DYN_SLOTS {int(tds == "on")}',
f'#define DM_GAME_GPU_TS_SEGMENT {int(gts == "segment")}',
- f'#define DM_GAME_VCONV_RANGE {int(vcr == "on")}',
+ f'#define DM_GAME_UPSCALER_KEYS {q(",".join(ups))}', f'#define DM_GAME_UPSCALER_N {len(ups)}',
diff --git a/dm/gfx/nvn/nvn_mtl.m b/dm/gfx/nvn/nvn_mtl.m
-index f421f7a..51d02fc 100644
+index 2acafbe..45ccbbe 100644
--- a/dm/gfx/nvn/nvn_mtl.m
+++ b/dm/gfx/nvn/nvn_mtl.m
@@ -20,6 +20,7 @@
@@ -109,7 +109,7 @@ index f421f7a..51d02fc 100644
[g_q addResidencySet:g_res];
[g_q4 addResidencySet:g_res];
{ void crash_set_wait_dump(void (*fn)(void)); void mtl_wait_state_dump(void); crash_set_wait_dump(mtl_wait_state_dump); }
-@@ -1953,7 +1960,12 @@ static MTLTextureUsage img_usage(const tex_t *t, MTLPixelFormat pf) {
+@@ -1954,7 +1961,12 @@ static MTLTextureUsage img_usage(const tex_t *t, MTLPixelFormat pf) {
static int tex_atomic_capable(id<MTLTexture> base) { return pf_r32i(base.pixelFormat) && (base.usage & MTLTextureUsageShaderWrite); }
static MTLTextureDescriptor *tex_desc(const tex_t *t, int packaged) {
uint32_t pf = 0; uint8_t swz[4];
@@ -123,7 +123,7 @@ index f421f7a..51d02fc 100644
// Metal's limits: 16384 in 2D, 2048 in 3D, 2048 array layers; beyond them Metal aborts the process on an assertion, so they are caught here with a red line
if (t->d.width > 16384 || t->d.height > 16384 || t->d.depth > 2048) { RED_ONCE(71, "texture size exceeds Metal limits: %u×%u×%u levels %u format %#x target %d (first case ser=%llu)", t->d.width, t->d.height, t->d.depth, t->d.levels, t->d.format, t->d.target, (unsigned long long)t->serial); return nil; }
MTLTextureDescriptor *d = [MTLTextureDescriptor new];
-@@ -2419,15 +2431,43 @@ static void rb_swap_rows(uint8_t *p, size_t wb, size_t rows, size_t nz, size_t r
+@@ -2420,15 +2432,43 @@ static void rb_swap_rows(uint8_t *p, size_t wb, size_t rows, size_t nz, size_t r
if (!(part = malloc(t->L.size ? t->L.size : 1))) MDIE("sparse texture copy of %llu bytes failed", (unsigned long long)t->L.size);
nvn_sparse_copy(t->pool, part, (uint64_t)(uintptr_t)t->mem, t->L.size); src = part;
}
@@ -168,7 +168,7 @@ index f421f7a..51d02fc 100644
if (nvn_deswizzle(&t->d, l, y, src, (uint8_t *)stg.contents + off, pitch)) { RED_ONCE(9, "deswizzle failed format %#x target %d", t->d.format, t->d.target); break; }
if (rb_shift) rb_swap_rows((uint8_t *)stg.contents + off, pitch, rows, z, pitch, pitch * rows, rb_shift);
if (zb && l < 16) { const uint64_t *q = (const uint64_t *)((const uint8_t *)stg.contents + off); size_t nb = pitch * rows * z / 16;
-@@ -2437,6 +2477,7 @@ static void rb_swap_rows(uint8_t *p, size_t wb, size_t rows, size_t nz, size_t r
+@@ -2438,6 +2478,7 @@ static void rb_swap_rows(uint8_t *p, size_t wb, size_t rows, size_t nz, size_t r
off += pitch * rows * z;
}
}
diff --git a/patches/0009-mac-keymap.patch b/patches/0009-mac-keymap.patch
index 1b465a0a..9e72e13e 100644
--- a/patches/0009-mac-keymap.patch
+++ b/patches/0009-mac-keymap.patch
@@ -23,10 +23,10 @@ Issue: LNPANDY/NX2Apple#386
create mode 100644 dm/host/tests/t_launcher_contract.c
diff --git a/dm/host/front_mac.m b/dm/host/front_mac.m
-index 909975a..082f81b 100644
+index 381a218..32dd0cf 100644
--- a/dm/host/front_mac.m
+++ b/dm/host/front_mac.m
-@@ -4,7 +4,8 @@
+@@ -5,7 +5,8 @@
// Cheats (hle_cheats.c): the Cheats menu's rows toggle, reload (⌘R) and open the cheats folder; its first item "Show Cheats
// Window" (⌘⇧C, or DM_CHEATS_WINDOW=1 at launch) opens a Cheats panel beside the game: sections, search, the master switch,
// safe mode, values, details and the import of cheat files (see the code below).
@@ -36,7 +36,7 @@ index 909975a..082f81b 100644
// Controllers: face buttons as on the iPhone, by position (right A, bottom B, top X, left Y) or on a Nintendo pad by its labels (pad_apple.h), shoulders L R, triggers ZL ZR, Menu + Options −, both sticks and their presses.
// Each controller is a player of its own (local co-op): the first one connected is player 1, together with the keyboard, the next player 2, and so on up to 8 (pad_slots.h);
// DM_PAD_MERGE=1 merges every controller into player 1 instead, DM_KBD_PLAYER=own makes the keyboard player 1 on its own, with the controllers from player 2 on.
-@@ -17,6 +18,7 @@
+@@ -18,6 +19,7 @@
#include "front.h"
#include "hle.h"
#include "pad_slots.h"
@@ -44,7 +44,7 @@ index 909975a..082f81b 100644
#include "haptics_apple.h"
#include "motion_apple.h"
#include "motion_pro_mac.h"
-@@ -28,8 +30,7 @@
+@@ -31,8 +33,7 @@
static CAMetalLayer *g_layer;
static uint64_t g_btn;
@@ -54,7 +54,7 @@ index 909975a..082f81b 100644
static int g_input_on = 1; // main thread: the game window is key, so its keyboard, mouse and controllers reach the game (input_release / input_resume)
void *front_metal_layer(void) { return (__bridge void *)g_layer; }
-@@ -107,33 +108,28 @@ static void cursor_hide_for_input(void) {
+@@ -110,33 +111,28 @@ static void cursor_hide_for_input(void) {
NSView *v = g_win.contentView;
if (NSPointInRect([v convertPoint:g_win.mouseLocationOutsideOfEventStream fromView:nil], v.bounds)) [NSCursor setHiddenUntilMouseMoves:YES];
}
@@ -104,7 +104,7 @@ index 909975a..082f81b 100644
push();
}
-@@ -145,9 +141,11 @@ static void on_key(NSEvent *e, int down) {
+@@ -148,9 +144,11 @@ static void on_key(NSEvent *e, int down) {
static pad_slots g_slots;
static GCController *g_held[DM_PLAYERS]; // the controller of each slot, kept alive while it holds it (the slot table keys on its pointer)
static int g_merge, g_kbd_own;
@@ -116,17 +116,17 @@ index 909975a..082f81b 100644
const int32_t dead = DM_STICK_MAX * 15 / 100;
if (m || abs(lx) > dead || abs(ly) > dead || abs(rx) > dead || abs(ry) > dead) cursor_hide_for_input();
dm_pad_set_player(p, m, lx, ly, rx, ry);
-@@ -235,7 +233,7 @@ static void input_release(void) {
+@@ -259,7 +257,7 @@ static void input_release(void) {
display_awake(0);
g_input_on = 0;
dm_motion_pro_active(0);
- g_btn = 0; g_w = g_a = g_s = g_d = 0; g_rl = g_ru = g_rr = g_rd = 0; push();
+ g_btn = 0; g_held_fn = 0; memset(g_shift_fn, 0, sizeof g_shift_fn); push();
if (g_mouse_down) { g_mouse_down = 0; dm_touch_set(NULL, 0); }
- if (g_merge) { if (merge_pads_left(nil)) dm_pad_set(0, 0, 0, 0, 0); return; }
- for (int p = 0; p < DM_PLAYERS; p++) if (g_held[p]) dm_pad_set_player(p, 0, 0, 0, 0, 0);
-@@ -275,6 +273,10 @@ static void hidpad_detach(hid_pad *d) { // d is already off g_hidpads
- dm_pad_players(pad_slot_mask(&g_slots));
+ pads_release();
+ }
+@@ -392,6 +390,10 @@ static void hq_close(void) {
+ hq_cancel(&g_hq); hq_hide_hold(); hq_hide_prompt();
}
static void pads_start(void) {
+ key_map_default(&g_keys); pad_map_default(&g_padmap);
@@ -136,7 +136,7 @@ index 909975a..082f81b 100644
const char *e = getenv("DM_PAD_MERGE"); g_merge = e && atoi(e);
e = getenv("DM_KBD_PLAYER"); g_kbd_own = !g_merge && e && !strcmp(e, "own");
static const char kbd = 0;
-@@ -1336,7 +1338,7 @@ int front_text_input(const char *title, const char *sub, const char *guide, cons
+@@ -1456,7 +1458,7 @@ int front_text_input(const char *title, const char *sub, const char *guide, cons
dispatch_sync(dispatch_get_main_queue(), ^{
// The box takes the keyboard and the mouse, so the game window never sees the key-up of the button or the touch-up of the click that opened it: nothing may stay pressed
// while it is up, or the game reads the stuck button / touch the moment the box closes (Stardew Valley's character creation re-opened the keyboard endlessly)
@@ -234,7 +234,7 @@ index 0000000..56fa499
+}
+static int pad_map_is_default(const pad_map *m) { for (int b = 0; b < IM_BUTTONS; b++) if (m->to[b] != b) return 0; return 1; }
diff --git a/dm/host/tests/Makefile b/dm/host/tests/Makefile
-index 9b7b2d5..e5fd7ac 100644
+index 2d49ba4..31e23eb 100644
--- a/dm/host/tests/Makefile
+++ b/dm/host/tests/Makefile
@@ -12,7 +12,7 @@ QUIET = $(if $(findstring -fsanitize,$(SAN)),,2>/dev/null)
@@ -246,7 +246,7 @@ index 9b7b2d5..e5fd7ac 100644
$(B)/t_language
$(B)/t_heap_size
$(B)/t_touch
-@@ -57,6 +57,8 @@ run: $(B)/t_language $(B)/t_motion $(B)/t_heap_size $(B)/t_touch $(B)/t_gesture
+@@ -60,6 +60,8 @@ run: $(B)/t_language $(B)/t_motion $(B)/t_heap_size $(B)/t_touch $(B)/t_gesture
$(B)/t_motion_pro_mac
TMPDIR="$(abspath $(B))" $(B)/t_hid
$(B)/t_pad_hid
@@ -255,7 +255,7 @@ index 9b7b2d5..e5fd7ac 100644
$(B)/t_haptics
$(B)/t_haptics_apple
TMPDIR="$(abspath $(B))" $(B)/t_cheats $(QUIET)
-@@ -196,6 +198,10 @@ $(B)/t_motion_pro: t_motion_pro.c ../motion_pro.h | $(B)
+@@ -213,6 +215,10 @@ $(B)/t_motion_pro: t_motion_pro.c ../motion_pro.h | $(B)
$(CLANG) -O1 -g -Wall -Werror -fsanitize=address,undefined -o $@ t_motion_pro.c
$(B)/t_motion_pro_mac: t_motion_pro_mac.m ../motion_pro_mac.h ../motion_pro.h ../dm_input.h | $(B)
$(CLANG) -O1 -g -fobjc-arc -Wall -Werror -Wno-unused-function -fsanitize=address,undefined -I.. -o $@ t_motion_pro_mac.m -framework Foundation -framework GameController -framework IOKit
@@ -357,10 +357,10 @@ index 0000000..136b403
+ return fails != 0;
+}
diff --git a/dm/tools/impact_map.tsv b/dm/tools/impact_map.tsv
-index 96ef450..adba1e0 100644
+index 652ca5f..2643f53 100644
--- a/dm/tools/impact_map.tsv
+++ b/dm/tools/impact_map.tsv
-@@ -126,6 +126,7 @@ dm/host/main.c *:* the host's start
+@@ -127,6 +127,7 @@ dm/host/main.c *:* the host's start
dm/host/loader.c *:* module loading
dm/host/hle.c hle:* the HLE tables
dm/host/front_mac.m present:* the Mac front end
@@ -369,7 +369,7 @@ index 96ef450..adba1e0 100644
dm/host/motion_apple.h hle:*SixAxisSensor* controller motion supplied by GameController
dm/host/pad_apple.h hle:*hid* controller face buttons from GameController
diff --git a/docs/development.md b/docs/development.md
-index f2fc2b8..8bc3ab5 100644
+index b95c5c2..91d4cc7 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -14,6 +14,8 @@ The README covers packing and playing. This page is for working on nxnative itse
@@ -382,10 +382,10 @@ index f2fc2b8..8bc3ab5 100644
How a Switch with Atmosphère runs cheats, and where this host differs, is in [Cheats on a Switch](reference/cheats.md).
diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
-index eb0dd7c..f306ed9 100644
+index 4032389..28544ae 100644
--- a/docs/env_switches.tsv
+++ b/docs/env_switches.tsv
-@@ -68,6 +68,7 @@ DM_ICON path `=<image>` gives `build_ipa.sh` another app icon (default the `icon
+@@ -71,6 +71,7 @@ DM_ICON path `=<image>` gives `build_ipa.sh` another app icon (default the `icon
DM_IMPORTS diagnostic When set, logs each import the loader binds to a host function and each forced takeover
DM_KBD switch `=<text>`: the system keyboard returns that text as OK without showing an input box; unset with no window, it returns cancel
DM_KBD_PLAYER switch `own` makes the Mac keyboard player 1 on its own, with controllers from player 2 on (by default the first controller shares player 1 with the keyboard)
@@ -393,7 +393,7 @@ index eb0dd7c..f306ed9 100644
DM_KEYS switch Scripted input: `<seconds or f<frame>>:<key>[+key][~hold or ~f<frames>][*count/interval],…` presses buttons, sticks, touches and `Shake` at those times; `=@<file>` reads the steps from the file
DM_LANG player Game language as a language code (default `en-US`; the iOS app sets the one the IPA was packed with)
DM_LAUNCHER switch `0` skips the iOS settings screen or the Mac settings window and starts the game at once, with the saved choices (on the Mac also `--no-launcher`)
-@@ -201,6 +202,7 @@ DM_OODLE_JOB path `=<job file>`: the host runs the game's own Oodle decoder on e
+@@ -206,6 +207,7 @@ DM_OODLE_JOB path `=<job file>`: the host runs the game's own Oodle decoder on e
DM_OODLE_MODULES path The rewritten modules the Mac host's Oodle tool mode loads when `shader_split.py` decodes Trinity packs; set by the NSP script
DM_OODLE_SERVE switch `=1`: the host answers decode requests on stdin / stdout with the game's own Oodle (or LZ5) decoder from the guest main thread before the SDK starts, until stdin ends
DM_OPMODE player The operation mode the game sees: `0` handheld, `1` console (default: the profile's `op_mode`, console unless set); read once at startup
diff --git a/patches/0017-fork-patches-stamp.patch b/patches/0017-fork-patches-stamp.patch
index 352cd1ec..2e64dcb5 100644
--- a/patches/0017-fork-patches-stamp.patch
+++ b/patches/0017-fork-patches-stamp.patch
@@ -37,10 +37,10 @@ index a5fe462..487a711 100644
NSMutableArray<NSString *> *from_file = [NSMutableArray array], *from_launch = [NSMutableArray array];
for (char **e = environ; *e; e++) { // set at launch (Xcode, devicectl): before the env files, and the launcher keeps them
diff --git a/dm/ios/project.yml b/dm/ios/project.yml
-index 16b4165..ed0010a 100644
+index e542cf1..8964dbb 100644
--- a/dm/ios/project.yml
+++ b/dm/ios/project.yml
-@@ -44,6 +44,7 @@ targets:
+@@ -48,6 +48,7 @@ targets:
LSApplicationCategoryType: ${DM_APP_CATEGORY} # game profile app_category
DMShowFPS: ${DM_SHOW_FPS} # YES = the frame-rate counter is on (front_ios.m; set by build_ipa.sh)
DMLanguage: ${DM_LANG} # the game language code (main.m sets DM_LANG from it; set by build_ipa.sh)
diff --git a/patches/0018-nsp-dotnet-root-verify.patch b/patches/0018-nsp-dotnet-root-verify.patch
index 6216bfab..167167c8 100644
--- a/patches/0018-nsp-dotnet-root-verify.patch
+++ b/patches/0018-nsp-dotnet-root-verify.patch
@@ -12,10 +12,10 @@ Issue: LNPANDY/NX2Apple#123
1 file changed, 23 insertions(+)
diff --git a/scripts/build_ipa_from_nsp.py b/scripts/build_ipa_from_nsp.py
-index f869f4e..20ba99c 100755
+index 4a41374..0197fa1 100755
--- a/scripts/build_ipa_from_nsp.py
+++ b/scripts/build_ipa_from_nsp.py
-@@ -2480,6 +2480,29 @@ def main(args=None):
+@@ -2564,6 +2564,29 @@ def main(args=None):
env.setdefault('DOTNET_CLI_TELEMETRY_OPTOUT', '1')
env.setdefault('DOTNET_NOLOGO', '1')
configure_dotnet(env)
diff --git a/patches/0031-front-mac-dm-screen.patch b/patches/0031-front-mac-dm-screen.patch
index 7f75244f..8a11339e 100644
--- a/patches/0031-front-mac-dm-screen.patch
+++ b/patches/0031-front-mac-dm-screen.patch
@@ -14,10 +14,10 @@ Issue: LNPANDY/NX2Apple#221
4 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/dm/host/front_mac.m b/dm/host/front_mac.m
-index 082f81b..a07979f 100644
+index 32dd0cf..47a4d0e 100644
--- a/dm/host/front_mac.m
+++ b/dm/host/front_mac.m
-@@ -1204,6 +1204,17 @@ void front_run(void (*guest)(void)) {
+@@ -1323,6 +1323,17 @@ void front_run(void (*guest)(void)) {
if (getenv("DM_METAL_HUD") && atoi(getenv("DM_METAL_HUD"))) LOG("front end: Metal performance HUD on (DM_METAL_HUD)");
v.layer = g_layer; [(DmGameView *)v fitDrawable];
[win center];
@@ -36,23 +36,23 @@ index 082f81b..a07979f 100644
screen_refresh(win.screen ?: NSScreen.mainScreen);
g_win = win;
diff --git a/docs/development.md b/docs/development.md
-index 8bc3ab5..3358fd2 100644
+index 91d4cc7..33c6e6c 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -10,7 +10,7 @@ The README covers packing and playing. This page is for working on nxnative itse
- | Host (`dm/host`) | Stands in for the Horizon kernel and the system services the games call: threads and synchronization, memory, file system with transactional saves, HID, audio, movies (VP9 through libvpx, AV1 through VideoToolbox or dav1d, Vorbis sound through stb_vorbis), software keyboard, focus and lifecycle |
+ | Host (`dm/host`) | Stands in for the Horizon kernel and the system services the games call: threads and synchronization, memory, file system with transactional saves, HID, audio, movies (VP9 through libvpx, Vorbis sound through stb_vorbis), software keyboard, focus and lifecycle |
| Graphics (`dm/gfx`) | NVN on Metal. Shaders are extracted by `shader_split.py` from Nintendo's containers and from Unity's `Shader` objects, then translated offline. Mario: 16,266 of 16,268 shaders compile. Engage: 9,268 of 9,269. Games that render with Vulkan (Hades) or OpenGL (Digimon Story Cyber Sleuth) go through layers of their own on Metal (`dm/gfx/vk`, `dm/gfx/gl`) |
- | Audio | Games that carry the SDK's audio renderer (Mario) run it in-process; games that use AudioOut directly (Engage: Wwise) feed it straight. Output goes through Core Audio (default on iOS, `DM_AUDIO=1` on the Mac) |
--| Input | iOS: the touch gamepad (hidden while a physical controller is connected) and physical controllers; shaking the phone shakes the controller (its six-axis sensor, `hle_hid.c`; the accelerometer in `DmGamepad.m`, threshold `DM_SHAKE_G`, 1.5 G by default). Mac: scripted input (`DM_KEYS=<seconds>:<button>,…`, `Shake` for a shake, with `DM_KBD=<text>` answering the system keyboard; `DM_REC=<file>` records what the player does in that syntax, [05](agents/05-debugging.md#scripted-input-and-thread-scheduling)) or `DM_WINDOW=1` for a window with keyboard input (Space shakes; Shift + arrow keys move the right stick, the arrow keys alone are the D-pad; key map in `front_mac.m`) and physical controllers (face buttons by position as on the iPhone, a Nintendo pad by its labels: `pad_apple.h`). On the Mac and iOS each controller is a player of its own, for local co-op: the first one connected is player 1, together with the keyboard (iOS: the touch gamepad and the phone's gyro), the next player 2, and so on up to 8 (`pad_slots.h`); a controller that is removed frees its player and gets it back when it reconnects, and the log names each one's player and npad (`controller 'Xbox Wireless Controller' connected: player 2 (npad 1)`). Player 1 is the Handheld npad in handheld mode and No1 docked, player n is No n; the game's supported npad ids decide how many play (`hle_hid.c`): a one-player game gets every controller as player 1, and a controller past a game's last player is not used. `DM_PAD_MERGE=1` makes every controller player 1, as before (on iOS from `Documents/env.txt`); `DM_KBD_PLAYER=own` makes the keyboard player 1 on its own, with the controllers from player 2 on. The window goes fullscreen from its green button or ⌃⌘F; `DM_FULLSCREEN=1` starts it that way. In fullscreen, a screen whose refresh rate is not a multiple of the game's (144 or 165 Hz) runs at one that is (120 Hz) until the window leaves fullscreen; `DM_SCREEN_MATCH=0` keeps its rate. The drawable follows the window in pixels (fullscreen at the screen's resolution); `DM_METAL_HUD=1` shows Apple's performance HUD (on the iPhone too, from `Documents/env.txt`). The left mouse button is the touchscreen, on the 16:9 picture. Motion: a controller with a gyroscope drives its player's six-axis sensor (`motion_apple.h` → `dm_motion_set`, `hle_hid.c`; orientation from the gyro with tilt correction toward gravity, `motion_fusion.h`), and on iOS the phone's own device motion drives player 1's while no controller supplies fresh motion (`DmGamepad.m`, in the Switch frame: the pad view's own frame on iOS 27 and later (`deviceMotionBody`), turned for the screen's orientation before that ([The phone's motion in the picture's frame](reference/services.md#the-phones-motion-in-the-pictures-frame)); `DM_PHONE_MOTION=0|1|auto`; `1` selects only the phone). On the Mac, a Switch Pro Controller whose GameController motion is empty can use passive HID reports instead (`motion_pro_mac.h`; `DM_MOTION_HID=0` turns this reader off). This requires exactly one Pro in each API so it can use the same player slot without guessing; multiple Pros retain GameController input. Raw HID has its own orientation and nominal sensor scales; hardware validation of the reworked reader remains open ([Pro Controller fallback](reference/services.md#switch-pro-controller-advertises-motion-but-sends-zeroes)). `DM_MOTION_AXES` / `DM_MOTION_ACC_SIGN` apply only to GameController. Each source keeps its own orientation. Without live motion the sensor lies flat as before. `DM_MOTION_LOG=1` logs player 1's mapped sample once a second per source; `DM_MOTION_AXES` (e.g. `x,-z,y`) and `DM_MOTION_ACC_SIGN=-1` remap a controller whose axes differ, `DM_MOTION_GAIN` sets the tilt correction (0.5), `DM_MOTION=0` turns motion off (the NSP script's `--no-motion` builds it in). The console's own sensor (`SevenSixAxisSensor`, read in handheld mode) still reports no states. In handheld mode the touches also drive `hid::GetGestureStates` (taps, presses, pans, swipes, pinches and rotations recognized by the host, `hle_touch.c`) |
-+| Input | iOS: the touch gamepad (hidden while a physical controller is connected) and physical controllers; shaking the phone shakes the controller (its six-axis sensor, `hle_hid.c`; the accelerometer in `DmGamepad.m`, threshold `DM_SHAKE_G`, 1.5 G by default). Mac: scripted input (`DM_KEYS=<seconds>:<button>,…`, `Shake` for a shake, with `DM_KBD=<text>` answering the system keyboard; `DM_REC=<file>` records what the player does in that syntax, [05](agents/05-debugging.md#scripted-input-and-thread-scheduling)) or `DM_WINDOW=1` for a window with keyboard input (Space shakes; Shift + arrow keys move the right stick, the arrow keys alone are the D-pad; key map in `front_mac.m`) and physical controllers (face buttons by position as on the iPhone, a Nintendo pad by its labels: `pad_apple.h`). On the Mac and iOS each controller is a player of its own, for local co-op: the first one connected is player 1, together with the keyboard (iOS: the touch gamepad and the phone's gyro), the next player 2, and so on up to 8 (`pad_slots.h`); a controller that is removed frees its player and gets it back when it reconnects, and the log names each one's player and npad (`controller 'Xbox Wireless Controller' connected: player 2 (npad 1)`). Player 1 is the Handheld npad in handheld mode and No1 docked, player n is No n; the game's supported npad ids decide how many play (`hle_hid.c`): a one-player game gets every controller as player 1, and a controller past a game's last player is not used. `DM_PAD_MERGE=1` makes every controller player 1, as before (on iOS from `Documents/env.txt`); `DM_KBD_PLAYER=own` makes the keyboard player 1 on its own, with the controllers from player 2 on. The window goes fullscreen from its green button or ⌃⌘F; `DM_FULLSCREEN=1` starts it that way and `DM_SCREEN=<NSScreenNumber>` opens it on that screen instead of the one macOS picks. In fullscreen, a screen whose refresh rate is not a multiple of the game's (144 or 165 Hz) runs at one that is (120 Hz) until the window leaves fullscreen; `DM_SCREEN_MATCH=0` keeps its rate. The drawable follows the window in pixels (fullscreen at the screen's resolution); `DM_METAL_HUD=1` shows Apple's performance HUD (on the iPhone too, from `Documents/env.txt`). The left mouse button is the touchscreen, on the 16:9 picture. Motion: a controller with a gyroscope drives its player's six-axis sensor (`motion_apple.h` → `dm_motion_set`, `hle_hid.c`; orientation from the gyro with tilt correction toward gravity, `motion_fusion.h`), and on iOS the phone's own device motion drives player 1's while no controller supplies fresh motion (`DmGamepad.m`, in the Switch frame: the pad view's own frame on iOS 27 and later (`deviceMotionBody`), turned for the screen's orientation before that ([The phone's motion in the picture's frame](reference/services.md#the-phones-motion-in-the-pictures-frame)); `DM_PHONE_MOTION=0|1|auto`; `1` selects only the phone). On the Mac, a Switch Pro Controller whose GameController motion is empty can use passive HID reports instead (`motion_pro_mac.h`; `DM_MOTION_HID=0` turns this reader off). This requires exactly one Pro in each API so it can use the same player slot without guessing; multiple Pros retain GameController input. Raw HID has its own orientation and nominal sensor scales; hardware validation of the reworked reader remains open ([Pro Controller fallback](reference/services.md#switch-pro-controller-advertises-motion-but-sends-zeroes)). `DM_MOTION_AXES` / `DM_MOTION_ACC_SIGN` apply only to GameController. Each source keeps its own orientation. Without live motion the sensor lies flat as before. `DM_MOTION_LOG=1` logs player 1's mapped sample once a second per source; `DM_MOTION_AXES` (e.g. `x,-z,y`) and `DM_MOTION_ACC_SIGN=-1` remap a controller whose axes differ, `DM_MOTION_GAIN` sets the tilt correction (0.5), `DM_MOTION=0` turns motion off (the NSP script's `--no-motion` builds it in). The console's own sensor (`SevenSixAxisSensor`, read in handheld mode) still reports no states. In handheld mode the touches also drive `hid::GetGestureStates` (taps, presses, pans, swipes, pinches and rotations recognized by the host, `hle_touch.c`) |
+ | Audio | Games that carry the SDK's audio renderer (Mario) run it in-process; games that use AudioOut directly (Engage: Wwise) feed it straight. With Core Audio enabled (default on iOS, `DM_AUDIO=1` on the Mac), the [silent sink keeps releasing PCM buffers while a device starts or retries](reference/audio.md#a-blocked-audio-device-start-freezes-the-game). |
+-| Input | iOS: the touch gamepad (hidden while a physical controller is connected) and physical controllers; shaking the phone shakes the controller (its six-axis sensor, `hle_hid.c`; the accelerometer in `DmGamepad.m`, threshold `DM_SHAKE_G`, 1.5 G by default). Mac: scripted input (`DM_KEYS=<seconds>:<button>,…`, `Shake` for a shake, with `DM_KBD=<text>` answering the system keyboard; `DM_REC=<file>` records what the player does in that syntax, [05](agents/05-debugging.md#scripted-input-and-thread-scheduling)) or `DM_WINDOW=1` for a window with keyboard input (Space shakes) and physical controllers (face buttons by position as on the iPhone, a Nintendo pad by its labels: `pad_apple.h`). On the Mac and iOS each controller is a player of its own, for local co-op: the first one connected is player 1, together with the keyboard (iOS: the touch gamepad and the phone's gyro), the next player 2, and so on up to 8 (`pad_slots.h`); a controller that is removed frees its player and gets it back when it reconnects, and the log names each one's player and npad (`controller 'Xbox Wireless Controller' connected: player 2 (npad 1)`). Player 1 is the Handheld npad in handheld mode and No1 docked, player n is No n; the game's supported npad ids decide how many play (`hle_hid.c`): a one-player game gets every controller as player 1, and a controller past a game's last player is not used. `DM_PAD_MERGE=1` makes every controller player 1, as before (on iOS from `Documents/env.txt`); `DM_KBD_PLAYER=own` makes the keyboard player 1 on its own, with the controllers from player 2 on. The window goes fullscreen from its green button or ⌃⌘F; `DM_FULLSCREEN=1` starts it that way. In fullscreen, a screen whose refresh rate is not a multiple of the game's (144 or 165 Hz) runs at one that is (120 Hz) until the window leaves fullscreen; `DM_SCREEN_MATCH=0` keeps its rate. The drawable follows the window in pixels (fullscreen at the screen's resolution); `DM_METAL_HUD=1` shows Apple's performance HUD (on the iPhone too, from `Documents/env.txt`). The left mouse button is the touchscreen, on the 16:9 picture. Motion: a controller with a gyroscope drives its player's six-axis sensor (`motion_apple.h` → `dm_motion_set`, `hle_hid.c`; orientation from the gyro with tilt correction toward gravity, `motion_fusion.h`), and on iOS the phone's own device motion drives player 1's while no controller supplies fresh motion (`DmGamepad.m`, in the Switch frame: the pad view's own frame on iOS 27 and later (`deviceMotionBody`), turned for the screen's orientation before that ([The phone's motion in the picture's frame](reference/services.md#the-phones-motion-in-the-pictures-frame)); `DM_PHONE_MOTION=0|1|auto`; `1` selects only the phone). On the Mac, a Switch Pro Controller whose GameController motion is empty can use passive HID reports instead (`motion_pro_mac.h`; `DM_MOTION_HID=0` turns this reader off). This requires exactly one Pro in each API so it can use the same player slot without guessing; multiple Pros retain GameController input. Raw HID has its own orientation and nominal sensor scales; hardware validation of the reworked reader remains open ([Pro Controller fallback](reference/services.md#switch-pro-controller-advertises-motion-but-sends-zeroes)). `DM_MOTION_AXES` / `DM_MOTION_ACC_SIGN` apply only to GameController. Each source keeps its own orientation. Without live motion the sensor lies flat as before. `DM_MOTION_LOG=1` logs player 1's mapped sample once a second per source; `DM_MOTION_AXES` (e.g. `x,-z,y`) and `DM_MOTION_ACC_SIGN=-1` remap a controller whose axes differ, `DM_MOTION_GAIN` sets the tilt correction (0.5), `DM_MOTION=0` turns motion off (the NSP script's `--no-motion` builds it in). The console's own sensor (`SevenSixAxisSensor`, read in handheld mode) still reports no states. In handheld mode the touches also drive `hid::GetGestureStates` (taps, presses, pans, swipes, pinches and rotations recognized by the host, `hle_touch.c`) |
++| Input | iOS: the touch gamepad (hidden while a physical controller is connected) and physical controllers; shaking the phone shakes the controller (its six-axis sensor, `hle_hid.c`; the accelerometer in `DmGamepad.m`, threshold `DM_SHAKE_G`, 1.5 G by default). Mac: scripted input (`DM_KEYS=<seconds>:<button>,…`, `Shake` for a shake, with `DM_KBD=<text>` answering the system keyboard; `DM_REC=<file>` records what the player does in that syntax, [05](agents/05-debugging.md#scripted-input-and-thread-scheduling)) or `DM_WINDOW=1` for a window with keyboard input (Space shakes) and physical controllers (face buttons by position as on the iPhone, a Nintendo pad by its labels: `pad_apple.h`). On the Mac and iOS each controller is a player of its own, for local co-op: the first one connected is player 1, together with the keyboard (iOS: the touch gamepad and the phone's gyro), the next player 2, and so on up to 8 (`pad_slots.h`); a controller that is removed frees its player and gets it back when it reconnects, and the log names each one's player and npad (`controller 'Xbox Wireless Controller' connected: player 2 (npad 1)`). Player 1 is the Handheld npad in handheld mode and No1 docked, player n is No n; the game's supported npad ids decide how many play (`hle_hid.c`): a one-player game gets every controller as player 1, and a controller past a game's last player is not used. `DM_PAD_MERGE=1` makes every controller player 1, as before (on iOS from `Documents/env.txt`); `DM_KBD_PLAYER=own` makes the keyboard player 1 on its own, with the controllers from player 2 on. The window goes fullscreen from its green button or ⌃⌘F; `DM_FULLSCREEN=1` starts it that way and `DM_SCREEN=<NSScreenNumber>` opens it on that screen instead of the one macOS picks. In fullscreen, a screen whose refresh rate is not a multiple of the game's (144 or 165 Hz) runs at one that is (120 Hz) until the window leaves fullscreen; `DM_SCREEN_MATCH=0` keeps its rate. The drawable follows the window in pixels (fullscreen at the screen's resolution); `DM_METAL_HUD=1` shows Apple's performance HUD (on the iPhone too, from `Documents/env.txt`). The left mouse button is the touchscreen, on the 16:9 picture. Motion: a controller with a gyroscope drives its player's six-axis sensor (`motion_apple.h` → `dm_motion_set`, `hle_hid.c`; orientation from the gyro with tilt correction toward gravity, `motion_fusion.h`), and on iOS the phone's own device motion drives player 1's while no controller supplies fresh motion (`DmGamepad.m`, in the Switch frame: the pad view's own frame on iOS 27 and later (`deviceMotionBody`), turned for the screen's orientation before that ([The phone's motion in the picture's frame](reference/services.md#the-phones-motion-in-the-pictures-frame)); `DM_PHONE_MOTION=0|1|auto`; `1` selects only the phone). On the Mac, a Switch Pro Controller whose GameController motion is empty can use passive HID reports instead (`motion_pro_mac.h`; `DM_MOTION_HID=0` turns this reader off). This requires exactly one Pro in each API so it can use the same player slot without guessing; multiple Pros retain GameController input. Raw HID has its own orientation and nominal sensor scales; hardware validation of the reworked reader remains open ([Pro Controller fallback](reference/services.md#switch-pro-controller-advertises-motion-but-sends-zeroes)). `DM_MOTION_AXES` / `DM_MOTION_ACC_SIGN` apply only to GameController. Each source keeps its own orientation. Without live motion the sensor lies flat as before. `DM_MOTION_LOG=1` logs player 1's mapped sample once a second per source; `DM_MOTION_AXES` (e.g. `x,-z,y`) and `DM_MOTION_ACC_SIGN=-1` remap a controller whose axes differ, `DM_MOTION_GAIN` sets the tilt correction (0.5), `DM_MOTION=0` turns motion off (the NSP script's `--no-motion` builds it in). The console's own sensor (`SevenSixAxisSensor`, read in handheld mode) still reports no states. In handheld mode the touches also drive `hid::GetGestureStates` (taps, presses, pans, swipes, pinches and rotations recognized by the host, `hle_touch.c`) |
| iOS app | One unsigned IPA for iPhone and iPad. The rewritten code is embedded in the executable; the shader libraries, the RomFS and the game icon are inside the app. A settings screen comes before the game (`Launcher.swift`, drawn from `dm/launcher.json`, which `dm/games/settings.py` writes from `dm/games/settings.tsv`); the host's loading starts at app launch meanwhile, and the frame rate and render scale go into the frame step state when the game starts (`loader.c` `dm_fps_state_apply`) |
| Known gaps | Conditional render is always drawn; `MultiDraw*IndirectCount` waits on the CPU for the GPU-written count; geometry shaders do not translate. TBDR optimizations are off by default (they don't understand bindless textures yet). No amiibo. On the Mac, Mario's menu and dialogue text render blank (fine on the iPhone) |
diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
-index f306ed9..f6415ef 100644
+index 28544ae..8694c9a 100644
--- a/docs/env_switches.tsv
+++ b/docs/env_switches.tsv
-@@ -277,6 +277,7 @@ DM_SAVE path This run's save folder (must be set); the device save is `<DM_SAVE>
+@@ -283,6 +283,7 @@ DM_SAVE path This run's save folder (must be set); the device save is `<DM_SAVE>
DM_SAVED_CHOICES switch `0` ignores the player's saved choices (launcher.<VAR> in the app's preferences) and leaves them saved; the Mac launcher and the iOS settings screen
DM_SAVE_SYNC player Cloud saves: the folder whose `<title ID>/save.dmsync` the save is synced through, `icloud` for iCloud Drive/nxnative Saves (the Mac); `0` or unset, off. The Mac launcher sets the folder chosen in its settings window's Cloud saves, the iPhone app the one picked in its launcher (dm/host/save_sync.h)
DM_SCHEME_NAME switch Set by `build_ipa.sh` itself for xcodegen's `project.yml`: the Xcode scheme name, `DmIOS`, or `<display name> (<title ID>)` for a project prepared with `--prepare-xcode`
@@ -61,10 +61,10 @@ index f306ed9..f6415ef 100644
DM_SF_TRACE diagnostic `=1` logs every request on the game's own HIPC client sessions that the host answers (`hle_sf.c`)
DM_SHAKE_G switch `=<G>`: on iOS, the acceleration beyond gravity above which a flick of the phone shakes the controller's six-axis sensor (default 1.5)
diff --git a/docs/frontends.md b/docs/frontends.md
-index a556c8c..93da2cb 100644
+index 86493d2..a4f32f3 100644
--- a/docs/frontends.md
+++ b/docs/frontends.md
-@@ -72,6 +72,7 @@ Each app keeps the player's choices in its own preferences domain, its bundle ID
+@@ -74,6 +74,7 @@ Each app keeps the player's choices in its own preferences domain, its bundle ID
5. the tested defaults (the host's own, from the game's profile).
- **Launch overrides are temporary.** A front end that starts the game with a variable in its environment overrides the saved choice for that start only. It writes the store only when the player means to keep the choice.
- **`DM_SAVED_CHOICES=0`** (in the environment or an `env.txt`) starts with the tested defaults and leaves the saved choices as they are. **`DM_LAUNCHER=0`** only skips the settings screen (the iPhone's, or a Mac app's window): the saved choices still apply.
diff --git a/patches/0032-front-mac-hide-the-pointer-after-a-few-idle-seco.patch b/patches/0032-front-mac-hide-the-pointer-after-a-few-idle-seco.patch
index 02144cac..6e6c9c88 100644
--- a/patches/0032-front-mac-hide-the-pointer-after-a-few-idle-seco.patch
+++ b/patches/0032-front-mac-hide-the-pointer-after-a-few-idle-seco.patch
@@ -16,10 +16,10 @@ Issue: LNPANDY/NX2Apple#272
3 files changed, 25 insertions(+)
diff --git a/dm/host/front_mac.m b/dm/host/front_mac.m
-index a07979f..369936d 100644
+index 47a4d0e..bfb2e29 100644
--- a/dm/host/front_mac.m
+++ b/dm/host/front_mac.m
-@@ -1270,6 +1270,22 @@ void front_run(void (*guest)(void)) {
+@@ -1389,6 +1389,22 @@ void front_run(void (*guest)(void)) {
(void)n; want = 0; entering = 0; g_fs_failed = nil; }]; // startup succeeded: later manual refusals have no startup request to retry
dispatch_async(dispatch_get_main_queue(), enter);
}
@@ -43,7 +43,7 @@ index a07979f..369936d 100644
[NSNotificationCenter.defaultCenter addObserverForName:nm object:nil queue:NSOperationQueue.mainQueue usingBlock:^(NSNotification *n) {
GCController *c = n.object; int conn = n.name == GCControllerDidConnectNotification;
diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
-index f6415ef..5335a6c 100644
+index 8694c9a..4837ea5 100644
--- a/docs/env_switches.tsv
+++ b/docs/env_switches.tsv
@@ -21,6 +21,7 @@ DM_CHEATS_WINDOW switch `1` opens the Mac Cheats panel beside the game from the
@@ -55,10 +55,10 @@ index f6415ef..5335a6c 100644
DM_DBG_AU_FRAMES diagnostic `=<frames>` asks the Mac's Core Audio output for that many frames per callback instead of about 5 ms (1024 reproduces the iOS default that caused crackling)
DM_DETCLOCK switch `=<step ns>`: from the first present on, the guest clock advances a fixed step per present instead of following the wall clock, and the random source becomes a fixed-seed stream (replay and test runs)
diff --git a/docs/reference/frame-rate.md b/docs/reference/frame-rate.md
-index fc69884..f999f52 100644
+index 1168d3d..2678d73 100644
--- a/docs/reference/frame-rate.md
+++ b/docs/reference/frame-rate.md
-@@ -250,6 +250,14 @@ Frame pacing: the host's frame step, engine frame limiters, present intervals an
+@@ -273,6 +273,14 @@ Frame pacing: the host's frame step, engine frame limiters, present intervals an
- **Check:** the reporter confirmed that the deferred request entered fullscreen on its first attempt and stayed there, without a refusal. A harness of the startup callbacks checks both readiness orders, bounded refusal recovery, and cancellation before startup or a queued retry, plus later manual failures after successful startup.
- **Not checked:** the revised lifecycle handling in a real game through the launcher's console mode; native refusal recovery (the reporter's deferred request succeeded without it).
diff --git a/patches/0037-totk-1.4.2-frame-step-sites.patch b/patches/0037-totk-1.4.2-frame-step-sites.patch
index 437773eb..d0e01637 100644
--- a/patches/0037-totk-1.4.2-frame-step-sites.patch
+++ b/patches/0037-totk-1.4.2-frame-step-sites.patch
@@ -38,7 +38,7 @@ Issue: LNPANDY/NX2Apple#303
3 files changed, 45 insertions(+), 25 deletions(-)
diff --git a/dm/games/0100F2C0115B6000/README.md b/dm/games/0100F2C0115B6000/README.md
-index c2d2d0a..97cd1ef 100644
+index 707958a..091271e 100644
--- a/dm/games/0100F2C0115B6000/README.md
+++ b/dm/games/0100F2C0115B6000/README.md
@@ -24,6 +24,13 @@ Update 1.4.3 (v720896) over the base game, SDK 20.5.22. Nintendo EPD's engine (s
diff --git a/patches/0041-shared-fonts-a-compact-stand-in-for-a-font-engin.patch b/patches/0041-shared-fonts-a-compact-stand-in-for-a-font-engin.patch
index 934c2a5a..8d80b9ac 100644
--- a/patches/0041-shared-fonts-a-compact-stand-in-for-a-font-engin.patch
+++ b/patches/0041-shared-fonts-a-compact-stand-in-for-a-font-engin.patch
@@ -37,7 +37,7 @@ Issue: LNPANDY/NX2Apple#313
create mode 100644 dm/tools/compact_font.py
diff --git a/dm/host/hle_sdk16.c b/dm/host/hle_sdk16.c
-index be94a15..265aee2 100644
+index 35b6eb5..49ea142 100644
--- a/dm/host/hle_sdk16.c
+++ b/dm/host/hle_sdk16.c
@@ -103,15 +103,74 @@ static const void *font_payload(const void *p) {
@@ -271,10 +271,10 @@ index 0000000..c255d91
+if __name__ == '__main__':
+ sys.exit(main())
diff --git a/docs/reference/services.md b/docs/reference/services.md
-index 5541257..ce87fd2 100644
+index 5f6eaee..4faea53 100644
--- a/docs/reference/services.md
+++ b/docs/reference/services.md
-@@ -680,6 +680,14 @@ Most service calls can be found before they crash, before the first boot or the
+@@ -702,6 +702,14 @@ Most service calls can be found before they crash, before the first boot or the
- **Fix:** the iOS app ships `dm/font/standard.ttf` and `dm/font/nintendo_ext.ttf` (copied / generated by `build_ipa.sh`) and sets `DM_FONT_DIR`.
- **Found on:** every game on iOS (general).
@@ -290,10 +290,10 @@ index 5541257..ce87fd2 100644
### Time zone rules, calendar conversion and the network clock
diff --git a/scripts/build_ipa_from_nsp.py b/scripts/build_ipa_from_nsp.py
-index 20ba99c..990dbf4 100755
+index 0197fa1..51ea9d4 100755
--- a/scripts/build_ipa_from_nsp.py
+++ b/scripts/build_ipa_from_nsp.py
-@@ -2212,6 +2212,16 @@ def mac_host(py, repo, work, env, logs, g):
+@@ -2294,6 +2294,16 @@ def mac_host(py, repo, work, env, logs, g):
rmtree(kf); font.mkdir(parents=True, exist_ok=True)
run([py, repo / 'dm/tools/make_ext_font.py', ttf], logs / 'make_ext_font.log', env=env)
kf.write_text(f'{key}\n')
diff --git a/patches/0042-ios-launcher-present-the-document-picker-once-pe.patch b/patches/0042-ios-launcher-present-the-document-picker-once-pe.patch
index 8d2302c4..e12e59a4 100644
--- a/patches/0042-ios-launcher-present-the-document-picker-once-pe.patch
+++ b/patches/0042-ios-launcher-present-the-document-picker-once-pe.patch
@@ -21,7 +21,7 @@ Issue: LNPANDY/NX2Apple#315
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/dm/ios/Sources/Launcher.swift b/dm/ios/Sources/Launcher.swift
-index ebaa055..f20e403 100644
+index d8ceac0..8e4bdf7 100644
--- a/dm/ios/Sources/Launcher.swift
+++ b/dm/ios/Sources/Launcher.swift
@@ -30,6 +30,18 @@ private struct GameDataSection: View {
diff --git a/patches/0047-route-c-framework-build.patch b/patches/0047-route-c-framework-build.patch
index 06d71f60..b1f744c6 100644
--- a/patches/0047-route-c-framework-build.patch
+++ b/patches/0047-route-c-framework-build.patch
@@ -282,10 +282,10 @@ index 0000000..ec2c33b
+if __name__ == '__main__':
+ main()
diff --git a/scripts/build_ipa_from_nsp.py b/scripts/build_ipa_from_nsp.py
-index 990dbf4..0d8ed0a 100755
+index 51ea9d4..254029f 100755
--- a/scripts/build_ipa_from_nsp.py
+++ b/scripts/build_ipa_from_nsp.py
-@@ -2348,6 +2348,7 @@ def parse_args(argv):
+@@ -2430,6 +2430,7 @@ def parse_args(argv):
ap.add_argument('--romfs', choices=('bundle', 'separate'), help='bundle = the game files go into the IPA (default: the ROMFS setting, bundle); separate = they stay out of the IPA and the Xcode app: the build is small and fast, and the RomFS image '
'is copied to the phone once per game version with the scripts/push_romfs.sh command printed at the end (the app refuses an image of another version)')
ap.add_argument('--prepare-xcode', action='store_true', help='prepare a per-game Xcode project and add it to the shared workspace instead of packing an IPA (requires keeping extracted files)')
@@ -293,7 +293,7 @@ index 990dbf4..0d8ed0a 100755
ap.add_argument('--platform', choices=('ios', 'mac', 'mac-app'), help='ios = the IPA (or the Xcode project); mac = for development: build only what running the game on this Mac needs (the Mac shaders and the Mac host, '
'no iOS shaders, Xcode project or IPA), keep the extracted files and print the command that runs the game; mac-app = what mac builds, then a self-contained, double-clickable '
'Mac app of the game (default: <game name>.app in the NSP folder, -o names another) (default: the PLATFORM setting, ios)')
-@@ -2448,6 +2449,7 @@ def main(args=None):
+@@ -2530,6 +2531,7 @@ def main(args=None):
mac_pack = platform == 'mac-app'
if args.mac_sign and not mac_pack: raise BuildError('--mac-sign signs the Mac app: it needs --platform mac-app')
if mac and prepare_xcode: raise BuildError(f'--prepare-xcode makes an iPhone project: it cannot be combined with --platform {platform}')
@@ -301,7 +301,7 @@ index 990dbf4..0d8ed0a 100755
if mac and not apple_silicon(): raise BuildError(f'--platform {platform} runs the game in the Mac host, which runs the game\'s own arm64 code natively: it needs a Mac with Apple silicon, and this Mac has an Intel processor')
check_native_python()
keep = KEEP_EXTRACTED if args.keep_extracted is None else args.keep_extracted
-@@ -2723,6 +2725,7 @@ def main(args=None):
+@@ -2812,6 +2814,7 @@ def main(args=None):
say('preparing the Xcode project' if prepare_xcode else f'building the IPA → {out_ipa}')
ipa_env = dict(env, GAME=g.id, W=str(work / 'ipa'), PATCHED=str(patched), ROMFS=str(rfs.source(game)), MSL_IOS=str(ios), GFXAPI=gfx, FONT_PY=py, DM_DISPLAY_NAME=app_name, DM_BUNDLE_ID=bundle_id, AOC=str(aoc or ''), DM_XCODE_DERIVED_DATA=str(work / 'xcode-derived-data'), DM_TEAM_ID=team_id, DM_LANG=lang)
if prepare_xcode: ipa_env['DM_XCODE_PROJECT_DIR'] = str(project.parent)
diff --git a/patches/0048-route-c-framework-tests.patch b/patches/0048-route-c-framework-tests.patch
index 5550b49f..2a48edaa 100644
--- a/patches/0048-route-c-framework-tests.patch
+++ b/patches/0048-route-c-framework-tests.patch
@@ -383,7 +383,7 @@ index 0000000..ccbba80
+if __name__ == '__main__':
+ unittest.main()
diff --git a/dm/ios/tests/test_xcode_workflow.py b/dm/ios/tests/test_xcode_workflow.py
-index 2881f08..98b0e62 100644
+index b13fd02..5806781 100644
--- a/dm/ios/tests/test_xcode_workflow.py
+++ b/dm/ios/tests/test_xcode_workflow.py
@@ -29,7 +29,12 @@ class XcodePipelineTests(unittest.TestCase):
@@ -400,7 +400,7 @@ index 2881f08..98b0e62 100644
with tempfile.TemporaryDirectory() as temporary, ExitStack() as stack:
root = Path(temporary).resolve()
(root / 'prod.keys').touch()
-@@ -75,7 +80,8 @@ class XcodePipelineTests(unittest.TestCase):
+@@ -80,7 +85,8 @@ class XcodePipelineTests(unittest.TestCase):
try:
with redirect_stdout(output):
code = build.cli([str(root), '-k', str(root / 'prod.keys'), '--prepare-xcode',
@@ -410,7 +410,7 @@ index 2881f08..98b0e62 100644
finally:
progress.close()
self.assertEqual(code, 0)
-@@ -92,6 +98,7 @@ class XcodePipelineTests(unittest.TestCase):
+@@ -97,6 +103,7 @@ class XcodePipelineTests(unittest.TestCase):
self.assertEqual(environment['GFXAPI'], graphics)
self.assertEqual(environment['DM_BUNDLE_ID'], 'com.example.saved')
self.assertEqual(environment['DM_TEAM_ID'], 'ABCDEFGHIJ')
diff --git a/patches/0049-dm-framework-env-switch-row.patch b/patches/0049-dm-framework-env-switch-row.patch
index 5fa63dee..408164ce 100644
--- a/patches/0049-dm-framework-env-switch-row.patch
+++ b/patches/0049-dm-framework-env-switch-row.patch
@@ -16,7 +16,7 @@ Issue: LNPANDY/NX2Apple#144
1 file changed, 8 insertions(+)
diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
-index 5335a6c..7b36162 100644
+index 4837ea5..7b7fcb0 100644
--- a/docs/env_switches.tsv
+++ b/docs/env_switches.tsv
@@ -36,9 +36,12 @@ DM_FD_LOG diagnostic `=<seconds>` logs, every that many seconds, the number and
@@ -32,15 +32,15 @@ index 5335a6c..7b36162 100644
DM_FS diagnostic When set, logs file opens, paths not found or not mounted, and a read summary every 64 MiB or 1000 reads
DM_FSLOG diagnostic `=<file>` writes one TSV line per ReadFile: seconds since boot, guest path, offset, length and guest buffer address
DM_FSLOG_HASH diagnostic With `DM_FSLOG`, adds a column with the FNV-1a 64 hash of the bytes read
-@@ -65,6 +68,7 @@ DM_HID_MAP switch `=<map>` such as `A=1,B=2,X=4,Y=5`: which HID button usage pre
- DM_HID_PADS switch `0` stops reading raw HID gamepads that GameController does not list, such as an 8BitDo in its own mode (`pad_hid_mac.h`); Mac only
- DM_HITCH_DUMP diagnostic `=<ms>[:<s>]`: when no frame has been presented for that long (from s seconds on), logs every guest thread once per stall: wait, last SVC, pc, lr, frames and registers
- DM_HLECOUNT diagnostic `=<file>` (`%d` = process ID) writes at exit a TSV of how many times the guest called each HLE function, zero counts included
+@@ -68,6 +71,7 @@ DM_HLECOUNT diagnostic `=<file>` (`%d` = process ID) writes at exit a TSV of how
+ DM_HOME_QUIT player `0` turns off quitting with the controller's Home button (Mac, on by default): held for 2 s it opens a quit prompt over the game, A quits as ⌘Q does, B or Home closes it (`home_quit.h`)
+ DM_HOME_QUIT_CAPTURE test `=<folder>`: `tests/t_home_quit_mac.m` also draws the Home button's quit prompt and hold indicator into PNG files there
+ DM_HOME_QUIT_TEXT switch The texts of the Home button's quit prompt in the player's language, one per line: the hold indicator, the title, the note, the quit and the cancel button; a front end such as NX2Apple sets it ([Starting a game](frontends.md#starting-a-game)), an empty or missing line keeps the English text
+DM_HUD_PER_LAYER switch `1`: the shell app sets it at start together with `MTL_HUD_ENABLED`, and the game view then turns Apple's Metal HUD off on its layer unless `DM_METAL_HUD` is `1`
DM_ICON path `=<image>` gives `build_ipa.sh` another app icon (default the `icon.jpg` beside the RomFS)
DM_IMPORTS diagnostic When set, logs each import the loader binds to a host function and each forced takeover
DM_KBD switch `=<text>`: the system keyboard returns that text as OK without showing an input box; unset with no window, it returns cancel
-@@ -284,6 +288,10 @@ DM_SF_TRACE diagnostic `=1` logs every request on the game's own HIPC client ses
+@@ -290,6 +294,10 @@ DM_SF_TRACE diagnostic `=1` logs every request on the game's own HIPC client ses
DM_SHAKE_G switch `=<G>`: on iOS, the acceleration beyond gravity above which a flick of the phone shakes the controller's six-axis sensor (default 1.5)
DM_SHARED_FONT path Font file served for every shared-font type except the Nintendo extension (default `$DM_FONT_DIR/standard.ttf`, then macOS's Arial Unicode)
DM_SHARED_FONT_EXT path Font file served for shared-font type 5, the Nintendo extension with the button icons (default `$DM_FONT_DIR/nintendo_ext.ttf`, made by `make_ext_font.py`)
diff --git a/patches/0050-route-c-shell.patch b/patches/0050-route-c-shell.patch
index 507789f2..5b501b7d 100644
--- a/patches/0050-route-c-shell.patch
+++ b/patches/0050-route-c-shell.patch
@@ -316,10 +316,10 @@ index 0000000..0cb8cdd
+ @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass(App.class)); }
+}
diff --git a/dm/ios/Sources/front_ios.m b/dm/ios/Sources/front_ios.m
-index c560abb..57b08e9 100644
+index 0276e8b..cee5388 100644
--- a/dm/ios/Sources/front_ios.m
+++ b/dm/ios/Sources/front_ios.m
-@@ -113,6 +113,7 @@ - (void)startGame {
+@@ -162,6 +162,7 @@ - (void)startGame {
[self.view addSubview:self.game];
g_layer = (CAMetalLayer *)self.game.layer;
if (getenv("DM_METAL_HUD") && atoi(getenv("DM_METAL_HUD"))) { g_layer.developerHUDProperties = @{@"mode": @"default"}; LOG("front end: Metal performance HUD on (DM_METAL_HUD)"); } // Apple's HUD over the game: frame rate, frame and GPU time, memory
diff --git a/patches/0051-nsp-shell-framework.patch b/patches/0051-nsp-shell-framework.patch
index a9d9fa1f..9907c7c5 100644
--- a/patches/0051-nsp-shell-framework.patch
+++ b/patches/0051-nsp-shell-framework.patch
@@ -15,10 +15,10 @@ Issue: LNPANDY/NX2Apple#144
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/scripts/build_ipa_from_nsp.py b/scripts/build_ipa_from_nsp.py
-index 0d8ed0a..75b9b17 100755
+index 254029f..3ab23ef 100755
--- a/scripts/build_ipa_from_nsp.py
+++ b/scripts/build_ipa_from_nsp.py
-@@ -2349,6 +2349,9 @@ def parse_args(argv):
+@@ -2431,6 +2431,9 @@ def parse_args(argv):
'is copied to the phone once per game version with the scripts/push_romfs.sh command printed at the end (the app refuses an image of another version)')
ap.add_argument('--prepare-xcode', action='store_true', help='prepare a per-game Xcode project and add it to the shared workspace instead of packing an IPA (requires keeping extracted files)')
ap.add_argument('--framework', action='store_true', help='the game\'s modules go into DmIOS.app/Frameworks/DmGame.framework, which the app dlopens at launch (route C, docs/launcher-c-plan.md M1), instead of the executable; the IPA is otherwise the usual one')
@@ -28,7 +28,7 @@ index 0d8ed0a..75b9b17 100755
ap.add_argument('--platform', choices=('ios', 'mac', 'mac-app'), help='ios = the IPA (or the Xcode project); mac = for development: build only what running the game on this Mac needs (the Mac shaders and the Mac host, '
'no iOS shaders, Xcode project or IPA), keep the extracted files and print the command that runs the game; mac-app = what mac builds, then a self-contained, double-clickable '
'Mac app of the game (default: <game name>.app in the NSP folder, -o names another) (default: the PLATFORM setting, ios)')
-@@ -2450,6 +2453,10 @@ def main(args=None):
+@@ -2532,6 +2535,10 @@ def main(args=None):
if args.mac_sign and not mac_pack: raise BuildError('--mac-sign signs the Mac app: it needs --platform mac-app')
if mac and prepare_xcode: raise BuildError(f'--prepare-xcode makes an iPhone project: it cannot be combined with --platform {platform}')
if mac and args.framework: raise BuildError(f'--framework builds the iPhone app\'s game framework: it cannot be combined with --platform {platform}')
@@ -39,7 +39,7 @@ index 0d8ed0a..75b9b17 100755
if mac and not apple_silicon(): raise BuildError(f'--platform {platform} runs the game in the Mac host, which runs the game\'s own arm64 code natively: it needs a Mac with Apple silicon, and this Mac has an Intel processor')
check_native_python()
keep = KEEP_EXTRACTED if args.keep_extracted is None else args.keep_extracted
-@@ -2721,8 +2728,8 @@ def main(args=None):
+@@ -2810,8 +2817,8 @@ def main(args=None):
report_profile_status(g, reg, pkg_ver, derived, provisional, 'Mac build', patched)
return
@@ -50,7 +50,7 @@ index 0d8ed0a..75b9b17 100755
ipa_env = dict(env, GAME=g.id, W=str(work / 'ipa'), PATCHED=str(patched), ROMFS=str(rfs.source(game)), MSL_IOS=str(ios), GFXAPI=gfx, FONT_PY=py, DM_DISPLAY_NAME=app_name, DM_BUNDLE_ID=bundle_id, AOC=str(aoc or ''), DM_XCODE_DERIVED_DATA=str(work / 'xcode-derived-data'), DM_TEAM_ID=team_id, DM_LANG=lang)
if prepare_xcode: ipa_env['DM_XCODE_PROJECT_DIR'] = str(project.parent)
if args.framework: ipa_env['DM_FRAMEWORK'] = '1'; say('route C: the game\'s modules go into DmIOS.app/Frameworks/DmGame.framework (DM_FRAMEWORK=1)')
-@@ -2740,6 +2747,18 @@ def main(args=None):
+@@ -2829,6 +2836,18 @@ def main(args=None):
ipa_env['DM_PSO_GPUS'] = gpus
if gfx == 'nvn': say(f'pipeline archive: {"none, the device builds the bases on its first start if it takes the Metal 4 path (--gpu g18p builds one)" if gpus == "none" else gpus + " (made on this Mac with metal-tt; --gpu none leaves it out)"}')
if show_fps: say('frame-rate counter: on (DM_SHOW_FPS=0 in the app\'s Documents/env.txt turns it off)')
diff --git a/patches/0053-runtime-profile-every-site.patch b/patches/0053-runtime-profile-every-site.patch
index 6c2819af..0a413194 100644
--- a/patches/0053-runtime-profile-every-site.patch
+++ b/patches/0053-runtime-profile-every-site.patch
@@ -44,10 +44,10 @@ Issue: LNPANDY/NX2Apple#144
create mode 100644 dm/tools/tests/test_game_profile_runtime.py
diff --git a/dm/games/game.py b/dm/games/game.py
-index 2456df0..d5f89a3 100644
+index baff1c6..cfa686a 100644
--- a/dm/games/game.py
+++ b/dm/games/game.py
-@@ -217,7 +217,8 @@ if __name__ == '__main__':
+@@ -234,7 +234,8 @@ if __name__ == '__main__':
('shared_font', 'SHARED_FONT_TTF'), ('pad_layout', 'PAD_LAYOUT'), ('op_mode', 'OPMODE'), ('perf_mode', 'PERF_BOOST'),
('feedback_snap', 'FEEDBACK_SNAP'), ('tex_flush_upload', 'TEX_FLUSH_UPLOAD'), ('render_cond', 'RENDER_COND'),
('tex_dirty_upload', 'TEX_DIRTY_UPLOAD'), ('tex_dyn_slots', 'TEX_DYN_SLOTS'), ('gpu_timestamps', 'GPU_TS_SEGMENT'),
@@ -57,7 +57,7 @@ index 2456df0..d5f89a3 100644
def val(macro): # the header's C spelling → the file's plain spelling
v = M.get('DM_GAME_' + macro)
if v is None: return None
-@@ -233,7 +234,9 @@ if __name__ == '__main__':
+@@ -250,7 +251,9 @@ if __name__ == '__main__':
v = val(macro)
if v is not None: L.append(f'{key}\t{v}')
api = [val('NVN_API_MAJOR'), val('NVN_API_MINOR')]
@@ -69,7 +69,7 @@ index 2456df0..d5f89a3 100644
L.append(f'display_version\t{b}\t{d}')
text = '\n'.join(L) + '\n'
diff --git a/dm/gfx/nvn/hle_nvn.c b/dm/gfx/nvn/hle_nvn.c
-index 85fc17a..5436cc7 100644
+index b2e91b2..a5262b5 100644
--- a/dm/gfx/nvn/hle_nvn.c
+++ b/dm/gfx/nvn/hle_nvn.c
@@ -185,16 +185,14 @@ __attribute__((weak)) int dm_sdk_ounce(void) { return 0; }
@@ -147,7 +147,7 @@ index 85fc17a..5436cc7 100644
pthread_mutex_lock(&g_ft_mu);
for (size_t i = 0; i < g_nft;)
if (g_ft[i].mem < a + n && a < g_ft[i].mem + g_ft[i].size) { mtl_tex_cpu_written(&g_ft[i].t); g_ft[i] = g_ft[--g_nft]; } else i++;
-@@ -672,11 +670,12 @@ static int keys_hash(const NVNshaderData *sd, int mapped, uint8_t out[8]) {
+@@ -675,11 +673,12 @@ static int keys_hash(const NVNshaderData *sd, int mapped, uint8_t out[8]) {
uint8_t md[CC_SHA256_DIGEST_LENGTH]; CC_SHA256_CTX hc; CC_SHA256_Init(&hc);
// Profile key shader_key_skip: bytes of the control section hashed as zeros (shader_split.py key_ctl). Batman: Arkham Knight's engine shares one control section among shaders whose
// sections differ only in GLSLC's compile information (+0x778..+0x791, +0x7d0..+0x7e7): it hands a program the section of an earlier shader with the same rest, so the bytes there name another shader
@@ -162,7 +162,7 @@ index 85fc17a..5436cc7 100644
CC_SHA256_Update(&hc, ctl, nctl);
} else CC_SHA256_Update(&hc, sd->control, nctl);
if (code) CC_SHA256_Update(&hc, (const void *)(uintptr_t)sd->data, ncode);
-@@ -1729,7 +1728,7 @@ static int g_present_cap = -1;
+@@ -1740,7 +1739,7 @@ static int g_present_cap = -1;
static int fps_present_cap(void) {
if (dm_fps_state) return fps_step_cap();
if (g_present_cap < 0) {
@@ -171,7 +171,7 @@ index 85fc17a..5436cc7 100644
g_present_cap=t==30||t==60?t:0;
if (g_present_cap && !dm_fps_lock_engine()) {
LOG("[nvn] present cap %d fps (%s) not applied: this main has neither a frame step nor an engine frame limit the host writes, so the game's own present interval stays", g_present_cap, e ? "DM_FPS_TARGET" : "game profile fps_target");
-@@ -1753,7 +1752,7 @@ static void present_cfg(const win_t *o) {
+@@ -1764,7 +1763,7 @@ static void present_cfg(const win_t *o) {
// with a fixed hard floor of 60 fps; the logic stays at 25 ticks, and the client's frame-counted UI logic is unaffected -
// with the same save and the same input, the UI message streams of the two modes match message by message. Proof (before character select): r9 game / display 60 ×3 / display 120 ×2, 6 groups in total, uicmp consistent
// (the save indicator is exempted as a timing race), and the timing differences of key messages are within game mode's own noise band; proof after entering a run is still missing, pending action script coverage
@@ -180,7 +180,7 @@ index 85fc17a..5436cc7 100644
LOG("[nvn] present tick %d Hz, interval mode %s (%s; present interval set by the game %d; %s)", g_hz, g_display_mode ? "display (one frame per tick, a cut)" : "game (original semantics)",
m ? "DM_PRESENT_INTERVAL" : "game profile present_interval", o->interval, scr > 0 ? "window, fixed 60 Hz" : "no window, fixed 60 Hz");
}
-@@ -1817,7 +1816,7 @@ static int fstep_cpu_slowed(uint64_t presents) {
+@@ -1828,7 +1827,7 @@ static int fstep_cpu_slowed(uint64_t presents) {
static int fstep_hold(void) {
static int h = -1;
if (h < 0) {
@@ -189,7 +189,7 @@ index 85fc17a..5436cc7 100644
if (!h) LOG("[nvn] frame step: frames are not held longer than the cap's vsyncs (%s)", e ? "DM_FPS_HOLD" : "game profile fps_hold");
}
return h;
-@@ -2127,7 +2126,7 @@ static uint8_t *vpool_reserve(pool_t *o) { // → the reserved range, or NULL
+@@ -2138,7 +2137,7 @@ static uint8_t *vpool_reserve(pool_t *o) { // → the reserved range, or NULL
pthread_mutex_lock(&g_vp_mu);
if (g_nvp == g_cvp && !(g_vp = realloc(g_vp, (g_cvp = g_cvp ? 2 * g_cvp : 64) * sizeof *g_vp))) die("sparse pool table allocation failed");
g_vp[g_nvp++] = v; o->vp = v;
@@ -198,7 +198,7 @@ index 85fc17a..5436cc7 100644
pthread_mutex_unlock(&g_vp_mu);
if (o->vmode == 2) LOG("[nvn] virtual pool %p (%#llx bytes, flags %#x): sparse, own address range %p+%#llx, physical pages are remapped into it", (const void *)o, (unsigned long long)o->size, o->flags, a, (unsigned long long)len);
return a;
-@@ -2696,11 +2695,11 @@ NVN(nvnCommandBufferClearBuffer, void, NVNcommandBuffer *c, NVNbufferAddress a,
+@@ -2707,11 +2706,11 @@ NVN(nvnCommandBufferClearBuffer, void, NVNcommandBuffer *c, NVNbufferAddress a,
// State the replay layer does not have yet: logged once (conditional rendering is treated as "always draw")
// Render enable (profile render_cond, see OP_RENDER_COND in nvn_mtl.m): recorded and evaluated at replay; without the key everything draws, as before
NVN(nvnCommandBufferSetRenderEnable, void, NVNcommandBuffer *c, uint32_t en) {
@@ -239,7 +239,7 @@ index 3d64318..04f308a 100644
for (char **e = *_NSGetEnviron(); *e; e++) if (!strncmp(*e, "DM_", 3) && strncmp(*e, "DM_NVN_CAPTURE=", 15)) KV("env\t%s\n", *e);
#undef KV
diff --git a/dm/gfx/nvn/nvn_mtl.m b/dm/gfx/nvn/nvn_mtl.m
-index 51d02fc..80a14b4 100644
+index 45ccbbe..682a330 100644
--- a/dm/gfx/nvn/nvn_mtl.m
+++ b/dm/gfx/nvn/nvn_mtl.m
@@ -402,7 +402,7 @@ void mtl_init(void) {
@@ -251,7 +251,7 @@ index 51d02fc..80a14b4 100644
if (g_bc_cpu) MLOG("BC textures: this GPU has no BC support, decoding them on the CPU (profile tex_bc_cpu)");
g_q = [g_dev newCommandQueue];
// A device without Metal 4 (the paravirtualized GPU of a virtual Mac, such as GitHub's macos-26 runner: no residency set, no MTL4CommandQueue) cannot run the NVN layer. The GL and
-@@ -1380,7 +1380,7 @@ static void post(post_op o) {
+@@ -1381,7 +1381,7 @@ static void post(post_op o) {
// so a game that waits for the fence reads one submission's reports together; a segment whose feedback has not arrived by then takes the last segment's times
#define SEG_CLK_N 1024
struct seg_clk { _Atomic int refs; _Atomic uint64_t t[SEG_CLK_N][2]; }; // per submission (g_sclk, allocated at its first cut): guest ns of each cut segment's GPU start / end (0 = no feedback yet)
@@ -260,7 +260,7 @@ index 51d02fc..80a14b4 100644
static void seg_clk_put(seg_clk *c) { if (c && atomic_fetch_sub(&c->refs, 1) == 1) free(c); }
static uint64_t gpu_s_guest_ns(double s) { // a feedback GPU time (seconds on the mach absolute time base) on the guest clock; 0 when unknown
static mach_timebase_info_data_t tb; if (!tb.denom) mach_timebase_info(&tb);
-@@ -1568,7 +1568,7 @@ static void post_run(post_rec *r, uint64_t c0, uint64_t c1) {
+@@ -1569,7 +1569,7 @@ static void post_run(post_rec *r, uint64_t c0, uint64_t c1) {
free(l); uint64_t rec[2] = {sum, gpu_ticks()}; memcpy((void *)ops[i].addr, rec, sizeof rec);
}
else if (ops[i].kind == 4) mirror_rb_land(ops[i].vis);
@@ -269,7 +269,7 @@ index 51d02fc..80a14b4 100644
}
free(ops); seg_clk_put(sc); r->ops = NULL; r->sc = NULL;
atomic_store(&r->claimed, 1);
-@@ -2780,7 +2780,7 @@ static void sparse_view(NvPkg *pk, const tex_t *t) {
+@@ -2785,7 +2785,7 @@ static void sparse_view(NvPkg *pk, const tex_t *t) {
}
}
id have = tex_get(t->serial);
@@ -278,7 +278,7 @@ index 51d02fc..80a14b4 100644
if (!packaged && !have && on_sub_thread() && tex_cpu_content(t)) { mtl_tex_cpu_written(t); packaged = 1; } // storage the CPU wrote before its first use (tex_cpu_content)
if (packaged) {
NvPkg *pk = [have isKindOfClass:[NvPkg class]] ? have : nil; // resolved as GPU-only before the CPU wrote it: dropped and rebuilt as packaged
-@@ -3810,7 +3810,7 @@ static int clear_rect_zero(int i) {
+@@ -3815,7 +3815,7 @@ static int clear_rect_zero(int i) {
static void shmap_read(void) {
if (g_shmap) return;
const char *e = getenv("DM_NVN_SHMAP");
@@ -287,7 +287,7 @@ index 51d02fc..80a14b4 100644
NSString *txt = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];
if (!txt) MDIE("cannot read the shader map %s (DM_NVN_SHMAP can name another)", path.UTF8String);
g_shmap = [NSMutableDictionary dictionary];
-@@ -3832,7 +3832,7 @@ static void shmap_read(void) {
+@@ -3837,7 +3837,7 @@ static void shmap_read(void) {
if (c.count == 2 && [c[0] isEqual:@"game"]) st_game = c[1]; else if (c.count == 2 && [c[0] isEqual:@"inputs"]) st_inputs = c[1];
}
if (!st_inputs) MLOG("[RED] shader library %s has no stamp (inputs.tsv): no full dmsh_build.py run made it as it is, so c1_full.tsv and cb_extent.tsv are not taken", g_msl_dir.UTF8String);
@@ -296,7 +296,7 @@ index 51d02fc..80a14b4 100644
else MLOG("shader library stamp: game %s, inputs %s", st_game.UTF8String, st_inputs.UTF8String);
NSString *cp = [[path stringByDeletingLastPathComponent] stringByAppendingPathComponent:@"c1_full.tsv"]; // Same directory as the mapping table (Mac: dm/games/<id>; iOS: dm/ inside the App, copied along by build_ipa.sh)
NSString *ct = cp ? [NSString stringWithContentsOfFile:cp encoding:NSUTF8StringEncoding error:nil] : nil;
-@@ -4081,7 +4081,7 @@ @implementation FnDev @end
+@@ -4089,7 +4089,7 @@ @implementation FnDev @end
if (stage == 0 && [j[@"layer_from"] isKindOfClass:[NSDictionary class]]) { o->lay_loc = [j[@"layer_from"][@"loc"] intValue]; o->lay_comp = [[j[@"layer_from"][@"comp"] description] UTF8String][0]; }
char err[160];
if (nvn_refl_from_json(j, &o->rf, err, sizeof err)) { MLOG("[RED] shader %s reflection conversion failed: %s", pc.UTF8String, err); return nil; }
@@ -305,7 +305,7 @@ index 51d02fc..80a14b4 100644
// (rf.c1 is freed by dealloc when o goes: freeing it here too was a double free, which aborted FINAL FANTASY RESONANCE at its first such shader)
MLOG("[RED] shader %s reflection conversion failed: a texture handle the translator could not trace to one slot (profile key tex_dyn_slots off)", pc.UTF8String); return nil; }
if (rt_range_on()) o->range_ro=rt_range_bindings_ro(j);
-@@ -5392,7 +5392,7 @@ static void vconv_fill(int f, uint64_t src, uint32_t stride, uint64_t nv, float
+@@ -5437,7 +5437,7 @@ static void vconv_fill(int f, uint64_t src, uint32_t stride, uint64_t nv, float
typedef struct { uint32_t mn, mx; uint64_t stamp, seen, lo, n; const void *span; int gpuw; } ir_ent; // gpuw: a GPU write was queued on the indices: never trusted again
static nvn_hmap g_ir = {.klen = sizeof(ir_key)};
static uint64_t g_vc_rgn[VC_RGN / 64], g_vc_stat, g_vc_conv, g_vc_whole, g_vc_checks, g_vc_bad; // g_vc_rgn: 1 MB regions holding a kept index range (hashed); g_vc_conv / g_vc_whole: vertices converted / in the bound ranges
@@ -314,7 +314,7 @@ index 51d02fc..80a14b4 100644
static int vc_check(void) { static int v = -1; if (v < 0) { const char *e = getenv("DM_NVN_VCONV_CHECK"); v = e && *e && atoi(e); } return v; }
static inline uint32_t vc_rgn(uint64_t r) { return (uint32_t)((r * 0x9E3779B97F4A7C15ull) >> 48) & (VC_RGN - 1); }
static void vc_rgn_mark(uint64_t lo, uint64_t n) { for (uint64_t r = lo >> 20; r <= (lo + n - 1) >> 20; r++) { uint32_t b = vc_rgn(r); g_vc_rgn[b >> 6] |= 1ull << (b & 63); } }
-@@ -5835,7 +5835,7 @@ static int pso4_on(void) {
+@@ -5902,7 +5902,7 @@ static int pso4_on(void) {
if (v < 0) {
const char *e = getenv("DM_PSO_MTL4");
#if TARGET_OS_IPHONE
@@ -323,7 +323,7 @@ index 51d02fc..80a14b4 100644
if (!v) MLOG("render pipelines through the MTLDevice (iOS: DM_PSO_MTL4=1 or the profile key pso_mtl4 on turns on the Metal 4 bases, the pipeline archive and the hybrid pipelines)");
#else
v = !(e && !strcmp(e, "0"));
-@@ -10418,7 +10418,7 @@ void mtl_read_texels(const tex_t *t, unsigned level, unsigned layer0, const NVNc
+@@ -10633,7 +10633,7 @@ void mtl_read_texels(const tex_t *t, unsigned level, unsigned layer0, const NVNc
// textures from the CPU, reads them back with ReadTexels on its own thread before any draw uses them, and copies the blocks into its 5120x5120 roughness atlas. Read from the
// never-uploaded host texture they were zeros, the atlas stayed empty, and the opening cave's stone blocks got roughness 0 and no torch light
int nvn_ft_written(const tex_t *);
@@ -332,7 +332,7 @@ index 51d02fc..80a14b4 100644
// A sparse pool's texture is read through a copy gathered from its page table, unmapped pages as 0, as pkg_upload_ uploads it: where nothing is mapped its address range is
// inaccessible (reading the storage directly stopped the host with SIGBUS)
const uint8_t *mem = t->mem; uint8_t *part = NULL;
-@@ -11196,7 +11196,7 @@ void mtl_exec(const uint8_t *p) {
+@@ -11436,7 +11436,7 @@ void mtl_exec(const uint8_t *p) {
PD("Y signal_event cmd=%p dst=%p mode=%u value=%u", p, val, m, v); mtl_sub_event(val, m, v); break; }
case OP_REPORT_COUNTER: { uint64_t t, ad; memcpy(&t, a, 8); memcpy(&ad, (const uint8_t *)a + 8, 8); g_cnt_report[t & 31]++;
PD("Q report type=%llu cmd=%p dst=%#llx", (unsigned long long)t, p, (unsigned long long)ad);
@@ -341,7 +341,7 @@ index 51d02fc..80a14b4 100644
if (t == NVN_COUNTER_TYPE_SAMPLES_PASSED) { post((post_op){3, NULL, 0, 0, ad, (uint32_t)t, vis_snapshot()}); g_vis_cur = -1; }
else mtl_sub_counter(ad, (uint32_t)t);
break; }
-@@ -12259,9 +12259,10 @@ uint64_t mtl_present_ext(uint64_t serial, double period, void *ev, uint64_t ev_v
+@@ -12617,9 +12617,10 @@ uint64_t mtl_present_ext(uint64_t serial, double period, void *ev, uint64_t ev_v
int mtl_snap_on(void) {
static int v = -1; if (v >= 0) return v;
const char *e = getenv("DM_PRESENT_SNAP");
@@ -354,7 +354,7 @@ index 51d02fc..80a14b4 100644
}
static void snap_commit_wait(uint64_t v) { if (v) rec_note_wait(&g_snap_cmt, v); }
diff --git a/dm/gfx/nvn/nvn_rec.h b/dm/gfx/nvn/nvn_rec.h
-index c584ab2..a4c591e 100644
+index 76537d9..6d41ce2 100644
--- a/dm/gfx/nvn/nvn_rec.h
+++ b/dm/gfx/nvn/nvn_rec.h
@@ -82,7 +82,7 @@ static inline int rec_on(void) {
@@ -367,7 +367,7 @@ index c584ab2..a4c591e 100644
if (g_rec) MLOG("Metal encoding runs on its own thread (DM_NVN_ENC_THREAD=0 turns it off)");
return g_rec;
diff --git a/dm/gfx/tests/Makefile b/dm/gfx/tests/Makefile
-index ad37fb0..8ab1154 100644
+index 9b63fe3..9d862de 100644
--- a/dm/gfx/tests/Makefile
+++ b/dm/gfx/tests/Makefile
@@ -47,10 +47,10 @@ t_transform_feedback: t_transform_feedback.m $(MTL_T_DEP)
@@ -396,10 +396,10 @@ index 8f9b3f8..24d3c63 100644
+// The runtime profile the NVN layer reads (dm_profile in hle_profile.c): no DM_PROFILE in a test, so these are the compiled game_profile.h values
+#include "../../host/hle_profile.c"
diff --git a/dm/host/front_mac.m b/dm/host/front_mac.m
-index 369936d..e3e9e11 100644
+index bfb2e29..f558c23 100644
--- a/dm/host/front_mac.m
+++ b/dm/host/front_mac.m
-@@ -804,7 +804,7 @@ - (BOOL)control:(NSControl *)c textView:(NSTextView *)tv doCommandBySelector:(SE
+@@ -923,7 +923,7 @@ - (BOOL)control:(NSControl *)c textView:(NSTextView *)tv doCommandBySelector:(SE
// the path came in. build: this build's ID (read from the engine on the main thread by the caller). Runs on a background
// queue (findCheats:): it touches only the file system and Foundation, never AppKit or the cheats engine
static NSArray<NSURL *> *found_cheat_files(NSString *build) {
@@ -408,7 +408,7 @@ index 369936d..e3e9e11 100644
NSString *as = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Application Support"];
NSMutableArray<NSString *> *dirs = [NSMutableArray array];
NSFileManager *fm = NSFileManager.defaultManager;
-@@ -892,7 +892,7 @@ - (BOOL)importFiles:(NSArray<NSURL *> *)urls {
+@@ -1011,7 +1011,7 @@ - (BOOL)importFiles:(NSArray<NSURL *> *)urls {
const char *dirc = dm_cheats_dir_path();
if (!dirc || !*dirc || strlen(dm_cheats_build()) != 16) { NSBeep(); return NO; } // no folder, or no build ID to name a file by
NSString *dir = engine_str(dirc), *build = engine_str(dm_cheats_build());
@@ -417,7 +417,7 @@ index 369936d..e3e9e11 100644
NSFileManager *fm = NSFileManager.defaultManager;
[fm createDirectoryAtPath:dir withIntermediateDirectories:YES attributes:nil error:nil];
BOOL any = NO;
-@@ -1189,7 +1189,7 @@ void front_run(void (*guest)(void)) {
+@@ -1308,7 +1308,7 @@ void front_run(void (*guest)(void)) {
NSWindow *win = [[NSWindow alloc] initWithContentRect:r
styleMask:NSWindowStyleMaskTitled | NSWindowStyleMaskClosable | NSWindowStyleMaskResizable
backing:NSBackingStoreBuffered defer:NO];
@@ -426,7 +426,7 @@ index 369936d..e3e9e11 100644
// Fullscreen: without FullScreenPrimary the green button only zooms the window. The present path already scales
// the game picture to fit the drawable with black bars around it, so fullscreen keeps the game's aspect ratio.
win.collectionBehavior = NSWindowCollectionBehaviorFullScreenPrimary;
-@@ -1229,7 +1229,7 @@ void front_run(void (*guest)(void)) {
+@@ -1348,7 +1348,7 @@ void front_run(void (*guest)(void)) {
// Main menu: AppKit runs ⌘ shortcuts only through menu items, so ⌘Q quits and ⌃⌘F toggles fullscreen from here (AppKit shows the item as Globe-F and keeps ⌃⌘F as a hidden twin)
NSMenu *bar = [NSMenu new], *app = [NSMenu new], *wm = [[NSMenu alloc] initWithTitle:@"Window"];
[[bar addItemWithTitle:@"" action:nil keyEquivalent:@""] setSubmenu:app];
@@ -490,10 +490,10 @@ index 0e8ef70..5908a8d 100644
// match itself is case-insensitive (name_is_build lower-cases both sides)
const char *bid = dm_main_build();
diff --git a/dm/host/hle_fs.c b/dm/host/hle_fs.c
-index 84b2c74..a7e4c9c 100644
+index 114e399..3c232b4 100644
--- a/dm/host/hle_fs.c
+++ b/dm/host/hle_fs.c
-@@ -603,7 +603,7 @@ HLE_FORCE("_ZN2nn2fs13MountSaveDataEPKcRKNS_7account3UidE", "fsp-srv; save data
+@@ -604,7 +604,7 @@ HLE_FORCE("_ZN2nn2fs13MountSaveDataEPKcRKNS_7account3UidE", "fsp-srv; save data
const char *d = getenv("DM_SAVE");
if (!d) die("DM_SAVE is not set: point it at a writable copy of a save directory");
char dd[1024]; strlcpy(dd, d, sizeof dd); size_t L = strlen(dd); while (L > 1 && dd[L - 1] == '/') dd[--L] = 0; // strip trailing slashes (.work / .new are appended at the same level)
@@ -502,7 +502,7 @@ index 84b2c74..a7e4c9c 100644
return mount_ex(name, dd, 0, 1);
}
// Device save data: one save for the console instead of one per user. Animal Crossing: New Horizons keeps its island there (3.0.3's main mounts no account save data at all); the host
-@@ -616,7 +616,7 @@ HLE_FORCE("_ZN2nn2fs19MountDeviceSaveDataEPKc", "fsp-srv; device save data → t
+@@ -617,7 +617,7 @@ HLE_FORCE("_ZN2nn2fs19MountDeviceSaveDataEPKc", "fsp-srv; device save data → t
const char *d = getenv("DM_SAVE");
if (!d) die("DM_SAVE is not set: point it at a writable copy of a save directory");
char dd[1024]; strlcpy(dd, d, sizeof dd); size_t L = strlen(dd); while (L > 1 && dd[L - 1] == '/') dd[--L] = 0;
@@ -512,7 +512,7 @@ index 84b2c74..a7e4c9c 100644
return mount_ex(name, dd, 0, 1);
}
diff --git a/dm/host/hle_oe.c b/dm/host/hle_oe.c
-index d2ed004..1e97a64 100644
+index a0ff2f9..1b70f37 100644
--- a/dm/host/hle_oe.c
+++ b/dm/host/hle_oe.c
@@ -8,7 +8,7 @@
@@ -653,7 +653,7 @@ index a2febeb..5afd846 100644
+ return p;
+} // one line per differing value (called after loading)
diff --git a/dm/host/hle_sdk16.c b/dm/host/hle_sdk16.c
-index 265aee2..90760af 100644
+index 49ea142..8547ab7 100644
--- a/dm/host/hle_sdk16.c
+++ b/dm/host/hle_sdk16.c
@@ -14,10 +14,10 @@
@@ -773,7 +773,7 @@ index 341493a..42aa7a3 100644
dm_cheats_init(); // the Atmosphère cheat files for this build (hle_cheats.c): picked by first 16 hex digits of main's build ID, which the loader knows now
dm_sdk_major(); // logs the SDK version, which SDK-dependent behaviour follows (loader.c)
diff --git a/dm/host/tests/Makefile b/dm/host/tests/Makefile
-index e5fd7ac..f055215 100644
+index 31e23eb..fcc51d2 100644
--- a/dm/host/tests/Makefile
+++ b/dm/host/tests/Makefile
@@ -12,7 +12,7 @@ QUIET = $(if $(findstring -fsanitize,$(SAN)),,2>/dev/null)
@@ -785,7 +785,7 @@ index e5fd7ac..f055215 100644
$(B)/t_language
$(B)/t_heap_size
$(B)/t_touch
-@@ -42,6 +42,7 @@ run: $(B)/t_language $(B)/t_motion $(B)/t_heap_size $(B)/t_touch $(B)/t_gesture
+@@ -43,6 +43,7 @@ run: $(B)/t_language $(B)/t_motion $(B)/t_heap_size $(B)/t_touch $(B)/t_gesture
$(B)/t_pctl
$(B)/t_time
$(B)/t_shared_font
@@ -793,7 +793,7 @@ index e5fd7ac..f055215 100644
$(B)/t_system_event
$(B)/t_vorbis
$(B)/t_vorbis_divides
-@@ -96,7 +97,7 @@ nro: $(B)/t_nro
+@@ -99,7 +100,7 @@ nro: $(B)/t_nro
$(B)/t_nro
# the cheat engine (hle_cheats.c, compiled into the test with stubs for the loader, the heap and the keys)
$(B)/t_cheats: t_cheats.c ../hle_cheats.c ../dm.h ../dm_input.h $(GAME_H) | $(B)
@@ -802,8 +802,8 @@ index e5fd7ac..f055215 100644
.PHONY: cheats
cheats: $(B)/t_cheats
TMPDIR="$(abspath $(B))" $(B)/t_cheats
-@@ -161,7 +162,7 @@ $(B)/t_fpslock: t_fpslock.c ../hle_fpslock.c ../hle.h ../dm.h $(GAME_H) | $(B)
- $(CLANG) -O1 -g -Wno-unused-function $(GINC) -o $@ t_fpslock.c ../hle_profile.c
+@@ -167,7 +168,7 @@ $(B)/t_ue_heap_span: t_ue_heap_span.c ../hle_uemalloc.c ../hle.h ../dm.h $(GAME_
+ $(CLANG) -O1 -g -Wall -Werror -Wno-unused-function $(GINC) -o $@ t_ue_heap_span.c
run: $(B)/t_uecvar
$(B)/t_uecvar: t_uecvar.c ../hle_uecvar.c ../hle.h ../dm.h $(GAME_H) | $(B)
- $(CLANG) -O1 -g -Wno-unused-function $(GINC) -o $@ t_uecvar.c
@@ -811,7 +811,7 @@ index e5fd7ac..f055215 100644
$(B)/t_swkbd: t_swkbd.c ../hle_swkbd.c ../hle.h ../dm.h $(GAME_H) | $(B)
$(CLANG) -O1 -Wno-unused-function -I.. $(GINC) -o $@ t_swkbd.c ../hle_swkbd.c
run: $(B)/t_bigstack
-@@ -341,3 +342,9 @@ coverage:
+@@ -358,3 +359,9 @@ coverage:
rm -rf $(B)/cov/prof
LLVM_PROFILE_FILE="$(call cov_profile,$(B)/cov)" $(MAKE) -i B=$(B)/cov SAN="$(COV_FLAGS)" run
@$(call cov_export,$(B)/cov)
diff --git a/patches/0054-front-mac-start-with-the-pointer-hidden-when-the.patch b/patches/0054-front-mac-start-with-the-pointer-hidden-when-the.patch
index bc4932ce..0b039c8d 100644
--- a/patches/0054-front-mac-start-with-the-pointer-hidden-when-the.patch
+++ b/patches/0054-front-mac-start-with-the-pointer-hidden-when-the.patch
@@ -15,10 +15,10 @@ Issue: LNPANDY/NX2Apple#368
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dm/host/front_mac.m b/dm/host/front_mac.m
-index e3e9e11..525765e 100644
+index f558c23..c25128d 100644
--- a/dm/host/front_mac.m
+++ b/dm/host/front_mac.m
-@@ -1276,14 +1276,19 @@ void front_run(void (*guest)(void)) {
+@@ -1395,14 +1395,19 @@ void front_run(void (*guest)(void)) {
const char *ch = getenv("DM_CURSOR_HIDE"); double idle = ch && *ch ? atof(ch) : 3.0;
if (idle > 0) {
win.acceptsMouseMovedEvents = YES;
@@ -41,7 +41,7 @@ index e3e9e11..525765e 100644
}
for (NSNotificationName nm in @[GCControllerDidConnectNotification, GCControllerDidDisconnectNotification])
diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
-index 7b36162..e594a57 100644
+index 7b7fcb0..e9f4a73 100644
--- a/docs/env_switches.tsv
+++ b/docs/env_switches.tsv
@@ -21,6 +21,7 @@ DM_CHEATS_WINDOW switch `1` opens the Mac Cheats panel beside the game from the
diff --git a/patches/0058-read-pfs0-packages-missing-the-final-filename-te.patch b/patches/0058-read-pfs0-packages-missing-the-final-filename-te.patch
index 9e668543..cdc0ae2b 100644
--- a/patches/0058-read-pfs0-packages-missing-the-final-filename-te.patch
+++ b/patches/0058-read-pfs0-packages-missing-the-final-filename-te.patch
@@ -20,10 +20,10 @@ Issue: seedds/nxnative#886
create mode 100644 dm/tools/tests/test_pfs0_storage.py
diff --git a/dm/tools/nx_extract/Program.cs b/dm/tools/nx_extract/Program.cs
-index f5beaa1..974f76d 100644
+index 6ba155b..96964ff 100644
--- a/dm/tools/nx_extract/Program.cs
+++ b/dm/tools/nx_extract/Program.cs
-@@ -13,6 +13,7 @@
+@@ -16,6 +16,7 @@
// The base game may also be a cartridge dump (.xci, Monster Hunter Rise): its secure partition holds the NCAs, which carry their keys in the key area (no ticket).
// When the cartridge also carries an update (1G+1U), only the base game's NCAs (those its Application content meta lists) are read; the update comes from the update NSP.
using System;
@@ -31,7 +31,7 @@ index f5beaa1..974f76d 100644
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
-@@ -157,6 +158,30 @@ static class P {
+@@ -216,6 +217,30 @@ static class P {
}
}
@@ -61,8 +61,8 @@ index f5beaa1..974f76d 100644
+
// Open an NSP (PFS0) or the secure partition of an XCI, import the common tickets, list all NCAs. With a content meta type, only the NCAs that the package's content metas of
// that type list (when it has one), and with a title ID only that title's: a cartridge dump with its update on it (1G+1U) or a merged NSP holds the update's NCAs beside the
- // base game's, its Program NCA under the same title ID; a cartridge with two games holds two Application content metas
-@@ -168,7 +193,7 @@ static class P {
+ // base game's, its Program NCA under the same title ID; a cartridge with two games holds two Application content metas. ncz: an NSZ's or XCZ's compressed NCAs too, by their
+@@ -228,7 +253,7 @@ static class P {
if (!xci.HasPartition(XciPartitionType.Secure)) throw new Exception($"no secure partition in {path}");
pfs = xci.OpenPartition(XciPartitionType.Secure);
} else {
@@ -134,7 +134,7 @@ index 0000000..7a45b59
+ }
+}
diff --git a/dm/tools/tests/test_nsp_scan.py b/dm/tools/tests/test_nsp_scan.py
-index c21f062..c7caf13 100644
+index 559354b..4ea2390 100644
--- a/dm/tools/tests/test_nsp_scan.py
+++ b/dm/tools/tests/test_nsp_scan.py
@@ -46,6 +46,31 @@ class Scan(unittest.TestCase):
@@ -214,7 +214,7 @@ index 0000000..c4d060a
+if __name__ == '__main__':
+ unittest.main()
diff --git a/docs/reference/packing.md b/docs/reference/packing.md
-index f145154..4b81b7b 100644
+index 2f96f9b..8f30a6d 100644
--- a/docs/reference/packing.md
+++ b/docs/reference/packing.md
@@ -1,5 +1,14 @@
@@ -233,10 +233,10 @@ index f145154..4b81b7b 100644
### Homebrew .NET is on PATH but apphosts cannot find the runtime
diff --git a/scripts/build_ipa_from_nsp.py b/scripts/build_ipa_from_nsp.py
-index 75b9b17..cb1febc 100755
+index 3ab23ef..f9dc7e4 100755
--- a/scripts/build_ipa_from_nsp.py
+++ b/scripts/build_ipa_from_nsp.py
-@@ -427,9 +427,19 @@ def pfs0_names(path): # NSP = PFS0: list the file names inside
+@@ -430,9 +430,19 @@ def pfs0_names(path): # NSP = PFS0: list the file names inside
with open(path, 'rb') as f:
h = f.read(16)
if h[:4] != b'PFS0': return []
diff --git a/patches/0059-recognize-unframed-pointer-tail-calls-before-zer.patch b/patches/0059-recognize-unframed-pointer-tail-calls-before-zer.patch
index 93718a79..bdc4c014 100644
--- a/patches/0059-recognize-unframed-pointer-tail-calls-before-zer.patch
+++ b/patches/0059-recognize-unframed-pointer-tail-calls-before-zer.patch
@@ -16,10 +16,10 @@ Issue: seedds/nxnative#888
3 files changed, 46 insertions(+), 2 deletions(-)
diff --git a/dm/tools/patch_nso.py b/dm/tools/patch_nso.py
-index 561d4db..cbae949 100644
+index 98a7b27..d0b76f8 100644
--- a/dm/tools/patch_nso.py
+++ b/dm/tools/patch_nso.py
-@@ -1006,6 +1006,17 @@ def tail_call_at_end(insl, j):
+@@ -1013,6 +1013,17 @@ def tail_call_at_end(insl, j):
if 'x18' not in [p.reg_name(r) for r in p.regs_access()[1]]: continue
return p.mnemonic == 'ldr' and bool(re.fullmatch(r'x18, \[(x\d+|sp)(, #(0x[0-9a-f]+|\d+))?\]', p.op_str))
return False
@@ -37,7 +37,7 @@ index 561d4db..cbae949 100644
def tail_call(insl, j):
"""Keep the terminal rule, which proves no frame. A br x18 with code after it is a tail call only when the frame is provably gone: a jump inside a function needs that function's frame.
A wrong accept is silent, where a rejection stops at `jump table <addr>`, so anything not proven here is rejected. Two forms (Warm Snow and Ori and the Blind Forest, Unity IL2CPP):
-@@ -1013,6 +1024,7 @@ def tail_call(insl, j):
+@@ -1020,6 +1031,7 @@ def tail_call(insl, j):
before the br, the pair saved to and restored from one slot, whose body may branch and call (lazy init, loops) and whose other paths may follow the br. Either way nothing writes sp, x29
or x30 on the way, no stack store touches the pair, and from the restore to the br every path runs straight"""
if j + 1 == len(insl): return tail_call_at_end(insl, j)
diff --git a/patches/0060-ios-shell-declare-italian-in-cfbundlelocalizatio.patch b/patches/0060-ios-shell-declare-italian-in-cfbundlelocalizatio.patch
index 999d2285..3c259272 100644
--- a/patches/0060-ios-shell-declare-italian-in-cfbundlelocalizatio.patch
+++ b/patches/0060-ios-shell-declare-italian-in-cfbundlelocalizatio.patch
@@ -6,7 +6,6 @@ Subject: [PATCH] ios shell: declare Italian in CFBundleLocalizations
Upstream-Status: fork-only
Reason: frontend/l10n/it.json adds Italian, and iOS offers a language to the shell's package bundles only when the app declares it, so Italian devices got English.
Issue: LNPANDY/NX2Apple#388
-
---
dm/ios/project-shell.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/patches/0061-ios-adapt-gameplay-to-duo-portrait-and-tabletop.patch b/patches/0061-ios-adapt-gameplay-to-duo-portrait-and-tabletop.patch
deleted file mode 100644
index dca08d9a..00000000
--- a/patches/0061-ios-adapt-gameplay-to-duo-portrait-and-tabletop.patch
+++ /dev/null
@@ -1,2586 +0,0 @@
-From eb7ae8762a59bef1f28b25d01aa8f430ee141cd3 Mon Sep 17 00:00:00 2001
-From: Jon Ochocki <[email protected]>
-Date: Tue, 3 Nov 2026 11:27:16 +0100
-Subject: [PATCH] iOS: adapt gameplay to Duo portrait and tabletop poses
-
-Upstream-Status: forwarded seedds/nxnative#683
-Reason: Adapt gameplay and touch input to native Duo poses without changing the launcher design.
-Issue: LNPANDY/NX2Apple (no issue, iPhone Duo portrait and tabletop gameplay)
----
- dm/ios/Sources/DmGamepad.m | 130 +-
- dm/ios/Sources/DmHostingController.swift | 7 +
- dm/ios/Sources/DmLayout.h | 53 +
- dm/ios/Sources/Launcher.swift | 2 +-
- dm/ios/Sources/front_ios.m | 96 +-
- dm/ios/project.yml | 8 +-
- dm/ios/tests/duo/.gitignore | 5 +
- dm/ios/tests/duo/README.md | 42 +
- dm/ios/tests/duo/Sources/DuoHarnessApp.m | 177 +++
- dm/ios/tests/duo/Sources/DuoHarnessRuntime.h | 38 +
- dm/ios/tests/duo/Sources/DuoRuntimeStubs.m | 127 ++
- .../tests/duo/Sources/Fixtures/game_profile.h | 3 +
- dm/ios/tests/duo/Tests/DuoHarnessTests.m | 1189 +++++++++++++++++
- .../Tests/DuoHostingOrientationTests.swift | 40 +
- .../UITests/DuoNativeRotationUITests.swift | 148 ++
- dm/ios/tests/duo/project.yml | 124 ++
- dm/ios/tests/test_orientation_policy.py | 25 +
- docs/reference/rendering.md | 9 +
- 18 files changed, 2178 insertions(+), 45 deletions(-)
- create mode 100644 dm/ios/Sources/DmHostingController.swift
- create mode 100644 dm/ios/Sources/DmLayout.h
- create mode 100644 dm/ios/tests/duo/.gitignore
- create mode 100644 dm/ios/tests/duo/README.md
- create mode 100644 dm/ios/tests/duo/Sources/DuoHarnessApp.m
- create mode 100644 dm/ios/tests/duo/Sources/DuoHarnessRuntime.h
- create mode 100644 dm/ios/tests/duo/Sources/DuoRuntimeStubs.m
- create mode 100644 dm/ios/tests/duo/Sources/Fixtures/game_profile.h
- create mode 100644 dm/ios/tests/duo/Tests/DuoHarnessTests.m
- create mode 100644 dm/ios/tests/duo/Tests/DuoHostingOrientationTests.swift
- create mode 100644 dm/ios/tests/duo/UITests/DuoNativeRotationUITests.swift
- create mode 100644 dm/ios/tests/duo/project.yml
- create mode 100644 dm/ios/tests/test_orientation_policy.py
-
-diff --git a/dm/ios/Sources/DmGamepad.m b/dm/ios/Sources/DmGamepad.m
-index 3747fc9..f5f4a88 100644
---- a/dm/ios/Sources/DmGamepad.m
-+++ b/dm/ios/Sources/DmGamepad.m
-@@ -1,6 +1,6 @@
- // Virtual gamepad (Nintendo button positions) + physical controllers (GameController), handed to the host through dm_input_set and dm_pad_set_player (hle_hid.c, bit layout in dm_input.h).
- // Two layouts, three in handheld mode; one tap on the layout button at the top centre (labelled with the current layout, "2D" / "3D" / "Tap") goes to the next, and the choice is kept in NSUserDefaults (each game is its own app, so per game); the first launch uses the game profile's pad_layout (DM_GAME_PAD_LAYOUT).
--// Tap (touch): no control but the layout button, every other touch goes to the game's touch screen; offered only while the game is in handheld mode, the only one in which it reads the touch screen (Balatro, played by touch).
-+// Tap (touch): no control but the layout button, every other touch goes to the game's local touch viewport; offered only while the game is in handheld mode, the only one in which it reads the touch screen (Balatro, played by touch).
- // 2D (simple): top corners ZL above L (one column), ZR above R likewise, teardrops with the tip toward the screen corner; − and + side by side at the top centre; the left stick in the bottom-left corner (fixed ring, tilt measured from the ring centre, small dead zone);
- // the A (right) B (bottom) X (top) Y (left) diamond in the bottom-right corner, sliding a finger between keys switches keys. Each bottom corner holds a single control, so it sits close in (reaching halfway into the side safe-area inset).
- // 3D (full, Pro Controller style): everything in 2D (left stick and diamond keep their place and size), plus a D-pad (inward of and below the left stick, 8-way), a right stick that is not drawn
-@@ -9,8 +9,8 @@
- // Touch-down ownership: locked keys first (shoulders, − / +, the layout button, L3 / R3), then whichever of the diamond, the D-pad and the left stick has the smallest distance / grab radius (the left stick's grab circle borders the D-pad),
- // then in 3D the right stick for a touch in the right third.
- // Everything hugs the edges and corners to leave the picture room; controls sit over the picture, one CAShapeLayer each: a press only swaps the fill, a stick only moves its knob, nothing redraws the whole screen.
--// Touches no control takes (in 3D, those outside the right third) go to the game's touch screen (pushGame; Super Mario Galaxy's pointer in handheld mode).
--// The virtual gamepad (layout button included) hides while a physical controller is connected and comes back when it is removed; meanwhile every touch goes to the game. Physical controllers keep every button (D-pad and right stick included) and map by position: bottom = B, right = A, left = Y, top = X (same positions as on a Switch controller); a Nintendo pad maps by its labels (pad_apple.h).
-+// Touches no control takes (in 3D, those outside the right third) go to the game's touch screen when DmLayout assigns a local game viewport (pushGame; Super Mario Galaxy's pointer in handheld mode).
-+// The virtual gamepad (layout button included) hides while a physical controller is connected and comes back when it is removed; unclaimed touches go to the game only when a local game viewport exists. Physical controllers keep every button (D-pad and right stick included) and map by position: bottom = B, right = A, left = Y, top = X (same positions as on a Switch controller); a Nintendo pad maps by its labels (pad_apple.h).
- // Each physical controller is a player of its own (local co-op), as on the Mac: the first one connected is player 1, together with the touch gamepad, the next player 2, and so on up to 8; see "Physical controllers" below.
- // Shaking the phone shakes the controller (DM_BTN_SHAKE: its six-axis sensor, hle_hid.c), whichever controls are in use; see "Shaking the phone" below.
- #import <UIKit/UIKit.h>
-@@ -28,6 +28,7 @@
- #include "pad_apple.h"
- #include "pad_slots.h"
- #include <stdatomic.h>
-+#import "DmLayout.h"
-
- enum { B_A = 0, B_B, B_X, B_Y, B_LS, B_RS, B_L, B_R, B_ZL, B_ZR, B_PLUS, B_MINUS, B_LEFT, B_UP, B_RIGHT, B_DOWN, B_N };
- enum { C_NONE = 0, C_STICK, C_DPAD, C_FACE, C_BTN, C_SWAP, C_GAME }; // which control a touch holds; C_GAME: none, the touch goes to the game's touch screen (finger slot << 8)
-@@ -130,6 +131,7 @@ static void phone_motion_start(UIView *body) {
- int dm_opmode(void); // hle_oe.c: 0 = handheld
-
- @interface DmGamepad : UIView
-+- (void)arrange:(DmLayout)layout;
- @end
- static __weak DmGamepad *g_view;
- static void pads_start(void); // Physical controllers, below
-@@ -149,6 +151,7 @@ @implementation DmGamepad {
- BOOL _full, _tap; // the 3D layout / the Tap layout is current
- CALayer *_controls; // holds every control layer: hidden while a physical controller is connected (the view itself stays, for game touches)
- BOOL _padOff; // a physical controller is connected: every touch goes to the game
-+ DmLayout _layout;
- UITouch *_game[16]; // touches on the game's touch screen by finger slot
- }
-
-@@ -161,13 +164,17 @@ @implementation DmGamepad {
- }
- static CATextLayer *label(CALayer *parent, NSString *s) {
- CATextLayer *t = [CATextLayer layer];
-- t.string = s; t.alignmentMode = kCAAlignmentCenter; t.foregroundColor = k_text.CGColor; t.contentsScale = UIScreen.mainScreen.scale;
-+ t.string = s; t.alignmentMode = kCAAlignmentCenter; t.foregroundColor = k_text.CGColor;
- [parent addSublayer:t]; return t;
- }
- static BOOL fullOnly(int b) { return b == B_LS || b == B_RS || b >= B_LEFT; } // keys shown only in the 3D layout
-
- - (instancetype)initWithFrame:(CGRect)f {
- if ((self = [super initWithFrame:f])) {
-+ _layout = dm_layout(self.bounds, UIEdgeInsetsZero, NO, CGRectNull);
-+ [self registerForTraitChanges:@[UITraitDisplayScale.class] withHandler:^(id<UITraitEnvironment> environment, UITraitCollection *previous) {
-+ [(UIView *)environment setNeedsLayout];
-+ }];
- self.multipleTouchEnabled = YES; self.opaque = NO; self.backgroundColor = UIColor.clearColor;
- const char *feedback = getenv("DM_TOUCH_HAPTICS");
- if (!feedback || atoi(feedback)) {
-@@ -223,46 +230,92 @@ - (void)nextLayout { // 2D → 3D (→ Tap in handheld mode) → 2D: release e
- }
-
- // ---- Layout (points; computed inside the safe area) ----
--- (CGRect)safe { return UIEdgeInsetsInsetRect(self.bounds, self.safeAreaInsets); }
--- (CGRect)corner { UIEdgeInsets i = self.safeAreaInsets; i.left *= K_CORNER_IN; i.right *= K_CORNER_IN; return UIEdgeInsetsInsetRect(self.bounds, i); } // the rectangle the bottom-corner controls use
--- (CGFloat)u { return MIN(self.bounds.size.height / 430.0, 1.3); } // 1 = 430 points tall (iPhone Pro Max landscape)
-+- (void)arrange:(DmLayout)layout {
-+ if (CGRectEqualToRect(_layout.controls, layout.controls) && CGRectEqualToRect(_layout.game, layout.game) && _layout.separated == layout.separated && _layout.topSafeOnly == layout.topSafeOnly) return;
-+ [self reset]; // A finger held across a pose change must not leave a key or game touch stuck.
-+ _layout = layout;
-+ [self setNeedsLayout];
-+}
-+- (CGRect)safe { return CGRectIntersection(_layout.controls, UIEdgeInsetsInsetRect(self.bounds, dm_game_safe_insets(self.bounds, self.safeAreaInsets, _layout.topSafeOnly))); }
-+- (CGRect)corner { if (_layout.separated) return self.safe; UIEdgeInsets i = self.safeAreaInsets; i.left *= K_CORNER_IN; i.right *= K_CORNER_IN; return UIEdgeInsetsInsetRect(self.bounds, i); } // the rectangle the bottom-corner controls use
-+- (CGFloat)u { if (_layout.separated) { CGRect s = self.safe; return MIN(MIN(s.size.height / 430.0, s.size.width / 700.0), 1.3); } return MIN(self.bounds.size.height / 430.0, 1.3); } // 1 = 430 points tall (iPhone Pro Max landscape)
- static CGPoint side(CGRect s, int right, CGFloat dx, CGFloat y) { return CGPointMake(right ? CGRectGetMaxX(s) - dx : CGRectGetMinX(s) + dx, y); }
--- (CGPoint)faceCenter { CGRect s = self.corner; CGFloat u = self.u; return side(s, 1, K_FACE_X * u, CGRectGetMaxY(s) - K_PAD_Y * u); }
-+- (BOOL)portraitControls { return _layout.separated && self.bounds.size.height > self.bounds.size.width; }
-+- (CGPoint)portraitThumbCenter:(BOOL)right {
-+ CGRect s = self.safe;
-+ return CGPointMake(CGRectGetMinX(s) + s.size.width * (right ? 0.72 : 0.28),
-+ CGRectGetMinY(s) + s.size.height * 0.58);
-+}
-+- (CGPoint)faceCenter { CGRect s = self.corner; CGFloat u = self.u;
-+ if (self.portraitControls) return [self portraitThumbCenter:YES];
-+ CGFloat edge = _layout.separated ? self.faceGap + self.faceHitR : 0;
-+ return side(s, 1, MAX(K_FACE_X * u, edge), CGRectGetMaxY(s) - MAX(K_PAD_Y * u, edge)); }
- - (CGFloat)faceGap { return K_FACE_GAP * self.u; }
- - (CGFloat)faceR { return K_FACE_R * self.u; }
-+- (CGFloat)faceHitR { return MAX(self.faceR * 1.25, _layout.separated ? 22 : 0); }
- - (CGPoint)facePos:(int)b { CGPoint c = self.faceCenter; CGFloat g = self.faceGap;
- switch (b) { case B_A: return CGPointMake(c.x + g, c.y); case B_B: return CGPointMake(c.x, c.y + g); case B_X: return CGPointMake(c.x, c.y - g); default: return CGPointMake(c.x - g, c.y); } }
--- (CGPoint)stickHome { CGRect s = self.corner; return side(s, 0, K_STICK_X * self.u, CGRectGetMaxY(s) - K_PAD_Y * self.u); } // the left stick's ring centre
-+- (CGPoint)stickHome {
-+ if (self.portraitControls) {
-+ CGPoint p = [self portraitThumbCenter:NO];
-+ if (_full) p.x -= self.dpadR + 6 * self.u;
-+ return p;
-+ }
-+ CGRect s = self.corner;
-+ return side(s, 0, K_STICK_X * self.u, CGRectGetMaxY(s) - K_PAD_Y * self.u);
-+}
- - (CGPoint)stickCentre:(int)i { return i ? _rCentre : self.stickHome; }
- - (CGFloat)stickR:(int)i { return (i ? K_RSTICK_R : K_STICK_R) * self.u; }
--- (BOOL)inRightArea:(CGPoint)p { CGRect b = self.bounds; return p.x >= CGRectGetMaxX(b) - b.size.width * K_RSWIPE; }
--- (CGPoint)dpadCenter { CGRect s = self.corner; CGFloat u = self.u; return side(s, 0, K_LOW_X * u, CGRectGetMaxY(s) - K_LOW_Y * u); }
-+- (BOOL)inRightArea:(CGPoint)p { CGRect b = _layout.controls; return p.x >= CGRectGetMaxX(b) - b.size.width * K_RSWIPE; }
-+- (CGPoint)dpadCenter {
-+ if (self.portraitControls) {
-+ CGPoint p = [self portraitThumbCenter:NO];
-+ p.x += [self stickR:0] + 6 * self.u;
-+ return p;
-+ }
-+ CGRect s = self.corner; CGFloat u = self.u;
-+ return side(s, 0, K_LOW_X * u, CGRectGetMaxY(s) - K_LOW_Y * u);
-+}
- - (CGFloat)dpadR { return K_DPAD_R * self.u; }
- static BOOL isDrop(int b) { return b == B_ZL || b == B_L || b == B_ZR || b == B_R; }
- static BOOL isClick(int b) { return b == B_LS || b == B_RS; }
- - (CGPoint)dropCenter:(int)b { CGRect s = self.safe; CGFloat u = self.u; BOOL z = b == B_ZL || b == B_ZR;
-- return side(s, b == B_ZR || b == B_R, (z ? K_ZL_X : K_L_X) * u, CGRectGetMinY(s) + (z ? K_ZL_Y : K_L_Y) * u); }
-+ CGFloat edge = _layout.separated ? 22 : 0;
-+ return side(s, b == B_ZR || b == B_R, MAX((z ? K_ZL_X : K_L_X) * u, edge), CGRectGetMinY(s) + MAX((z ? K_ZL_Y : K_L_Y) * u, edge)); }
- - (CGFloat)dropR:(int)b { return (b == B_ZL || b == B_ZR ? K_ZL_R : K_L_R) * self.u; }
--- (CGPoint)clickCenter:(int)b { CGRect s = self.safe; CGFloat u = self.u; return side(s, b == B_RS, K_CLICK_X * u, CGRectGetMinY(s) + K_ZL_Y * u); }
-+- (CGPoint)clickCenter:(int)b { CGRect s = self.safe; CGFloat u = self.u; CGFloat edge = _layout.separated ? 22 : 0;
-+ return side(s, b == B_RS, MAX(K_CLICK_X * u, edge), CGRectGetMinY(s) + MAX(K_ZL_Y * u, edge)); }
- - (CGRect)pillRect:(int)b { CGRect s = self.safe; CGFloat u = self.u, w = K_PILL_W * u, h = K_PILL_H * u;
-- CGPoint c = CGPointMake(CGRectGetMidX(s) + (b == B_PLUS ? K_PILL_DX : -K_PILL_DX) * u, CGRectGetMinY(s) + K_PILL_Y * u); // − on the left, + on the right
-+ CGPoint c = CGPointMake(CGRectGetMidX(s) + (b == B_PLUS ? K_PILL_DX : -K_PILL_DX) * u, CGRectGetMinY(s) + MAX(K_PILL_Y * u, _layout.separated ? 14 : 0)); // − on the left, + on the right
- return CGRectMake(c.x - w / 2, c.y - h / 2, w, h); }
--- (CGPoint)swapCenter { CGRect s = self.safe; return CGPointMake(CGRectGetMidX(s), CGRectGetMinY(s) + K_PILL_Y * self.u); }
-+- (CGPoint)swapCenter { CGRect s = self.safe; return CGPointMake(CGRectGetMidX(s), CGRectGetMinY(s) + MAX(K_PILL_Y * self.u, _layout.separated ? 14 : 0)); }
-
- static CGFloat dist(CGPoint a, CGPoint b) { return hypot(a.x - b.x, a.y - b.y); }
--- (int)btnAt:(CGPoint)p { // locked keys (tested on touch-down only, then locked)
-+- (CGFloat)buttonDistance:(int)b point:(CGPoint)p {
- CGFloat u = self.u;
-+ if (isDrop(b)) return dist(p, [self dropCenter:b]) / MAX([self dropR:b] * 1.35, _layout.separated ? 22 : 0);
-+ if (isClick(b)) return dist(p, [self clickCenter:b]) / MAX(K_CLICK_R * u * 1.35, _layout.separated ? 22 : 0);
-+ CGRect r = CGRectInset([self pillRect:b], -8 * u, -8 * u);
-+ if (!_layout.separated && !CGRectContainsPoint(r, p)) return CGFLOAT_MAX;
-+ CGFloat w = MAX(r.size.width, _layout.separated ? 28 : 0), h = MAX(r.size.height, _layout.separated ? 28 : 0);
-+ return MAX(fabs(p.x - CGRectGetMidX(r)) / (w / 2), fabs(p.y - CGRectGetMidY(r)) / (h / 2));
-+}
-+- (int)btnAt:(CGPoint)p { // Locked at touch-down; nearest normalized target wins overlapping separated-layout hits.
-+ int best = -1; CGFloat distance = 1;
- for (int i = 0; i < (int)(sizeof k_btns / sizeof *k_btns); i++) { int b = k_btns[i];
- if (fullOnly(b) && !_full) continue;
-- BOOL hit = isDrop(b) ? dist(p, [self dropCenter:b]) <= [self dropR:b] * 1.35
-- : isClick(b) ? dist(p, [self clickCenter:b]) <= K_CLICK_R * u * 1.35
-- : CGRectContainsPoint(CGRectInset([self pillRect:b], -8 * u, -8 * u), p);
-- if (hit) return b; }
-- return -1;
-+ CGFloat d = [self buttonDistance:b point:p];
-+ if (d <= 1 && (best < 0 || d < distance)) {
-+ best = b; distance = d;
-+ if (!_layout.separated) return b;
-+ }
-+ }
-+ return best;
- }
--- (BOOL)inSwap:(CGPoint)p { return dist(p, self.swapCenter) <= K_SWAP_R * self.u * 1.6; }
-+- (CGFloat)swapDistance:(CGPoint)p { return dist(p, self.swapCenter) / MAX(K_SWAP_R * self.u * 1.6, _layout.separated ? 14 : 0); }
-+- (BOOL)inSwap:(CGPoint)p { return [self swapDistance:p] <= 1; }
- - (uint64_t)faceAt:(CGPoint)p { // keys under the finger in the diamond (between two keys both count)
-- uint64_t m = 0; CGFloat r = self.faceR * 1.25;
-+ uint64_t m = 0; CGFloat r = self.faceHitR;
- for (int b = B_A; b <= B_Y; b++) if (dist(p, [self facePos:b]) <= r) m |= 1ull << b;
- return m;
- }
-@@ -314,13 +367,11 @@ - (void)recompute {
- if (changed || stick || _stickShown) [self refresh]; // also refresh on the stick release so the knob returns to the centre
- _stickShown = stick;
- }
--// Touches no control takes (all of them while a physical controller is connected) go to the game's touch screen, normalized on the 16:9 picture that front_ios.m
--// centres in the screen: Super Mario Galaxy's pointer in handheld mode (profile op_mode). The host reports them only in handheld mode, as on the Switch (hle_hid.c touch_read)
-+// Touches no control takes go to the game's touch screen, normalized on front_ios.m's actual 16:9 viewport (including portrait and tabletop splits): Super Mario Galaxy's pointer in handheld mode (profile op_mode). The host reports them only in handheld mode, as on the Switch (hle_hid.c touch_read)
- - (void)pushGame {
-- CGRect b = self.bounds; CGFloat w = b.size.width, h = b.size.height;
-- if (w <= 0 || h <= 0) return;
-- if (w / h > 16.0 / 9.0) w = h * 16.0 / 9.0; else h = w * 9.0 / 16.0;
-- CGFloat x0 = (b.size.width - w) / 2, y0 = (b.size.height - h) / 2;
-+ CGRect b = _layout.game; CGFloat w = b.size.width, h = b.size.height;
-+ if (w <= 0 || h <= 0) { dm_touch_set(NULL, 0); return; }
-+ CGFloat x0 = CGRectGetMinX(b), y0 = CGRectGetMinY(b);
- dm_touch t[16]; int n = 0;
- for (int i = 0; i < 16; i++) if (_game[i]) {
- CGPoint p = [_game[i] locationInView:self];
-@@ -329,6 +380,7 @@ - (void)pushGame {
- dm_touch_set(t, n);
- }
- - (BOOL)gameBegin:(UITouch *)t {
-+ if (CGRectIsEmpty(_layout.game) || (_layout.separated && !CGRectContainsPoint(_layout.game, [t locationInView:self]))) return NO;
- for (int i = 0; i < 16; i++) if (!_game[i]) { _game[i] = t; [_owner setObject:@(C_GAME | (uint64_t)i << 8) forKey:t]; return YES; }
- return NO;
- }
-@@ -336,15 +388,19 @@ - (void)touchesBegan:(NSSet<UITouch *> *)ts withEvent:(UIEvent *)e {
- BOOL game = NO;
- for (UITouch *t in ts) {
- if (_padOff) { game |= [self gameBegin:t]; continue; }
-- CGPoint p = [t locationInView:self]; int hit = _tap ? -1 : [self btnAt:p];
-+ CGPoint p = [t locationInView:self];
-+ if (_layout.separated && !CGRectContainsPoint(_layout.controls, p)) { game |= [self gameBegin:t]; continue; }
-+ int hit = _tap ? -1 : [self btnAt:p];
-+ if ([self inSwap:p] && (hit < 0 || (_layout.separated && [self swapDistance:p] < [self buttonDistance:hit point:p]))) {
-+ [_owner setObject:@(C_SWAP) forKey:t]; continue;
-+ }
- if (hit >= 0) { [_owner setObject:@(C_BTN | (uint64_t)hit << 8) forKey:t]; continue; }
-- if ([self inSwap:p]) { [_owner setObject:@(C_SWAP) forKey:t]; continue; }
- if (_tap) { game |= [self gameBegin:t]; continue; }
- // diamond, D-pad, left stick: take the one with the smallest distance / grab radius, if it is <= 1
- CGFloat best = 1; int kind = C_NONE, idx = 0;
-- CGFloat f = dist(p, self.faceCenter) / (self.faceGap + self.faceR * 1.6); if (f <= best) { best = f; kind = C_FACE; }
-- if (_full) { CGFloat d = dist(p, self.dpadCenter) / (self.dpadR * K_DPAD_GRAB); if (d < best) { best = d; kind = C_DPAD; } }
-- if (!_stick[0]) { CGFloat s = dist(p, self.stickHome) / ([self stickR:0] * K_STICK_GRAB); if (s < best) { best = s; kind = C_STICK; } }
-+ CGFloat f = dist(p, self.faceCenter) / (self.faceGap + MAX(self.faceR * 1.6, self.faceHitR)); if (f <= best) { best = f; kind = C_FACE; }
-+ if (_full) { CGFloat d = dist(p, self.dpadCenter) / MAX(self.dpadR * K_DPAD_GRAB, _layout.separated ? 22 : 0); if (d < best) { best = d; kind = C_DPAD; } }
-+ if (!_stick[0]) { CGFloat s = dist(p, self.stickHome) / MAX([self stickR:0] * K_STICK_GRAB, _layout.separated ? 22 : 0); if (s < best) { best = s; kind = C_STICK; } }
- if (kind == C_NONE && _full && !_stick[1] && [self inRightArea:p]) { kind = C_STICK; idx = 1; _rCentre = p; } // the right stick: centred where the touch lands
- if (kind == C_FACE) { [_owner setObject:@(C_FACE) forKey:t]; [_faceOf setObject:@([self faceAt:p]) forKey:t]; }
- else if (kind == C_DPAD) [_owner setObject:@(C_DPAD) forKey:t];
-@@ -418,6 +474,11 @@ - (void)layoutSubviews {
- UIWindowScene *ws = self.window.windowScene; if (ws) atomic_store(&g_iface_orient, (int)ws.effectiveGeometry.interfaceOrientation);
- CGFloat u = self.u;
- [CATransaction begin]; [CATransaction setDisableActions:YES];
-+ CGFloat scale = MAX(self.traitCollection.displayScale, 1);
-+ for (int b = 0; b < B_N; b++) if (_label[b] && _label[b].contentsScale != scale) {
-+ _label[b].contentsScale = scale; [_label[b] setNeedsDisplay];
-+ }
-+ if (_swapLabel.contentsScale != scale) { _swapLabel.contentsScale = scale; [_swapLabel setNeedsDisplay]; }
- _controls.frame = self.layer.bounds;
- for (int b = B_A; b <= B_Y; b++) { CGPoint c = [self facePos:b]; setPath(_key[b], circlePath(c, self.faceR)); placeLabel(_label[b], c, 20 * u); }
- for (int i = 0; i < (int)(sizeof k_btns / sizeof *k_btns); i++) { int b = k_btns[i];
-@@ -529,6 +590,7 @@ - (void)padsChanged:(NSNotification *)note {
- @end
-
- UIView *dm_gamepad_view(CGRect frame) { DmGamepad *v = [[DmGamepad alloc] initWithFrame:frame]; g_view = v; return v; }
-+void dm_gamepad_arrange(UIView *view, DmLayout layout) { [(DmGamepad *)view arrange:layout]; }
- void dm_gamepad_active(void) { dispatch_async(dispatch_get_main_queue(), ^{ for (GCController *c in GCController.controllers) dm_motion_rearm(c); }); } // On become active: motion_apple.h
- void dm_gamepad_reset(void) { // On resign active: release everything (a key held while switching away and released in background gets no "release")
- dispatch_async(dispatch_get_main_queue(), ^{ [g_view reset]; });
-diff --git a/dm/ios/Sources/DmHostingController.swift b/dm/ios/Sources/DmHostingController.swift
-new file mode 100644
-index 0000000..14eee41
---- /dev/null
-+++ b/dm/ios/Sources/DmHostingController.swift
-@@ -0,0 +1,7 @@
-+import SwiftUI
-+import UIKit
-+
-+// Full-screen SwiftUI presentations must preserve the game's four-orientation policy.
-+final class DmHostingController<Content: View>: UIHostingController<Content> {
-+ override var supportedInterfaceOrientations: UIInterfaceOrientationMask { .all }
-+}
-diff --git a/dm/ios/Sources/DmLayout.h b/dm/ios/Sources/DmLayout.h
-new file mode 100644
-index 0000000..4b118d8
---- /dev/null
-+++ b/dm/ios/Sources/DmLayout.h
-@@ -0,0 +1,53 @@
-+// Shared picture and input geometry; division includes UIKit's interactive margins.
-+#pragma once
-+#import <UIKit/UIKit.h>
-+
-+NS_ASSUME_NONNULL_BEGIN
-+
-+typedef struct { CGRect game, controls; BOOL separated, topSafeOnly; } DmLayout;
-+
-+static inline UIEdgeInsets dm_game_safe_insets(CGRect bounds, UIEdgeInsets insets, BOOL duo) {
-+ return duo && bounds.size.height > bounds.size.width ? UIEdgeInsetsMake(insets.top, 0, 0, 0) : insets;
-+}
-+
-+static inline CGRect dm_aspect_fit(CGRect b) {
-+ CGFloat w = b.size.width, h = b.size.height;
-+ if (w <= 0 || h <= 0) return CGRectZero;
-+ if (w / h > 16.0 / 9.0) w = h * 16.0 / 9.0; else h = w * 9.0 / 16.0;
-+ return CGRectMake(floor(CGRectGetMidX(b) - w / 2), floor(CGRectGetMidY(b) - h / 2), w, h);
-+}
-+
-+static inline CGRect dm_horizontal_division(CGRect b, CGRect division) {
-+ if (CGRectIsNull(division) || division.size.width <= division.size.height) return CGRectNull;
-+ // Preserve zero-height inactive folds and clip regions during display handoff.
-+ CGFloat x = MAX(CGRectGetMinX(b), CGRectGetMinX(division));
-+ CGFloat y = MAX(CGRectGetMinY(b), CGRectGetMinY(division));
-+ CGFloat right = MIN(CGRectGetMaxX(b), CGRectGetMaxX(division));
-+ CGFloat bottom = MIN(CGRectGetMaxY(b), CGRectGetMaxY(division));
-+ if (right - x < b.size.width * 0.9 || bottom < y ||
-+ y <= CGRectGetMinY(b) || bottom >= CGRectGetMaxY(b)) return CGRectNull;
-+ return CGRectMake(x, y, right - x, bottom - y);
-+}
-+
-+static inline DmLayout dm_layout(CGRect b, UIEdgeInsets insets, BOOL partiallyOpen, CGRect division) {
-+ DmLayout l = { dm_aspect_fit(b), b, NO, NO };
-+ if (CGRectIsEmpty(b)) return l;
-+ division = dm_horizontal_division(b, division);
-+ BOOL portrait = b.size.height > b.size.width;
-+ if (!portrait && (!partiallyOpen || CGRectIsNull(division))) return l;
-+ if (CGRectIsNull(division)) division = CGRectMake(b.origin.x, CGRectGetMidY(b), b.size.width, 0);
-+ CGRect safe = UIEdgeInsetsInsetRect(b, insets);
-+ CGRect upper = CGRectMake(CGRectGetMinX(safe), CGRectGetMinY(safe), safe.size.width,
-+ CGRectGetMinY(division) - CGRectGetMinY(safe));
-+ CGRect lower = CGRectMake(CGRectGetMinX(b), CGRectGetMaxY(division), b.size.width,
-+ CGRectGetMaxY(b) - CGRectGetMaxY(division));
-+ if (upper.size.height <= 0 || CGRectGetMaxY(safe) <= CGRectGetMinY(lower)) return l;
-+ l.game = dm_aspect_fit(upper); l.controls = lower; l.separated = YES;
-+ return l;
-+}
-+
-+UIView *dm_gamepad_view(CGRect frame);
-+void dm_gamepad_arrange(UIView *view, DmLayout layout);
-+void dm_gamepad_reset(void);
-+
-+NS_ASSUME_NONNULL_END
-diff --git a/dm/ios/Sources/Launcher.swift b/dm/ios/Sources/Launcher.swift
-index f20e403..c968c26 100644
---- a/dm/ios/Sources/Launcher.swift
-+++ b/dm/ios/Sources/Launcher.swift
-@@ -240,7 +240,7 @@ public func dmShowLauncher(_ viewController: UnsafeMutableRawPointer, _ done: @c
- model.apply()
- h.dismiss(animated: false) { done() }
- }
-- let h = UIHostingController(rootView: view)
-+ let h = DmHostingController(rootView: view)
- h.modalPresentationStyle = .fullScreen
- host = h
- parent.present(h, animated: false)
-diff --git a/dm/ios/Sources/front_ios.m b/dm/ios/Sources/front_ios.m
-index 57b08e9..a50696a 100644
---- a/dm/ios/Sources/front_ios.m
-+++ b/dm/ios/Sources/front_ios.m
-@@ -1,4 +1,4 @@
--// iOS front end (the iOS implementation of front.h): a centered 16:9 Metal view (black bars on both sides) + a full-screen virtual gamepad layer (DmGamepad.m, controls drawn over the picture);
-+// iOS front end: portrait puts 16:9 video above the gamepad; native horizontal folds set the separation when available;
- // with a TV connected the Metal view is on the TV and the phone shows the pad (DmTVSceneDelegate).
- // The host runs on the big-stack thread started by main.m; front_run runs the guest directly on the calling thread.
- #import <UIKit/UIKit.h>
-@@ -13,9 +13,9 @@
- #include "save_sync.h"
- #import "CloudSaves.h"
-
--UIView *dm_gamepad_view(CGRect frame);
--void dm_gamepad_reset(void);
- void dm_gamepad_active(void);
-+#import "DmLayout.h"
-+
- void front_ios_boot(void);
- int front_ios_boot_ok(void);
- const char *front_ios_boot_message(void); // main.m: why a build that keeps the game files off the IPA found none usable (NULL = the generic hint)
-@@ -34,9 +34,12 @@ @implementation DmGameView
- + (Class)layerClass { return CAMetalLayer.class; }
- - (instancetype)initWithFrame:(CGRect)f {
- if ((self = [super initWithFrame:f])) {
-+ [self registerForTraitChanges:@[UITraitDisplayScale.class] withHandler:^(id<UITraitEnvironment> environment, UITraitCollection *previous) {
-+ [(UIView *)environment setNeedsLayout];
-+ }];
- CAMetalLayer *l = (CAMetalLayer *)self.layer;
- l.device = MTLCreateSystemDefaultDevice(); l.pixelFormat = MTLPixelFormatBGRA8Unorm;
-- l.contentsScale = UIScreen.mainScreen.nativeScale; l.framebufferOnly = NO; l.opaque = YES;
-+ l.contentsScale = MAX(self.traitCollection.displayScale, 1); l.framebufferOnly = NO; l.opaque = YES;
- self.backgroundColor = UIColor.blackColor;
- }
- return self;
-@@ -49,6 +52,9 @@ - (void)didMoveToWindow { // the phone's screen or a TV's (DmTVSceneDelegate):
- - (void)layoutSubviews {
- [super layoutSubviews];
- CAMetalLayer *l = (CAMetalLayer *)self.layer;
-+ UIWindowScene *ws = self.window.windowScene; UIScreen *screen = ws.screen;
-+ // Preserve native-pixel gameplay; UIKit text uses the view's displayScale. On a TV the scale tv_attach set (at most 1080p) stays.
-+ if (![ws.session.role isEqualToString:UIWindowSceneSessionRoleExternalDisplayNonInteractive]) l.contentsScale = screen ? screen.nativeScale : MAX(self.traitCollection.displayScale, 1);
- l.drawableSize = CGSizeMake(self.bounds.size.width * l.contentsScale, self.bounds.size.height * l.contentsScale);
- }
- @end
-@@ -59,6 +65,22 @@ static CGRect fit_16_9(CGRect b) { // the largest centered 16:9 rectangle in b
- }
- static void tv_attach(void);
-
-+@interface DmRootView : UIView
-+@end
-+@implementation DmRootView
-++ (BOOL)requiresConstraintBasedLayout { return YES; }
-+- (void)updateConstraints {
-+#if __has_include(<UIKit/UIHingeInteraction.h>)
-+ if (@available(iOS 27.1, *)) {
-+ // Reading here registers UIKit's automatic reserved-region invalidation.
-+ [self reservedRegionsOfKind:UIViewReservedRegionKind.divisionRegionKind options:UIViewReservedRegionQueryOptionsIncludeInactive];
-+ [self setNeedsLayout];
-+ }
-+#endif
-+ [super updateConstraints];
-+}
-+@end
-+
- @interface DmRootVC : UIViewController
- @property (nonatomic, strong) DmGameView *game;
- @property (nonatomic, strong) UIView *pad;
-@@ -66,11 +88,20 @@ @interface DmRootVC : UIViewController
- @property (nonatomic) BOOL launched;
- @property (nonatomic, strong) id tv; // the TV scene accessory's registration (iOS 27)
- @property (nonatomic) BOOL hasLauncher; // the app has a settings screen: a failed Play goes back to it (its Game data section is the way out)
-+@property (nonatomic) BOOL partiallyOpen;
-+@property (nonatomic) NSInteger hingeStatus;
-+@property (nonatomic) BOOL separated;
-+@property (nonatomic, copy) NSString *layoutLog;
-+#if __has_include(<UIKit/UIHingeInteraction.h>)
-+- (void)hingeChanged:(UIHinge *)hinge API_AVAILABLE(ios(27.1));
-+#endif
-+
- - (void)startGame;
- @end
- static DmRootVC *g_root;
- static void launcher_done(void) { [g_root startGame]; }
- @implementation DmRootVC
-+- (void)loadView { self.view = [DmRootView new]; }
- - (void)showHint:(NSString *)text { // why the game cannot start, centered over the black screen
- UILabel *lb = [[UILabel alloc] initWithFrame:CGRectInset(self.view.bounds, 40, 40)];
- lb.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
-@@ -80,6 +111,14 @@ - (void)showHint:(NSString *)text { // why the game cannot start, centered ove
- - (void)viewDidLoad {
- [super viewDidLoad];
- self.view.backgroundColor = UIColor.blackColor;
-+#if __has_include(<UIKit/UIHingeInteraction.h>)
-+ if (@available(iOS 27.1, *)) {
-+ __weak DmRootVC *weakSelf = self;
-+ [self.view addInteraction:[[UIHingeInteraction alloc] initWithUpdateHandler:^(UIHingeInteraction *interaction, UIHingeInteractionUpdate *update) {
-+ [weakSelf hingeChanged:update.hinge];
-+ }]];
-+ }
-+#endif
- front_ios_power_watch();
- if (!front_ios_boot_ok()) { // No game files: show a hint and do not start the host
- const char *why = front_ios_boot_message();
-@@ -94,6 +133,18 @@ - (void)viewDidLoad {
- }
- #endif
- }
-+#if __has_include(<UIKit/UIHingeInteraction.h>)
-+- (void)hingeChanged:(UIHinge *)hinge API_AVAILABLE(ios(27.1)) {
-+ NSInteger status = hinge ? hinge.status : UIHingeStatusUnknown;
-+ if (self.hingeStatus != status) {
-+ self.hingeStatus = status;
-+ LOG("front end: Duo hinge status %ld, angle %.3f", (long)status, hinge.angle);
-+ }
-+ self.partiallyOpen = status == UIHingeStatusPartiallyOpen;
-+ [self.view setNeedsUpdateConstraints];
-+ [self.view setNeedsLayout];
-+}
-+#endif
- // The game view, the pad and the frame-rate counter are made once the launcher has set the switches they read (DM_SHOW_FPS, DM_METAL_HUD); the host's loading began at app launch (main.m)
- - (void)startGame {
- if (self.game) return;
-@@ -106,6 +157,7 @@ - (void)startGame {
- [self.view addSubview:lb]; return;
- }
- dm_cloud_saves_env(); // DM_SAVE_SYNC from the launcher's Cloud saves pick, before the game's first save mount reads it (CloudSaves.m, save_sync.h)
-+
- front_hud_env(); // before the process's first Metal device, which reads MTL_HUD_ENABLED (an env file's DM_METAL_HUD sets it in main.m already; GitHub issue #840)
- const char *dev = front_ios_device_check(); // that first device: a GPU without BC textures is refused here, not at launch, so the launcher's HUD switch counts
- if (dev) { [self showHint:[NSString stringWithFormat:@"This device is not supported.\n%s", dev]]; return; } // the host does not start
-@@ -128,9 +180,37 @@ - (void)startGame {
- - (void)viewDidLayoutSubviews {
- [super viewDidLayoutSubviews];
- CGRect b = self.view.bounds; if (!self.game) return;
-- if (self.game.superview == self.view) self.game.frame = fit_16_9(b); // on a TV the TV's view lays it out
-- if (self.fps) { // the top row's free stretch: right of DmGamepad.m's L3 key (102 + 17 of its units from the safe edge), level with − / + (22 units down); u is its unit
-- CGRect s = UIEdgeInsetsInsetRect(b, self.view.safeAreaInsets); CGFloat u = MIN(b.size.height / 430.0, 1.3);
-+ CGRect division = CGRectNull;
-+ NSMutableArray<NSString *> *regionLog = [NSMutableArray array];
-+#if __has_include(<UIKit/UIHingeInteraction.h>)
-+ if (@available(iOS 27.1, *)) {
-+ for (UIViewReservedRegion *region in [self.view reservedRegionsOfKind:UIViewReservedRegionKind.divisionRegionKind options:UIViewReservedRegionQueryOptionsIncludeInactive]) {
-+ [regionLog addObject:[NSString stringWithFormat:@"%@ active=%d", NSStringFromCGRect(region.frame), region.isActive]];
-+ CGRect candidate = dm_horizontal_division(b, region.frame);
-+ if (CGRectIsNull(division) && !CGRectIsNull(candidate)) division = candidate;
-+ }
-+ }
-+#endif
-+ BOOL duoPortrait = b.size.height > b.size.width && (self.hingeStatus != 0 || !CGRectIsNull(division));
-+ UIEdgeInsets gameInsets = dm_game_safe_insets(b, self.view.safeAreaInsets, duoPortrait);
-+ DmLayout layout = dm_layout(b, gameInsets, self.partiallyOpen, division);
-+ if (self.game.superview == self.view) self.game.frame = layout.game; // on a TV the TV's view lays it out
-+ layout.topSafeOnly = duoPortrait;
-+ UIInterfaceOrientationMask appMask = [UIApplication.sharedApplication supportedInterfaceOrientationsForWindow:self.view.window];
-+ NSString *summary = [NSString stringWithFormat:@"bounds %@, orientation %ld, scene locked %d, root mask %#lx, app mask %#lx, hinge %ld, partial %d, divisions %@, mode %@", NSStringFromCGRect(b), (long)self.view.window.windowScene.effectiveGeometry.interfaceOrientation, self.view.window.windowScene.effectiveGeometry.isInterfaceOrientationLocked, (unsigned long)self.supportedInterfaceOrientations, (unsigned long)appMask, (long)self.hingeStatus, self.partiallyOpen, regionLog, layout.separated ? @"split" : @"overlay"];
-+ if (![summary isEqualToString:self.layoutLog]) {
-+ self.layoutLog = summary;
-+ LOG("front end: Duo layout %s", summary.UTF8String);
-+ }
-+ if (layout.separated != self.separated) {
-+ self.separated = layout.separated;
-+ LOG("front end: Duo %s, video %s, controls %s", layout.separated ? "split" : "overlay", NSStringFromCGRect(layout.game).UTF8String, NSStringFromCGRect(layout.controls).UTF8String);
-+ }
-+ self.pad.frame = b;
-+ dm_gamepad_arrange(self.pad, layout);
-+ if (self.fps) {
-+ CGRect s = CGRectIntersection(layout.controls, UIEdgeInsetsInsetRect(b, gameInsets));
-+ CGFloat u = layout.separated ? MIN(MIN(s.size.height / 430.0, s.size.width / 700.0), 1.3) : MIN(b.size.height / 430.0, 1.3);
- self.fps.frame = CGRectMake(floor(CGRectGetMinX(s) + 130 * u), floor(CGRectGetMinY(s) + 22 * u - 11), 64, 22);
- }
- }
-@@ -149,7 +229,7 @@ - (void)viewDidAppear:(BOOL)a {
- - (BOOL)prefersHomeIndicatorAutoHidden { return YES; }
- - (UIRectEdge)preferredScreenEdgesDeferringSystemGestures { return UIRectEdgeAll; } // Edge gestures need two swipes, to avoid accidental exits
- - (BOOL)prefersStatusBarHidden { return YES; }
--- (UIInterfaceOrientationMask)supportedInterfaceOrientations { return UIInterfaceOrientationMaskLandscape; }
-+- (UIInterfaceOrientationMask)supportedInterfaceOrientations { return UIInterfaceOrientationMaskAll; }
- @end
- UIViewController *front_ios_root(void) { return [DmRootVC new]; }
-
-diff --git a/dm/ios/project.yml b/dm/ios/project.yml
-index ed0010a..8964dbb 100644
---- a/dm/ios/project.yml
-+++ b/dm/ios/project.yml
-@@ -32,13 +32,17 @@ targets:
- CFBundleDisplayName: ${DM_DISPLAY_NAME} # the game name in the base NSP (set by build_ipa.sh)
- CFBundleVersion: $(CURRENT_PROJECT_VERSION)
- CFBundleShortVersionString: $(MARKETING_VERSION)
-- UILaunchStoryboardName: ""
-+ UILaunchScreen: {}
- UIFileSharingEnabled: true # Documents (log.txt, saves) visible in the Files app
- LSSupportsOpeningDocumentsInPlace: true
- UISupportedInterfaceOrientations:
- - UIInterfaceOrientationLandscapeRight
- - UIInterfaceOrientationLandscapeLeft
-- UIRequiresFullScreen: true
-+ UISupportedInterfaceOrientations~ipad:
-+ - UIInterfaceOrientationPortrait
-+ - UIInterfaceOrientationPortraitUpsideDown
-+ - UIInterfaceOrientationLandscapeRight
-+ - UIInterfaceOrientationLandscapeLeft
- UIStatusBarHidden: true
- UIViewControllerBasedStatusBarAppearance: false
- LSApplicationCategoryType: ${DM_APP_CATEGORY} # game profile app_category
-diff --git a/dm/ios/tests/duo/.gitignore b/dm/ios/tests/duo/.gitignore
-new file mode 100644
-index 0000000..de4db43
---- /dev/null
-+++ b/dm/ios/tests/duo/.gitignore
-@@ -0,0 +1,5 @@
-+/DuoHarness.xcodeproj/
-+/Info.plist
-+/DerivedData/
-+__pycache__/
-+*.py[cod]
-diff --git a/dm/ios/tests/duo/README.md b/dm/ios/tests/duo/README.md
-new file mode 100644
-index 0000000..07d4df5
---- /dev/null
-+++ b/dm/ios/tests/duo/README.md
-@@ -0,0 +1,42 @@
-+# Duo UI and input harness
-+
-+This XCTest app compiles the production iOS gamepad, layout and hosting-controller code with inert host-runtime stubs. Its fixture `game_profile.h` supplies no game data, so the harness does not generate or require a game profile or extracted files.
-+
-+The Simulator unit tests cover portrait and landscape layout, safe areas, valid and invalid division regions, 16:9 fitting, touch hit ownership, multitouch and video coordinates, pose-change input release, controller-to-player slots, stale controller callbacks, and preservation of a seeded controller-motion sample across layout changes. The optional virtual-controller case runs when Simulator exposes one.
-+
-+The native rotation UI test requires the iOS 27.1 iPhone Duo simulator with the hinge fully open. The simulator does not apply scene rotations from `XCUIDevice.shared.orientation` in this test path, so the test waits for an operator to rotate the simulator through Device Hub. It verifies the live bounds and video/control frames while the operator cycles through both landscape and both portrait poses. Inner-display composition follows bounds rather than the scene orientation value. The phone plist deliberately permits only landscape, while the iPad list permits all four orientations. In each portrait pose, click the center of the visible Game viewport within 60 seconds; the test verifies that the native click reaches `dm_touch_set` with a centered normalized game coordinate. It fails if the hinge is not fully open, any pose is not reached, or either native click is missing. The Simulator unit tests continue to use synthetic touches, controller snapshots, hinge statuses, and division callbacks; they do not exercise UIKit hit-testing or system touch cancellation.
-+
-+The harness uses synthetic host state and does not validate an installed game, physical hinge sensors or device motion.
-+
-+From the repository root:
-+
-+```sh
-+cd dm/ios/tests/duo
-+xcodegen generate --spec project.yml
-+xcodebuild test -project DuoHarness.xcodeproj -scheme DuoHarness \
-+ -destination 'platform=iOS Simulator,id=<simulator-udid>' \
-+ -parallel-testing-enabled NO CODE_SIGNING_ALLOWED=NO
-+```
-+
-+Run the native rotation test on the fully-open iPhone Duo simulator. While the test waits for each pose, rotate the simulator through the printed Device Hub sequence before its 60-second timeout. At each portrait prompt, click the visible Game viewport center before continuing:
-+
-+```sh
-+xcodebuild test -project DuoHarness.xcodeproj -scheme DuoHarnessNativeRotation \
-+ -destination 'platform=iOS Simulator,id=<iphone-duo-simulator-udid>' \
-+ -parallel-testing-enabled NO \
-+ CODE_SIGNING_ALLOWED=NO \
-+ -only-testing:DuoHarnessUITests/DuoNativeRotationUITests/testObservedNativeFourOrientationCycleOnFullyOpenDuoPreservesLayoutAndTouchRouting
-+```
-+
-+To build and install the harness app for a simulator:
-+
-+```sh
-+DERIVED_DATA="$(mktemp -d "${TMPDIR:-/tmp}/duo-harness.XXXXXX")"
-+xcodebuild build-for-testing -project DuoHarness.xcodeproj -scheme DuoHarness \
-+ -destination 'generic/platform=iOS Simulator' -derivedDataPath "$DERIVED_DATA" \
-+ CODE_SIGNING_ALLOWED=NO
-+DEVICE=<simulator-udid>
-+APP="$DERIVED_DATA/Build/Products/Debug-iphonesimulator/DuoHarness.app"
-+xcrun simctl install "$DEVICE" "$APP"
-+xcrun simctl launch "$DEVICE" org.nxnative.DuoHarness
-+```
-diff --git a/dm/ios/tests/duo/Sources/DuoHarnessApp.m b/dm/ios/tests/duo/Sources/DuoHarnessApp.m
-new file mode 100644
-index 0000000..e9b168d
---- /dev/null
-+++ b/dm/ios/tests/duo/Sources/DuoHarnessApp.m
-@@ -0,0 +1,177 @@
-+#import <UIKit/UIKit.h>
-+#import "DmLayout.h"
-+#import "DuoHarnessRuntime.h"
-+#include <stdlib.h>
-+#include <string.h>
-+#if __has_include(<UIKit/UIHingeInteraction.h>)
-+#import <UIKit/UIHingeInteraction.h>
-+#endif
-+
-+UIViewController *front_ios_root(void);
-+
-+static NSArray<NSNumber *> *DuoHarnessRectArray(CGRect rect) {
-+ return @[@(CGRectGetMinX(rect)), @(CGRectGetMinY(rect)), @(CGRectGetWidth(rect)), @(CGRectGetHeight(rect))];
-+}
-+
-+static NSArray<NSArray<NSNumber *> *> *DuoHarnessTouchArray(DuoHarnessInput input) {
-+ NSMutableArray *touches = [NSMutableArray arrayWithCapacity:(NSUInteger)input.last_touch_count];
-+ for (int i = 0; i < input.last_touch_count; i++) {
-+ [touches addObject:@[@(input.last_touches[i].x), @(input.last_touches[i].y)]];
-+ }
-+ return touches;
-+}
-+
-+@interface DuoHarnessDiagnosticsOverlay : UIView
-+@property (nonatomic, copy) void (^didLayout)(void);
-+@end
-+
-+@implementation DuoHarnessDiagnosticsOverlay
-+- (void)layoutSubviews {
-+ [super layoutSubviews];
-+ if (self.didLayout) self.didLayout();
-+}
-+@end
-+
-+@interface DuoHarnessAppDelegate : UIResponder <UIApplicationDelegate>
-+@end
-+
-+@interface DuoHarnessSceneDelegate : UIResponder <UIWindowSceneDelegate>
-+@property (nonatomic, strong) UIWindow *window;
-+@property (nonatomic, strong) UILabel *diagnosticsLabel;
-+@property (nonatomic, strong) id inputObserver;
-+@property (nonatomic) NSInteger diagnosticHingeStatus;
-+@property (nonatomic) CGFloat diagnosticHingeAngle;
-+#if __has_include(<UIKit/UIHingeInteraction.h>)
-+@property (nonatomic, strong) UIHingeInteraction *diagnosticHingeInteraction API_AVAILABLE(ios(27.1));
-+#endif
-+- (void)refreshDiagnostics;
-+@end
-+
-+@implementation DuoHarnessAppDelegate
-+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)options {
-+ (void)application; (void)options;
-+ // Synthetic touches should not start device motion or trigger hardware feedback.
-+ setenv("DM_MOTION", "0", 1);
-+ setenv("DM_TOUCH_HAPTICS", "0", 1);
-+ return YES;
-+}
-+- (UISceneConfiguration *)application:(UIApplication *)application
-+ configurationForConnectingSceneSession:(UISceneSession *)session
-+ options:(UISceneConnectionOptions *)options {
-+ (void)application; (void)options;
-+ return [[UISceneConfiguration alloc] initWithName:@"Default" sessionRole:session.role];
-+}
-+@end
-+
-+@implementation DuoHarnessSceneDelegate
-+- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)options {
-+ (void)session; (void)options;
-+ if (![scene isKindOfClass:UIWindowScene.class]) return;
-+ self.window = [[UIWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
-+ UIViewController *root = front_ios_root();
-+ self.window.rootViewController = root;
-+ [self.window makeKeyAndVisible];
-+
-+ self.diagnosticHingeStatus = -1;
-+ self.diagnosticHingeAngle = -1;
-+ self.diagnosticsLabel = [UILabel new];
-+ self.diagnosticsLabel.frame = CGRectMake(0, 0, 1, 1);
-+ self.diagnosticsLabel.isAccessibilityElement = YES;
-+ self.diagnosticsLabel.accessibilityIdentifier = @"duo.diagnostics";
-+ self.diagnosticsLabel.accessibilityLabel = @"Duo native rotation diagnostics";
-+ self.diagnosticsLabel.accessibilityTraits = UIAccessibilityTraitStaticText;
-+ self.diagnosticsLabel.userInteractionEnabled = NO;
-+
-+ DuoHarnessDiagnosticsOverlay *overlay = [[DuoHarnessDiagnosticsOverlay alloc] initWithFrame:root.view.bounds];
-+ overlay.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
-+ overlay.backgroundColor = UIColor.clearColor;
-+ overlay.userInteractionEnabled = NO;
-+ [overlay addSubview:self.diagnosticsLabel];
-+ __weak DuoHarnessSceneDelegate *weakSelf = self;
-+ overlay.didLayout = ^{ [weakSelf refreshDiagnostics]; };
-+ [root.view addSubview:overlay];
-+
-+ self.inputObserver = [NSNotificationCenter.defaultCenter addObserverForName:DuoHarnessInputDidChangeNotification
-+ object:nil
-+ queue:NSOperationQueue.mainQueue
-+ usingBlock:^(NSNotification *note) {
-+ (void)note;
-+ [weakSelf refreshDiagnostics];
-+ }];
-+#if __has_include(<UIKit/UIHingeInteraction.h>)
-+ if (@available(iOS 27.1, *)) {
-+ self.diagnosticHingeInteraction = [[UIHingeInteraction alloc] initWithUpdateHandler:^(UIHingeInteraction *interaction, UIHingeInteractionUpdate *update) {
-+ (void)interaction;
-+ UIHinge *hinge = update.hinge;
-+ weakSelf.diagnosticHingeStatus = hinge ? hinge.status : -1;
-+ weakSelf.diagnosticHingeAngle = hinge ? hinge.angle : -1;
-+ [weakSelf refreshDiagnostics];
-+ }];
-+ [root.view addInteraction:self.diagnosticHingeInteraction];
-+ }
-+#endif
-+ dispatch_async(dispatch_get_main_queue(), ^{ [weakSelf refreshDiagnostics]; });
-+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(NSEC_PER_SEC / 2)), dispatch_get_main_queue(), ^{
-+ [weakSelf.window.rootViewController.view layoutIfNeeded];
-+ [weakSelf refreshDiagnostics];
-+ });
-+}
-+
-+- (void)windowScene:(UIWindowScene *)windowScene
-+ didUpdateEffectiveGeometry:(UIWindowSceneGeometry *)previousEffectiveGeometry API_AVAILABLE(ios(26.0)) {
-+ (void)windowScene; (void)previousEffectiveGeometry;
-+ __weak DuoHarnessSceneDelegate *weakSelf = self;
-+ dispatch_async(dispatch_get_main_queue(), ^{ [weakSelf refreshDiagnostics]; });
-+}
-+
-+- (void)refreshDiagnostics {
-+ UIWindow *window = self.window;
-+ UIViewController *root = window.rootViewController;
-+ if (!window || !root || !self.diagnosticsLabel) return;
-+ UIWindowScene *scene = window.windowScene;
-+ UIView *game = [root valueForKey:@"game"];
-+ UIView *pad = [root valueForKey:@"pad"];
-+ if (!game || !pad) {
-+ self.diagnosticsLabel.accessibilityValue = @"Duo diagnostics unavailable: production gamepad has not started";
-+ return;
-+ }
-+ NSValue *storedLayout = [pad valueForKey:@"layout"];
-+ if (![storedLayout isKindOfClass:NSValue.class] || strcmp(storedLayout.objCType, @encode(DmLayout)) != 0) {
-+ self.diagnosticsLabel.accessibilityValue = @"Duo diagnostics unavailable: production gamepad layout is not readable";
-+ return;
-+ }
-+ self.diagnosticsLabel.frame = game.frame;
-+ DmLayout layout;
-+ [storedLayout getValue:&layout size:sizeof(layout)];
-+
-+ DuoHarnessInput input = duo_harness_input();
-+ NSDictionary *snapshot = @{
-+ @"orientation": @(scene.effectiveGeometry.interfaceOrientation),
-+ @"bounds": DuoHarnessRectArray(root.view.bounds),
-+ @"game": DuoHarnessRectArray(game.frame),
-+ @"controls": DuoHarnessRectArray(layout.controls),
-+ @"separated": @(layout.separated),
-+ @"touchCount": @(input.touch_count),
-+ @"touchUpdates": @(input.touch_update_count),
-+ @"lastTouches": DuoHarnessTouchArray(input),
-+ @"hingeStatus": @(self.diagnosticHingeStatus),
-+ @"hingeAngle": @(self.diagnosticHingeAngle)
-+ };
-+ NSError *error = nil;
-+ NSData *data = [NSJSONSerialization dataWithJSONObject:snapshot options:0 error:&error];
-+ if (!data) {
-+ self.diagnosticsLabel.accessibilityValue = [NSString stringWithFormat:@"diagnostics error: %@", error];
-+ return;
-+ }
-+ NSString *value = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
-+ if (![self.diagnosticsLabel.accessibilityValue isEqualToString:value]) self.diagnosticsLabel.accessibilityValue = value;
-+}
-+
-+- (void)dealloc {
-+ if (self.inputObserver) [NSNotificationCenter.defaultCenter removeObserver:self.inputObserver];
-+}
-+@end
-+
-+int main(int argc, char *argv[]) {
-+ @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass(DuoHarnessAppDelegate.class)); }
-+}
-diff --git a/dm/ios/tests/duo/Sources/DuoHarnessRuntime.h b/dm/ios/tests/duo/Sources/DuoHarnessRuntime.h
-new file mode 100644
-index 0000000..644df62
---- /dev/null
-+++ b/dm/ios/tests/duo/Sources/DuoHarnessRuntime.h
-@@ -0,0 +1,38 @@
-+#pragma once
-+#import <Foundation/Foundation.h>
-+#include "front.h"
-+#include "dm_input.h"
-+
-+typedef struct {
-+ uint64_t buttons;
-+ int32_t lx, ly, rx, ry;
-+ int touch_count;
-+ dm_touch touches[16];
-+ uint64_t touch_update_count;
-+ int last_touch_count;
-+ dm_touch last_touches[16];
-+} DuoHarnessInput;
-+
-+typedef struct {
-+ uint64_t buttons;
-+ int32_t lx, ly, rx, ry;
-+} DuoHarnessPlayerInput;
-+
-+typedef struct {
-+ float acceleration[3];
-+ float rotation[3];
-+} DuoHarnessMotion;
-+
-+typedef struct {
-+ DuoHarnessInput input;
-+ DuoHarnessPlayerInput players[DM_PLAYERS];
-+ uint32_t connected_players;
-+ DuoHarnessMotion controller_motion[DM_PLAYERS];
-+ uint32_t controller_motion_mask;
-+} DuoHarnessState;
-+
-+DuoHarnessInput duo_harness_input(void);
-+DuoHarnessState duo_harness_state(void);
-+void duo_harness_clear(void);
-+
-+FOUNDATION_EXPORT NSString * const DuoHarnessInputDidChangeNotification;
-diff --git a/dm/ios/tests/duo/Sources/DuoRuntimeStubs.m b/dm/ios/tests/duo/Sources/DuoRuntimeStubs.m
-new file mode 100644
-index 0000000..f2d2072
---- /dev/null
-+++ b/dm/ios/tests/duo/Sources/DuoRuntimeStubs.m
-@@ -0,0 +1,127 @@
-+#import <GameController/GameController.h>
-+#import "DuoHarnessRuntime.h"
-+#include "dm.h"
-+#include "dm_input.h"
-+#include "haptics_apple.h"
-+#include "hle.h"
-+#include <pthread.h>
-+#include <string.h>
-+
-+NSString * const DuoHarnessInputDidChangeNotification = @"DuoHarnessInputDidChange";
-+
-+static pthread_mutex_t g_input_lock = PTHREAD_MUTEX_INITIALIZER;
-+static DuoHarnessState g_state;
-+static struct dm_profile g_profile;
-+static dispatch_once_t g_profile_once;
-+
-+DuoHarnessInput duo_harness_input(void) {
-+ pthread_mutex_lock(&g_input_lock);
-+ DuoHarnessInput value = g_state.input;
-+ pthread_mutex_unlock(&g_input_lock);
-+ return value;
-+}
-+
-+DuoHarnessState duo_harness_state(void) {
-+ pthread_mutex_lock(&g_input_lock);
-+ DuoHarnessState value = g_state;
-+ pthread_mutex_unlock(&g_input_lock);
-+ return value;
-+}
-+
-+void duo_harness_clear(void) {
-+ pthread_mutex_lock(&g_input_lock);
-+ memset(&g_state, 0, sizeof(g_state));
-+ pthread_mutex_unlock(&g_input_lock);
-+}
-+
-+void dm_input_set(uint64_t buttons, int32_t lx, int32_t ly, int32_t rx, int32_t ry) {
-+ pthread_mutex_lock(&g_input_lock);
-+ g_state.input.buttons = buttons;
-+ g_state.input.lx = lx; g_state.input.ly = ly; g_state.input.rx = rx; g_state.input.ry = ry;
-+ pthread_mutex_unlock(&g_input_lock);
-+ [[NSNotificationCenter defaultCenter] postNotificationName:DuoHarnessInputDidChangeNotification object:nil];
-+}
-+
-+void dm_touch_set(const dm_touch *touches, int count) {
-+ pthread_mutex_lock(&g_input_lock);
-+ g_state.input.touch_count = count > 16 ? 16 : count;
-+ g_state.input.touch_update_count++;
-+ memset(g_state.input.touches, 0, sizeof(g_state.input.touches));
-+ if (touches && g_state.input.touch_count > 0) memcpy(g_state.input.touches, touches, (size_t)g_state.input.touch_count * sizeof(*touches));
-+ if (touches && g_state.input.touch_count > 0) {
-+ g_state.input.last_touch_count = g_state.input.touch_count;
-+ memset(g_state.input.last_touches, 0, sizeof(g_state.input.last_touches));
-+ memcpy(g_state.input.last_touches, touches, (size_t)g_state.input.touch_count * sizeof(*touches));
-+ }
-+ pthread_mutex_unlock(&g_input_lock);
-+ [[NSNotificationCenter defaultCenter] postNotificationName:DuoHarnessInputDidChangeNotification object:nil];
-+}
-+
-+void dm_pad_set(uint64_t buttons, int32_t lx, int32_t ly, int32_t rx, int32_t ry) {
-+ dm_pad_set_player(0, buttons, lx, ly, rx, ry);
-+}
-+
-+void dm_pad_set_player(int player, uint64_t buttons, int32_t lx, int32_t ly, int32_t rx, int32_t ry) {
-+ if (player < 0 || player >= DM_PLAYERS) return;
-+ pthread_mutex_lock(&g_input_lock);
-+ g_state.players[player] = (DuoHarnessPlayerInput){buttons, lx, ly, rx, ry};
-+ pthread_mutex_unlock(&g_input_lock);
-+}
-+
-+void dm_pad_players(uint32_t mask) {
-+ pthread_mutex_lock(&g_input_lock);
-+ g_state.connected_players = mask;
-+ pthread_mutex_unlock(&g_input_lock);
-+}
-+
-+void dm_motion_set(int player, const float acceleration[3], const float rotation[3]) {
-+ if (player < 0 || player >= DM_PLAYERS || !acceleration || !rotation) return;
-+ pthread_mutex_lock(&g_input_lock);
-+ memcpy(g_state.controller_motion[player].acceleration, acceleration, sizeof(g_state.controller_motion[player].acceleration));
-+ memcpy(g_state.controller_motion[player].rotation, rotation, sizeof(g_state.controller_motion[player].rotation));
-+ g_state.controller_motion_mask |= 1u << player;
-+ pthread_mutex_unlock(&g_input_lock);
-+}
-+
-+void dm_motion_set_switch(int player, const float acceleration[3], const float rotation[3]) {
-+ (void)player; (void)acceleration; (void)rotation;
-+}
-+
-+void dm_motion_clear(int player) {
-+ if (player < 0 || player >= DM_PLAYERS) return;
-+ pthread_mutex_lock(&g_input_lock);
-+ memset(&g_state.controller_motion[player], 0, sizeof(g_state.controller_motion[player]));
-+ g_state.controller_motion_mask &= ~(1u << player);
-+ pthread_mutex_unlock(&g_input_lock);
-+}
-+
-+uint32_t dm_player_npad(int player) { return player == 0 ? 0x20 : (uint32_t)player; }
-+
-+const struct dm_profile *dm_profile(void) {
-+ dispatch_once(&g_profile_once, ^{ g_profile.pad_layout = 1; g_profile.opmode = 0; });
-+ return &g_profile;
-+}
-+
-+int dm_opmode(void) { return 0; }
-+void dm_set_opmode(int mode) { (void)mode; }
-+void dm_haptics_apple_init(void) {}
-+void dm_haptics_apple_controller(int player, GCController *controller) { (void)player; (void)controller; }
-+
-+int front_ios_boot_ok(void) { return 1; }
-+void front_ios_boot(void) {}
-+bool dm_show_launcher(void *viewController, void (*done)(void)) { (void)viewController; (void)done; return false; }
-+
-+uint64_t g_t0_ns;
-+uint64_t now_ns(void) { return 1; }
-+uint64_t mtl_present_count(void) { return 0; }
-+__thread _Atomic int dm_host_work;
-+void dm_gfx_suspend(int on) { (void)on; }
-+void dm_audio_suspend(int on) { (void)on; }
-+void dm_audio_reset(void) {}
-+void dm_focus_set(int state) { (void)state; }
-+void guest_clock_freeze_for(int reason, int on) { (void)reason; (void)on; }
-+const char *front_ios_boot_message(void) { return NULL; }
-+const char *front_ios_device_message(void) { return NULL; }
-+int dm_locate_game_data(void) { return 1; }
-+void dm_cloud_saves_env(void) {}
-+int save_sync_flush(int timeout_ms) { (void)timeout_ms; return 1; }
-diff --git a/dm/ios/tests/duo/Sources/Fixtures/game_profile.h b/dm/ios/tests/duo/Sources/Fixtures/game_profile.h
-new file mode 100644
-index 0000000..c4f4c5e
---- /dev/null
-+++ b/dm/ios/tests/duo/Sources/Fixtures/game_profile.h
-@@ -0,0 +1,3 @@
-+#pragma once
-+
-+// DmGamepad uses the runtime profile supplied by DuoRuntimeStubs, not generated game constants.
-diff --git a/dm/ios/tests/duo/Tests/DuoHarnessTests.m b/dm/ios/tests/duo/Tests/DuoHarnessTests.m
-new file mode 100644
-index 0000000..271d44c
---- /dev/null
-+++ b/dm/ios/tests/duo/Tests/DuoHarnessTests.m
-@@ -0,0 +1,1189 @@
-+#import <XCTest/XCTest.h>
-+#import <GameController/GameController.h>
-+#import <QuartzCore/CAMetalLayer.h>
-+#import <objc/runtime.h>
-+#if __has_include(<UIKit/UIHingeInteraction.h>)
-+#import <UIKit/UIHingeInteraction.h>
-+#import <UIKit/UIViewReservedRegion.h>
-+#define DUO_HARNESS_HAS_NATIVE_POSE_API 1
-+#else
-+#define DUO_HARNESS_HAS_NATIVE_POSE_API 0
-+#endif
-+#import "DmLayout.h"
-+#import "DuoHarnessRuntime.h"
-+#include "dm_input.h"
-+#include <math.h>
-+#include <stdio.h>
-+
-+static NSArray<GCController *> *gDuoHarnessControllers;
-+static BOOL gDuoHarnessControllerSwizzleInstalled;
-+static UIView *gDuoHarnessReservedRegionView;
-+static id gDuoHarnessReservedRegion;
-+static BOOL gDuoHarnessSawIncludeInactiveDivisionQuery;
-+static NSUInteger gDuoHarnessProbeViewClassSerial;
-+
-+@interface GCController (DuoHarnessControllerList)
-++ (NSArray<GCController *> *)duo_harness_controllers;
-+@end
-+
-+@implementation GCController (DuoHarnessControllerList)
-++ (NSArray<GCController *> *)duo_harness_controllers {
-+ @synchronized (GCController.class) {
-+ if (gDuoHarnessControllers) return gDuoHarnessControllers;
-+ }
-+ return [self duo_harness_controllers];
-+}
-+@end
-+
-+@interface DuoFakeTouch : NSObject
-+@property (nonatomic) CGPoint point;
-+@property (nonatomic) NSTimeInterval timestamp;
-+- (CGPoint)locationInView:(UIView *)view;
-+@end
-+
-+@implementation DuoFakeTouch
-+- (CGPoint)locationInView:(UIView *)view { (void)view; return self.point; }
-+@end
-+
-+#if DUO_HARNESS_HAS_NATIVE_POSE_API
-+@interface DuoFakeHinge : NSObject
-+@property (nonatomic) NSInteger status;
-+@property (nonatomic) CGFloat angle;
-+@end
-+@implementation DuoFakeHinge
-+@end
-+
-+@interface DuoFakeReservedRegion : NSObject
-+@property (nonatomic) CGRect frame;
-+@property (nonatomic) UIEdgeInsets margins;
-+@property (nonatomic, strong) id identifier;
-+@property (nonatomic, strong) id kind;
-+@property (nonatomic, getter=isActive) BOOL active;
-+@end
-+@implementation DuoFakeReservedRegion
-+@end
-+
-+@interface UIViewController (DuoHarnessNativeHingeCallback)
-+- (void)hingeChanged:(id _Nullable)hinge;
-+- (void)startGame;
-+@end
-+
-+static NSArray<UIViewReservedRegion *> *DuoHarnessReservedRegionsForProbeView(
-+ id view, SEL selector, UIViewReservedRegionKind *kind, UIViewReservedRegionQueryOptions options) API_AVAILABLE(ios(27.1)) {
-+ (void)selector;
-+ (void)kind;
-+ if (view == gDuoHarnessReservedRegionView) {
-+ if (options & UIViewReservedRegionQueryOptionsIncludeInactive) {
-+ gDuoHarnessSawIncludeInactiveDivisionQuery = YES;
-+ return gDuoHarnessReservedRegion ? @[(UIViewReservedRegion *)gDuoHarnessReservedRegion] : @[];
-+ }
-+ return @[];
-+ }
-+ return @[];
-+}
-+
-+static Class DuoHarnessInstallReservedRegionProbe(UIView *view) API_AVAILABLE(ios(27.1)) {
-+ Class originalClass = object_getClass(view);
-+ char className[96];
-+ snprintf(className, sizeof(className), "DuoHarnessReservedRegionProbe%lu", (unsigned long)++gDuoHarnessProbeViewClassSerial);
-+ Class probeClass = objc_allocateClassPair(originalClass, className, 0);
-+ if (!probeClass) return Nil;
-+ Method queryMethod = class_getInstanceMethod(UIView.class, @selector(reservedRegionsOfKind:options:));
-+ if (!queryMethod || !class_addMethod(probeClass, @selector(reservedRegionsOfKind:options:),
-+ (IMP)DuoHarnessReservedRegionsForProbeView, method_getTypeEncoding(queryMethod))) {
-+ objc_disposeClassPair(probeClass);
-+ return Nil;
-+ }
-+ objc_registerClassPair(probeClass);
-+ object_setClass(view, probeClass);
-+ return originalClass;
-+}
-+
-+#endif
-+
-+@interface DuoHarnessTests : XCTestCase
-+@property (nonatomic, strong) id savedLayout;
-+@property (nonatomic) BOOL controllerListOverridden;
-+- (void)setHarnessControllers:(NSArray<GCController *> * _Nullable)controllers notification:(NSNotificationName _Nullable)notification;
-+- (UIViewController *)harnessRootViewController;
-+- (void)waitForView:(UIView *)view hidden:(BOOL)hidden;
-+@end
-+
-+@implementation DuoHarnessTests
-+- (void)setUp {
-+ [super setUp];
-+ NSUserDefaults *defaults = NSUserDefaults.standardUserDefaults;
-+ self.savedLayout = [defaults objectForKey:@"DmPadLayout"];
-+ [defaults setObject:@1 forKey:@"DmPadLayout"];
-+ [self setHarnessControllers:@[] notification:GCControllerDidDisconnectNotification];
-+ duo_harness_clear();
-+}
-+
-+- (void)tearDown {
-+ NSUserDefaults *defaults = NSUserDefaults.standardUserDefaults;
-+ if (self.savedLayout) [defaults setObject:self.savedLayout forKey:@"DmPadLayout"];
-+ else [defaults removeObjectForKey:@"DmPadLayout"];
-+ if (self.controllerListOverridden) {
-+ @synchronized (GCController.class) {
-+ Method original = class_getClassMethod(GCController.class, @selector(controllers));
-+ Method replacement = class_getClassMethod(GCController.class, @selector(duo_harness_controllers));
-+ method_exchangeImplementations(original, replacement);
-+ gDuoHarnessControllers = nil;
-+ gDuoHarnessControllerSwizzleInstalled = NO;
-+ }
-+ self.controllerListOverridden = NO;
-+ }
-+ [super tearDown];
-+}
-+
-+- (void)setHarnessControllers:(NSArray<GCController *> * _Nullable)controllers notification:(NSNotificationName _Nullable)notification {
-+ @synchronized (GCController.class) {
-+ if (!gDuoHarnessControllerSwizzleInstalled) {
-+ Method original = class_getClassMethod(GCController.class, @selector(controllers));
-+ Method replacement = class_getClassMethod(GCController.class, @selector(duo_harness_controllers));
-+ method_exchangeImplementations(original, replacement);
-+ gDuoHarnessControllerSwizzleInstalled = YES;
-+ self.controllerListOverridden = YES;
-+ }
-+ gDuoHarnessControllers = [controllers copy];
-+ }
-+ if (notification) [[NSNotificationCenter defaultCenter] postNotificationName:notification object:nil];
-+}
-+
-+- (void)waitForView:(UIView *)view hidden:(BOOL)hidden {
-+ NSPredicate *predicate = [NSPredicate predicateWithBlock:^BOOL(UIView *candidate, NSDictionary *bindings) {
-+ (void)bindings;
-+ return candidate.hidden == hidden;
-+ }];
-+ XCTNSPredicateExpectation *expectation = [[XCTNSPredicateExpectation alloc] initWithPredicate:predicate object:view];
-+ XCTAssertEqual([XCTWaiter waitForExpectations:@[expectation] timeout:5.0], XCTWaiterResultCompleted);
-+}
-+
-+- (void)deliverSnapshotChangeFor:(GCController *)controller button:(GCControllerButtonInput *)button value:(float)value {
-+ [button setValue:value];
-+ GCExtendedGamepad *profile = controller.extendedGamepad;
-+ GCExtendedGamepadValueChangedHandler handler = profile.valueChangedHandler;
-+ if (handler) handler(profile, button);
-+}
-+
-+- (void)testPortraitSeparatesAcrossHingeStatesAndUsesNativeDivision {
-+ CGRect landscape = CGRectMake(0, 0, 844, 390);
-+ DmLayout overlay = dm_layout(landscape, UIEdgeInsetsZero, NO, CGRectNull);
-+ XCTAssertFalse(overlay.separated);
-+ XCTAssertTrue(CGRectEqualToRect(overlay.controls, landscape));
-+ XCTAssertEqualWithAccuracy(overlay.game.size.width / overlay.game.size.height, 16.0 / 9.0, 0.001);
-+
-+ CGRect portrait = CGRectMake(0, 0, 390, 844);
-+ UIEdgeInsets safe = UIEdgeInsetsMake(59, 0, 34, 0);
-+ CGRect division = CGRectMake(0, 400, 390, 24);
-+ DmLayout separated = dm_layout(portrait, safe, NO, division);
-+ XCTAssertTrue(separated.separated, @"Portrait uses a valid native horizontal division even with no confirmed hinge state");
-+ XCTAssertEqualWithAccuracy(CGRectGetMinY(separated.game), 119, 1);
-+ XCTAssertLessThanOrEqual(CGRectGetMaxY(separated.game), CGRectGetMinY(division));
-+ XCTAssertTrue(CGRectEqualToRect(separated.controls, CGRectMake(0, 424, 390, 420)));
-+ XCTAssertLessThanOrEqual(CGRectGetMaxY(separated.game), CGRectGetMinY(separated.controls), @"Video and controls must not overlap");
-+
-+ DmLayout clipped = dm_layout(portrait, safe, NO, CGRectMake(-50, 400, 500, 24));
-+ XCTAssertTrue(clipped.separated, @"A division that partially overlaps the view still separates its visible panels");
-+ XCTAssertEqualWithAccuracy(CGRectGetMinY(clipped.controls), 424, 0.001);
-+ XCTAssertEqualWithAccuracy(clipped.controls.size.width, portrait.size.width, 0.001);
-+ DmLayout flat = dm_layout(portrait, safe, NO, CGRectMake(0, 300, 390, 0));
-+ XCTAssertTrue(flat.separated, @"A zero-height native division remains a useful split boundary");
-+ XCTAssertEqualWithAccuracy(CGRectGetMinY(flat.controls), 300, 0.001, @"Prefer a valid native split away from the fallback midpoint");
-+ XCTAssertLessThanOrEqual(CGRectGetMaxY(flat.game), 300);
-+ XCTAssertTrue(dm_layout(portrait, safe, YES, division).separated, @"A partially-open display can use the same portrait split");
-+ XCTAssertTrue(dm_layout(portrait, safe, NO, CGRectNull).separated, @"Portrait without a division still uses a midpoint split");
-+ XCTAssertTrue(dm_layout(portrait, safe, YES, CGRectMake(500, 400, 500, 24)).separated, @"Invalid native regions fall back to a portrait split");
-+ XCTAssertTrue(dm_layout(portrait, safe, NO, CGRectMake(180, 0, 24, 844)).separated, @"A vertical region falls back to a portrait split");
-+}
-+
-+- (void)testPortraitFallbackFitsVideoAndControlsWithinSafeAreasAtNarrowSizes {
-+ const CGRect sizes[] = {CGRectMake(0, 0, 390, 844), CGRectMake(0, 0, 320, 568)};
-+ const UIEdgeInsets insets[] = {UIEdgeInsetsMake(59, 0, 34, 0), UIEdgeInsetsMake(50, 0, 24, 0)};
-+ for (NSUInteger i = 0; i < 2; i++) {
-+ CGRect bounds = sizes[i];
-+ CGFloat splitY = CGRectGetMidY(bounds);
-+ CGRect safe = UIEdgeInsetsInsetRect(bounds, insets[i]);
-+ DmLayout layout = dm_layout(bounds, insets[i], NO, CGRectNull);
-+ XCTAssertTrue(layout.separated);
-+ XCTAssertTrue(CGRectEqualToRect(layout.controls, CGRectMake(0, splitY, bounds.size.width, bounds.size.height - splitY)));
-+ XCTAssertEqualWithAccuracy(layout.game.size.width / layout.game.size.height, 16.0 / 9.0, 0.001);
-+ XCTAssertGreaterThanOrEqual(CGRectGetMinY(layout.game), CGRectGetMinY(safe));
-+ XCTAssertLessThanOrEqual(CGRectGetMaxY(layout.game), splitY);
-+ XCTAssertLessThanOrEqual(CGRectGetMaxY(layout.game), CGRectGetMinY(layout.controls), @"The midpoint boundary leaves no video/control overlap");
-+ }
-+}
-+
-+- (void)testLandscapeUsesOverlayExceptForPartiallyOpenNativeDivision {
-+ CGRect bounds = CGRectMake(0, 0, 844, 390);
-+ DmLayout overlay = dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectNull);
-+ XCTAssertFalse(overlay.separated);
-+ XCTAssertTrue(CGRectEqualToRect(overlay.controls, bounds));
-+ XCTAssertTrue(CGRectEqualToRect(overlay.game, dm_aspect_fit(bounds)));
-+ XCTAssertFalse(dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectMake(0, 180, 844, 24)).separated,
-+ @"A fully-open landscape display retains the overlay layout");
-+ CGRect division = CGRectMake(0, 180, 844, 24);
-+ DmLayout separated = dm_layout(bounds, UIEdgeInsetsZero, YES, division);
-+ XCTAssertTrue(separated.separated,
-+ @"A landscape split still requires a partially-open hinge and a valid native division");
-+ XCTAssertEqualWithAccuracy(CGRectGetMaxY(separated.game), 180, 1);
-+ XCTAssertEqualWithAccuracy(CGRectGetMinY(separated.controls), 204, 0.001,
-+ @"Keep the full reserved gap between video and controls");
-+ XCTAssertLessThanOrEqual(CGRectGetMaxY(separated.game), CGRectGetMinY(separated.controls));
-+}
-+
-+- (void)testPortraitWithoutHingeStatusStillSplitsVideoAboveControls {
-+ DmLayout layout = dm_layout(CGRectMake(0, 0, 390, 844), UIEdgeInsetsMake(59, 0, 34, 0), NO, CGRectNull);
-+ XCTAssertTrue(layout.separated);
-+ XCTAssertTrue(CGRectEqualToRect(layout.controls, CGRectMake(0, 422, 390, 422)));
-+ XCTAssertLessThanOrEqual(CGRectGetMaxY(layout.game), CGRectGetMinY(layout.controls));
-+}
-+
-+- (void)testPortraitControlsUseAnchoredGroupsWithASeparatedThreeDimensionalLeftPair {
-+ struct { CGRect bounds; UIEdgeInsets insets; CGRect division; } cases[] = {
-+ {CGRectMake(0, 0, 669, 951), UIEdgeInsetsMake(62, 0, 34, 0), CGRectMake(0, 455.5, 669, 40)},
-+ {CGRectMake(0, 0, 390, 844), UIEdgeInsetsMake(59, 0, 34, 0), CGRectNull},
-+ {CGRectMake(0, 0, 320, 568), UIEdgeInsetsMake(50, 0, 24, 0), CGRectNull},
-+ };
-+ for (NSUInteger i = 0; i < sizeof cases / sizeof cases[0]; i++) {
-+ CGRect bounds = cases[i].bounds;
-+ DmLayout layout = [self portraitControlLayoutForBounds:bounds insets:cases[i].insets division:cases[i].division];
-+ XCTAssertTrue(layout.separated, @"Portrait case %lu must expose a controls panel", (unsigned long)i);
-+ XCTAssertLessThanOrEqual(CGRectGetMaxY(layout.game), CGRectGetMinY(layout.controls),
-+ @"Video and controls must remain disjoint in portrait case %lu", (unsigned long)i);
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+
-+ CGRect lower = layout.controls;
-+ CGFloat u = MIN(MIN(lower.size.height / 430.0, lower.size.width / 700.0), 1.3);
-+ CGPoint leftAnchor = CGPointMake(CGRectGetMinX(lower) + 0.28 * lower.size.width,
-+ CGRectGetMinY(lower) + 0.58 * lower.size.height);
-+ CGPoint rightAnchor = CGPointMake(CGRectGetMinX(lower) + 0.72 * lower.size.width, leftAnchor.y);
-+ CGRect stickRing = [self largestShapePathBoundsInLayer:pad.layer];
-+ CGPoint renderedStick = CGPointMake(CGRectGetMidX(stickRing), CGRectGetMidY(stickRing));
-+ CGPoint expectedStick = CGPointMake(leftAnchor.x - (48 * u + 6 * u), leftAnchor.y);
-+ XCTAssertEqualWithAccuracy(renderedStick.x, expectedStick.x, 0.5,
-+ @"The 3D joystick should sit left of the D-pad with their pair centered at the left anchor (case %lu)", (unsigned long)i);
-+ XCTAssertEqualWithAccuracy(renderedStick.y, expectedStick.y, 0.5);
-+
-+ CGPoint faces = [self faceDiamondCenterInPad:pad];
-+ XCTAssertEqualWithAccuracy(faces.x, rightAnchor.x, 0.5,
-+ @"The ABXY diamond should be centered at the right portrait anchor (case %lu)", (unsigned long)i);
-+ XCTAssertEqualWithAccuracy(faces.y, rightAnchor.y, 0.5);
-+
-+ CGPoint dpadCenter = CGPointMake(leftAnchor.x + (77 * u + 6 * u), leftAnchor.y);
-+ CGFloat artGap = dpadCenter.x - 48 * u - CGRectGetMaxX(stickRing);
-+ XCTAssertEqualWithAccuracy(artGap, 12 * u, 0.5,
-+ @"The rendered joystick and D-pad hit center should preserve a 12 scaled-point gap (case %lu)", (unsigned long)i);
-+ DuoFakeTouch *right = [self touchAt:CGPointMake(dpadCenter.x + 0.6 * 48 * u, dpadCenter.y) time:1];
-+ [self beginTouches:@[right] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_RIGHT,
-+ @"The D-pad hit target should share its specified portrait position (case %lu)", (unsigned long)i);
-+ [self endTouches:@[right] onPad:pad cancelled:NO];
-+
-+ XCTAssertGreaterThanOrEqual(CGRectGetMinX(stickRing), CGRectGetMinX(lower) - 0.5,
-+ @"The joystick remains inside the lower safe area (case %lu)", (unsigned long)i);
-+ XCTAssertLessThanOrEqual(CGRectGetMaxX(stickRing), CGRectGetMaxX(lower) + 0.5,
-+ @"The joystick remains inside the lower safe area (case %lu)", (unsigned long)i);
-+ XCTAssertGreaterThanOrEqual(faces.x - 77 * u, CGRectGetMinX(lower) - 0.5,
-+ @"The face cluster's expanded targets remain inside the lower safe area (case %lu)", (unsigned long)i);
-+ XCTAssertLessThanOrEqual(faces.x + 77 * u, CGRectGetMaxX(lower) + 0.5,
-+ @"The face cluster's expanded targets remain inside the lower safe area (case %lu)", (unsigned long)i);
-+ }
-+}
-+
-+- (void)testPortraitTwoDimensionalStickAndFaceAnchorsAndKeepsDpadInactive {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ UIEdgeInsets insets = UIEdgeInsetsMake(59, 0, 34, 0);
-+ DmLayout layout = [self portraitControlLayoutForBounds:bounds insets:insets division:CGRectNull];
-+ [NSUserDefaults.standardUserDefaults setObject:@0 forKey:@"DmPadLayout"];
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+
-+ CGRect lower = layout.controls;
-+ CGFloat u = MIN(MIN(lower.size.height / 430.0, lower.size.width / 700.0), 1.3);
-+ CGPoint leftAnchor = CGPointMake(CGRectGetMinX(lower) + 0.28 * lower.size.width,
-+ CGRectGetMinY(lower) + 0.58 * lower.size.height);
-+ CGPoint rightAnchor = CGPointMake(CGRectGetMinX(lower) + 0.72 * lower.size.width, leftAnchor.y);
-+ CGRect stickRing = [self largestShapePathBoundsInLayer:pad.layer];
-+ XCTAssertEqualWithAccuracy(CGRectGetMidX(stickRing), leftAnchor.x, 0.5,
-+ @"In 2D, the left stick itself occupies the left portrait anchor");
-+ XCTAssertEqualWithAccuracy(CGRectGetMidY(stickRing), leftAnchor.y, 0.5);
-+ CGPoint faces = [self faceDiamondCenterInPad:pad];
-+ XCTAssertEqualWithAccuracy(faces.x, rightAnchor.x, 0.5);
-+ XCTAssertEqualWithAccuracy(faces.y, rightAnchor.y, 0.5);
-+
-+ DuoFakeTouch *stick = [self touchAt:leftAnchor time:1];
-+ [self beginTouches:@[stick] onPad:pad];
-+ [self moveTouch:stick to:CGPointMake(leftAnchor.x + 30 * u, leftAnchor.y) onPad:pad];
-+ XCTAssertGreaterThan(duo_harness_input().lx, 0,
-+ @"A touch at the visible 2D stick must drive the left-stick mapping");
-+ [self endTouches:@[stick] onPad:pad cancelled:NO];
-+
-+ CGPoint hiddenDpad = CGPointMake(leftAnchor.x + (77 + 6 + 0.6 * 48) * u, leftAnchor.y);
-+ DuoFakeTouch *dpad = [self touchAt:hiddenDpad time:2];
-+ [self beginTouches:@[dpad] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons & DM_BTN_RIGHT, 0,
-+ @"The 2D layout must not expose the 3D D-pad at its portrait 3D position");
-+ [self endTouches:@[dpad] onPad:pad cancelled:NO];
-+}
-+
-+- (void)testPortraitThreeDimensionalAnchorsKeepStickDpadFaceAndGameTouchesIndependent {
-+ CGRect bounds = CGRectMake(0, 0, 669, 951);
-+ UIEdgeInsets insets = UIEdgeInsetsMake(62, 0, 34, 0);
-+ DmLayout layout = [self portraitControlLayoutForBounds:bounds insets:insets division:CGRectMake(0, 455.5, 669, 40)];
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ CGRect lower = layout.controls;
-+ CGFloat u = MIN(MIN(lower.size.height / 430.0, lower.size.width / 700.0), 1.3);
-+ CGPoint leftAnchor = CGPointMake(CGRectGetMinX(lower) + 0.28 * lower.size.width,
-+ CGRectGetMinY(lower) + 0.58 * lower.size.height);
-+ CGPoint stickCenter = CGPointMake(leftAnchor.x - 54 * u, leftAnchor.y);
-+ CGPoint dpadCenter = CGPointMake(leftAnchor.x + 83 * u, leftAnchor.y);
-+ CGPoint faceA = CGPointMake(CGRectGetMinX(lower) + 0.72 * lower.size.width + 50 * u, leftAnchor.y);
-+ CGPoint video = CGPointMake(CGRectGetMidX(layout.game), CGRectGetMidY(layout.game));
-+ DuoFakeTouch *stick = [self touchAt:stickCenter time:1];
-+ DuoFakeTouch *right = [self touchAt:CGPointMake(dpadCenter.x + 0.6 * 48 * u, dpadCenter.y) time:1];
-+ DuoFakeTouch *a = [self touchAt:faceA time:1];
-+ DuoFakeTouch *game = [self touchAt:video time:1];
-+
-+ [self beginTouches:@[stick, right, a, game] onPad:pad];
-+ [self moveTouch:stick to:CGPointMake(stickCenter.x + 30 * u, stickCenter.y) onPad:pad];
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertGreaterThan(input.lx, 0, @"The stick touch should remain owned while three other touches begin");
-+ XCTAssertEqual(input.buttons & (DM_BTN_RIGHT | DM_BTN_A), DM_BTN_RIGHT | DM_BTN_A,
-+ @"D-pad and ABXY retain separate button ownership");
-+ XCTAssertEqual(input.touch_count, 1, @"The game viewport keeps its own touch slot alongside the controls");
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 0.5, 0.001);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, 0.5, 0.001);
-+ [self endTouches:@[stick, right, a, game] onPad:pad cancelled:NO];
-+ input = duo_harness_input();
-+ XCTAssertEqual(input.buttons, 0);
-+ XCTAssertEqual(input.touch_count, 0);
-+}
-+
-+- (void)testLandscapeControlAnchorsAndMultitouchKeepTheirExistingLayout {
-+ CGRect bounds = CGRectMake(0, 0, 844, 390);
-+ DmLayout layout = dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectNull);
-+ XCTAssertFalse(layout.separated, @"Landscape keeps the overlay layout");
-+ XCTAssertTrue(CGRectEqualToRect(layout.game, dm_aspect_fit(bounds)));
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ CGFloat u = MIN(bounds.size.height / 430.0, 1.3);
-+ CGRect stickRing = [self largestShapePathBoundsInLayer:pad.layer];
-+ XCTAssertEqualWithAccuracy(CGRectGetMidX(stickRing), 81 * u, 0.5);
-+ XCTAssertEqualWithAccuracy(CGRectGetMidY(stickRing), bounds.size.height - 82 * u, 0.5);
-+ CGPoint faces = [self faceDiamondCenterInPad:pad];
-+ XCTAssertEqualWithAccuracy(faces.x, bounds.size.width - 81 * u, 0.5);
-+ XCTAssertEqualWithAccuracy(faces.y, bounds.size.height - 82 * u, 0.5);
-+
-+ CGPoint stickCenter = CGPointMake(81 * u, bounds.size.height - 82 * u);
-+ CGPoint dpadCenter = CGPointMake(231 * u, bounds.size.height - 64 * u);
-+ CGPoint aCenter = [self faceAIn:layout bounds:bounds];
-+ CGPoint video = CGPointMake(CGRectGetMidX(layout.game), CGRectGetMidY(layout.game));
-+ DuoFakeTouch *stick = [self touchAt:stickCenter time:1];
-+ DuoFakeTouch *right = [self touchAt:CGPointMake(dpadCenter.x + 0.6 * 48 * u, dpadCenter.y) time:1];
-+ DuoFakeTouch *a = [self touchAt:aCenter time:1];
-+ DuoFakeTouch *game = [self touchAt:video time:1];
-+ [self beginTouches:@[stick, right, a, game] onPad:pad];
-+ [self moveTouch:stick to:CGPointMake(stickCenter.x + 30 * u, stickCenter.y) onPad:pad];
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertGreaterThan(input.lx, 0);
-+ XCTAssertEqual(input.buttons & (DM_BTN_RIGHT | DM_BTN_A), DM_BTN_RIGHT | DM_BTN_A);
-+ XCTAssertEqual(input.touch_count, 1);
-+ [self endTouches:@[stick, right, a, game] onPad:pad cancelled:NO];
-+ input = duo_harness_input();
-+ XCTAssertEqual(input.buttons, 0);
-+ XCTAssertEqual(input.touch_count, 0);
-+}
-+
-+- (void)testSmallSeparatedHitTargetsMeetMinimumsWithoutGrowingArtwork {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ DmLayout layout = [self separatedLayout:bounds];
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ CGFloat u = MIN(MIN(layout.controls.size.height / 430.0, layout.controls.size.width / 700.0), 1.3);
-+ XCTAssertEqualWithAccuracy(u, 390.0 / 700.0, 0.001);
-+
-+ // Probe just inside 44 pt face targets, inward from each visible button center. The
-+ // expected button remains the nearest target even where neighboring target circles overlap.
-+ NSArray<NSString *> *faces = @[@"A", @"B", @"X", @"Y"];
-+ const uint64_t faceBits[] = {DM_BTN_A, DM_BTN_B, DM_BTN_X, DM_BTN_Y};
-+ const CGPoint faceOffsets[] = {{-21.5, 0}, {0, -21.5}, {0, 21.5}, {21.5, 0}};
-+ for (NSUInteger i = 0; i < faces.count; i++) {
-+ NSString *name = faces[i];
-+ CGPoint center = [self controlCenterNamed:name inPad:pad];
-+ CGPoint probe = CGPointMake(center.x + faceOffsets[i].x, center.y + faceOffsets[i].y);
-+ XCTAssertLessThan([self controlPathBoundsNamed:name inPad:pad].size.width, 44);
-+ XCTAssertFalse([self controlNamed:name containsPoint:probe inPad:pad], @"%@ artwork should keep its scaled visual size", name);
-+ [self assertButton:faceBits[i] at:probe onPad:pad time:10 + i];
-+ }
-+
-+ // Shoulder buttons, triggers, and stick clicks are frequent 44 pt targets too.
-+ NSArray<NSString *> *wideButtons = @[@"ZL", @"L", @"ZR", @"R", @"L3", @"R3"];
-+ const uint64_t wideBits[] = {DM_BTN_ZL, DM_BTN_L, DM_BTN_ZR, DM_BTN_R, DM_BTN_LS, DM_BTN_RS};
-+ // Probe outward on corner controls that overlap expanded L3/R3 targets.
-+ const CGPoint wideOffsets[] = {{0, -21.5}, {0, 21.5}, {0, -21.5}, {0, 21.5}, {21.5, 0}, {-21.5, 0}};
-+ for (NSUInteger i = 0; i < wideButtons.count; i++) {
-+ NSString *name = wideButtons[i];
-+ CGPoint center = [self controlCenterNamed:name inPad:pad];
-+ CGPoint probe = CGPointMake(center.x + wideOffsets[i].x, center.y + wideOffsets[i].y);
-+ XCTAssertLessThan([self controlPathBoundsNamed:name inPad:pad].size.width, 44);
-+ XCTAssertFalse([self controlNamed:name containsPoint:probe inPad:pad], @"%@ artwork should keep its scaled visual size", name);
-+ [self assertButton:wideBits[i] at:probe onPad:pad time:20 + i];
-+ }
-+
-+ // Minus/plus use 28 pt targets. Their vertical probe is outside the drawn pill.
-+ NSArray<NSString *> *menuButtons = @[@"−", @"+"];
-+ const uint64_t menuBits[] = {DM_BTN_MINUS, DM_BTN_PLUS};
-+ for (NSUInteger i = 0; i < menuButtons.count; i++) {
-+ NSString *name = menuButtons[i];
-+ CGPoint center = [self controlCenterNamed:name inPad:pad];
-+ CGPoint probe = CGPointMake(center.x, center.y + 13.25);
-+ XCTAssertLessThan([self controlPathBoundsNamed:name inPad:pad].size.height, 28);
-+ XCTAssertFalse([self controlNamed:name containsPoint:probe inPad:pad], @"%@ artwork should keep its scaled visual size", name);
-+ [self assertButton:menuBits[i] at:probe onPad:pad time:30 + i];
-+ }
-+
-+ CGPoint swapCenter = [self controlCenterNamed:@"3D" inPad:pad];
-+ CGPoint swapProbe = CGPointMake(swapCenter.x, swapCenter.y + 13.7);
-+ CGRect swapArtwork = [self controlPathBoundsNamed:@"3D" inPad:pad];
-+ XCTAssertLessThan(swapArtwork.size.width, 28);
-+ XCTAssertFalse([self controlNamed:@"3D" containsPoint:swapProbe inPad:pad]);
-+ DuoFakeTouch *swap = [self touchAt:swapProbe time:33];
-+ [self beginTouches:@[swap] onPad:pad];
-+ [self endTouches:@[swap] onPad:pad cancelled:NO];
-+ XCTAssertNotNil([self textLayerNamed:@"Tap" inLayer:pad.layer], @"The 28 pt switch target should respond outside its drawn circle");
-+ XCTAssertEqualWithAccuracy([self controlPathBoundsNamed:@"Tap" inPad:pad].size.width, swapArtwork.size.width, 0.001);
-+}
-+
-+- (void)testExpandedTargetsRemainReachableWithinSafeAreaInNarrowSeparated {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ DmLayout layout = [self separatedLayout:bounds];
-+ // Model a 16 pt side safe area and 34 pt bottom safe area without depending on
-+ // the simulator's current display insets.
-+ layout.controls = CGRectMake(16, CGRectGetMinY(layout.controls), bounds.size.width - 32,
-+ CGRectGetHeight(layout.controls) - 34);
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ CGRect controls = layout.controls;
-+
-+ for (NSString *name in @[@"A", @"B", @"X", @"Y"]) {
-+ CGPoint center = [self controlCenterNamed:name inPad:pad];
-+ XCTAssertGreaterThanOrEqual(center.x - 22, CGRectGetMinX(controls) - 0.01);
-+ XCTAssertLessThanOrEqual(center.x + 22, CGRectGetMaxX(controls) + 0.01);
-+ XCTAssertGreaterThanOrEqual(center.y - 22, CGRectGetMinY(controls) - 0.01);
-+ XCTAssertLessThanOrEqual(center.y + 22, CGRectGetMaxY(controls) + 0.01);
-+ }
-+ for (NSString *name in @[@"ZL", @"L", @"ZR", @"R", @"L3", @"R3"]) {
-+ CGPoint center = [self controlCenterNamed:name inPad:pad];
-+ XCTAssertGreaterThanOrEqual(center.x - 22, CGRectGetMinX(controls) - 0.01);
-+ XCTAssertLessThanOrEqual(center.x + 22, CGRectGetMaxX(controls) + 0.01);
-+ XCTAssertGreaterThanOrEqual(center.y - 22, CGRectGetMinY(controls) - 0.01);
-+ XCTAssertLessThanOrEqual(center.y + 22, CGRectGetMaxY(controls) + 0.01);
-+ }
-+
-+ CGPoint a = [self controlCenterNamed:@"A" inPad:pad];
-+ CGPoint b = [self controlCenterNamed:@"B" inPad:pad];
-+ DuoFakeTouch *right = [self touchAt:CGPointMake(a.x + 21.5, a.y) time:1];
-+ [self beginTouches:@[right] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_A);
-+ [self endTouches:@[right] onPad:pad cancelled:NO];
-+ DuoFakeTouch *bottom = [self touchAt:CGPointMake(b.x, b.y + 21.5) time:2];
-+ [self beginTouches:@[bottom] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_B);
-+ [self endTouches:@[bottom] onPad:pad cancelled:NO];
-+
-+ CGPoint zl = [self controlCenterNamed:@"ZL" inPad:pad];
-+ DuoFakeTouch *left = [self touchAt:CGPointMake(zl.x - 21.5, zl.y) time:3];
-+ [self beginTouches:@[left] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_ZL);
-+ [self endTouches:@[left] onPad:pad cancelled:NO];
-+
-+ CGPoint swap = [self controlCenterNamed:@"3D" inPad:pad];
-+ DuoFakeTouch *top = [self touchAt:CGPointMake(swap.x, CGRectGetMinY(controls) + 0.8) time:4];
-+ [self beginTouches:@[top] onPad:pad];
-+ [self endTouches:@[top] onPad:pad cancelled:NO];
-+ XCTAssertNotNil([self textLayerNamed:@"Tap" inLayer:pad.layer], @"The 28 pt switch target should remain reachable at the safe top edge");
-+}
-+
-+- (void)testFaceTargetsKeepTheirMultiButtonSlideBehavior {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ DmLayout layout = [self separatedLayout:bounds];
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ CGPoint a = [self controlCenterNamed:@"A" inPad:pad];
-+ CGPoint b = [self controlCenterNamed:@"B" inPad:pad];
-+ DuoFakeTouch *touch = [self touchAt:a time:1];
-+
-+ [self beginTouches:@[touch] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_A);
-+ [self moveTouch:touch to:CGPointMake((a.x + b.x) / 2, (a.y + b.y) / 2) onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_A | DM_BTN_B,
-+ @"A face touch near two enlarged targets should preserve the intentional union");
-+ [self moveTouch:touch to:b onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_B);
-+ [self endTouches:@[touch] onPad:pad cancelled:NO];
-+ XCTAssertEqual(duo_harness_input().buttons, 0);
-+}
-+
-+- (void)testOverlappingLockedButtonTargetsChooseNearestAndStayLocked {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ UIView *pad = [self padForLayout:[self separatedLayout:bounds] bounds:bounds];
-+ CGPoint zl = [self controlCenterNamed:@"ZL" inPad:pad];
-+ CGPoint ls = [self controlCenterNamed:@"L3" inPad:pad];
-+ CGPoint nearerToL3 = CGPointMake(zl.x + (ls.x - zl.x) * 0.6, zl.y);
-+ DuoFakeTouch *touch = [self touchAt:nearerToL3 time:1];
-+
-+ [self beginTouches:@[touch] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_LS,
-+ @"When enlarged shoulder/click targets overlap, the nearest normalized target wins");
-+ [self moveTouch:touch to:zl onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_LS,
-+ @"A regular button stays owned by the touch-down selection while the finger moves");
-+ [self endTouches:@[touch] onPad:pad cancelled:NO];
-+ XCTAssertEqual(duo_harness_input().buttons, 0);
-+}
-+
-+- (void)testSwapAndMenuOverlapUseNearestHitTargetThenKeepOwnership {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ UIView *pad = [self padForLayout:[self separatedLayout:bounds] bounds:bounds];
-+ CGPoint minus = [self controlCenterNamed:@"−" inPad:pad];
-+ CGPoint swap = [self controlCenterNamed:@"3D" inPad:pad];
-+
-+ // This point lies in both enlarged targets but is nearer to minus after normalization.
-+ CGPoint nearerToMinus = CGPointMake(minus.x + 16, minus.y);
-+ DuoFakeTouch *minusTouch = [self touchAt:nearerToMinus time:1];
-+ [self beginTouches:@[minusTouch] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_MINUS);
-+ [self moveTouch:minusTouch to:swap onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, DM_BTN_MINUS);
-+ [self endTouches:@[minusTouch] onPad:pad cancelled:NO];
-+ XCTAssertNotNil([self textLayerNamed:@"3D" inLayer:pad.layer]);
-+
-+ // This point is in both targets but is nearer to the layout switch. Releasing there switches layout.
-+ CGPoint nearerToSwap = CGPointMake(minus.x + 17.5, minus.y);
-+ DuoFakeTouch *swapTouch = [self touchAt:nearerToSwap time:2];
-+ [self beginTouches:@[swapTouch] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().buttons, 0);
-+ [self endTouches:@[swapTouch] onPad:pad cancelled:NO];
-+ XCTAssertNotNil([self textLayerNamed:@"Tap" inLayer:pad.layer]);
-+}
-+
-+- (void)testGamepadTextLayersRefreshScaleFromTheCurrentTraitCollection {
-+ if (@available(iOS 17.0, *)) {
-+ CGRect bounds = CGRectMake(0, 0, 844, 390);
-+ DmLayout layout = dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectNull);
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ CATextLayer *face = [self textLayerNamed:@"A" inLayer:pad.layer];
-+ XCTAssertNotNil(face);
-+ UIViewController *root = nil;
-+ for (UIScene *scene in UIApplication.sharedApplication.connectedScenes) {
-+ if (![scene isKindOfClass:UIWindowScene.class]) continue;
-+ for (UIWindow *window in ((UIWindowScene *)scene).windows) if (window.isKeyWindow) root = window.rootViewController;
-+ }
-+ XCTAssertNotNil(root);
-+ pad.frame = root.view.bounds;
-+ [root.view addSubview:pad];
-+ [root.view layoutIfNeeded];
-+ [pad layoutIfNeeded];
-+ CGRect visualBefore = [self controlPathBoundsNamed:@"A" inPad:pad];
-+ CGFloat currentScale = pad.traitCollection.displayScale;
-+ CGFloat overrideScale = fabs(currentScale - 1.0) < 0.01 ? 2.0 : 1.0;
-+
-+ pad.traitOverrides.displayScale = overrideScale;
-+ [pad setNeedsLayout];
-+ [pad layoutIfNeeded];
-+
-+ XCTAssertEqualWithAccuracy(pad.traitCollection.displayScale, overrideScale, 0.001);
-+ XCTAssertEqualWithAccuracy(face.contentsScale, overrideScale, 0.001);
-+ XCTAssertEqualWithAccuracy([self controlPathBoundsNamed:@"A" inPad:pad].size.width, visualBefore.size.width, 0.001,
-+ @"Changing the text raster scale must not resize the gamepad artwork");
-+ pad.traitOverrides.displayScale = currentScale;
-+ [pad removeFromSuperview];
-+ }
-+}
-+
-+- (void)testFrontRootStartsProductionGamepadAndMatchesCurrentGeometry {
-+ UIViewController *root = [self harnessRootViewController];
-+ XCTAssertNotNil(root);
-+ [root.view layoutIfNeeded];
-+ UIView *game = [root valueForKey:@"game"];
-+ UIView *pad = [root valueForKey:@"pad"];
-+ XCTAssertNotNil(game);
-+ XCTAssertNotNil(pad);
-+ CGRect division = CGRectNull;
-+#if DUO_HARNESS_HAS_NATIVE_POSE_API
-+ if (@available(iOS 27.1, *)) {
-+ for (UIViewReservedRegion *region in [root.view reservedRegionsOfKind:UIViewReservedRegionKind.divisionRegionKind options:UIViewReservedRegionQueryOptionsIncludeInactive]) {
-+ CGRect candidate = dm_horizontal_division(root.view.bounds, region.frame);
-+ if (CGRectIsNull(division) && !CGRectIsNull(candidate)) division = candidate;
-+ }
-+ }
-+#endif
-+ BOOL partiallyOpen = [[root valueForKey:@"partiallyOpen"] boolValue];
-+ BOOL duo = [[root valueForKey:@"hingeStatus"] integerValue] != 0 || !CGRectIsNull(division);
-+ UIEdgeInsets insets = dm_game_safe_insets(root.view.bounds, root.view.safeAreaInsets, duo);
-+ DmLayout layout = dm_layout(root.view.bounds, insets, partiallyOpen, division);
-+ XCTAssertTrue(CGRectEqualToRect(game.frame, layout.game),
-+ @"The production game view must use the current scene bounds and native division region: actual %@, expected %@",
-+ NSStringFromCGRect(game.frame), NSStringFromCGRect(layout.game));
-+ XCTAssertTrue(CGRectEqualToRect(pad.frame, root.view.bounds));
-+ XCTAssertTrue([game.layer isKindOfClass:CAMetalLayer.class]);
-+ CAMetalLayer *metal = (CAMetalLayer *)game.layer;
-+ UIScreen *screen = root.view.window.windowScene.screen;
-+ XCTAssertNotNil(screen);
-+ XCTAssertEqualWithAccuracy(metal.drawableSize.width, game.bounds.size.width * screen.nativeScale, 1.0);
-+ XCTAssertEqualWithAccuracy(metal.drawableSize.height, game.bounds.size.height * screen.nativeScale, 1.0);
-+}
-+
-+- (void)testProductionRootRelayoutsMetalAndInputDuringWindowResizing {
-+ UIViewController *root = [self harnessRootViewController];
-+ UIView *game = [root valueForKey:@"game"];
-+ UIView *pad = [root valueForKey:@"pad"];
-+ NSPredicate *touchControlsActive = [NSPredicate predicateWithFormat:@"padOff == NO"];
-+ XCTNSPredicateExpectation *ready = [[XCTNSPredicateExpectation alloc] initWithPredicate:touchControlsActive object:pad];
-+ XCTAssertEqual([XCTWaiter waitForExpectations:@[ready] timeout:5.0], XCTWaiterResultCompleted);
-+ CGRect original = root.view.frame;
-+ UIViewAutoresizing originalMask = root.view.autoresizingMask;
-+ root.view.autoresizingMask = UIViewAutoresizingNone;
-+ const CGSize sizes[] = {{1024, 768}, {744, 900}, {375, 650}, {640, 360}, {500, 500}, {1024, 768}};
-+ @try {
-+ for (NSUInteger i = 0; i < sizeof sizes / sizeof sizes[0]; i++) {
-+ root.view.frame = (CGRect){CGPointZero, sizes[i]};
-+ [root.view setNeedsLayout];
-+ [root.view layoutIfNeeded];
-+ XCTAssertTrue(CGSizeEqualToSize(root.view.bounds.size, sizes[i]));
-+ XCTAssertTrue(CGRectEqualToRect(pad.frame, root.view.bounds));
-+ XCTAssertTrue(CGRectContainsRect(root.view.bounds, game.frame));
-+ XCTAssertEqualWithAccuracy(game.bounds.size.width / game.bounds.size.height, 16.0 / 9.0, 0.001);
-+ CAMetalLayer *metal = (CAMetalLayer *)game.layer;
-+ CGFloat scale = root.view.window.windowScene.screen.nativeScale;
-+ XCTAssertEqualWithAccuracy(metal.drawableSize.width, game.bounds.size.width * scale, 1.0);
-+ XCTAssertEqualWithAccuracy(metal.drawableSize.height, game.bounds.size.height * scale, 1.0);
-+ [self assertButton:DM_BTN_A at:[self controlCenterNamed:@"A" inPad:pad] onPad:pad time:i + 1];
-+ [pad setValue:@YES forKey:@"tap"];
-+ DuoFakeTouch *touch = [self touchAt:CGPointMake(CGRectGetMidX(game.frame), CGRectGetMidY(game.frame)) time:i + 1];
-+ [self beginTouches:@[touch] onPad:pad];
-+ XCTAssertEqual(duo_harness_input().touch_count, 1);
-+ XCTAssertEqualWithAccuracy(duo_harness_input().touches[0].x, 0.5, 0.001);
-+ XCTAssertEqualWithAccuracy(duo_harness_input().touches[0].y, 0.5, 0.001);
-+ [self endTouches:@[touch] onPad:pad cancelled:NO];
-+ [pad setValue:@NO forKey:@"tap"];
-+ }
-+ } @finally {
-+ root.view.frame = original;
-+ root.view.autoresizingMask = originalMask;
-+ [root.view setNeedsLayout];
-+ [root.view layoutIfNeeded];
-+ }
-+}
-+
-+- (void)testResizingReleasesHeldInputAndUpdatesVideoTouchCoordinates {
-+ const CGRect windows[] = {CGRectMake(0, 0, 1024, 768), CGRectMake(0, 0, 320, 480),
-+ CGRectMake(0, 0, 640, 360), CGRectMake(0, 0, 500, 500)};
-+ UIView *pad = [self padForLayout:dm_layout(windows[0], UIEdgeInsetsZero, NO, CGRectNull) bounds:windows[0]];
-+ for (NSUInteger i = 0; i < sizeof windows / sizeof windows[0]; i++) {
-+ CGRect bounds = windows[i];
-+ DmLayout layout = dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectNull);
-+ pad.frame = bounds;
-+ dm_gamepad_arrange(pad, layout);
-+ [pad layoutIfNeeded];
-+ XCTAssertEqual(duo_harness_input().buttons, 0);
-+ XCTAssertEqual(duo_harness_input().touch_count, 0);
-+ XCTAssertEqualWithAccuracy(layout.game.size.width / layout.game.size.height, 16.0 / 9.0, 0.001);
-+ [self assertButton:DM_BTN_A at:[self controlCenterNamed:@"A" inPad:pad] onPad:pad time:i + 1];
-+ // Tap mode isolates the game's touch viewport from the 3D right-stick gesture area.
-+ [pad setValue:@YES forKey:@"tap"];
-+ DuoFakeTouch *touch = [self touchAt:CGPointMake(CGRectGetMidX(layout.game), CGRectGetMidY(layout.game)) time:i + 1];
-+ [self beginTouches:@[touch] onPad:pad];
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertEqual(input.touch_count, 1);
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 0.5, 0.001);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, 0.5, 0.001);
-+ [pad setValue:@NO forKey:@"tap"];
-+ }
-+ dm_gamepad_arrange(pad, dm_layout(windows[0], UIEdgeInsetsZero, NO, CGRectNull));
-+ XCTAssertEqual(duo_harness_input().touch_count, 0);
-+}
-+
-+- (void)testDuoPortraitKeepsOnlyTopSafeArea {
-+ CGRect portrait = CGRectMake(0, 0, 744, 1133);
-+ UIEdgeInsets safe = UIEdgeInsetsMake(54, 20, 34, 24);
-+ UIEdgeInsets duo = dm_game_safe_insets(portrait, safe, YES);
-+ XCTAssertTrue(UIEdgeInsetsEqualToEdgeInsets(duo, UIEdgeInsetsMake(54, 0, 0, 0)));
-+ XCTAssertTrue(UIEdgeInsetsEqualToEdgeInsets(dm_game_safe_insets(portrait, safe, NO), safe));
-+ XCTAssertTrue(UIEdgeInsetsEqualToEdgeInsets(dm_game_safe_insets(CGRectMake(0, 0, 1133, 744), safe, YES), safe));
-+ DmLayout layout = dm_layout(portrait, duo, NO, CGRectNull);
-+ XCTAssertEqual(CGRectGetMinX(layout.controls), 0);
-+ XCTAssertEqual(CGRectGetMaxX(layout.controls), 744);
-+ XCTAssertEqual(CGRectGetMaxY(layout.controls), 1133);
-+ XCTAssertGreaterThanOrEqual(CGRectGetMinY(layout.game), 54);
-+}
-+
-+
-+
-+- (void)testRootOrientationMaskRemainsStableAcrossHingeStatuses {
-+ UIViewController *root = [self harnessRootViewController];
-+ XCTAssertNotNil(root);
-+ if (!root) return;
-+ UIInterfaceOrientationMask expectedMask = UIInterfaceOrientationMaskAll;
-+ XCTAssertEqual(root.supportedInterfaceOrientations, expectedMask);
-+
-+#if DUO_HARNESS_HAS_NATIVE_POSE_API
-+ if (@available(iOS 27.1, *)) {
-+ SEL hingeCallback = @selector(hingeChanged:);
-+ XCTAssertTrue([root respondsToSelector:hingeCallback]);
-+ if (![root respondsToSelector:hingeCallback]) return;
-+ Class hingeClass = NSClassFromString(@"UIHingeInteraction");
-+ BOOL installed = NO;
-+ for (id interaction in root.view.interactions) if ([interaction isKindOfClass:hingeClass]) installed = YES;
-+ XCTAssertTrue(installed, @"The production root must observe native hinge state for layout only");
-+
-+ [(id)root hingeChanged:nil];
-+ XCTAssertEqual(root.supportedInterfaceOrientations, expectedMask);
-+ XCTAssertEqualObjects([root valueForKey:@"partiallyOpen"], @NO);
-+
-+ DuoFakeHinge *hinge = [DuoFakeHinge new];
-+ const NSInteger statuses[] = {UIHingeStatusClosed, UIHingeStatusUnknown,
-+ UIHingeStatusPartiallyOpen, UIHingeStatusFullyOpen};
-+ for (NSUInteger i = 0; i < sizeof statuses / sizeof statuses[0]; i++) {
-+ hinge.status = statuses[i];
-+ [(id)root hingeChanged:hinge];
-+ XCTAssertEqual(root.supportedInterfaceOrientations, expectedMask,
-+ @"Hinge status %ld must not change the device's supported orientations", (long)statuses[i]);
-+ XCTAssertEqualObjects([root valueForKey:@"partiallyOpen"],
-+ @(statuses[i] == UIHingeStatusPartiallyOpen));
-+ }
-+ }
-+#endif
-+
-+ NSData *plist = [NSData dataWithContentsOfURL:[NSBundle.mainBundle URLForResource:@"Info" withExtension:@"plist"]];
-+ NSDictionary *info = [NSPropertyListSerialization propertyListWithData:plist options:0 format:nil error:nil];
-+ NSSet *landscape = [NSSet setWithArray:@[@"UIInterfaceOrientationLandscapeLeft", @"UIInterfaceOrientationLandscapeRight"]];
-+ XCTAssertEqualObjects([NSSet setWithArray:info[@"UISupportedInterfaceOrientations"]], landscape);
-+ NSSet *all = [landscape setByAddingObjectsFromSet:[NSSet setWithArray:@[@"UIInterfaceOrientationPortrait", @"UIInterfaceOrientationPortraitUpsideDown"]]];
-+ XCTAssertEqualObjects([NSSet setWithArray:info[@"UISupportedInterfaceOrientations~ipad"]], all);
-+ XCTAssertNil(info[@"UIRequiresFullScreen"]);
-+
-+}
-+
-+- (void)testInactiveNativeDivisionCanDriveSeparatedLayout {
-+#if DUO_HARNESS_HAS_NATIVE_POSE_API
-+ if (@available(iOS 27.1, *)) {
-+ UIViewController *root = [self harnessRootViewController];
-+ XCTAssertNotNil(root);
-+ SEL hingeCallback = @selector(hingeChanged:);
-+ XCTAssertTrue([root respondsToSelector:hingeCallback]);
-+ if (![root respondsToSelector:hingeCallback]) return;
-+
-+ UIView *view = root.view;
-+ Class originalClass = DuoHarnessInstallReservedRegionProbe(view);
-+ XCTAssertNotNil(originalClass);
-+ if (!originalClass) return;
-+ CGRect bounds = view.bounds;
-+ DuoFakeReservedRegion *region = [DuoFakeReservedRegion new];
-+ region.frame = CGRectMake(CGRectGetMinX(bounds), CGRectGetMidY(bounds) - 12, CGRectGetWidth(bounds), 24);
-+ region.identifier = [NSObject new];
-+ region.kind = UIViewReservedRegionKind.divisionRegionKind;
-+ region.active = NO;
-+ gDuoHarnessReservedRegionView = view;
-+ gDuoHarnessReservedRegion = region;
-+ gDuoHarnessSawIncludeInactiveDivisionQuery = NO;
-+ @try {
-+ DuoFakeHinge *hinge = [DuoFakeHinge new];
-+ hinge.status = UIHingeStatusPartiallyOpen;
-+ hinge.angle = 2.25;
-+ [(id)root hingeChanged:hinge];
-+ [view setNeedsUpdateConstraints]; [view updateConstraintsIfNeeded];
-+ [root viewDidLayoutSubviews];
-+ [view setNeedsLayout]; [view layoutIfNeeded];
-+
-+ DmLayout expected = dm_layout(view.bounds, dm_game_safe_insets(view.bounds, view.safeAreaInsets, YES), YES, region.frame);
-+ UIView *game = [root valueForKey:@"game"];
-+ XCTAssertTrue(gDuoHarnessSawIncludeInactiveDivisionQuery,
-+ @"The root must query UIKit's IncludeInactive option for the division boundary");
-+ XCTAssertFalse(region.isActive, @"This boundary case must use an inactive native division");
-+ XCTAssertTrue(expected.separated);
-+ XCTAssertTrue(CGRectEqualToRect(game.frame, expected.game),
-+ @"An inactive but valid horizontal division should still separate the panels");
-+
-+ hinge.status = UIHingeStatusFullyOpen;
-+ [(id)root hingeChanged:hinge];
-+ [root viewDidLayoutSubviews];
-+ DmLayout fullyOpen = dm_layout(view.bounds, dm_game_safe_insets(view.bounds, view.safeAreaInsets, YES), NO, region.frame);
-+ XCTAssertEqual(fullyOpen.separated, view.bounds.size.height > view.bounds.size.width,
-+ @"A fully-open landscape display overlays while portrait remains separated");
-+ XCTAssertTrue(CGRectEqualToRect(game.frame, fullyOpen.game),
-+ @"Fully-open layout follows the stable portrait-split, landscape-overlay policy");
-+ } @finally {
-+ object_setClass(view, originalClass);
-+ gDuoHarnessReservedRegionView = nil;
-+ gDuoHarnessReservedRegion = nil;
-+ gDuoHarnessSawIncludeInactiveDivisionQuery = NO;
-+ [(id)root hingeChanged:nil];
-+ }
-+ } else {
-+ XCTSkip(@"Reserved division regions are available from iOS 27.1");
-+ }
-+#else
-+ XCTSkip(@"This SDK does not contain UIView reserved-region queries");
-+#endif
-+}
-+
-+
-+
-+- (UIViewController *)harnessRootViewController {
-+ for (UIScene *scene in UIApplication.sharedApplication.connectedScenes) {
-+ if (![scene isKindOfClass:UIWindowScene.class]) continue;
-+ for (UIWindow *window in ((UIWindowScene *)scene).windows) if (window.isKeyWindow) return window.rootViewController;
-+ }
-+ return nil;
-+}
-+
-+- (DmLayout)separatedLayout:(CGRect)bounds {
-+ return dm_layout(bounds, UIEdgeInsetsZero, YES, CGRectMake(0, bounds.size.height * 0.48, bounds.size.width, 24));
-+}
-+
-+- (UIView *)padForLayout:(DmLayout)layout bounds:(CGRect)bounds {
-+ UIView *pad = dm_gamepad_view(bounds);
-+ dm_gamepad_arrange(pad, layout);
-+ [pad setNeedsLayout];
-+ [pad layoutIfNeeded];
-+ return pad;
-+}
-+
-+- (DmLayout)portraitControlLayoutForBounds:(CGRect)bounds insets:(UIEdgeInsets)insets division:(CGRect)division {
-+ DmLayout layout = dm_layout(bounds, insets, NO, division);
-+ CGRect safe = UIEdgeInsetsInsetRect(bounds, insets);
-+ CGFloat controlsTop = CGRectGetMinY(layout.controls);
-+ layout.controls = CGRectMake(CGRectGetMinX(safe), controlsTop, safe.size.width,
-+ MAX(0, CGRectGetMaxY(safe) - controlsTop));
-+ return layout;
-+}
-+
-+- (void)collectShapePathBoundsInLayer:(CALayer *)layer result:(NSMutableArray<NSValue *> *)result {
-+ if ([layer isKindOfClass:CAShapeLayer.class]) {
-+ CGPathRef path = ((CAShapeLayer *)layer).path;
-+ if (path) [result addObject:[NSValue valueWithCGRect:CGPathGetBoundingBox(path)]];
-+ }
-+ for (CALayer *child in layer.sublayers) [self collectShapePathBoundsInLayer:child result:result];
-+}
-+
-+- (CGRect)largestShapePathBoundsInLayer:(CALayer *)layer {
-+ NSMutableArray<NSValue *> *bounds = [NSMutableArray array];
-+ [self collectShapePathBoundsInLayer:layer result:bounds];
-+ CGRect largest = CGRectNull;
-+ CGFloat largestArea = 0;
-+ for (NSValue *value in bounds) {
-+ CGRect candidate = value.CGRectValue;
-+ CGFloat area = candidate.size.width * candidate.size.height;
-+ if (area > largestArea) { largest = candidate; largestArea = area; }
-+ }
-+ return largest;
-+}
-+
-+- (CGPoint)faceDiamondCenterInPad:(UIView *)pad {
-+ CGPoint sum = CGPointZero;
-+ for (NSString *name in @[@"A", @"B", @"X", @"Y"]) {
-+ CGPoint center = [self controlCenterNamed:name inPad:pad];
-+ sum.x += center.x; sum.y += center.y;
-+ }
-+ return CGPointMake(sum.x / 4, sum.y / 4);
-+}
-+
-+- (DuoFakeTouch *)touchAt:(CGPoint)point time:(NSTimeInterval)time {
-+ DuoFakeTouch *touch = [DuoFakeTouch new];
-+ touch.point = point; touch.timestamp = time;
-+ return touch;
-+}
-+
-+- (void)beginTouches:(NSArray<DuoFakeTouch *> *)touches onPad:(UIView *)pad {
-+ [pad touchesBegan:(NSSet<UITouch *> *)[NSSet setWithArray:touches] withEvent:nil];
-+}
-+
-+- (void)moveTouch:(DuoFakeTouch *)touch to:(CGPoint)point onPad:(UIView *)pad {
-+ touch.point = point;
-+ [pad touchesMoved:(NSSet<UITouch *> *)[NSSet setWithObject:touch] withEvent:nil];
-+}
-+
-+- (void)endTouches:(NSArray<DuoFakeTouch *> *)touches onPad:(UIView *)pad cancelled:(BOOL)cancelled {
-+ NSSet<UITouch *> *set = (NSSet<UITouch *> *)[NSSet setWithArray:touches];
-+ if (cancelled) [pad touchesCancelled:set withEvent:nil];
-+ else [pad touchesEnded:set withEvent:nil];
-+}
-+
-+- (CGPoint)faceAIn:(DmLayout)layout bounds:(CGRect)bounds {
-+ CGRect safe = CGRectIntersection(layout.controls, UIEdgeInsetsInsetRect(bounds, UIEdgeInsetsZero));
-+ CGFloat u = layout.separated ? MIN(MIN(safe.size.height / 430.0, safe.size.width / 700.0), 1.3) : MIN(bounds.size.height / 430.0, 1.3);
-+ if (layout.separated && bounds.size.height > bounds.size.width) {
-+ CGPoint faceCenter = CGPointMake(CGRectGetMinX(safe) + 0.72 * safe.size.width,
-+ CGRectGetMinY(safe) + 0.58 * safe.size.height);
-+ return CGPointMake(faceCenter.x + 50 * u, faceCenter.y);
-+ }
-+ return CGPointMake(CGRectGetMaxX(safe) - 81 * u + 50 * u, CGRectGetMaxY(safe) - 82 * u);
-+}
-+
-+- (CATextLayer *)textLayerNamed:(NSString *)name inLayer:(CALayer *)layer {
-+ if ([layer isKindOfClass:CATextLayer.class] && [(id)((CATextLayer *)layer).string isEqual:name]) return (CATextLayer *)layer;
-+ for (CALayer *child in layer.sublayers) {
-+ CATextLayer *found = [self textLayerNamed:name inLayer:child];
-+ if (found) return found;
-+ }
-+ return nil;
-+}
-+
-+- (CGPoint)controlCenterNamed:(NSString *)name inPad:(UIView *)pad {
-+ CATextLayer *label = [self textLayerNamed:name inLayer:pad.layer];
-+ XCTAssertNotNil(label, @"Expected a visible control label named %@", name);
-+ return CGPointMake(CGRectGetMidX(label.frame), CGRectGetMidY(label.frame));
-+}
-+
-+- (CGRect)controlPathBoundsNamed:(NSString *)name inPad:(UIView *)pad {
-+ CATextLayer *label = [self textLayerNamed:name inLayer:pad.layer];
-+ XCTAssertNotNil(label, @"Expected a visible control label named %@", name);
-+ CAShapeLayer *shape = (CAShapeLayer *)label.superlayer;
-+ XCTAssertTrue(shape.path != NULL, @"Expected the control to have a rendered path");
-+ return CGPathGetBoundingBox(shape.path);
-+}
-+
-+- (BOOL)controlNamed:(NSString *)name containsPoint:(CGPoint)point inPad:(UIView *)pad {
-+ CATextLayer *label = [self textLayerNamed:name inLayer:pad.layer];
-+ XCTAssertNotNil(label, @"Expected a visible control label named %@", name);
-+ CAShapeLayer *shape = (CAShapeLayer *)label.superlayer;
-+ XCTAssertTrue(shape.path != NULL, @"Expected the control to have a rendered path");
-+ return CGPathContainsPoint(shape.path, NULL, point, false);
-+}
-+
-+- (void)assertButton:(uint64_t)button at:(CGPoint)point onPad:(UIView *)pad time:(NSTimeInterval)time {
-+ DuoFakeTouch *touch = [self touchAt:point time:time];
-+ [self beginTouches:@[touch] onPad:pad];
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertEqual(input.buttons, button, @"The enlarged hit area should select exactly the nearest button");
-+ [self endTouches:@[touch] onPad:pad cancelled:NO];
-+}
-+
-+- (void)testSimultaneousFaceButtonsAndVideoTouchKeepIndependentSlots {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ DmLayout layout = [self separatedLayout:bounds];
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ CGPoint a = [self faceAIn:layout bounds:bounds];
-+ CGFloat u = MIN(MIN(layout.controls.size.height / 430.0, layout.controls.size.width / 700.0), 1.3);
-+ CGPoint b = CGPointMake(a.x - 50 * u, a.y + 50 * u);
-+ CGPoint video = CGPointMake(CGRectGetMidX(layout.game), CGRectGetMidY(layout.game));
-+ DuoFakeTouch *ta = [self touchAt:a time:1], *tb = [self touchAt:b time:1], *tv = [self touchAt:video time:1];
-+
-+ [self beginTouches:@[ta, tb, tv] onPad:pad];
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertEqual(input.buttons & (DM_BTN_A | DM_BTN_B), DM_BTN_A | DM_BTN_B);
-+ XCTAssertEqual(input.touch_count, 1);
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 0.5, 0.001);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, 0.5, 0.001);
-+
-+ [self endTouches:@[ta] onPad:pad cancelled:NO];
-+ input = duo_harness_input();
-+ XCTAssertEqual(input.buttons & DM_BTN_A, 0);
-+ XCTAssertNotEqual(input.buttons & DM_BTN_B, 0);
-+ XCTAssertEqual(input.touch_count, 1);
-+
-+ [self endTouches:@[tb, tv] onPad:pad cancelled:YES];
-+ input = duo_harness_input();
-+ XCTAssertEqual(input.buttons, 0);
-+ XCTAssertEqual(input.touch_count, 0);
-+}
-+
-+- (void)testVideoCoordinatesClampAtCornersAndIgnoreFoldAndControlArea {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ DmLayout layout = [self separatedLayout:bounds];
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ DuoFakeTouch *touch = [self touchAt:CGPointMake(CGRectGetMinX(layout.game), CGRectGetMinY(layout.game)) time:1];
-+ [self beginTouches:@[touch] onPad:pad];
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertEqual(input.touch_count, 1);
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 0, 0.001);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, 0, 0.001);
-+
-+ [self moveTouch:touch to:CGPointMake(CGRectGetMidX(layout.game), CGRectGetMidY(layout.game)) onPad:pad];
-+ input = duo_harness_input();
-+ XCTAssertEqual(input.touches[0].id, 0);
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 0.5, 0.001);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, 0.5, 0.001);
-+
-+ [self moveTouch:touch to:CGPointMake(CGRectGetMaxX(layout.game) - 0.001, CGRectGetMaxY(layout.game) - 0.001) onPad:pad];
-+ input = duo_harness_input();
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 0.999, 0.001);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, 0.999, 0.001);
-+
-+ [self endTouches:@[touch] onPad:pad cancelled:NO];
-+ DuoFakeTouch *foldGap = [self touchAt:CGPointMake(CGRectGetMidX(bounds), CGRectGetMinY(layout.controls) - 10) time:2];
-+ [self beginTouches:@[foldGap] onPad:pad];
-+ input = duo_harness_input();
-+ XCTAssertEqual(input.touch_count, 0);
-+ XCTAssertEqual(input.buttons, 0);
-+ [self endTouches:@[foldGap] onPad:pad cancelled:NO];
-+
-+ CGRect lower = layout.controls;
-+ // The lower-panel midpoint can now fall on the portrait D-pad. Use the bottom-centre
-+ // safe-area strip, clear of the anchored thumb groups, to verify controls do not claim it.
-+ DuoFakeTouch *outside = [self touchAt:CGPointMake(CGRectGetMidX(lower), CGRectGetMaxY(lower) - 10) time:2];
-+ [self beginTouches:@[outside] onPad:pad];
-+ input = duo_harness_input();
-+ XCTAssertEqual(input.touch_count, 0);
-+ XCTAssertEqual(input.buttons, 0);
-+ [self endTouches:@[outside] onPad:pad cancelled:NO];
-+
-+ DuoFakeTouch *rightThirdVideo = [self touchAt:CGPointMake(CGRectGetMaxX(layout.game) - 1, CGRectGetMidY(layout.game)) time:3];
-+ [self beginTouches:@[rightThirdVideo] onPad:pad];
-+ input = duo_harness_input();
-+ XCTAssertEqual(input.touch_count, 1);
-+ XCTAssertEqual(input.rx, 0);
-+ XCTAssertEqual(input.ry, 0);
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 0.997, 0.002);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, 0.5, 0.001);
-+ [self endTouches:@[rightThirdVideo] onPad:pad cancelled:NO];
-+}
-+
-+- (void)testNoOpArrangePreservesHeldInputs {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ DmLayout separated = [self separatedLayout:bounds];
-+ UIView *pad = [self padForLayout:separated bounds:bounds];
-+ DuoFakeTouch *video = [self touchAt:CGPointMake(CGRectGetMidX(separated.game), CGRectGetMidY(separated.game)) time:1];
-+ DuoFakeTouch *button = [self touchAt:[self faceAIn:separated bounds:bounds] time:1];
-+ [self beginTouches:@[video, button] onPad:pad];
-+
-+ dm_gamepad_arrange(pad, separated);
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertNotEqual(input.buttons & DM_BTN_A, 0);
-+ XCTAssertEqual(input.touch_count, 1);
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 0.5, 0.001);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, 0.5, 0.001);
-+ [self endTouches:@[video, button] onPad:pad cancelled:NO];
-+}
-+
-+- (void)testPoseChangeReleasesHeldButtonAndGameTouch {
-+ CGRect bounds = CGRectMake(0, 0, 390, 844);
-+ DmLayout separated = [self separatedLayout:bounds];
-+ UIView *pad = [self padForLayout:separated bounds:bounds];
-+ DuoFakeTouch *video = [self touchAt:CGPointMake(CGRectGetMidX(separated.game), CGRectGetMidY(separated.game)) time:1];
-+ DuoFakeTouch *button = [self touchAt:[self faceAIn:separated bounds:bounds] time:1];
-+ [self beginTouches:@[video, button] onPad:pad];
-+ XCTAssertNotEqual(duo_harness_input().buttons & DM_BTN_A, 0);
-+ XCTAssertEqual(duo_harness_input().touch_count, 1);
-+
-+ dm_gamepad_arrange(pad, dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectNull));
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertEqual(input.buttons, 0);
-+ XCTAssertEqual(input.touch_count, 0);
-+ [self endTouches:@[video, button] onPad:pad cancelled:NO];
-+}
-+
-+- (void)testConnectedVirtualControllerKeepsVideoTouchAndMapsPhysicalButtons {
-+ if (@available(iOS 17.0, *)) {
-+ [self setHarnessControllers:nil notification:nil];
-+ CGRect bounds = CGRectMake(0, 0, 844, 390);
-+ DmLayout layout = dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectNull);
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ GCVirtualControllerConfiguration *config = [GCVirtualControllerConfiguration new];
-+ config.hidden = YES;
-+ config.elements = [NSSet setWithArray:@[GCInputButtonA, GCInputButtonB, GCInputButtonX, GCInputButtonY,
-+ GCInputLeftShoulder, GCInputRightShoulder, GCInputButtonMenu,
-+ GCInputLeftThumbstick, GCInputRightThumbstick, GCInputDirectionPad]];
-+ GCVirtualController *controller = [[GCVirtualController alloc] initWithConfiguration:config];
-+ XCTestExpectation *connected = [self expectationWithDescription:@"virtual controller connected"];
-+ __block NSError *connectError;
-+ [controller connectWithReplyHandler:^(NSError *error) { connectError = error; [connected fulfill]; }];
-+ [self waitForExpectations:@[connected] timeout:5];
-+ if (connectError || !controller.controller.extendedGamepad) {
-+ [controller disconnect];
-+ XCTSkip(@"Simulator virtual extended gamepad is unavailable");
-+ }
-+ [self setHarnessControllers:@[controller.controller] notification:GCControllerDidConnectNotification];
-+
-+ [controller setValue:1 forButtonElement:GCInputButtonB];
-+ NSPredicate *hasA = [NSPredicate predicateWithBlock:^BOOL(id object, NSDictionary *bindings) {
-+ (void)object; (void)bindings; return (duo_harness_state().players[0].buttons & DM_BTN_A) != 0;
-+ }];
-+ [self expectationForPredicate:hasA evaluatedWithObject:self handler:nil];
-+ [self waitForExpectationsWithTimeout:5 handler:nil];
-+
-+ CGRect portrait = CGRectMake(0, 0, 390, 844);
-+ DmLayout separated = [self separatedLayout:portrait];
-+ pad.frame = portrait;
-+ dm_gamepad_arrange(pad, separated);
-+ [pad setNeedsLayout]; [pad layoutIfNeeded];
-+ XCTAssertNotEqual(duo_harness_state().players[0].buttons & DM_BTN_A, 0,
-+ @"Changing the UI pose must preserve player one's controller state");
-+
-+ DuoFakeTouch *video = [self touchAt:CGPointMake(CGRectGetMidX(separated.game), CGRectGetMidY(separated.game)) time:1];
-+ [self beginTouches:@[video] onPad:pad];
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertNotEqual(duo_harness_state().players[0].buttons & DM_BTN_A, 0);
-+ XCTAssertEqual(input.touch_count, 1);
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 0.5, 0.001);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, 0.5, 0.001);
-+ [self endTouches:@[video] onPad:pad cancelled:NO];
-+ [controller setValue:0 forButtonElement:GCInputButtonB];
-+ [self setHarnessControllers:@[] notification:GCControllerDidDisconnectNotification];
-+ [controller disconnect];
-+ } else {
-+ XCTSkip(@"Virtual controllers require iOS 17 or later");
-+ }
-+}
-+
-+
-+- (void)testControllersKeepIndependentPlayersAndLayoutKeepsMotionState {
-+ if (@available(iOS 13.0, *)) {
-+ GCController *first = [GCController controllerWithExtendedGamepad];
-+ GCController *second = [GCController controllerWithExtendedGamepad];
-+ XCTAssertTrue(first.isSnapshot);
-+ XCTAssertTrue(second.isSnapshot);
-+ [self setHarnessControllers:@[first, second] notification:GCControllerDidConnectNotification];
-+
-+ CGRect bounds = CGRectMake(0, 0, 844, 390);
-+ UIView *pad = [self padForLayout:dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectNull) bounds:bounds];
-+ [self deliverSnapshotChangeFor:first button:first.extendedGamepad.buttonB value:1];
-+ [self deliverSnapshotChangeFor:second button:second.extendedGamepad.buttonA value:1];
-+ DuoHarnessState state = duo_harness_state();
-+ XCTAssertEqual(state.connected_players, 0x3);
-+ XCTAssertEqual(state.players[0].buttons, DM_BTN_A);
-+ XCTAssertEqual(state.players[1].buttons, DM_BTN_B);
-+ GCExtendedGamepadValueChangedHandler staleFirstHandler = first.extendedGamepad.valueChangedHandler;
-+
-+ const float acceleration[] = {0.25f, -0.5f, 0.75f};
-+ const float rotation[] = {-1.0f, 2.0f, -3.0f};
-+ dm_motion_set(1, acceleration, rotation);
-+ CGRect portrait = CGRectMake(0, 0, 390, 844);
-+ DmLayout separated = [self separatedLayout:portrait];
-+ pad.frame = portrait;
-+ dm_gamepad_arrange(pad, separated);
-+ [pad layoutIfNeeded];
-+ state = duo_harness_state();
-+ XCTAssertEqual(state.connected_players, 0x3);
-+ XCTAssertEqual(state.players[0].buttons, DM_BTN_A);
-+ XCTAssertEqual(state.players[1].buttons, DM_BTN_B);
-+ XCTAssertEqual(state.controller_motion_mask & (1u << 1), 1u << 1,
-+ @"Changing the UI pose must not clear player two's motion source");
-+ for (NSUInteger axis = 0; axis < 3; axis++) {
-+ XCTAssertEqualWithAccuracy(state.controller_motion[1].acceleration[axis], acceleration[axis], 0.001);
-+ XCTAssertEqualWithAccuracy(state.controller_motion[1].rotation[axis], rotation[axis], 0.001);
-+ }
-+
-+ // Reordering the connected-controller snapshot must not move either player's slot.
-+ [self setHarnessControllers:@[second, first] notification:GCControllerDidConnectNotification];
-+ [self setHarnessControllers:@[second] notification:GCControllerDidDisconnectNotification];
-+ state = duo_harness_state();
-+ XCTAssertEqual(state.connected_players, 0x2);
-+ XCTAssertEqual(state.players[0].buttons, 0);
-+ XCTAssertEqual(state.players[1].buttons, DM_BTN_B);
-+ XCTAssertEqual(state.controller_motion_mask & 0x3, 0x2,
-+ @"Disconnecting player one must leave player two's motion source intact");
-+ if (staleFirstHandler) staleFirstHandler(first.extendedGamepad, first.extendedGamepad.buttonB);
-+ state = duo_harness_state();
-+ XCTAssertEqual(state.players[0].buttons, 0,
-+ @"A queued callback from the disconnected controller must not reclaim its slot");
-+ XCTAssertEqual(state.players[1].buttons, DM_BTN_B);
-+
-+ [self setHarnessControllers:@[] notification:GCControllerDidDisconnectNotification];
-+ state = duo_harness_state();
-+ XCTAssertEqual(state.connected_players, 0);
-+ XCTAssertEqual(state.players[1].buttons, 0);
-+ XCTAssertEqual(state.controller_motion_mask & (1u << 1), 0,
-+ @"Disconnecting player two clears its motion source");
-+ }
-+}
-+
-+
-+@end
-diff --git a/dm/ios/tests/duo/Tests/DuoHostingOrientationTests.swift b/dm/ios/tests/duo/Tests/DuoHostingOrientationTests.swift
-new file mode 100644
-index 0000000..36d0073
---- /dev/null
-+++ b/dm/ios/tests/duo/Tests/DuoHostingOrientationTests.swift
-@@ -0,0 +1,40 @@
-+import SwiftUI
-+import UIKit
-+import XCTest
-+@testable import DuoHarness
-+
-+final class DuoHostingOrientationTests: XCTestCase {
-+ @MainActor
-+ func testProductionHostingControllerSupportsAllOrientationsInCurrentWindow() async {
-+ guard let window = UIApplication.shared.connectedScenes
-+ .compactMap({ $0 as? UIWindowScene })
-+ .flatMap(\.windows)
-+ .first(where: \.isKeyWindow),
-+ let presenter = window.rootViewController else {
-+ XCTFail("Expected the harness root in its phone window scene")
-+ return
-+ }
-+ XCTAssertNil(presenter.presentedViewController, "The harness root should be available for a temporary full-screen host")
-+
-+ let host = DmHostingController(rootView: Color.clear)
-+ let unattachedMask = host.supportedInterfaceOrientations
-+ let unattachedIdiom = host.traitCollection.userInterfaceIdiom
-+ host.modalPresentationStyle = .fullScreen
-+ let presented = expectation(description: "full-screen SwiftUI host presented")
-+ presenter.present(host, animated: false) { presented.fulfill() }
-+ await fulfillment(of: [presented], timeout: 5)
-+ let attachedMask = host.supportedInterfaceOrientations
-+ let attachedIdiom = host.traitCollection.userInterfaceIdiom
-+ let orientation = window.windowScene?.effectiveGeometry.interfaceOrientation.rawValue ?? -1
-+
-+ let dismissed = expectation(description: "full-screen SwiftUI host dismissed")
-+ host.dismiss(animated: false) { dismissed.fulfill() }
-+ await fulfillment(of: [dismissed], timeout: 5)
-+
-+ print("[DUO_HOST_ORIENTATION] phoneWindowIdiom=\(window.traitCollection.userInterfaceIdiom.rawValue) sceneOrientation=\(orientation) unattachedIdiom=\(unattachedIdiom.rawValue) unattachedMask=0x\(String(unattachedMask.rawValue, radix: 16)) attachedIdiom=\(attachedIdiom.rawValue) attachedMask=0x\(String(attachedMask.rawValue, radix: 16)) all=0x\(String(UIInterfaceOrientationMask.all.rawValue, radix: 16))")
-+ XCTAssertNil(presenter.presentedViewController, "Restore the harness root after the probe")
-+ XCTAssertEqual(attachedIdiom, window.traitCollection.userInterfaceIdiom)
-+ XCTAssertEqual(unattachedMask, .all)
-+ XCTAssertEqual(attachedMask, .all, "The production full-screen SwiftUI host must preserve the app's four-orientation policy")
-+ }
-+}
-diff --git a/dm/ios/tests/duo/UITests/DuoNativeRotationUITests.swift b/dm/ios/tests/duo/UITests/DuoNativeRotationUITests.swift
-new file mode 100644
-index 0000000..63cbd40
---- /dev/null
-+++ b/dm/ios/tests/duo/UITests/DuoNativeRotationUITests.swift
-@@ -0,0 +1,148 @@
-+import XCTest
-+import UIKit
-+
-+private struct DuoSnapshot {
-+ let orientation: Int
-+ let bounds: [Double]
-+ let game: [Double]
-+ let controls: [Double]
-+ let separated: Bool
-+ let touchCount: Int
-+ let touchUpdates: Int
-+ let lastTouches: [[Double]]
-+ let hingeStatus: Int
-+ let hingeAngle: Double
-+
-+ init?(_ element: XCUIElement) {
-+ guard let value = element.value as? String,
-+ let data = value.data(using: .utf8),
-+ let object = try? JSONSerialization.jsonObject(with: data) as? [String: Any],
-+ let orientation = (object["orientation"] as? NSNumber)?.intValue,
-+ let bounds = Self.rect(object["bounds"]),
-+ let game = Self.rect(object["game"]),
-+ let controls = Self.rect(object["controls"]),
-+ let separated = object["separated"] as? Bool,
-+ let touchCount = (object["touchCount"] as? NSNumber)?.intValue,
-+ let touchUpdates = (object["touchUpdates"] as? NSNumber)?.intValue,
-+ let lastTouches = object["lastTouches"] as? [[NSNumber]],
-+ let hingeStatus = (object["hingeStatus"] as? NSNumber)?.intValue,
-+ let hingeAngle = (object["hingeAngle"] as? NSNumber)?.doubleValue else { return nil }
-+ self.orientation = orientation
-+ self.bounds = bounds
-+ self.game = game
-+ self.controls = controls
-+ self.separated = separated
-+ self.touchCount = touchCount
-+ self.touchUpdates = touchUpdates
-+ self.lastTouches = lastTouches.map { $0.map(\.doubleValue) }
-+ self.hingeStatus = hingeStatus
-+ self.hingeAngle = hingeAngle
-+ }
-+
-+ private static func rect(_ value: Any?) -> [Double]? {
-+ guard let numbers = value as? [NSNumber], numbers.count == 4 else { return nil }
-+ return numbers.map(\.doubleValue)
-+ }
-+}
-+
-+final class DuoNativeRotationUITests: XCTestCase {
-+ @MainActor
-+ func testObservedNativeFourOrientationCycleOnFullyOpenDuoPreservesLayoutAndTouchRouting() {
-+ guard #available(iOS 27.1, *) else {
-+ XCTFail("The native Duo rotation test requires iOS 27.1 hinge and scene-geometry APIs")
-+ return
-+ }
-+
-+ let app = XCUIApplication(bundleIdentifier: "org.nxnative.DuoHarness")
-+ app.launch()
-+ defer { app.terminate() }
-+
-+ let diagnostics = app.descendants(matching: .any).matching(identifier: "duo.diagnostics").firstMatch
-+ XCTAssertTrue(diagnostics.waitForExistence(timeout: 15), "The harness must expose live scene and input diagnostics")
-+ guard diagnostics.exists else { return }
-+
-+ let fullyOpenStatus = UIHinge.Status.fullyOpen.rawValue
-+ guard let initial = waitForSnapshot(diagnostics, timeout: 15, matching: {
-+ $0.hingeStatus == fullyOpenStatus && abs($0.hingeAngle - .pi) < 0.12
-+ }) else {
-+ XCTFail("Open the Duo fully before running this test. Diagnostics: \(String(describing: diagnostics.value))")
-+ return
-+ }
-+ XCTAssertEqual(initial.hingeStatus, fullyOpenStatus)
-+ XCTAssertEqual(initial.hingeAngle, .pi, accuracy: 0.12)
-+
-+ let poses: [(name: String, portrait: Bool)] = [
-+ ("landscape right", false),
-+ ("portrait", true),
-+ ("landscape left", false),
-+ ("portrait upside down", true)
-+ ]
-+
-+ for pose in poses {
-+ print("[DUO_ROTATION] Waiting for Device Hub to set bounds for (\(pose.name)); rotate within 60 seconds.")
-+ guard let snapshot = waitForSnapshot(diagnostics, timeout: 60, matching: {
-+ ($0.bounds[3] > $0.bounds[2]) == pose.portrait
-+ }) else {
-+ XCTFail("Native \(pose.name) rotation did not reach the expected scene geometry. Diagnostics: \(String(describing: diagnostics.value))")
-+ return
-+ }
-+
-+ XCTAssertEqual(snapshot.hingeStatus, fullyOpenStatus, "Keep the Duo fully open through the orientation cycle")
-+ XCTAssertEqual(snapshot.hingeAngle, .pi, accuracy: 0.12)
-+ XCTAssertGreaterThan(snapshot.bounds[2], 0)
-+ XCTAssertGreaterThan(snapshot.bounds[3], 0)
-+ XCTAssertGreaterThan(snapshot.game[2], 0)
-+ XCTAssertGreaterThan(snapshot.game[3], 0)
-+ XCTAssertEqual(snapshot.bounds[3] > snapshot.bounds[2], pose.portrait,
-+ "Native \(pose.name) rotation must update the actual root view bounds")
-+ XCTAssertEqual(snapshot.game[2] / snapshot.game[3], 16.0 / 9.0, accuracy: 0.01,
-+ "The production game view must keep its 16:9 frame in \(pose.name)")
-+ XCTAssertGreaterThanOrEqual(snapshot.game[0], snapshot.bounds[0] - 1)
-+ XCTAssertGreaterThanOrEqual(snapshot.game[1], snapshot.bounds[1] - 1)
-+ XCTAssertLessThanOrEqual(snapshot.game[0] + snapshot.game[2], snapshot.bounds[0] + snapshot.bounds[2] + 1)
-+ XCTAssertLessThanOrEqual(snapshot.game[1] + snapshot.game[3], snapshot.bounds[1] + snapshot.bounds[3] + 1)
-+
-+ if pose.portrait {
-+ XCTAssertTrue(snapshot.separated, "Both native portrait poses keep the game above the touch controls")
-+ XCTAssertLessThanOrEqual(snapshot.game[1] + snapshot.game[3], snapshot.controls[1] + 1)
-+ XCTAssertGreaterThan(snapshot.controls[3], 0)
-+ assertGameTouch(diagnostics: diagnostics, after: snapshot.touchUpdates)
-+ } else {
-+ XCTAssertFalse(snapshot.separated, "The fully-open Duo uses overlay controls in landscape")
-+ XCTAssertEqual(snapshot.controls[0], snapshot.bounds[0], accuracy: 1)
-+ XCTAssertEqual(snapshot.controls[1], snapshot.bounds[1], accuracy: 1)
-+ XCTAssertEqual(snapshot.controls[2], snapshot.bounds[2], accuracy: 1)
-+ XCTAssertEqual(snapshot.controls[3], snapshot.bounds[3], accuracy: 1)
-+ }
-+ }
-+ }
-+
-+ @MainActor
-+ private func assertGameTouch(diagnostics: XCUIElement, after updateCount: Int) {
-+ print("[DUO_ROTATION] Click the center of the visible Game viewport within 60 seconds.")
-+ guard let after = waitForSnapshot(diagnostics, timeout: 60, matching: {
-+ $0.touchUpdates > updateCount && $0.touchCount == 0 && !$0.lastTouches.isEmpty
-+ }) else {
-+ XCTFail("A native click in the production game view must reach and release through dm_touch_set")
-+ return
-+ }
-+ XCTAssertEqual(after.touchCount, 0, "The native click must be released after the input update")
-+ if let touch = after.lastTouches.first, touch.count >= 2 {
-+ XCTAssertEqual(touch[0], 0.5, accuracy: 0.04)
-+ XCTAssertEqual(touch[1], 0.5, accuracy: 0.04)
-+ } else {
-+ XCTFail("The native click must include a normalized game-view touch sample")
-+ }
-+ }
-+
-+ @MainActor
-+ private func waitForSnapshot(_ element: XCUIElement, timeout: TimeInterval,
-+ matching predicate: @escaping (DuoSnapshot) -> Bool) -> DuoSnapshot? {
-+ let expectation = XCTNSPredicateExpectation(predicate: NSPredicate { object, _ in
-+ guard let element = object as? XCUIElement, let snapshot = DuoSnapshot(element) else { return false }
-+ return predicate(snapshot)
-+ }, object: element)
-+ guard XCTWaiter.wait(for: [expectation], timeout: timeout) == .completed else { return nil }
-+ return DuoSnapshot(element)
-+ }
-+}
-diff --git a/dm/ios/tests/duo/project.yml b/dm/ios/tests/duo/project.yml
-new file mode 100644
-index 0000000..26b4987
---- /dev/null
-+++ b/dm/ios/tests/duo/project.yml
-@@ -0,0 +1,124 @@
-+name: DuoHarness
-+options:
-+ deploymentTarget:
-+ iOS: "26.0"
-+targets:
-+ DuoHarness:
-+ type: application
-+ platform: iOS
-+ sources:
-+ - path: Sources
-+ - path: ../../Sources/DmHostingController.swift
-+ - path: ../../Sources/DmGamepad.m
-+ - path: ../../Sources/front_ios.m
-+ dependencies:
-+ - sdk: UIKit.framework
-+ - sdk: GameController.framework
-+ - sdk: SwiftUI.framework
-+ - sdk: CoreMotion.framework
-+ - sdk: CoreText.framework
-+ - sdk: QuartzCore.framework
-+ - sdk: Metal.framework
-+ - sdk: AVFAudio.framework
-+ info:
-+ path: Info.plist
-+ properties:
-+ CFBundleDisplayName: DuoHarness
-+ CFBundleShortVersionString: "1.0"
-+ CFBundleVersion: "2"
-+ UILaunchScreen: {}
-+ UIStatusBarHidden: true
-+ UIViewControllerBasedStatusBarAppearance: false
-+ UISupportedInterfaceOrientations:
-+ - UIInterfaceOrientationLandscapeLeft
-+ - UIInterfaceOrientationLandscapeRight
-+ UISupportedInterfaceOrientations~ipad:
-+ - UIInterfaceOrientationPortrait
-+ - UIInterfaceOrientationPortraitUpsideDown
-+ - UIInterfaceOrientationLandscapeLeft
-+ - UIInterfaceOrientationLandscapeRight
-+ LSSupportsGameMode: true
-+ GCSupportsControllerUserInteraction: true
-+ GCSupportedGameControllers:
-+ - ProfileName: ExtendedGamepad
-+ CADisableMinimumFrameDurationOnPhone: true
-+ UIApplicationSceneManifest:
-+ UIApplicationSupportsMultipleScenes: false
-+ UISceneConfigurations:
-+ UIWindowSceneSessionRoleApplication:
-+ - UISceneConfigurationName: Default
-+ UISceneDelegateClassName: DuoHarnessSceneDelegate
-+ settings:
-+ base:
-+ PRODUCT_BUNDLE_IDENTIFIER: org.nxnative.DuoHarness
-+ IPHONEOS_DEPLOYMENT_TARGET: "26.0"
-+ TARGETED_DEVICE_FAMILY: "1,2"
-+ HEADER_SEARCH_PATHS:
-+ - $(inherited)
-+ - $(SRCROOT)/../../../host
-+ - $(SRCROOT)/../../Sources
-+ - $(SRCROOT)/Sources/Fixtures
-+ CLANG_ENABLE_OBJC_ARC: YES
-+ CODE_SIGN_STYLE: Automatic
-+ DEVELOPMENT_TEAM: ""
-+ DuoHarnessTests:
-+ type: bundle.unit-test
-+ platform: iOS
-+ sources:
-+ - path: Tests
-+ dependencies:
-+ - target: DuoHarness
-+ - sdk: GameController.framework
-+ - sdk: SwiftUI.framework
-+ settings:
-+ base:
-+ GENERATE_INFOPLIST_FILE: YES
-+ PRODUCT_BUNDLE_IDENTIFIER: org.nxnative.DuoHarnessTests
-+ IPHONEOS_DEPLOYMENT_TARGET: "26.0"
-+ HEADER_SEARCH_PATHS:
-+ - $(inherited)
-+ - $(SRCROOT)/../../../host
-+ - $(SRCROOT)/../../Sources
-+ - $(SRCROOT)/Sources/Fixtures
-+ - $(SRCROOT)/Sources
-+ TEST_HOST: $(BUILT_PRODUCTS_DIR)/DuoHarness.app/DuoHarness
-+ BUNDLE_LOADER: $(TEST_HOST)
-+ CLANG_ENABLE_OBJC_ARC: YES
-+ CODE_SIGN_STYLE: Automatic
-+ DEVELOPMENT_TEAM: ""
-+ DuoHarnessUITests:
-+ type: bundle.ui-testing
-+ platform: iOS
-+ sources:
-+ - path: UITests
-+ dependencies:
-+ - target: DuoHarness
-+ settings:
-+ base:
-+ GENERATE_INFOPLIST_FILE: YES
-+ PRODUCT_BUNDLE_IDENTIFIER: org.nxnative.DuoHarnessUITests
-+ IPHONEOS_DEPLOYMENT_TARGET: "26.0"
-+ TEST_TARGET_NAME: DuoHarness
-+ TARGETED_DEVICE_FAMILY: "1,2"
-+ SWIFT_VERSION: "5.0"
-+ CODE_SIGN_STYLE: Automatic
-+ DEVELOPMENT_TEAM: ""
-+schemes:
-+ DuoHarness:
-+ build:
-+ targets:
-+ DuoHarness: all
-+ DuoHarnessTests: [test]
-+ test:
-+ config: Debug
-+ targets:
-+ - DuoHarnessTests
-+ DuoHarnessNativeRotation:
-+ build:
-+ targets:
-+ DuoHarness: all
-+ DuoHarnessUITests: [test]
-+ test:
-+ config: Debug
-+ targets:
-+ - DuoHarnessUITests
-diff --git a/dm/ios/tests/test_orientation_policy.py b/dm/ios/tests/test_orientation_policy.py
-new file mode 100644
-index 0000000..b3d0652
---- /dev/null
-+++ b/dm/ios/tests/test_orientation_policy.py
-@@ -0,0 +1,25 @@
-+"""Keep the production and harness phone/iPad orientation contracts aligned."""
-+import re
-+import unittest
-+from pathlib import Path
-+
-+IOS = Path(__file__).resolve().parents[1]
-+
-+
-+class OrientationPolicyTests(unittest.TestCase):
-+ def test_phone_landscape_and_ipad_resizing(self):
-+ landscape = {"UIInterfaceOrientationLandscapeLeft", "UIInterfaceOrientationLandscapeRight"}
-+ all_orientations = landscape | {"UIInterfaceOrientationPortrait", "UIInterfaceOrientationPortraitUpsideDown"}
-+ for project in (IOS / "project.yml", IOS / "tests/duo/project.yml"):
-+ source = project.read_text()
-+ for key, expected in (("UISupportedInterfaceOrientations", landscape),
-+ ("UISupportedInterfaceOrientations~ipad", all_orientations)):
-+ with self.subTest(project=project.name, key=key):
-+ match = re.search(r"^ " + re.escape(key) + r":\n((?: - .*\n)+)", source, re.MULTILINE)
-+ assert match is not None, f"Missing orientation array: {key}"
-+ self.assertEqual(set(re.findall(r"- (\w+)", match[1])), expected)
-+ self.assertNotIn("UIRequiresFullScreen:", source)
-+
-+
-+if __name__ == "__main__":
-+ unittest.main()
-diff --git a/docs/reference/rendering.md b/docs/reference/rendering.md
-index 0159165..e182212 100644
---- a/docs/reference/rendering.md
-+++ b/docs/reference/rendering.md
-@@ -1223,3 +1223,12 @@ Digimon Story Cyber Sleuth: Complete Edition (Media.Vision's MVGL engine, SDK 6.
- - **Fix:** collect per-pass write facts independently of the lookahead switch and omit only stores of attachments that were loaded and provably unchanged. Clears, depth writes, stencil writes and possible writable image/atomic/storage aliases conservatively retain stores, except for the mandatory [image-only color-attachment rule](#image-stores-into-an-attachment-of-their-own-pass). Lookahead, pass merging and cross-submission invalidation remain disabled. `DM_NVN_UNWRITTEN_DC=0` disables optional unwritten-store savings; the image-write preservation rule stays active.
- - **Check:** `make -C dm/gfx/tests GAME=<id> check_t_unwritten_store` performs real GPU readback against a store-all control and literal color/depth/stencil values, with lookahead disabled. It covers read-only depth/stencil, depth writes, stencil writes, pending clears, and writable images (including native image atomics) and both storage-buffer binding forms. `t_unwritten_store --bench` runs a synthetic 32-pass 1080p workload with balanced on/off order; it is not a game FPS measurement.
- - **Found on:** [NieR:Automata US 1.0.3](../../dm/games/010056B015FE8000/README.md#factory-combat-capture-and-9s-texture-follow-up), during iPhone factory-combat performance investigation. The change passes the GPU proof and rendering regressions on Mac; iPhone gameplay benefit remains to be measured.
-+
-+### iPhone Duo portrait and tabletop layout
-+
-+- **Symptom:** portrait gameplay overlaps the touch controls, or touch coordinates land outside the game picture.
-+- **Cause:** the frontend assumed a landscape picture with controls overlaid across the full view, so its video and touch geometry did not follow the portrait layout. A native rotation A/B on the iPhone Duo iOS 27.1 simulator also showed that deprecated `UIRequiresFullScreen` blocked upside-down portrait despite all four orientations being declared; without the key, UIKit applied all four.
-+- **Fix:** remove fullscreen compatibility and let UIKit handle rotation. The phone orientation list stays landscape-only for ordinary iPhones and the Duo outer display; UIKit ignores that list on the Duo inner display, where layout follows current window bounds. The iPad list allows all four orientations for resizable windows. Portrait places an aspect-fitted 16:9 game view above the controls, using a valid native horizontal division when available and the midpoint otherwise. Landscape keeps the overlay unless UIKit reports a partially open hinge with a valid horizontal division. Local-game layout changes do not request scene rotation. On Duo in portrait, only the top safe-area inset is applied to video and controls; left, right and bottom are ignored. Other devices and landscape keep their existing insets.
-+- **Input:** game touches map through the actual game-view rectangle. When virtual controls are visible, touches in the controls pane go to the gamepad; layout changes release active virtual touches.
-+- **Check:** [Duo harness notes](../../dm/ios/tests/duo/README.md) describe layout and input coverage. Synthetic checks do not establish physical pose, rotation, rendering, or controller acceptance. The operator-driven native rotation test checks bounds and portrait game-touch routing while the operator cycles through four device poses. The owner validated build 1.3.19 on a physical Duo: the outer display remains landscape-only and the inner display retains both portrait directions, landscape and tabletop layouts. Native iPad window-resizing checks exercise the production presentation and input path with synthetic Metal frames; full-game testing on a physical iPad remains outstanding.
-+- **Found on:** [Pokémon Brilliant Diamond](../../dm/games/0100000011D90000/README.md).
---
-2.54.0 (Apple Git-157)
-
diff --git a/patches/0062-ios-apply-controller-button-mappings-to-physical.patch b/patches/0062-ios-apply-controller-button-mappings-to-physical.patch
index b330923b..bb3d32a2 100644
--- a/patches/0062-ios-apply-controller-button-mappings-to-physical.patch
+++ b/patches/0062-ios-apply-controller-button-mappings-to-physical.patch
@@ -6,24 +6,23 @@ Subject: [PATCH] ios: apply controller button mappings to physical gamepads
Upstream-Status: forwarded seedds/nxnative#955 (on #386, patch 0009)
Reason: the iOS host ignores DM_PAD_MAP, so the shell's button mapping (global and per game) never reaches physical controllers. The Mac host applies it already
Issue: LNPANDY/NX2Apple#494
-
---
dm/ios/Sources/DmGamepad.m | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dm/ios/Sources/DmGamepad.m b/dm/ios/Sources/DmGamepad.m
-index 3747fc9..f607c0e 100644
+index b6a2c3f..8a9f009 100644
--- a/dm/ios/Sources/DmGamepad.m
+++ b/dm/ios/Sources/DmGamepad.m
-@@ -27,6 +27,7 @@
+@@ -28,6 +28,7 @@
#include "motion_fusion.h"
#include "pad_apple.h"
#include "pad_slots.h"
+#include "input_map.h"
#include <stdatomic.h>
-
- enum { B_A = 0, B_B, B_X, B_Y, B_LS, B_RS, B_L, B_R, B_ZL, B_ZR, B_PLUS, B_MINUS, B_LEFT, B_UP, B_RIGHT, B_DOWN, B_N };
-@@ -462,6 +463,7 @@ - (void)refresh { // pressed state → fill, sticks → knob position
+ #import "DmLayout.h"
+ #import "DmGameMenu.h"
+@@ -547,6 +548,7 @@ - (void)refresh { // pressed state → fill, sticks → knob position
static pad_slots g_slots;
static GCController *g_held[DM_PLAYERS]; // the controller of each slot, kept alive while it holds it (the slot table keys on its pointer)
static int g_merge;
@@ -31,7 +30,7 @@ index 3747fc9..f607c0e 100644
static int32_t axis(float v) { return (int32_t)(fmaxf(-1.f, fminf(1.f, v)) * 32767); }
static void read_pad(GCExtendedGamepad *g) {
int p = g_merge ? 0 : pad_slot_of(&g_slots, (__bridge const void *)g.controller); if (p < 0) return;
-@@ -474,6 +476,7 @@ static void read_pad(GCExtendedGamepad *g) {
+@@ -559,6 +561,7 @@ static void read_pad(GCExtendedGamepad *g) {
if (g.leftThumbstickButton) K(g.leftThumbstickButton, B_LS); if (g.rightThumbstickButton) K(g.rightThumbstickButton, B_RS);
K(g.dpad.left, B_LEFT); K(g.dpad.up, B_UP); K(g.dpad.right, B_RIGHT); K(g.dpad.down, B_DOWN);
#undef K
@@ -39,7 +38,7 @@ index 3747fc9..f607c0e 100644
dm_pad_set_player(p, m, axis(g.leftThumbstick.xAxis.value), axis(g.leftThumbstick.yAxis.value), axis(g.rightThumbstick.xAxis.value), axis(g.rightThumbstick.yAxis.value));
}
// Home and Capture: without this iOS takes them as system gestures (Home opens the Games overlay, Capture a screenshot); the app gives them no function
-@@ -481,6 +484,9 @@ static void read_pad(GCExtendedGamepad *g) {
+@@ -566,6 +569,9 @@ static void read_pad(GCExtendedGamepad *g) {
static const char *pad_name(GCController *c) { return c.vendorName.UTF8String ?: "?"; }
static void npad_name(int p, char *out, size_t cap) { uint32_t id = dm_player_npad(p); if (id == 0x20) snprintf(out, cap, "handheld"); else snprintf(out, cap, "%u", id); }
static void pads_start(void) {
diff --git a/patches/0063-ios-picture-fit-or-fill-for-screens-that-are-not.patch b/patches/0063-ios-picture-fit-or-fill-for-screens-that-are-not.patch
deleted file mode 100644
index 8f522dad..00000000
--- a/patches/0063-ios-picture-fit-or-fill-for-screens-that-are-not.patch
+++ /dev/null
@@ -1,271 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: v0lumehi <[email protected]>
-Date: Tue, 3 Nov 2026 15:07:02 +0100
-Subject: [PATCH] iOS: picture Fit or Fill for screens that are not 16:9
-
-A per-game launcher setting, DM_PICTURE_FIT (fit, the default, or fill).
-Fit is today's picture: the largest centered 16:9 rectangle with black bars.
-Fill scales the 16:9 picture until it covers the view and crops the overflow,
-with no stretching. It applies to the overlay layout (landscape) only. A
-portrait or tabletop split keeps the picture fitted in its area above the
-controls, where cropping a small picture costs more than the bars.
-
-The touch controls keep the full view. The game's own touch screen is
-normalized on the scaled picture, so a touch on the visible part lands
-where that part of the picture is (dm_game_touch_point). A TV keeps Fit.
-
-The Duo harness stubs gain front_ios_device_check, which front_ios.m calls
-since the device check, so the harness links again.
-
-Upstream-Status: forwarded seedds/nxnative#1083
-Reason: Players with screens that are not 16:9 can fill the screen, a per-game choice in the iOS shell.
-Issue: LNPANDY/NX2Apple#545
-
----
- dm/games/settings.tsv | 1 +
- dm/ios/Sources/DmGamepad.m | 11 ++--
- dm/ios/Sources/DmLayout.h | 26 +++++++++
- dm/ios/Sources/front_ios.m | 6 +-
- dm/ios/tests/duo/Sources/DuoRuntimeStubs.m | 1 +
- dm/ios/tests/duo/Tests/DuoHarnessTests.m | 64 ++++++++++++++++++++++
- dm/tools/tests/test_launcher_settings.py | 2 +-
- docs/env_switches.tsv | 1 +
- docs/settings.md | 1 +
- 9 files changed, 105 insertions(+), 8 deletions(-)
-
-diff --git a/dm/games/settings.tsv b/dm/games/settings.tsv
-index 00e1ddd1..abc665b0 100644
---- a/dm/games/settings.tsv
-+++ b/dm/games/settings.tsv
-@@ -21,6 +21,7 @@ DM_OPMODE choice 1=Docked,0=Handheld DM_GAME_OPMODE always Game Console mode le
- DM_PRESENT_UPSCALE choice off=Standard,metalfx=MetalFX off always Game Upscaling Uses more GPU time and can increase heat.
- DM_LANG choice languages build:DM_LANG languages>1 Game Game language level=basic
- DM_FULLSCREEN choice 0=Window,1=Fullscreen 0 platform:mac Game Display mode level=basic
-+DM_PICTURE_FIT choice fit=Fit,fill=Fill fit platform:ios Game Picture Fill crops the game's 16:9 picture to cover the screen. Health bars, subtitles or maps near the edges can be cut off. A full-screen picture without cropping needs a patch for each game.
- DM_SHOW_FPS toggle - build:DM_SHOW_FPS platform:ios Game Frame-rate counter
- DM_TOUCH_HAPTICS toggle - 1 platform:ios Controls Touch feedback
- DM_RUMBLE toggle - 1 always Controls Game rumble level=basic
-diff --git a/dm/ios/Sources/DmGamepad.m b/dm/ios/Sources/DmGamepad.m
-index 39ad3f28..9f517490 100644
---- a/dm/ios/Sources/DmGamepad.m
-+++ b/dm/ios/Sources/DmGamepad.m
-@@ -368,15 +368,14 @@ - (void)recompute {
- if (changed || stick || _stickShown) [self refresh]; // also refresh on the stick release so the knob returns to the centre
- _stickShown = stick;
- }
--// Touches no control takes go to the game's touch screen, normalized on front_ios.m's actual 16:9 viewport (including portrait and tabletop splits): Super Mario Galaxy's pointer in handheld mode (profile op_mode). The host reports them only in handheld mode, as on the Switch (hle_hid.c touch_read)
-+// Touches no control takes go to the game's touch screen, normalized on front_ios.m's actual 16:9 viewport (including portrait and tabletop splits, and the cropped Fill picture): Super Mario Galaxy's pointer in handheld mode (profile op_mode). The host reports them only in handheld mode, as on the Switch (hle_hid.c touch_read)
- - (void)pushGame {
-- CGRect b = _layout.game; CGFloat w = b.size.width, h = b.size.height;
-- if (w <= 0 || h <= 0) { dm_touch_set(NULL, 0); return; }
-- CGFloat x0 = CGRectGetMinX(b), y0 = CGRectGetMinY(b);
-+ CGRect b = _layout.game;
-+ if (b.size.width <= 0 || b.size.height <= 0) { dm_touch_set(NULL, 0); return; }
- dm_touch t[16]; int n = 0;
- for (int i = 0; i < 16; i++) if (_game[i]) {
-- CGPoint p = [_game[i] locationInView:self];
-- t[n++] = (dm_touch){(uint32_t)i, (float)fmin(fmax((p.x - x0) / w, 0), 0.999), (float)fmin(fmax((p.y - y0) / h, 0), 0.999)};
-+ CGPoint p = dm_game_touch_point(b, [_game[i] locationInView:self]); // with Fill the game rectangle is larger than the view (DmLayout.h)
-+ t[n++] = (dm_touch){(uint32_t)i, (float)p.x, (float)p.y};
- }
- dm_touch_set(t, n);
- }
-diff --git a/dm/ios/Sources/DmLayout.h b/dm/ios/Sources/DmLayout.h
-index 4b118d80..ad4498f5 100644
---- a/dm/ios/Sources/DmLayout.h
-+++ b/dm/ios/Sources/DmLayout.h
-@@ -17,6 +17,17 @@ static inline CGRect dm_aspect_fit(CGRect b) {
- return CGRectMake(floor(CGRectGetMidX(b) - w / 2), floor(CGRectGetMidY(b) - h / 2), w, h);
- }
-
-+// Picture "Fill" (DM_PICTURE_FIT=fill, a launcher setting): the smallest centered 16:9 rectangle that covers b. The game still renders 16:9,
-+// so what lies outside b is cropped, never stretched. Not rounded, so it covers b exactly.
-+static inline CGRect dm_aspect_fill(CGRect b) {
-+ CGFloat w = b.size.width, h = b.size.height;
-+ if (w <= 0 || h <= 0) return CGRectZero;
-+ if (w / h > 16.0 / 9.0) h = w * 9.0 / 16.0; else w = h * 16.0 / 9.0;
-+ return CGRectMake(CGRectGetMidX(b) - w / 2, CGRectGetMidY(b) - h / 2, w, h);
-+}
-+
-+static inline BOOL dm_picture_fill(const char *_Nullable value) { return value && !strcmp(value, "fill"); } // DM_PICTURE_FIT: fit (default) or fill
-+
- static inline CGRect dm_horizontal_division(CGRect b, CGRect division) {
- if (CGRectIsNull(division) || division.size.width <= division.size.height) return CGRectNull;
- // Preserve zero-height inactive folds and clip regions during display handoff.
-@@ -46,6 +57,21 @@ static inline DmLayout dm_layout(CGRect b, UIEdgeInsets insets, BOOL partiallyOp
- return l;
- }
-
-+// Fill covers the full view only in the overlay layout (landscape). A portrait or tabletop split keeps the picture fitted in its
-+// area above the controls, where cropping a small picture would cost more than the bars.
-+static inline DmLayout dm_layout_picture(DmLayout l, CGRect b, BOOL fill) {
-+ if (fill && !l.separated && !CGRectIsEmpty(b)) l.game = dm_aspect_fill(b);
-+ return l;
-+}
-+
-+// A point in the view as the game's touch screen sees it: normalized on the game rectangle, which with Fill is larger than the view,
-+// so a touch on the visible part lands where that part of the picture is. Clamped to [0, 0.999].
-+static inline CGPoint dm_game_touch_point(CGRect game, CGPoint p) {
-+ CGFloat w = game.size.width, h = game.size.height;
-+ if (w <= 0 || h <= 0) return CGPointZero;
-+ return CGPointMake(fmin(fmax((p.x - CGRectGetMinX(game)) / w, 0), 0.999), fmin(fmax((p.y - CGRectGetMinY(game)) / h, 0), 0.999));
-+}
-+
- UIView *dm_gamepad_view(CGRect frame);
- void dm_gamepad_arrange(UIView *view, DmLayout layout);
- void dm_gamepad_reset(void);
-diff --git a/dm/ios/Sources/front_ios.m b/dm/ios/Sources/front_ios.m
-index a50696ad..fa2e9066 100644
---- a/dm/ios/Sources/front_ios.m
-+++ b/dm/ios/Sources/front_ios.m
-@@ -89,6 +89,7 @@ @interface DmRootVC : UIViewController
- @property (nonatomic, strong) id tv; // the TV scene accessory's registration (iOS 27)
- @property (nonatomic) BOOL hasLauncher; // the app has a settings screen: a failed Play goes back to it (its Game data section is the way out)
- @property (nonatomic) BOOL partiallyOpen;
-+@property (nonatomic) BOOL fill; // DM_PICTURE_FIT=fill: the 16:9 picture covers the screen in landscape, cropped (DmLayout.h dm_layout_picture)
- @property (nonatomic) NSInteger hingeStatus;
- @property (nonatomic) BOOL separated;
- @property (nonatomic, copy) NSString *layoutLog;
-@@ -161,6 +162,9 @@ - (void)startGame {
- front_hud_env(); // before the process's first Metal device, which reads MTL_HUD_ENABLED (an env file's DM_METAL_HUD sets it in main.m already; GitHub issue #840)
- const char *dev = front_ios_device_check(); // that first device: a GPU without BC textures is refused here, not at launch, so the launcher's HUD switch counts
- if (dev) { [self showHint:[NSString stringWithFormat:@"This device is not supported.\n%s", dev]]; return; } // the host does not start
-+ self.fill = dm_picture_fill(getenv("DM_PICTURE_FIT"));
-+ if (self.fill) LOG("front end: picture Fill (DM_PICTURE_FIT=fill), the 16:9 picture covers the screen in landscape and its edges are cropped");
-+ self.view.clipsToBounds = YES; // with Fill the game view is larger than the screen
- self.game =[[DmGameView alloc] initWithFrame:self.view.bounds];
- [self.view addSubview:self.game];
- g_layer = (CAMetalLayer *)self.game.layer;
-@@ -193,7 +197,7 @@ - (void)viewDidLayoutSubviews {
- #endif
- BOOL duoPortrait = b.size.height > b.size.width && (self.hingeStatus != 0 || !CGRectIsNull(division));
- UIEdgeInsets gameInsets = dm_game_safe_insets(b, self.view.safeAreaInsets, duoPortrait);
-- DmLayout layout = dm_layout(b, gameInsets, self.partiallyOpen, division);
-+ DmLayout layout = dm_layout_picture(dm_layout(b, gameInsets, self.partiallyOpen, division), b, self.fill);
- if (self.game.superview == self.view) self.game.frame = layout.game; // on a TV the TV's view lays it out
- layout.topSafeOnly = duoPortrait;
- UIInterfaceOrientationMask appMask = [UIApplication.sharedApplication supportedInterfaceOrientationsForWindow:self.view.window];
-diff --git a/dm/ios/tests/duo/Sources/DuoRuntimeStubs.m b/dm/ios/tests/duo/Sources/DuoRuntimeStubs.m
-index f2d20722..1ce9255d 100644
---- a/dm/ios/tests/duo/Sources/DuoRuntimeStubs.m
-+++ b/dm/ios/tests/duo/Sources/DuoRuntimeStubs.m
-@@ -121,6 +121,7 @@ void dm_audio_reset(void) {}
- void dm_focus_set(int state) { (void)state; }
- void guest_clock_freeze_for(int reason, int on) { (void)reason; (void)on; }
- const char *front_ios_boot_message(void) { return NULL; }
-+const char *front_ios_device_check(void) { return NULL; }
- const char *front_ios_device_message(void) { return NULL; }
- int dm_locate_game_data(void) { return 1; }
- void dm_cloud_saves_env(void) {}
-diff --git a/dm/ios/tests/duo/Tests/DuoHarnessTests.m b/dm/ios/tests/duo/Tests/DuoHarnessTests.m
-index 271d44cc..f263ec86 100644
---- a/dm/ios/tests/duo/Tests/DuoHarnessTests.m
-+++ b/dm/ios/tests/duo/Tests/DuoHarnessTests.m
-@@ -393,6 +393,70 @@ - (void)testLandscapeControlAnchorsAndMultitouchKeepTheirExistingLayout {
- XCTAssertEqual(input.touch_count, 0);
- }
-
-+- (void)testPictureFillCoversTheLandscapeViewWithoutStretching {
-+ XCTAssertTrue(dm_picture_fill("fill"));
-+ XCTAssertFalse(dm_picture_fill("fit"));
-+ XCTAssertFalse(dm_picture_fill(NULL), @"Unset keeps Fit, today's picture");
-+ XCTAssertFalse(dm_picture_fill(""));
-+ const CGRect sizes[] = {CGRectMake(0, 0, 844, 390), CGRectMake(0, 0, 932, 430), CGRectMake(0, 0, 1024, 768), CGRectMake(0, 0, 1280, 720)};
-+ for (NSUInteger i = 0; i < 4; i++) {
-+ CGRect bounds = sizes[i];
-+ DmLayout fit = dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectNull);
-+ DmLayout fill = dm_layout_picture(fit, bounds, YES);
-+ XCTAssertTrue(CGRectEqualToRect(dm_layout_picture(fit, bounds, NO).game, fit.game), @"Fit leaves the layout as it was");
-+ XCTAssertFalse(fill.separated);
-+ XCTAssertTrue(CGRectEqualToRect(fill.controls, bounds), @"The touch controls keep the full view");
-+ XCTAssertEqualWithAccuracy(fill.game.size.width / fill.game.size.height, 16.0 / 9.0, 0.0001, @"Fill scales, never stretches");
-+ XCTAssertTrue(CGRectContainsRect(CGRectInset(fill.game, -0.001, -0.001), bounds), @"Fill covers the whole view");
-+ XCTAssertEqualWithAccuracy(CGRectGetMidX(fill.game), CGRectGetMidX(bounds), 0.001);
-+ XCTAssertEqualWithAccuracy(CGRectGetMidY(fill.game), CGRectGetMidY(bounds), 0.001);
-+ XCTAssertTrue(fill.game.size.width == bounds.size.width || fill.game.size.height == bounds.size.height,
-+ @"The smallest cover: one side matches the view");
-+ }
-+ CGRect wide = dm_aspect_fill(CGRectMake(0, 0, 844, 390));
-+ XCTAssertEqualWithAccuracy(wide.size.height, 474.75, 0.001);
-+ XCTAssertEqualWithAccuracy(CGRectGetMinY(wide), -42.375, 0.001, @"A wide iPhone crops the top and the bottom");
-+ CGRect pad = dm_aspect_fill(CGRectMake(0, 0, 1024, 768));
-+ XCTAssertEqualWithAccuracy(CGRectGetMinX(pad), -170.667, 0.001, @"A 4:3 iPad crops the sides");
-+ XCTAssertTrue(CGRectIsEmpty(dm_aspect_fill(CGRectZero)));
-+}
-+
-+- (void)testPictureFillKeepsPortraitAndTabletopSplitsFitted {
-+ CGRect portrait = CGRectMake(0, 0, 390, 844);
-+ DmLayout split = dm_layout(portrait, UIEdgeInsetsMake(59, 0, 34, 0), NO, CGRectNull);
-+ DmLayout filled = dm_layout_picture(split, portrait, YES);
-+ XCTAssertTrue(filled.separated);
-+ XCTAssertTrue(CGRectEqualToRect(filled.game, split.game), @"Portrait keeps the picture fitted above the controls");
-+ CGRect landscape = CGRectMake(0, 0, 844, 390);
-+ DmLayout tabletop = dm_layout(landscape, UIEdgeInsetsZero, YES, CGRectMake(0, 180, 844, 24));
-+ XCTAssertTrue(tabletop.separated);
-+ XCTAssertTrue(CGRectEqualToRect(dm_layout_picture(tabletop, landscape, YES).game, tabletop.game), @"Tabletop keeps the picture fitted in its half");
-+}
-+
-+- (void)testPictureFillTouchesFollowTheCroppedPicture {
-+ CGRect bounds = CGRectMake(0, 0, 844, 390);
-+ DmLayout layout = dm_layout_picture(dm_layout(bounds, UIEdgeInsetsZero, NO, CGRectNull), bounds, YES);
-+ CGPoint top = dm_game_touch_point(layout.game, CGPointMake(422, 0));
-+ XCTAssertEqualWithAccuracy(top.x, 0.5, 0.001);
-+ XCTAssertEqualWithAccuracy(top.y, 42.375 / 474.75, 0.001, @"The view's top edge is below the cropped top of the picture");
-+ CGPoint bottom = dm_game_touch_point(layout.game, CGPointMake(0, 390));
-+ XCTAssertEqualWithAccuracy(bottom.x, 0, 0.001);
-+ XCTAssertEqualWithAccuracy(bottom.y, (390 + 42.375) / 474.75, 0.001);
-+ CGPoint outside = dm_game_touch_point(layout.game, CGPointMake(-50, 900));
-+ XCTAssertEqualWithAccuracy(outside.x, 0, 0.0001);
-+ XCTAssertEqualWithAccuracy(outside.y, 0.999, 0.0001);
-+
-+ UIView *pad = [self padForLayout:layout bounds:bounds];
-+ DuoFakeTouch *game = [self touchAt:CGPointMake(300, 150) time:1];
-+ [self beginTouches:@[game] onPad:pad];
-+ DuoHarnessInput input = duo_harness_input();
-+ XCTAssertEqual(input.touch_count, 1, @"A touch on no control goes to the game");
-+ XCTAssertEqualWithAccuracy(input.touches[0].x, 300 / 844.0, 0.001);
-+ XCTAssertEqualWithAccuracy(input.touches[0].y, (150 + 42.375) / 474.75, 0.001, @"Normalized on the scaled picture, not the view");
-+ [self endTouches:@[game] onPad:pad cancelled:NO];
-+ XCTAssertEqual(duo_harness_input().touch_count, 0);
-+}
-+
- - (void)testSmallSeparatedHitTargetsMeetMinimumsWithoutGrowingArtwork {
- CGRect bounds = CGRectMake(0, 0, 390, 844);
- DmLayout layout = [self separatedLayout:bounds];
-diff --git a/dm/tools/tests/test_launcher_settings.py b/dm/tools/tests/test_launcher_settings.py
-index cd43d2d7..12ec7221 100644
---- a/dm/tools/tests/test_launcher_settings.py
-+++ b/dm/tools/tests/test_launcher_settings.py
-@@ -62,7 +62,7 @@ class LauncherSettingsTests(unittest.TestCase):
- def test_iphone_switches_only_on_the_iphone(self): # the frame-rate counter and touch feedback are the iOS front end's (front_ios.m, DmGamepad.m)
- ios, mac = build(BOTW, 'nvn'), build(BOTW, 'nvn', 'mac')
- self.assertEqual(build(BOTW, 'nvn', 'ios').keys(), ios.keys()) # ios when unset
-- self.assertEqual(set(ios) - set(mac), {'DM_SHOW_FPS', 'DM_TOUCH_HAPTICS'})
-+ self.assertEqual(set(ios) - set(mac), {'DM_SHOW_FPS', 'DM_TOUCH_HAPTICS', 'DM_PICTURE_FIT'})
- self.assertIn('DM_RUMBLE', mac); self.assertIn('DM_METAL_HUD', mac)
- self.assertEqual(set(mac) - set(ios), {'DM_FULLSCREEN'}) # the Mac window's Display mode (front_mac.m reads 1 or 0)
- s = mac['DM_FULLSCREEN']
-diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
-index e594a57a..db980663 100644
---- a/docs/env_switches.tsv
-+++ b/docs/env_switches.tsv
-@@ -212,6 +212,7 @@ DM_PAD_MAP player Mac controllers: `<name>=<name>,…` makes the button that sen
- DM_PAD_MERGE switch `=1` merges every controller into player 1, as before, instead of giving each controller a player of its own (Mac and iOS)
- DM_PATCH_FRONT switch `=<bytes>`: the size of the patch area right before the module base for a long text (`BIG_TEXT`); set only by the rewriter's own rerun with the size it needs
- DM_PHONE_MOTION switch On iOS, whether the phone's own device motion drives player 1's six-axis sensor: `auto` (default) while no controller supplies fresh motion, `1` phone only, `0` never; each source keeps its own orientation
-+DM_PICTURE_FIT player `fill` scales the 16:9 picture on the iPhone and iPad until it covers the screen in landscape and crops the edges (a portrait or tabletop split stays fitted); `fit` or unset, the largest 16:9 rectangle with black bars. Launcher setting
- DM_PREEMPT switch `0` / `1` overrides the profile's `core_preempt`: also check already-runnable higher-priority peers on the caller's core after every thread SVC
- DM_PRELOAD diagnostic Set: on the Mac, runs the host's early background loading (`dm_host_preload_start`) as the iOS app does, to exercise that path
- DM_PRESENT_FIFO switch `0` makes the display link take the newest queued frame each tick, as before; by default it shows frames in order, at most one tick behind
-diff --git a/docs/settings.md b/docs/settings.md
-index 0f992d4c..d9a79493 100644
---- a/docs/settings.md
-+++ b/docs/settings.md
-@@ -223,6 +223,7 @@ A line like `DM_PRESENT_SNAP=0` in `Documents/env.txt` (in the Files app, under
- | Game language | `DM_LANG` | a language code, such as `ja` |
- | Display mode (Mac) | `DM_FULLSCREEN` | `1` fullscreen, `0` a window |
- | Cloud saves folder (Mac) | `DM_SAVE_SYNC` | a folder; `icloud`: iCloud Drive › nxnative Saves; `0`: off |
-+| Picture (iPhone and iPad) | `DM_PICTURE_FIT` | `fit` 16:9 with black bars, `fill` covers the screen, cropped |
- | Frame-rate counter | `DM_SHOW_FPS` | `1`, `0` |
- | Touch feedback | `DM_TOUCH_HAPTICS` | `1`, `0` |
- | Game rumble | `DM_RUMBLE` | `1`, `0` |
diff --git a/patches/0064-mac-host-quit-a-game-by-holding-the-controller-s.patch b/patches/0064-mac-host-quit-a-game-by-holding-the-controller-s.patch
deleted file mode 100644
index de0fde7e..00000000
--- a/patches/0064-mac-host-quit-a-game-by-holding-the-controller-s.patch
+++ /dev/null
@@ -1,716 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: v0lumehi <[email protected]>
-Date: Tue, 3 Nov 2026 15:26:49 +0100
-Subject: [PATCH] Mac host: quit a game by holding the controller's Home button
- (macOS 27)
-
-Quitting a game on the Mac needed Cmd+Q, so a keyboard had to be close.
-Holding Home (the logo button on Xbox and PlayStation pads) for 2 seconds
-now opens a quit prompt over the game. A quits through the same path as
-Cmd+Q (NSApp terminate), B or a new press of Home closes it. Letting go
-before 2 seconds does nothing, and a small indicator at the top fills up
-while Home is held. While the prompt is open the game gets no controller
-input and is told it lost the focus, as the Switch's HOME menu does.
-
-The host already claims Home with preferredSystemGestureState. macOS 27
-respects that when the Home button setting for apps lets the app decide,
-macOS 26 makes no promise, so the hold works on macOS 27 only and Cmd+Q
-stays the way on macOS 26. DM_HOME_QUIT=0 turns it off. On macOS 27 the
-log names the setting once (GCControllerHomeButtonSettingsManager), so a
-launcher can tell the player when the system keeps Home for itself.
-DM_HOME_QUIT_TEXT carries the texts in the player's language.
-
-The state machine (home_quit.h) and the views (home_quit_mac.h) are
-tested without a controller or a window (t_home_quit, t_home_quit_mac).
-
-Upstream-Status: forwarded seedds/nxnative#1084
-Reason: Quit a game with the controller's Home button on macOS 27, the launcher's console mode needs it (#336)
-Issue: LNPANDY/NX2Apple#336
----
- dm/host/Makefile | 2 +-
- dm/host/front_mac.m | 130 ++++++++++++++++++++++++++++++--
- dm/host/home_quit.h | 93 +++++++++++++++++++++++
- dm/host/home_quit_mac.h | 110 +++++++++++++++++++++++++++
- dm/host/tests/Makefile | 7 ++
- dm/host/tests/t_home_quit.c | 87 +++++++++++++++++++++
- dm/host/tests/t_home_quit_mac.m | 107 ++++++++++++++++++++++++++
- docs/env_switches.tsv | 3 +
- 8 files changed, 533 insertions(+), 6 deletions(-)
- create mode 100644 dm/host/home_quit.h
- create mode 100644 dm/host/home_quit_mac.h
- create mode 100644 dm/host/tests/t_home_quit.c
- create mode 100644 dm/host/tests/t_home_quit_mac.m
-
-diff --git a/dm/host/Makefile b/dm/host/Makefile
-index 889c0f1..1da1eb9 100644
---- a/dm/host/Makefile
-+++ b/dm/host/Makefile
-@@ -76,7 +76,7 @@ endif
- endif
- .PHONY: FORCE
- FORCE:
--dmhost: $(SRC) $(GFX) ../third_party/stb_vorbis/stb_vorbis.c dm.h hle.h romfs_image.h save_sync.h dm_input.h pad_slots.h hle_haptics.h haptics_apple.h motion_fusion.h motion_apple.h motion_pro.h motion_pro_mac.h pad_apple.h pad_hid.h pad_hid_mac.h front.h $(GFX_H) $(GAME_H) $(GAME_STAMP) $(VPX_LIB) $(DAV1D_LIB) $(MSL_H)
-+dmhost: $(SRC) $(GFX) ../third_party/stb_vorbis/stb_vorbis.c dm.h hle.h romfs_image.h save_sync.h dm_input.h pad_slots.h hle_haptics.h haptics_apple.h motion_fusion.h motion_apple.h motion_pro.h motion_pro_mac.h pad_apple.h pad_hid.h pad_hid_mac.h home_quit.h home_quit_mac.h front.h $(GFX_H) $(GAME_H) $(GAME_STAMP) $(VPX_LIB) $(DAV1D_LIB) $(MSL_H)
- clang $(CFLAGS) -I../gfx/nvn/include -I$(dir $(MSL_H)) -I../third_party/vulkan-headers/include -I$(dir $(GAME_H)) -I$(VPX) -I$(DAV1D)/include -I../third_party/stb_vorbis -fobjc-arc -o $@ $(SRC) $(GFX) $(VPX_LIB) $(DAV1D_LIB) -framework Cocoa -framework QuartzCore -framework Metal -framework MetalFX -framework GameController -framework CoreHaptics -framework IOKit -framework AudioToolbox -framework VideoToolbox -framework CoreMedia -framework CoreVideo -framework ImageIO -framework UniformTypeIdentifiers
- clean: # the host and everything make generates for it (gen/: the profile headers, the game stamp and the libvpx and dav1d builds; dmhost_* and *.dSYM beside them, as in .gitignore)
- rm -rf gen dmhost dmhost_* *.dSYM
-diff --git a/dm/host/front_mac.m b/dm/host/front_mac.m
-index 525765e..3c1ca78 100644
---- a/dm/host/front_mac.m
-+++ b/dm/host/front_mac.m
-@@ -1,6 +1,7 @@
- // Mac front end: with DM_WINDOW=1 open a window (CAMetalLayer, for the graphics backend to present frames) + keyboard and controllers → dm_input; the guest runs on a large-stack thread instead and the main thread belongs to AppKit.
- // Without DM_WINDOW: the guest runs directly on the current thread, behaving the same as with no front end (windowless tests use this).
--// The window is fullscreen-capable (the green button and ⌃⌘F); DM_FULLSCREEN=1 starts it that way. ⌘Q quits; the left mouse button is the touchscreen.
-+// The window is fullscreen-capable (the green button and ⌃⌘F); DM_FULLSCREEN=1 starts it that way. ⌘Q quits, and on macOS 27 so does a controller's Home button held for 2 s and
-+// confirmed with A (home_quit.h); the left mouse button is the touchscreen.
- // Cheats (hle_cheats.c): the Cheats menu's rows toggle, reload (⌘R) and open the cheats folder; its first item "Show Cheats
- // Window" (⌘⇧C, or DM_CHEATS_WINDOW=1 at launch) opens a Cheats panel beside the game: sections, search, the master switch,
- // safe mode, values, details and the import of cheat files (see the code below).
-@@ -24,6 +25,8 @@
- #include "motion_pro_mac.h"
- #include "pad_apple.h"
- #include "pad_hid_mac.h"
-+#include "home_quit.h"
-+#include "home_quit_mac.h"
- #include <signal.h>
- #include <math.h>
- #include <sys/stat.h>
-@@ -150,8 +153,11 @@ static void pad_set(int p, uint64_t m, int32_t lx, int32_t ly, int32_t rx, int32
- if (m || abs(lx) > dead || abs(ly) > dead || abs(rx) > dead || abs(ry) > dead) cursor_hide_for_input();
- dm_pad_set_player(p, m, lx, ly, rx, ry);
- }
-+static void hq_poll(void);
-+static home_quit g_hq; // the Home button's hold and quit prompt (home_quit.h): while the prompt is open the controllers' input goes to it, not to the game
- static void pad_read(GCExtendedGamepad *g) {
- if (!g_input_on) return;
-+ hq_poll(); if (hq_blocks_input(g_hq.phase)) return;
- int p = g_merge ? 0 : pad_slot_of(&g_slots, (__bridge const void *)g.controller); if (p < 0) return;
- dm_haptics_apple_controller(p, g.controller);
- uint64_t m = dm_pad_face(g); // by position, a Nintendo pad by its labels
-@@ -162,8 +168,12 @@ static void pad_read(GCExtendedGamepad *g) {
- #undef K
- pad_set(p, m, pad_axis(g.leftThumbstick.xAxis.value), pad_axis(g.leftThumbstick.yAxis.value), pad_axis(g.rightThumbstick.xAxis.value), pad_axis(g.rightThumbstick.yAxis.value));
- }
--// Home and Capture: without this macOS takes them as system gestures (Home opens the Games app); the host gives them no function
--static void pad_keep_system_buttons(GCController *c) { for (NSString *b in @[GCInputButtonHome, GCInputButtonShare]) c.physicalInputProfile.buttons[b].preferredSystemGestureState = GCSystemGestureStateDisabled; }
-+// Home and Capture: without this macOS takes them as system gestures (Home opens the Games app). Capture has no function in the host, Home quits when it is held (hq_poll).
-+// macOS 27 respects the claim when the Home button setting for apps lets the app decide (hq_log_setting names it in the log), macOS 26 does not promise it
-+static void pad_keep_system_buttons(GCController *c) {
-+ for (NSString *b in @[GCInputButtonHome, GCInputButtonShare]) c.physicalInputProfile.buttons[b].preferredSystemGestureState = GCSystemGestureStateDisabled;
-+ c.extendedGamepad.buttonHome.pressedChangedHandler = ^(GCControllerButtonInput *b, float v, BOOL down) { (void)b; (void)v; (void)down; if (g_input_on) hq_poll(); };
-+}
- static const char *pad_name(GCController *c) { return c.vendorName.UTF8String ?: "?"; }
- static void npad_name(int p, char *out, size_t cap) { uint32_t id = dm_player_npad(p); if (id == 0x20) snprintf(out, cap, "handheld"); else snprintf(out, cap, "%u", id); }
- static void pro_players_changed(GCController *gone) {
-@@ -228,7 +238,9 @@ static void display_awake(int on) {
- // stay pressed in the game. The front end releases only what it pressed itself: scripted buttons and sticks have their own path, and the touch is also DM_KEYS / DM_CTL's (hle_hid.c).
- // Out of focus a controller's changes are ignored, so back in focus each controller is read as it is now (a button still held, a stick still deflected)
- static int g_mouse_down; // the mouse holds the touch (DmGameView)
-+static void hq_close(void);
- static void input_release(void) {
-+ hq_close(); // the prompt or the hold indicator, if one is up: the Games app the system opens for Home takes the focus too
- [NSCursor setHiddenUntilMouseMoves:NO];
- display_awake(0);
- g_input_on = 0;
-@@ -249,7 +261,7 @@ static void input_resume(void) {
- }
- // Raw HID gamepads (pad_hid_mac.h): a player slot each, as a GameController controller, named by the device's product name
- static void hidpad_read(hid_pad *d) {
-- if (!g_input_on) return;
-+ if (!g_input_on || hq_blocks_input(g_hq.phase)) return;
- int p = g_merge ? 0 : pad_slot_of(&g_slots, d); if (p < 0) return;
- int32_t s[4]; pad_hid_sticks(&d->st, s);
- pad_set(p, pad_hid_buttons(&d->st), s[0], s[1], s[2], s[3]);
-@@ -272,6 +284,111 @@ static void hidpad_detach(hid_pad *d) { // d is already off g_hidpads
- dm_pad_set_player(p, 0, 0, 0, 0, 0); // nothing stays pressed
- dm_pad_players(pad_slot_mask(&g_slots));
- }
-+// Quit with the Home button (home_quit.h, LNPANDY/NX2Apple#336): held for 2 s it opens the prompt (home_quit_mac.h) over the game's view, A quits through the same path as ⌘Q
-+// (NSApp terminate, so the save writer and the other exit handlers run as there), B or Home closes it. While the prompt is open the game is told it lost the focus, as the
-+// Switch's HOME menu does, and gets no controller input; the keyboard and ⌘Q work as always. macOS 27 only (hq_enabled), DM_HOME_QUIT=0 turns it off
-+static int g_hq_on;
-+static NSTimer *g_hq_timer; // while Home is held: the time runs on without a button change
-+static NSView *g_hq_hold, *g_hq_prompt; static CAShapeLayer *g_hq_ring;
-+static char g_hq_text[HQ_TEXTS][256];
-+static void hq_start(void) {
-+ int on27 = 0;
-+ if (@available(macOS 27.0, *)) on27 = 1;
-+ g_hq_on = hq_enabled(on27, getenv("DM_HOME_QUIT"));
-+ char title[256]; snprintf(title, sizeof title, "Quit %s?", dm_profile()->name);
-+ const char *def[HQ_TEXTS] = {"Keep holding to quit", title, "Unsaved progress will be lost.", "Quit", "Cancel"};
-+ const char *text = getenv("DM_HOME_QUIT_TEXT"); // the launcher's, in the player's language: one line per text, in home_quit.h's order
-+ for (int i = 0; i < HQ_TEXTS; i++) hq_text_line(text, i, def[i], g_hq_text[i], sizeof g_hq_text[i]);
-+ LOG("front end: hold the Home button to quit %s", g_hq_on ? "is on" : on27 ? "is off (DM_HOME_QUIT=0)" : "needs macOS 27, quit with ⌘Q");
-+}
-+// The Home button setting for apps, once, when the first controller is there (GameController reads it only while one is connected). The launcher reads this line from the
-+// game's log and shows its hint when the system keeps Home for itself ("system")
-+static void hq_log_setting(void) {
-+#if defined(__MAC_27_0)
-+ if (@available(macOS 27.0, *)) {
-+ static int done; if (done) return;
-+ int any = 0; for (GCController *c in GCController.controllers) if (c.extendedGamepad) any = 1;
-+ if (!any) return;
-+ done = 1;
-+ GCControllerHomeButtonSettingCustomizationStatus by = GCControllerHomeButtonSettingCustomizationDefault; NSError *err = nil;
-+ GCControllerHomeButtonSettingInAppAction v = [[GCControllerHomeButtonSettingsManager new] readControllerHomeButtonInAppAction:&by withError:&err];
-+ LOG("front end: Home button in apps: %s (%s)%s%s", hq_in_app_name((long)v), by == GCControllerHomeButtonSettingCustomizationUser ? "set by the player" : "the system's default",
-+ err ? ", " : "", err ? err.localizedDescription.UTF8String : "");
-+ }
-+#endif
-+}
-+static void hq_buttons(int *home, int *a, int *b, GCController **holder) {
-+ *home = *a = *b = 0;
-+ for (GCController *c in GCController.controllers) {
-+ GCExtendedGamepad *g = c.extendedGamepad; if (!g) continue;
-+ if (g.buttonHome.isPressed) { *home = 1; if (!*holder) *holder = c; }
-+ *a |= g.buttonA.isPressed; *b |= g.buttonB.isPressed;
-+ }
-+}
-+static void hq_fade(NSView *v, int in) {
-+ if (!v) return;
-+ if (in) v.alphaValue = 0;
-+ [NSAnimationContext runAnimationGroup:^(NSAnimationContext *ctx) { ctx.duration = 0.18; v.animator.alphaValue = in ? 1 : 0; }
-+ completionHandler:^{ if (!in) [v removeFromSuperview]; }];
-+}
-+static void hq_hide_hold(void) { [g_hq_timer invalidate]; g_hq_timer = nil; [g_hq_hold removeFromSuperview]; g_hq_hold = nil; g_hq_ring = nil; }
-+static void hq_hide_prompt(void) { hq_fade(g_hq_prompt, 0); g_hq_prompt = nil; }
-+static void hq_changed(hq_phase was, hq_phase now, GCController *holder) {
-+ if (was == HQ_HOLDING) hq_hide_hold();
-+ NSView *cv = g_win.contentView;
-+ switch (now) {
-+ case HQ_HOLDING:
-+ g_hq_timer = [NSTimer scheduledTimerWithTimeInterval:1.0 / 60 repeats:YES block:^(NSTimer *t) { (void)t; hq_poll(); }];
-+ break;
-+ case HQ_PROMPT: {
-+ // nothing the game held stays pressed while the prompt has the controllers (as input_release)
-+ if (g_merge) { if (merge_pads_left(nil)) dm_pad_set(0, 0, 0, 0, 0); }
-+ else for (int p = 0; p < DM_PLAYERS; p++) if (g_held[p]) dm_pad_set_player(p, 0, 0, 0, 0, 0);
-+ for (hid_pad *d = g_hidpads; d; d = d->next) { int p = g_merge ? -1 : pad_slot_of(&g_slots, d); if (p >= 0) dm_pad_set_player(p, 0, 0, 0, 0, 0); }
-+ dm_focus_set(2);
-+ GCExtendedGamepad *g = holder.extendedGamepad;
-+ g_hq_prompt = hq_prompt_view(cv.bounds, @(g_hq_text[HQ_TEXT_TITLE]), @(g_hq_text[HQ_TEXT_NOTE]), @(g_hq_text[HQ_TEXT_QUIT]), @(g_hq_text[HQ_TEXT_CANCEL]),
-+ g.buttonA.sfSymbolsName, g.buttonB.sfSymbolsName);
-+ [cv addSubview:g_hq_prompt]; hq_fade(g_hq_prompt, 1);
-+ LOG("front end: Home held, quit prompt open");
-+ break;
-+ }
-+ case HQ_SETTLE:
-+ hq_hide_prompt(); dm_focus_set(1);
-+ LOG("front end: quit prompt closed, the game goes on");
-+ break;
-+ case HQ_IDLE:
-+ if (was == HQ_SETTLE) { // the game reads the controllers again, as they are now
-+ if (g_merge) { for (GCController *c in GCController.controllers) if (c.extendedGamepad) pad_read(c.extendedGamepad); }
-+ else for (int p = 0; p < DM_PLAYERS; p++) if (g_held[p].extendedGamepad) pad_read(g_held[p].extendedGamepad);
-+ for (hid_pad *d = g_hidpads; d; d = d->next) hidpad_read(d);
-+ }
-+ break;
-+ case HQ_QUIT:
-+ LOG("front end: quit from the Home button prompt");
-+ [NSApp terminate:nil]; // as ⌘Q
-+ break;
-+ }
-+}
-+static void hq_poll(void) {
-+ static int busy; if (!g_hq_on || !g_win || busy) return;
-+ busy = 1;
-+ int home, a, b; GCController *holder = nil; hq_buttons(&home, &a, &b, &holder);
-+ double now = CACurrentMediaTime();
-+ hq_phase was = g_hq.phase, ph = hq_step(&g_hq, now, home, a, b);
-+ if (ph != was) hq_changed(was, ph, holder);
-+ double fill = hq_ring(&g_hq, now);
-+ if (fill >= 0) {
-+ if (!g_hq_hold) { NSView *cv = g_win.contentView; CAShapeLayer *ring = nil; g_hq_hold = hq_hold_view(cv.bounds, @(g_hq_text[HQ_TEXT_HOLD]), &ring); g_hq_ring = ring; [cv addSubview:g_hq_hold]; hq_fade(g_hq_hold, 1); }
-+ hq_hold_set(g_hq_ring, fill);
-+ }
-+ busy = 0;
-+}
-+static void hq_close(void) {
-+ if (g_hq.phase == HQ_IDLE || g_hq.phase == HQ_QUIT) return;
-+ if (g_hq.phase == HQ_PROMPT) LOG("front end: quit prompt closed, the window lost the focus");
-+ hq_cancel(&g_hq); hq_hide_hold(); hq_hide_prompt();
-+}
- static void pads_start(void) {
- key_map_default(&g_keys); pad_map_default(&g_padmap);
- const char *km = getenv("DM_KEYMAP"), *pm = getenv("DM_PAD_MAP");
-@@ -283,7 +400,9 @@ static void pads_start(void) {
- if (g_kbd_own) pad_slot_take(&g_slots, &kbd, "keyboard"); // holds player 1 for good
- LOG("front end: %s", g_merge ? "every controller is player 1 (DM_PAD_MERGE)" : g_kbd_own ? "the keyboard is player 1, each controller a player of its own from player 2 on (DM_KBD_PLAYER=own)"
- : "each controller is a player of its own, the keyboard plays with player 1");
-+ hq_start();
- pads_changed(nil);
-+ hq_log_setting();
- dm_motion_pro_start(pro_devices_changed);
- hidpad_start();
- }
-@@ -1295,7 +1414,8 @@ void front_run(void (*guest)(void)) {
- [NSNotificationCenter.defaultCenter addObserverForName:nm object:nil queue:NSOperationQueue.mainQueue usingBlock:^(NSNotification *n) {
- GCController *c = n.object; int conn = n.name == GCControllerDidConnectNotification;
- if (!c.extendedGamepad || g_merge) LOG("controller %s: %s%s", conn ? "connected" : "disconnected", pad_name(c), c.extendedGamepad ? "" : " (no extended gamepad profile: not used)");
-- pads_changed(conn ? nil : c); }];
-+ pads_changed(conn ? nil : c);
-+ if (conn) hq_log_setting(); }];
- dm_haptics_apple_init();
- pads_start();
- [NSEvent addLocalMonitorForEventsMatchingMask:NSEventMaskKeyDown | NSEventMaskKeyUp handler:^NSEvent *(NSEvent *e) {
-diff --git a/dm/host/home_quit.h b/dm/host/home_quit.h
-new file mode 100644
-index 0000000..9a92182
---- /dev/null
-+++ b/dm/host/home_quit.h
-@@ -0,0 +1,93 @@
-+// Quit with the Home button (Mac front end, front_mac.m; LNPANDY/NX2Apple#336). Holding Home (the logo button on Xbox and PlayStation pads) for HQ_HOLD_S seconds opens a
-+// "Quit?" prompt over the game: A quits (the same exit as ⌘Q), B or a new press of Home closes it. Letting go of Home before the time is up does nothing. A and B are
-+// GameController's buttonA and buttonB, as the launcher's console mode reads them (by label: the bottom button on an Xbox or PlayStation pad, the one printed A on a
-+// Nintendo pad), not the Switch buttons the game gets. Pure, so tests/t_home_quit.c checks it without a controller or a window.
-+//
-+// macOS 27 only (hq_enabled): there the system respects the game's claim on Home (preferredSystemGestureState = GCSystemGestureStateDisabled, which pad_keep_system_buttons
-+// sets on every pad) when the Home button setting for apps lets the app decide. macOS 26 makes no such promise, so the hold does nothing there and ⌘Q stays the way to quit.
-+// DM_HOME_QUIT=0 turns it off. The launcher passes the texts in the player's language as DM_HOME_QUIT_TEXT (hq_text_line), English otherwise.
-+#pragma once
-+#include <stddef.h>
-+#include <stdio.h>
-+#include <string.h>
-+
-+#define HQ_HOLD_S 2.0 // how long Home is held before the prompt opens
-+#define HQ_RING_S 0.3 // the hold indicator shows only after this, so a short press shows nothing
-+
-+typedef enum {
-+ HQ_IDLE, // nothing shown, the game has its input
-+ HQ_HOLDING, // Home is held: the indicator fills up
-+ HQ_PROMPT, // the prompt is open: the game gets no controller input
-+ HQ_SETTLE, // the prompt was closed: the game gets controller input again once Home, A and B are all up, so the B that closed it never reaches the game
-+ HQ_QUIT, // A was pressed in the prompt: the front end quits (final)
-+} hq_phase;
-+
-+typedef struct {
-+ hq_phase phase;
-+ double since; // when the hold started (seconds, any clock that only goes forward)
-+ int home; // Home was down at the last step (a press is a change from up to down)
-+ int a_up, b_up; // A and B have been up since the prompt opened: a button already held when it opens does not count
-+} home_quit;
-+
-+// Whether the hold does anything: on macOS 27 or later unless DM_HOME_QUIT=0 (env: its value, NULL when unset)
-+static inline int hq_enabled(int macos27, const char *env) { return macos27 && !(env && !strcmp(env, "0")); }
-+
-+// One step with the buttons as they are now (pressed on any controller) at time now. Called on every change of a button and, while Home is held, from a timer.
-+static inline hq_phase hq_step(home_quit *q, double now, int home, int a, int b) {
-+ int pressed = home && !q->home;
-+ q->home = home;
-+ switch (q->phase) {
-+ case HQ_IDLE:
-+ if (pressed) { q->phase = HQ_HOLDING; q->since = now; }
-+ break;
-+ case HQ_HOLDING:
-+ if (!home) q->phase = HQ_IDLE; // let go too early
-+ else if (now - q->since >= HQ_HOLD_S) { q->phase = HQ_PROMPT; q->a_up = !a; q->b_up = !b; }
-+ break;
-+ case HQ_PROMPT:
-+ if (!a) q->a_up = 1;
-+ if (!b) q->b_up = 1;
-+ if ((b && q->b_up) || pressed) q->phase = HQ_SETTLE; // B or Home closes it; with A and B at once the safe one wins
-+ else if (a && q->a_up) q->phase = HQ_QUIT;
-+ break;
-+ case HQ_SETTLE:
-+ if (!home && !a && !b) q->phase = HQ_IDLE;
-+ break;
-+ case HQ_QUIT:
-+ break;
-+ }
-+ return q->phase;
-+}
-+
-+// The window lost focus (another app, the Games app the system opened for Home): whatever was shown closes. A Home still held needs a new press
-+static inline void hq_cancel(home_quit *q) { if (q->phase != HQ_QUIT) { q->phase = HQ_IDLE; q->home = 1; } }
-+
-+// The game gets no controller input in these phases
-+static inline int hq_blocks_input(hq_phase p) { return p == HQ_PROMPT || p == HQ_SETTLE || p == HQ_QUIT; }
-+
-+// How full the hold indicator is (0 to 1), -1 while it is not shown
-+static inline double hq_ring(const home_quit *q, double now) {
-+ if (q->phase != HQ_HOLDING) return -1;
-+ double t = (now - q->since - HQ_RING_S) / (HQ_HOLD_S - HQ_RING_S);
-+ return t < 0 ? -1 : t > 1 ? 1 : t;
-+}
-+
-+// The texts, in this order, one per line of DM_HOME_QUIT_TEXT: the hold indicator, the prompt's title, its note, the quit button, the cancel button
-+enum { HQ_TEXT_HOLD, HQ_TEXT_TITLE, HQ_TEXT_NOTE, HQ_TEXT_QUIT, HQ_TEXT_CANCEL, HQ_TEXTS };
-+// Line i of text into out; an empty or missing line (or no text) gives def. The title's default has the game's name: def is the caller's
-+static inline void hq_text_line(const char *text, int i, const char *def, char *out, size_t cap) {
-+ const char *s = text;
-+ for (int k = 0; s && k < i; k++) { s = strchr(s, '\n'); if (s) s++; }
-+ size_t n = 0;
-+ if (s) { const char *e = strchr(s, '\n'); n = e ? (size_t)(e - s) : strlen(s); }
-+ if (!n) { snprintf(out, cap, "%s", def); return; }
-+ if (n >= cap) n = cap - 1;
-+ memcpy(out, s, n); out[n] = 0;
-+}
-+
-+// GameController's Home button setting for apps (GCControllerHomeButtonSettingInAppAction, macOS 27) as the word the log line names it by:
-+// "system" (the system keeps Home whatever the app asks: the launcher shows its hint), "app" (the app decides), "off" (the system does nothing with Home in apps),
-+// "unavailable" (could not be read)
-+static inline const char *hq_in_app_name(long v) {
-+ return v == 0 ? "system" : v == 1 ? "app" : v == -1 ? "unavailable" : v > 1 ? "off" : "unavailable";
-+}
-diff --git a/dm/host/home_quit_mac.h b/dm/host/home_quit_mac.h
-new file mode 100644
-index 0000000..9904584
---- /dev/null
-+++ b/dm/host/home_quit_mac.h
-@@ -0,0 +1,110 @@
-+// The views of the Home button's quit prompt (home_quit.h), drawn over the game's view by front_mac.m: AppKit views, so they draw while the game runs, and built here
-+// alone so tests/t_home_quit_mac.m can build and draw them without a window or a controller. The look is the launcher's console mode: its dark surface and cream
-+// accent, the primary action as a cream pill with the controller's own button glyph. Sizes follow the view's height, so the prompt reads from a couch on a TV and
-+// stays in proportion in a small window.
-+#pragma once
-+#import <Cocoa/Cocoa.h>
-+#import <QuartzCore/QuartzCore.h>
-+
-+static NSColor *hq_color(double r, double g, double b, double a) { return [NSColor colorWithSRGBRed:r green:g blue:b alpha:a]; }
-+#define HQ_BACKGROUND hq_color(0.055, 0.055, 0.06, 1) // LauncherPalette.background
-+#define HQ_SURFACE hq_color(0.10, 0.10, 0.11, 1) // LauncherPalette.surface
-+#define HQ_CREAM hq_color(1, 0.94, 0.84, 1) // LauncherPalette.cream
-+
-+// Points per point of a 720-high view, between 1 and 2
-+static CGFloat hq_scale(NSSize s) { CGFloat k = s.height / 720; return k < 1 ? 1 : k > 2 ? 2 : k; }
-+
-+static NSTextField *hq_label(NSString *text, CGFloat size, NSFontWeight w, NSColor *c, int wrap) {
-+ NSTextField *t = wrap ? [NSTextField wrappingLabelWithString:text] : [NSTextField labelWithString:text];
-+ t.font = [NSFont systemFontOfSize:size weight:w]; t.textColor = c; t.alignment = NSTextAlignmentCenter;
-+ t.translatesAutoresizingMaskIntoConstraints = NO;
-+ return t;
-+}
-+// A controller button's glyph: the symbol the controller reports for it, else a plain letter in a circle
-+static NSImageView *hq_glyph(NSString *symbol, NSString *fallback, CGFloat size, NSColor *c) {
-+ NSImage *img = symbol ? [NSImage imageWithSystemSymbolName:symbol accessibilityDescription:nil] : nil;
-+ if (!img) img = [NSImage imageWithSystemSymbolName:fallback accessibilityDescription:nil];
-+ img = [img imageWithSymbolConfiguration:[NSImageSymbolConfiguration configurationWithPointSize:size weight:NSFontWeightMedium]];
-+ NSImageView *v = [NSImageView imageViewWithImage:img ?: [NSImage new]];
-+ v.contentTintColor = c; v.translatesAutoresizingMaskIntoConstraints = NO;
-+ return v;
-+}
-+// Every action is this wide (points at a 720-high view), whatever its label and language: the longest of the launcher's six languages
-+// ("Abbrechen", "Annuler") fits at full size, and a longer label gets a smaller font, then is cut, so the pills never change width
-+#define HQ_ACTION_W 220
-+// The font size that fits text into room on one line: size, or smaller down to 70 % of it
-+static CGFloat hq_fit(NSString *text, CGFloat size, CGFloat room) {
-+ CGFloat w = [text sizeWithAttributes:@{NSFontAttributeName: [NSFont systemFontOfSize:size weight:NSFontWeightSemibold]}].width;
-+ if (w <= room) return size;
-+ CGFloat s = floor(size * room / w * 10) / 10;
-+ return s < size * 0.7 ? size * 0.7 : s;
-+}
-+// One action of the prompt: glyph and label centred in a pill of a fixed size, the primary one cream
-+static NSView *hq_action(NSString *symbol, NSString *fallback, NSString *label, int primary, CGFloat k) {
-+ NSColor *fg = primary ? HQ_BACKGROUND : [NSColor colorWithWhite:1 alpha:0.8];
-+ CGFloat w = HQ_ACTION_W * k, glyph = 24 * k, gap = 10 * k, inset = 20 * k, room = w - 2 * inset - glyph - gap;
-+ NSTextField *t = hq_label(label, hq_fit(label, 22 * k, room), NSFontWeightSemibold, fg, 0);
-+ t.lineBreakMode = NSLineBreakByTruncatingTail;
-+ [t setContentCompressionResistancePriority:NSLayoutPriorityDefaultLow forOrientation:NSLayoutConstraintOrientationHorizontal];
-+ NSStackView *row = [NSStackView stackViewWithViews:@[hq_glyph(symbol, fallback, glyph, fg), t]];
-+ row.spacing = gap; row.translatesAutoresizingMaskIntoConstraints = NO;
-+ NSView *pill = [NSView new]; pill.translatesAutoresizingMaskIntoConstraints = NO;
-+ pill.wantsLayer = YES; pill.layer.cornerRadius = 28 * k;
-+ if (primary) pill.layer.backgroundColor = HQ_CREAM.CGColor;
-+ [pill addSubview:row];
-+ [NSLayoutConstraint activateConstraints:@[[pill.widthAnchor constraintEqualToConstant:w], [pill.heightAnchor constraintEqualToConstant:56 * k],
-+ [row.centerXAnchor constraintEqualToAnchor:pill.centerXAnchor], [row.centerYAnchor constraintEqualToAnchor:pill.centerYAnchor],
-+ [row.widthAnchor constraintLessThanOrEqualToConstant:w - 2 * inset]]];
-+ pill.accessibilityElement = YES; pill.accessibilityRole = NSAccessibilityButtonRole; pill.accessibilityLabel = label;
-+ return pill;
-+}
-+
-+// The prompt over the whole view: a dim scrim, and in its middle the card with the title, the note and the two actions (A quits, B cancels).
-+// a_symbol, b_symbol: the controller's own glyphs (GCControllerButtonInput.sfSymbolsName), nil for the plain ones
-+static NSView *hq_prompt_view(NSRect bounds, NSString *title, NSString *note, NSString *quit, NSString *cancel, NSString *a_symbol, NSString *b_symbol) {
-+ CGFloat k = hq_scale(bounds.size);
-+ NSView *scrim = [[NSView alloc] initWithFrame:bounds]; scrim.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
-+ scrim.wantsLayer = YES; scrim.layer.backgroundColor = [NSColor colorWithWhite:0 alpha:0.6].CGColor;
-+ NSTextField *t = hq_label(title, 34 * k, NSFontWeightBold, NSColor.whiteColor, 1), *n = hq_label(note, 20 * k, NSFontWeightRegular, [NSColor colorWithWhite:1 alpha:0.6], 1);
-+ NSStackView *actions = [NSStackView stackViewWithViews:@[hq_action(a_symbol, @"a.circle", quit, 1, k), hq_action(b_symbol, @"b.circle", cancel, 0, k)]];
-+ actions.spacing = 16 * k; actions.translatesAutoresizingMaskIntoConstraints = NO;
-+ NSStackView *card = [NSStackView stackViewWithViews:@[t, n, actions]];
-+ card.orientation = NSUserInterfaceLayoutOrientationVertical; card.alignment = NSLayoutAttributeCenterX;
-+ card.spacing = 14 * k; [card setCustomSpacing:32 * k afterView:n];
-+ card.edgeInsets = NSEdgeInsetsMake(40 * k, 48 * k, 36 * k, 48 * k); card.translatesAutoresizingMaskIntoConstraints = NO;
-+ card.wantsLayer = YES; card.layer.backgroundColor = HQ_SURFACE.CGColor; card.layer.cornerRadius = 28 * k;
-+ card.layer.borderWidth = 1; card.layer.borderColor = [NSColor colorWithWhite:1 alpha:0.10].CGColor;
-+ [scrim addSubview:card];
-+ CGFloat w = 600 * k;
-+ [NSLayoutConstraint activateConstraints:@[[card.centerXAnchor constraintEqualToAnchor:scrim.centerXAnchor], [card.centerYAnchor constraintEqualToAnchor:scrim.centerYAnchor],
-+ [card.widthAnchor constraintEqualToConstant:w], [t.widthAnchor constraintLessThanOrEqualToConstant:w - 96 * k], [n.widthAnchor constraintLessThanOrEqualToConstant:w - 96 * k]]];
-+ scrim.accessibilityElement = YES; scrim.accessibilityRole = NSAccessibilityGroupRole; scrim.accessibilityLabel = title;
-+ return scrim;
-+}
-+
-+// The hold indicator at the top of the view: a pill with a ring that fills while Home is held, and its label. hq_hold_set moves the ring
-+static NSView *hq_hold_view(NSRect bounds, NSString *label, CAShapeLayer **ring_out) {
-+ CGFloat k = hq_scale(bounds.size), d = 26 * k, line = 3.5 * k;
-+ NSView *ringView = [[NSView alloc] initWithFrame:NSMakeRect(0, 0, d, d)]; ringView.wantsLayer = YES; ringView.translatesAutoresizingMaskIntoConstraints = NO;
-+ CGPathRef circle = CGPathCreateWithEllipseInRect(CGRectInset(CGRectMake(0, 0, d, d), line / 2, line / 2), NULL);
-+ CAShapeLayer *track = [CAShapeLayer layer], *ring = [CAShapeLayer layer];
-+ for (CAShapeLayer *l in @[track, ring]) { l.frame = CGRectMake(0, 0, d, d); l.path = circle; l.fillColor = NSColor.clearColor.CGColor; l.lineWidth = line; [ringView.layer addSublayer:l]; }
-+ CGPathRelease(circle);
-+ track.strokeColor = [NSColor colorWithWhite:1 alpha:0.18].CGColor;
-+ ring.strokeColor = HQ_CREAM.CGColor; ring.lineCap = kCALineCapRound; ring.strokeEnd = 0;
-+ ring.transform = CATransform3DConcat(CATransform3DMakeRotation(M_PI_2, 0, 0, 1), CATransform3DMakeScale(-1, 1, 1)); // from the top, clockwise
-+ [NSLayoutConstraint activateConstraints:@[[ringView.widthAnchor constraintEqualToConstant:d], [ringView.heightAnchor constraintEqualToConstant:d]]];
-+ NSStackView *pill = [NSStackView stackViewWithViews:@[ringView, hq_label(label, 20 * k, NSFontWeightSemibold, [NSColor colorWithWhite:1 alpha:0.9], 0)]];
-+ pill.spacing = 12 * k; pill.edgeInsets = NSEdgeInsetsMake(0, 18 * k, 0, 24 * k); pill.translatesAutoresizingMaskIntoConstraints = NO;
-+ pill.wantsLayer = YES; pill.layer.backgroundColor = [HQ_BACKGROUND colorWithAlphaComponent:0.92].CGColor; pill.layer.cornerRadius = 28 * k;
-+ pill.layer.borderWidth = 1; pill.layer.borderColor = [NSColor colorWithWhite:1 alpha:0.12].CGColor;
-+ NSView *host = [[NSView alloc] initWithFrame:bounds]; host.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
-+ [host addSubview:pill];
-+ [NSLayoutConstraint activateConstraints:@[[pill.centerXAnchor constraintEqualToAnchor:host.centerXAnchor], [pill.topAnchor constraintEqualToAnchor:host.topAnchor constant:40 * k],
-+ [pill.heightAnchor constraintEqualToConstant:56 * k]]];
-+ *ring_out = ring;
-+ return host;
-+}
-+static void hq_hold_set(CAShapeLayer *ring, double fill) {
-+ [CATransaction begin]; [CATransaction setDisableActions:YES]; ring.strokeEnd = fill; [CATransaction commit];
-+}
-diff --git a/dm/host/tests/Makefile b/dm/host/tests/Makefile
-index f055215..d564834 100644
---- a/dm/host/tests/Makefile
-+++ b/dm/host/tests/Makefile
-@@ -54,6 +54,8 @@ run: $(B)/t_language $(B)/t_motion $(B)/t_heap_size $(B)/t_touch $(B)/t_gesture
- $(B)/t_motion
- $(B)/t_motion_apple
- $(B)/t_pad_apple
-+ $(B)/t_home_quit
-+ $(B)/t_home_quit_mac
- $(B)/t_motion_pro
- $(B)/t_motion_pro_mac
- TMPDIR="$(abspath $(B))" $(B)/t_hid
-@@ -194,6 +196,11 @@ $(B)/t_motion_apple: t_motion_apple.m ../motion_apple.h ../dm_input.h | $(B)
- run: $(B)/t_pad_apple
- $(B)/t_pad_apple: t_pad_apple.m ../pad_apple.h ../dm_input.h | $(B)
- $(CLANG) -O1 -g -fobjc-arc -Wall -Werror -I.. -o $@ t_pad_apple.m -framework Foundation -framework GameController
-+run: $(B)/t_home_quit $(B)/t_home_quit_mac
-+$(B)/t_home_quit: t_home_quit.c ../home_quit.h | $(B)
-+ $(CLANG) -O1 -g -Wall -Werror -I.. -o $@ t_home_quit.c
-+$(B)/t_home_quit_mac: t_home_quit_mac.m ../home_quit_mac.h | $(B)
-+ $(CLANG) -O1 -g -fobjc-arc -Wall -Werror -Wno-unused-function -I.. -o $@ t_home_quit_mac.m -framework Cocoa -framework QuartzCore
- run: $(B)/t_motion_pro $(B)/t_motion_pro_mac
- $(B)/t_motion_pro: t_motion_pro.c ../motion_pro.h | $(B)
- $(CLANG) -O1 -g -Wall -Werror -fsanitize=address,undefined -o $@ t_motion_pro.c
-diff --git a/dm/host/tests/t_home_quit.c b/dm/host/tests/t_home_quit.c
-new file mode 100644
-index 0000000..c7a84bd
---- /dev/null
-+++ b/dm/host/tests/t_home_quit.c
-@@ -0,0 +1,87 @@
-+// The Home button's hold and quit prompt (home_quit.h): the hold time, letting go early, A and B in the prompt, a button already held when it opens, Home closing it,
-+// the settle phase that keeps the closing B from the game, losing the focus, the hold indicator, the macOS 27 gate, the launcher's texts and the setting's log word
-+#include "../home_quit.h"
-+#include <stdio.h>
-+
-+static int checks, fails;
-+#define CHECK(c, msg) do { checks++; if (!(c)) { fails++; fprintf(stderr, "FAIL: %s (line %d)\n", msg, __LINE__); } } while (0)
-+
-+int main(void) {
-+ home_quit q = {0};
-+ CHECK(hq_step(&q, 0, 0, 0, 0) == HQ_IDLE, "nothing pressed: idle");
-+ CHECK(hq_step(&q, 1.0, 1, 0, 0) == HQ_HOLDING, "Home pressed: the hold starts");
-+ CHECK(hq_ring(&q, 1.1) == -1, "a short press shows no indicator");
-+ CHECK(hq_ring(&q, 1.0 + HQ_RING_S + (HQ_HOLD_S - HQ_RING_S) / 2) > 0.49 && hq_ring(&q, 1.0 + HQ_RING_S + (HQ_HOLD_S - HQ_RING_S) / 2) < 0.51, "half way the ring is half full");
-+ CHECK(hq_step(&q, 2.9, 1, 0, 0) == HQ_HOLDING, "1.9 s: still holding");
-+ CHECK(!hq_blocks_input(q.phase), "the game keeps its input while Home is held");
-+ CHECK(hq_step(&q, 3.0, 1, 0, 0) == HQ_PROMPT, "2 s: the prompt opens");
-+ CHECK(hq_ring(&q, 3.0) == -1, "the indicator goes when the prompt opens");
-+ CHECK(hq_blocks_input(q.phase), "the prompt takes the controllers");
-+ CHECK(hq_step(&q, 3.5, 0, 0, 0) == HQ_PROMPT, "letting go of Home keeps the prompt open");
-+ CHECK(hq_step(&q, 4.0, 0, 1, 0) == HQ_QUIT, "A quits");
-+ CHECK(hq_step(&q, 4.1, 0, 0, 0) == HQ_QUIT, "quit is final");
-+ hq_cancel(&q);
-+ CHECK(q.phase == HQ_QUIT, "a focus loss after quit changes nothing");
-+
-+ q = (home_quit){0};
-+ hq_step(&q, 0, 1, 0, 0);
-+ CHECK(hq_step(&q, 1.0, 0, 0, 0) == HQ_IDLE, "let go before 2 s: nothing happens");
-+ CHECK(hq_step(&q, 5.0, 0, 0, 0) == HQ_IDLE, "and nothing later either");
-+
-+ q = (home_quit){0};
-+ hq_step(&q, 0, 1, 0, 0); hq_step(&q, 2.0, 1, 0, 0);
-+ CHECK(hq_step(&q, 2.5, 1, 0, 1) == HQ_SETTLE, "B closes the prompt");
-+ CHECK(hq_blocks_input(q.phase), "the B that closed it does not reach the game");
-+ CHECK(hq_step(&q, 2.6, 1, 0, 0) == HQ_SETTLE, "Home still down: still settling");
-+ CHECK(hq_step(&q, 2.7, 0, 0, 0) == HQ_IDLE, "all up: the game has the controllers again");
-+ CHECK(hq_step(&q, 2.8, 1, 0, 0) == HQ_HOLDING, "a new press starts a new hold");
-+
-+ q = (home_quit){0};
-+ hq_step(&q, 0, 1, 1, 1);
-+ CHECK(hq_step(&q, 2.0, 1, 1, 1) == HQ_PROMPT, "A and B held through the hold: the prompt opens");
-+ CHECK(hq_step(&q, 2.1, 1, 1, 1) == HQ_PROMPT, "an A or B already held when it opens does not count");
-+ CHECK(hq_step(&q, 2.2, 1, 0, 1) == HQ_PROMPT, "A released, B still held");
-+ CHECK(hq_step(&q, 2.3, 1, 1, 1) == HQ_QUIT, "A pressed again quits");
-+
-+ q = (home_quit){0};
-+ hq_step(&q, 0, 1, 0, 0); hq_step(&q, 2.0, 1, 0, 0);
-+ CHECK(hq_step(&q, 2.1, 1, 0, 0) == HQ_PROMPT, "Home still held from the hold does not close it");
-+ hq_step(&q, 2.2, 0, 0, 0);
-+ CHECK(hq_step(&q, 2.3, 1, 0, 0) == HQ_SETTLE, "a new press of Home closes it");
-+
-+ q = (home_quit){0};
-+ hq_step(&q, 0, 1, 0, 0); hq_step(&q, 2.0, 1, 0, 0);
-+ CHECK(hq_step(&q, 2.1, 0, 1, 1) == HQ_SETTLE, "A and B at once: the safe one wins");
-+
-+ q = (home_quit){0};
-+ hq_step(&q, 0, 1, 0, 0); hq_step(&q, 2.0, 1, 0, 0);
-+ hq_cancel(&q);
-+ CHECK(q.phase == HQ_IDLE && !hq_blocks_input(q.phase), "a focus loss closes the prompt");
-+ CHECK(hq_step(&q, 3.0, 1, 0, 0) == HQ_IDLE, "a Home held through the focus change needs a new press");
-+ hq_step(&q, 3.1, 0, 0, 0);
-+ CHECK(hq_step(&q, 3.2, 1, 0, 0) == HQ_HOLDING, "then a press holds again");
-+
-+ CHECK(hq_enabled(1, NULL) && hq_enabled(1, "1") && hq_enabled(1, ""), "macOS 27: on");
-+ CHECK(!hq_enabled(1, "0"), "DM_HOME_QUIT=0: off");
-+ CHECK(!hq_enabled(0, NULL) && !hq_enabled(0, "1"), "macOS 26: off, whatever the switch says");
-+
-+ char out[64];
-+ hq_text_line("Hold\nQuit Zelda?\nLost\nQuit\nCancel", HQ_TEXT_TITLE, "d", out, sizeof out);
-+ CHECK(!strcmp(out, "Quit Zelda?"), "a line of the launcher's text");
-+ hq_text_line("Hold\nQuit Zelda?\nLost\nQuit\nCancel", HQ_TEXT_CANCEL, "d", out, sizeof out);
-+ CHECK(!strcmp(out, "Cancel"), "the last line");
-+ hq_text_line("Hold\n\nLost", HQ_TEXT_TITLE, "Quit Mario?", out, sizeof out);
-+ CHECK(!strcmp(out, "Quit Mario?"), "an empty line takes the default");
-+ hq_text_line("Hold", HQ_TEXT_QUIT, "Quit", out, sizeof out);
-+ CHECK(!strcmp(out, "Quit"), "a missing line takes the default");
-+ hq_text_line(NULL, HQ_TEXT_HOLD, "Keep holding to quit", out, sizeof out);
-+ CHECK(!strcmp(out, "Keep holding to quit"), "no text: the defaults");
-+ char small[4]; hq_text_line("Abcdef", 0, "d", small, sizeof small);
-+ CHECK(!strcmp(small, "Abc"), "a long line is cut to the buffer");
-+
-+ CHECK(!strcmp(hq_in_app_name(0), "system") && !strcmp(hq_in_app_name(1), "app") && !strcmp(hq_in_app_name(-1), "unavailable"), "the setting's words");
-+ CHECK(!strcmp(hq_in_app_name(0x7fffffffffffffffL), "off"), "disabled is off");
-+
-+ printf("t_home_quit: %d checks, %d failed\n", checks, fails);
-+ return fails != 0;
-+}
-diff --git a/dm/host/tests/t_home_quit_mac.m b/dm/host/tests/t_home_quit_mac.m
-new file mode 100644
-index 0000000..6455250
---- /dev/null
-+++ b/dm/host/tests/t_home_quit_mac.m
-@@ -0,0 +1,107 @@
-+// The views of the Home button's quit prompt (home_quit_mac.h), built without a game, a window or a controller: the texts are shown, the card stays inside a small
-+// window and a TV-sized one, a long title wraps instead of widening the card, and a glyph the system does not have falls back to the plain letter.
-+// DM_HOME_QUIT_CAPTURE=<folder> also draws both views over a stand-in picture into PNG files there (the pull request's screenshots), in an offscreen window.
-+#import "../home_quit_mac.h"
-+#include <stdio.h>
-+
-+static int checks, fails;
-+#define CHECK(c, msg) do { checks++; if (!(c)) { fails++; fprintf(stderr, "FAIL: %s (line %d)\n", msg, __LINE__); } } while (0)
-+
-+static void texts(NSView *v, NSMutableArray<NSString *> *out) {
-+ if ([v isKindOfClass:NSTextField.class]) [out addObject:((NSTextField *)v).stringValue];
-+ for (NSView *s in v.subviews) texts(s, out);
-+}
-+static NSView *card_of(NSView *scrim) { return scrim.subviews.firstObject; }
-+static NSImageView *first_image(NSView *v) {
-+ if ([v isKindOfClass:NSImageView.class]) return (NSImageView *)v;
-+ for (NSView *s in v.subviews) { NSImageView *i = first_image(s); if (i) return i; }
-+ return nil;
-+}
-+
-+// A stand-in for the game's picture, so the scrim and the card are seen over something
-+@interface Backdrop : NSView @end
-+@implementation Backdrop
-+- (void)drawRect:(NSRect)r {
-+ (void)r;
-+ NSGradient *g = [[NSGradient alloc] initWithColors:@[hq_color(0.20, 0.42, 0.62, 1), hq_color(0.42, 0.62, 0.30, 1), hq_color(0.86, 0.74, 0.42, 1)]];
-+ [g drawInRect:self.bounds angle:-70];
-+}
-+@end
-+
-+static void capture(NSView *overlay, NSSize size, const char *dir, const char *name) {
-+ NSWindow *w = [[NSWindow alloc] initWithContentRect:NSMakeRect(-100000, -100000, size.width, size.height) styleMask:NSWindowStyleMaskBorderless backing:NSBackingStoreBuffered defer:NO];
-+ Backdrop *b = [[Backdrop alloc] initWithFrame:NSMakeRect(0, 0, size.width, size.height)]; b.wantsLayer = YES;
-+ w.contentView = b; overlay.frame = b.bounds; [b addSubview:overlay];
-+ [b layoutSubtreeIfNeeded]; [b displayIfNeeded];
-+ NSBitmapImageRep *rep = [b bitmapImageRepForCachingDisplayInRect:b.bounds];
-+ [b cacheDisplayInRect:b.bounds toBitmapImageRep:rep];
-+ NSString *path = [@(dir) stringByAppendingPathComponent:@(name)];
-+ [[rep representationUsingType:NSBitmapImageFileTypePNG properties:@{}] writeToFile:path atomically:YES];
-+ printf("t_home_quit_mac: wrote %s\n", path.UTF8String);
-+ [overlay removeFromSuperview];
-+}
-+
-+int main(void) {
-+ @autoreleasepool {
-+ [NSApplication sharedApplication];
-+ NSRect small = NSMakeRect(0, 0, 1280, 720), tv = NSMakeRect(0, 0, 1920, 1080);
-+ NSView *p = hq_prompt_view(small, @"Quit Super Mario Odyssey?", @"Unsaved progress will be lost.", @"Quit", @"Cancel", @"xmark.circle", @"circle.circle");
-+ [p layoutSubtreeIfNeeded];
-+ NSMutableArray<NSString *> *t = [NSMutableArray new]; texts(p, t);
-+ CHECK([t containsObject:@"Quit Super Mario Odyssey?"] && [t containsObject:@"Unsaved progress will be lost."] && [t containsObject:@"Quit"] && [t containsObject:@"Cancel"], "the prompt shows its four texts");
-+ CHECK(NSContainsRect(p.bounds, card_of(p).frame), "the card is inside a 1280x720 window");
-+ CHECK(NSEqualPoints(NSMakePoint(NSMidX(card_of(p).frame), NSMidY(card_of(p).frame)), NSMakePoint(640, 360)), "the card is in the middle");
-+ CGFloat w720 = card_of(p).frame.size.width;
-+
-+ NSView *ptv = hq_prompt_view(tv, @"Quit Super Mario Odyssey?", @"Unsaved progress will be lost.", @"Quit", @"Cancel", nil, nil);
-+ [ptv layoutSubtreeIfNeeded];
-+ CHECK(NSContainsRect(ptv.bounds, card_of(ptv).frame) && card_of(ptv).frame.size.width > w720 * 1.4, "on a 1080p screen the card is larger and still inside");
-+ CHECK(first_image(ptv).image.size.width > 0, "no symbol from the controller: the plain letter glyph");
-+
-+ NSView *plong = hq_prompt_view(small, @"Quit The Legend of Zelda: Tears of the Kingdom and every other very long name?", @"n", @"Quit", @"Cancel", @"no.such.symbol", nil);
-+ [plong layoutSubtreeIfNeeded];
-+ CHECK(card_of(plong).frame.size.width == w720 && NSContainsRect(plong.bounds, card_of(plong).frame), "a long title wraps, the card keeps its width");
-+ CHECK(first_image(plong).image.size.width > 0, "a symbol the system does not have falls back to the letter");
-+
-+ // The two actions keep one width in every language the launcher passes (DM_HOME_QUIT_TEXT: en, zh, de, sv, fr, it), and a label far longer than any
-+ // of them shrinks or is cut instead of widening its pill
-+ NSArray<NSArray<NSString *> *> *labels = @[@[@"Quit", @"Cancel"], @[@"退出", @"取消"], @[@"Beenden", @"Abbrechen"], @[@"Avsluta", @"Avbryt"],
-+ @[@"Quitter", @"Annuler"], @[@"Esci", @"Annulla"], @[@"Quit this game right now please", @"Cancel and go back to the game"]];
-+ for (NSValue *size in @[[NSValue valueWithRect:small], [NSValue valueWithRect:tv]]) {
-+ NSRect r = size.rectValue; CGFloat want = HQ_ACTION_W * hq_scale(r.size);
-+ for (NSArray<NSString *> *l in labels) {
-+ NSView *pv = hq_prompt_view(r, @"Quit Hades?", @"n", l[0], l[1], nil, nil);
-+ [pv layoutSubtreeIfNeeded];
-+ NSStackView *actions = (NSStackView *)((NSStackView *)card_of(pv)).arrangedSubviews.lastObject;
-+ CHECK(actions.arrangedSubviews.count == 2, "two actions");
-+ for (NSView *a in actions.arrangedSubviews) CHECK(fabs(a.frame.size.width - want) < 0.5 && fabs(a.frame.size.height - 56 * hq_scale(r.size)) < 0.5, l[0].UTF8String);
-+ for (NSView *a in actions.arrangedSubviews) {
-+ NSStackView *row = (NSStackView *)a.subviews.firstObject;
-+ CHECK(NSContainsRect(a.bounds, row.frame), "the glyph and the label stay inside their pill");
-+ }
-+ }
-+ }
-+
-+ CAShapeLayer *ring = nil;
-+ NSView *h = hq_hold_view(small, @"Keep holding to quit", &ring);
-+ [h layoutSubtreeIfNeeded];
-+ NSMutableArray<NSString *> *ht = [NSMutableArray new]; texts(h, ht);
-+ CHECK([ht containsObject:@"Keep holding to quit"], "the hold indicator has its label");
-+ NSView *pill = h.subviews.firstObject;
-+ CHECK(NSMaxY(pill.frame) < 720 && NSMaxY(pill.frame) > 600 && fabs(NSMidX(pill.frame) - 640) < 1, "the indicator is at the top, in the middle");
-+ CHECK(ring && ring.strokeEnd == 0, "the ring starts empty");
-+ hq_hold_set(ring, 0.6);
-+ CHECK(fabs(ring.strokeEnd - 0.6) < 1e-6, "the ring follows the hold");
-+
-+ const char *dir = getenv("DM_HOME_QUIT_CAPTURE");
-+ if (dir && *dir) {
-+ capture(hq_prompt_view(tv, @"Quit Super Mario Odyssey?", @"Unsaved progress will be lost.", @"Quit", @"Cancel", @"a.circle", @"b.circle"), tv.size, dir, "home-quit-prompt.png");
-+ CAShapeLayer *r = nil; NSView *hv = hq_hold_view(tv, @"Keep holding to quit", &r); hq_hold_set(r, 0.6);
-+ capture(hv, tv.size, dir, "home-quit-hold.png");
-+ capture(hq_prompt_view(tv, @"Super Mario Odyssey beenden?", @"Nicht gesicherter Fortschritt geht verloren.", @"Beenden", @"Abbrechen", @"xmark.circle", @"circle.circle"), tv.size, dir, "home-quit-prompt-de.png");
-+ capture(hq_prompt_view(tv, @"退出Super Mario Odyssey?", @"未保存的进度将会丢失。", @"退出", @"取消", @"a.circle", @"b.circle"), tv.size, dir, "home-quit-prompt-zh.png");
-+ }
-+ }
-+ printf("t_home_quit_mac: %d checks, %d failed\n", checks, fails);
-+ return fails != 0;
-+}
-diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
-index e594a57..44e19ab 100644
---- a/docs/env_switches.tsv
-+++ b/docs/env_switches.tsv
-@@ -69,6 +69,9 @@ DM_HID_MAP switch `=<map>` such as `A=1,B=2,X=4,Y=5`: which HID button usage pre
- DM_HID_PADS switch `0` stops reading raw HID gamepads that GameController does not list, such as an 8BitDo in its own mode (`pad_hid_mac.h`); Mac only
- DM_HITCH_DUMP diagnostic `=<ms>[:<s>]`: when no frame has been presented for that long (from s seconds on), logs every guest thread once per stall: wait, last SVC, pc, lr, frames and registers
- DM_HLECOUNT diagnostic `=<file>` (`%d` = process ID) writes at exit a TSV of how many times the guest called each HLE function, zero counts included
-+DM_HOME_QUIT player `0` turns off quitting with the controller's Home button (Mac, macOS 27 or later, on by default): held for 2 s it opens a quit prompt over the game, A quits as ⌘Q does, B or Home closes it (`home_quit.h`)
-+DM_HOME_QUIT_CAPTURE test `=<folder>`: `tests/t_home_quit_mac.m` also draws the Home button's quit prompt and hold indicator into PNG files there
-+DM_HOME_QUIT_TEXT switch The texts of the Home button's quit prompt in the player's language, one per line: the hold indicator, the title, the note, the quit and the cancel button; the Mac launcher sets it, an empty or missing line keeps the English text
- DM_HUD_PER_LAYER switch `1`: the shell app sets it at start together with `MTL_HUD_ENABLED`, and the game view then turns Apple's Metal HUD off on its layer unless `DM_METAL_HUD` is `1`
- DM_ICON path `=<image>` gives `build_ipa.sh` another app icon (default the `icon.jpg` beside the RomFS)
- DM_IMPORTS diagnostic When set, logs each import the loader binds to a host function and each forced takeover
diff --git a/patches/series b/patches/series
index 043dd9fd..559e6bf0 100644
--- a/patches/series
+++ b/patches/series
@@ -36,7 +36,4 @@
0058-read-pfs0-packages-missing-the-final-filename-te.patch
0059-recognize-unframed-pointer-tail-calls-before-zer.patch
0060-ios-shell-declare-italian-in-cfbundlelocalizatio.patch
-0061-ios-adapt-gameplay-to-duo-portrait-and-tabletop.patch
0062-ios-apply-controller-button-mappings-to-physical.patch
-0063-ios-picture-fit-or-fill-for-screens-that-are-not.patch
-0064-mac-host-quit-a-game-by-holding-the-controller-s.patch
diff --git a/tools/tests/launcher_texts.txt b/tools/tests/launcher_texts.txt
index 376fcfc1..7aece908 100644
--- a/tools/tests/launcher_texts.txt
+++ b/tools/tests/launcher_texts.txt
@@ -23,6 +23,8 @@ Fullscreen
Game
Game language
Game rumble
+Game's own
+Game's upscaler
German
Handheld
Hold frames when late