Hacking H3 Files?

DanTheMan827

Well-Known Member
OP
Member
Joined
May 3, 2015
Messages
639
Trophies
0
Age
33
Location
Wisconsin
XP
621
Country
United States
Is there any better way to detect if an app file has a corresponding h3 file on NUS rather than checking the server if they exist?

I saw something about if the content type in the TMD is 0x2003 that it has one but that doesn't appear to always be the case...
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
what do you mean not always the case?
did you find a app with a h3 which doesn't have the type set to 0x2003 ?

do you have an easy way to check each type? an extractor, or content lister?
I made a template for HexWorkshop, if you want.
when you add the template to your tmd, be sure to select the "wiiu" tmd, and lock it to 0x00 (start of the file)

from the screenshot in the linked thread, you can see the 3 last contents (0x1c, 04 and 05) should have a .h3
 
  • Like
Reactions: Pachee

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,510
Country
Tuvalu
since nintendo could change what content types need h3 files with an update, for example add a new content type with a new game, vc game, etc... (possibly, although i doubt they would do that)
i think it is safest to just try and download for each content, it's not really ugly, it's so simple so, why not :)

but i agree it would be nice to be 100% certain, but i don't want to spend the time testing until i am confident, and even so, my above sentence could end up true.
 
Last edited by cearp,
  • Like
Reactions: PR0r

DanTheMan827

Well-Known Member
OP
Member
Joined
May 3, 2015
Messages
639
Trophies
0
Age
33
Location
Wisconsin
XP
621
Country
United States
According to crediar it's a bit flag of 0x2 on the content type

So the code would be something like this

Code:
((cType & 0x2) > 0)

The Minecraft update is an example that 0x2003 isn't the only type with a h3 file
 
Last edited by DanTheMan827,

ajd4096

Well-Known Member
Member
Joined
Feb 17, 2009
Messages
179
Trophies
1
XP
562
Country
It seems to be that bit flag, I haven't found any counter-examples yet.
I figured out how the .h3 hashes work in nuspy, see the source for details.
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,510
Country
Tuvalu
According to crediar it's a bit flag of 0x2 on the content type

So the code would be something like this

Code:
((cType & 0x2) > 0)

The Minecraft update is an example that 0x2003 isn't the only type with a h3 file
yeah that is what jnus does, i'm not sure about nusgrabber, i guess so, that jnus takes from that.
but i'll keep it ugly for now :) confuse the anthropologists in 400 years time.
 
Last edited by cearp,

dozvgkka69

Member
Newcomer
Joined
Oct 30, 2016
Messages
21
Trophies
0
Age
44
XP
91
Country
Canada
According to crediar it's a bit flag of 0x2 on the content type

So the code would be something like this

Code:
((cType & 0x2) > 0)

The Minecraft update is an example that 0x2003 isn't the only type with a h3 file

Hey @DanTheMan827 - in next day-two I'll test bunch of titles (both base game and updates). Whatever happens I'll provide you with test report - if anything failed using your awesome uTikDownloadhelper.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    OctoAori20 @ OctoAori20: Ello