nozwock / yanu

Yet Another NSP Updater for Skyline
GNU General Public License v2.0
211 stars 13 forks source link

How to Unpack/Repack #17

Closed CrimsonSZ-Q closed 1 year ago

CrimsonSZ-Q commented 1 year ago

So I want to try unpacking a rom (only rom without update), I use Termux. When I enter the command yanu unpack --base /storage/emulated/0/Switch/God Eater 3.nsp Yanu asked for the update file

nozwock commented 1 year ago

Hmm, it shouldn't ask for an Update file. Let me check.

nozwock commented 1 year ago

Could you send what's the exact error? Also send the log file.

nozwock commented 1 year ago

Because it works perfectly fine here. I think you're just using an incorrect command.

command result

nozwock commented 1 year ago

Ah wait, you're using yanu, on Termux, that's just a short alias for updates only. For accessing all the options you're supposed to use yanu-cli starting 0.7.0.

CrimsonSZ-Q commented 1 year ago

Ah wait, you're using yanu, that's just a short alias for updates only. For accessing all the options you're supposed to use yanu-cli starting 0.7.0.

Ahh I see Thanks

Genliz6 commented 1 year ago

Ah wait, you're using yanu, on Termux, that's just a short alias for updates only. For accessing all the options you're supposed to use yanu-cli starting 0.7.0.

IMG_20230409_140850

Hi, I'm a newbie. What command do I have to repack? i need a example

nozwock commented 1 year ago

Why are you copying the example one-to-one?

There's no such "123456.nca" It even tells you.

nozwock commented 1 year ago

You need to figure out which one is the control NCA in patchdata directory (or basedata if you only unpacked base). Look at the README, it mentions that the NCA file around ~1MiB is the one.

nozwock commented 1 year ago

Maybe I should add a --auto to automatically get control NCA or something.

Genliz6 commented 1 year ago

IMG_20230409_153623

Ok, i can do it. thank you