ihaveamac / wiiu-things

some Wii U scripts and things
MIT License
53 stars 15 forks source link

Downloading of vWii system titles not working #2

Closed curtisy1 closed 7 years ago

curtisy1 commented 7 years ago

Downloading vWii system titles results in an error in line 90. Following error message is provided:

line 90, in <module>
    struct.unpack(">H", tmd[0xB0A + (0x30 * c):0xB0A + (0x30 * c) + 0x2])[0],
struct.error: unpack requires a bytes object of length 2

Any idea on how to fix this or how I could fetch vWii Sysmenu for testing some RedNAND stuff?

ihaveamac commented 7 years ago

Wii/vWii titles use a different tmd format than Wii U(which uses the same format as 3DS), so the offsets for everything are different. I suggest using nustool by SciresM in the mean time.

curtisy1 commented 7 years ago

I see. Thanks for the suggestion! Unfortunately nustool doesn't seem to be able to decrypt downloaded vWii files by default, but that's another story.

Many thanks for your help!

On 17 April 2017 at 03:57, Ian Burgwin notifications@github.com wrote:

Wii/vWii titles use a different tmd format than Wii U(which uses the same format as 3DS), so the offsets for everything are different. I suggest using nustool by SciresM in the mean time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ihaveamac/wiiu-things/issues/2#issuecomment-294389276, or mute the thread https://github.com/notifications/unsubscribe-auth/AWiZGP0sGroPZWPczyNeJJ_gHh76RRrCks5rwsbwgaJpZM4M-x00 .

ihaveamac commented 7 years ago

Wii/vWii nus titles should be relatively easy to decrypt like any other system (decrypt titlekey with vWii common, decrypt contents, assuming you know the process)

curtisy1 commented 7 years ago

Yeah, I think I have it working now. Thanks for the help, you're awesome!