Skip to content

Commit

Permalink
Attempting new hex extraction strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
Thesola10 committed Mar 29, 2022
1 parent fb73f49 commit c4990da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extract_nsp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ md .\work

.\3rdparty\hactool.exe -x $args[0] --pfs0dir=.\work -t pfs0
.\3rdparty\hactool.exe -x .\work\97105c79474118d294c8808a22f39bd3.nca `
--titlekey=$(Format-Hex -Path .\work\0100d12014fc2000000000000000000b.tik -Count 16 -Offset 0x180) `
--titlekey=$(((Get-Content .\work\0100d12014fc2000000000000000000b.tik -Encoding byte)[0x180..(0x180+16)] | ForEach-Object ToString X2) -join '' ) `
--romfsdir=.\work

Remove-Item .\work\*.nca .\work\*.tik .\work\*.cert

0 comments on commit c4990da

Please sign in to comment.