Offset | Size | Description |
---|---|---|
0x0 | 0x7 | Tinfoil Index Magic "TINFOIL" |
0x7 | 0x1 | Index Type Information (1) |
0x8 | 0x100 | Session Key (PKCS#1 OAEP encrypted randomly generated AES Key used to encrypt index) (2) |
0x108 | 0x8 | Unencrypted Index Size |
0x110 | X | Index Data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$hactool = "$PSScriptRoot\hactool.exe" | |
$prodkeys = "$PSScriptRoot\prod.keys" | |
$firmware = "$PSScriptRoot\Firmware 10.1.0\" | |
$files = Get-ChildItem $firmware -Filter *.nca | |
$numfiles = 0 | |
foreach ($file in $files) { | |
$hacout = & $hactool -k $prodkeys -i $firmware$file | Out-String | |
if($hacout -like '*Content Type: Meta*') { | |
Get-Item $firmware$file | Rename-Item -Path $firmware$file -NewName { $_.Name -replace '.nca','.cnmt.nca' } | |
$numfiles++ |
This is a guide for running Half-Life 2 on your Switch. Please be aware that this isn't a great way of playing Half-Life 2 - do not expect this mod to work perfectly.
Thank you to Bringus Studios for fixing save files not showing up!
NOTE: I am assuming that you have basic knowledge about how modding games on the Switch works. I will not provide support for questions like "how do I install Atmosphère / CFW", "how do I make an emuMMC", "how do I extract games", etc. For help with modding your console, see the NH Switch Guide.
WARNING: While this mod should be fairly safe to use, I do not take any responsibility if your Portal save data is deleted, you get banned from Nintendo Switch Online, or if your Switch explodes.
OlderNewer