From fb73f49541f0e7550a986baf14ecbe76131ac5d8 Mon Sep 17 00:00:00 2001 From: TheSola10 Date: Tue, 29 Mar 2022 10:07:29 +0200 Subject: [PATCH] Fixed positional argument in pwsh --- extract_nsp.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract_nsp.ps1 b/extract_nsp.ps1 index bbd7128..62a2da1 100644 --- a/extract_nsp.ps1 +++ b/extract_nsp.ps1 @@ -4,7 +4,7 @@ md .\work -.\3rdparty\hactool.exe -x $1 --pfs0dir=.\work -t pfs0 +.\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) ` --romfsdir=.\work