in every tik file you can see it at 0x180 in Hex EditorI also get "Section 0/1 is corrupted", what update key to use .cert, .tik or the biggest .nca or the donor game?
in every tik file you can see it at 0x180 in Hex EditorI also get "Section 0/1 is corrupted", what update key to use .cert, .tik or the biggest .nca or the donor game?
Didn't the creater post it in a release thread?updated script from creator
(for /f "delims=" %%i in ('dir Extracted_NSP /b /os') do set bs=%%~fi)>nul
(for %%i in (Extracted_NSP\*.tik) do (for /f %%k in ('tf.exe %%i') do set key=%%k))>nul
@huma_dawii
hi OP,
here I present u an even dumber and click-drag free way: (i dont want create confusion for other user, so i give u the solution here to u instead of upload a fix myself)
for getting the largest file, you can do this:
now, the variable bs is the absolute path of the largest file in Extracted_NSP.Code:(for /f "delims=" %%i in ('dir Extracted_NSP /b /os') do set bs=%%~fi)>nul
for get the key from tik,
I made an executable. it take a tik file and return the key string: tf.exe xxxx.tik, output will be a 32 length string.
now, the variable key is the 16 bytes key extracted from the tik file.Code:(for %%i in (Extracted_NSP\*.tik) do (for /f %%k in ('tf.exe %%i') do set key=%%k))>nul
hope new version will come soon
And how and where to change the game ID to donor game, or just put exefs and romfs to a folden named like the donor ID?in every tik file you can see it at 0x180 in Hex Editor
Great, but still needs a working "main.npdm" Title ID patcher.Many thanks to @Ericjwg
-implemented he's tf.exe
Now NSP-XCI to LayeredFS is easier than ever , just drag and drop your NSP and NSP update... , done. Profit )
-i highly recommend Plague Mod you can easily switch donor title right on console.Great, but still needs a working "main.npdm" Title ID patcher.
Great! Thank you! Updated script with your tools!@huma_dawii
hi OP,
here I present u an even dumber and click-drag free way: (i dont want create confusion for other user, so i give u the solution here to u instead of upload a fix myself)
for getting the largest file, you can do this:
now, the variable bs is the absolute path of the largest file in Extracted_NSP.Code:(for /f "delims=" %%i in ('dir Extracted_NSP /b /os') do set bs=%%~fi)>nul
for get the key from tik,
I made an executable. it take a tik file and return the key string: tf.exe xxxx.tik, output will be a 32 length string.
now, the variable key is the 16 bytes key extracted from the tik file.Code:(for %%i in (Extracted_NSP\*.tik) do (for /f %%k in ('tf.exe %%i') do set key=%%k))>nul
hope new version will come soon
I don't know man I did everything to update BOTW, using your tool, patched the main.npdm wit your sugestions, and I still get this error:-i highly recommend Plague Mod you can easily switch donor title right on console.
-you also can use this Website to patch them.
both cert and tik should under exefs.I don't know man I did everything to update BOTW, using your tool, patched the main.npdm wit your sugestions, and I still get this error:
The software was closed because an error occurred.
I'm using "Happy Birthdays DEMO" as a donor I redownloaded it deleted save files, and still nothing.
By the way I'm using "PRAGMAsLayeredFSKit-v1.4" for making romfs.bin from XCI games and it always works, so I made a compering and, your LayeredFS is missing files:
Game ID/*.cert
Game ID/*.tik
Game ID/exefs/subsdk1
Game ID/exefs/subsdk2
Game ID/exefs/subsdk3
Maybe that's the problem?
just get in plague_mod discord ,people will help you there.I don't know man I did everything to update BOTW, using your tool, patched the main.npdm wit your sugestions, and I still get this error:
The software was closed because an error occurred.
I'm using "Happy Birthdays DEMO" as a donor I redownloaded it deleted save files, and still nothing.
By the way I'm using "PRAGMAsLayeredFSKit-v1.4" for making romfs.bin from XCI games and it always works, so I made a compering and, your LayeredFS is missing files:
Game ID/*.cert
Game ID/*.tik
Game ID/exefs/subsdk1
Game ID/exefs/subsdk2
Game ID/exefs/subsdk3
Maybe that's the problem?
typo lel.@Assasin1990
Thanks to
[SciresM] for his hactool
[Ericjwg] for his tf.exe that return return title key
from extracted tik file and some tips.
You implemented tf.exe's Ericjwg but your script still ask me the title key for extraction... (in v1.4 and v1.6, don't test v1.5)
I need the title key with "Extract Encrypted NCA" and "Info Encrypted NCA" options, after use "Extracted eShop NSP" option.typo lel.
yeah, it use tf.exe when you select nsp to LayeredFS , because it have and know where is the tik file.
what are you select and script ask you for titlekey ?
only v1.6 use tf.exe
I'll add soon new option "Get titlekey from *.tik file"