Hacking Decrypting Wii VC nfs files

JaGoTu10

Active Member
OP
Newcomer
Joined
Jun 27, 2014
Messages
25
Trophies
0
Website
betawiki.net
XP
258
Country
Hi guys,
if you've been wondering, how to decrypt the nfs files in Wii VC's /content/, here's the answer:

The key is just stored in /code/htk.bin. Just like that. It's not encrypted in any way, it just sits there. So, just strip away the EGGS-SGGE header, join all the files together, and use a command like this:

Code:
openssl enc -d -aes-128-cbc -K "[key]" -iv 0 -nopad -in hif.nfs -out hif.nfs.dec

The resulting file seems to be just a regular Wii iso.
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,158
Country
Mexico
Hi guys,
if you've been wondering, how to decrypt the nfs files in Wii VC's /content/, here's the answer:

The key is just stored in /code/htk.bin. Just like that. It's not encrypted in any way, it just sits there. So, just strip away the EGGS-SGGE header, join all the files together, and use a command like this:

Code:
openssl enc -d -aes-128-cbc -K "[key]" -iv 0 -nopad -in hif.nfs -out hif.nfs.dec

The resulting file seems to be just a regular Wii iso.
Why not post this on the "Injecting Wii VC" thread too?
 

AboodXD

I hack NSMB games, and other shiz.
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
Also, this doesn't automatically mean injecting. There could still be some hashing done so you just can't put inside your own iso :)
If nfs is in content folder and the key in code folder is untouched, that means it is injectable.
Edit: But hey, that's just a theory. A Wii U THEORY!

The Wii U doesn't check the content folder AT ALL! This is what contenthax is all about.

--------------------- MERGED ---------------------------

No idea. Somebody should compare them with the regular Wii disc dumps.
They should be identical to a 1:1 ISO rip.
 
Last edited by AboodXD,

JaGoTu10

Active Member
OP
Newcomer
Joined
Jun 27, 2014
Messages
25
Trophies
0
Website
betawiki.net
XP
258
Country
If nfs is in content folder and the key in code folder is untouched, that means it is injectable.

The Wii U doesn't check the content folder AT ALL! This is what contenthax is all about.

--------------------- MERGED ---------------------------


They should be identical to a 1:1 ISO rip.

Normally it doesn't. However, can you then explain what the rvlt.tik and rvlt.tmd in the code folder are for? :)
 

xtheman

Well-Known Member
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
If nfs is in content folder and the key in code folder is untouched, that means it is injectable.

The Wii U doesn't check the content folder AT ALL! This is what contenthax is all about.
Would be pointless to worry about not editing code folder. Pretty much everyone who wants this uses cfw.
 

moops44

Prince of Darkness
Member
Joined
May 15, 2014
Messages
576
Trophies
0
Location
Moon
XP
594
Country
Germany
If nfs is in content folder and the key in code folder is untouched, that means it is injectable.

The Wii U doesn't check the content folder AT ALL! This is what contenthax is all about.

--------------------- MERGED ---------------------------


They should be identical to a 1:1 ISO rip.
i cant import or export any NFS files while use ftp
always get error
 

AboodXD

I hack NSMB games, and other shiz.
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
Normally it doesn't. However, can you then explain what the rvlt.tik and rvlt.tmd in the code folder are for? :)
They are used for installing the title on the Wii U system.
tik is to used to validate that you have purchased the title. (Except if it's free, the tik comes anyway)
 

moops44

Prince of Darkness
Member
Joined
May 15, 2014
Messages
576
Trophies
0
Location
Moon
XP
594
Country
Germany
After i found out the i must just change in the meta the drc to a other value
what i told in irc to fix94
i tried to inject other game into xenoblade and it in my case kirby , and all i got is blackscreen/freeze etc
 
Last edited by moops44,

victormr21

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
565
Trophies
0
XP
498
Country
I was finding some files in a Wii U game/app and i found some "not popular" file types, someone knows how to decrypt they @AboodXD ?
  • .ptcl
  • .genvb
  • .baglmf
  • .arc (i think i can decrypt they like an .sarc file)
  • .bflan
  • .bflyt
  • .bflim
  • .bffnt (i only can open .ttf files in windows, but no this)
  • .sharcfb
  • .bgmsconf
  • .ffsd
  • .dsp
I think they are very strange and "exclusive"
Bye!
 

JaGoTu10

Active Member
OP
Newcomer
Joined
Jun 27, 2014
Messages
25
Trophies
0
Website
betawiki.net
XP
258
Country
They are used for installing the title on the Wii U system.
tik is to used to validate that you have purchased the title. (Except if it's free, the tik comes anyway)
I don't think that's what these are. Remember, this isn't launched like any other title. It's launched using the CMPT library. MCP does a lot of extra checking for that. For example, the fw.img check fails on the latest iosuhax if you modify the file. Nothing we couldn't patch with iosuhax, but since there was not a lot of research into HAI, it probably isn't patched yet.

I'm not stopping you from injecting random shit into the folder, I mean, go ahead and explore :) Just a warning that it might not work even though you create the hfs correctly.
 
Last edited by JaGoTu10,

AboodXD

I hack NSMB games, and other shiz.
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
I was finding some files in a Wii U game/app and i found some "not popular" file types, someone knows how to decrypt they @AboodXD ?
  • .ptcl
  • .genvb
  • .baglmf
  • .arc (i think i can decrypt they like an .sarc file)
  • .bflan
  • .bflyt
  • .bflim
  • .bffnt (i only can open .ttf files in windows, but no this)
  • .sharcfb
  • .bgmsconf
  • .ffsd
  • .dsp
I think they are very strange and "exclusive"
Bye!
dsp is the same format as BFSTM, BRSTM, BCSTM, etc.
You can convert it to wav with DSPTool.

ARC is the same as SARC.

bflim files are for Layout textures, bflan and bflyt are for layouts settings and such.
There's a link to BFLIM Extractor in my signature (It doesn't work with all files), BenZinU can handle bflan and bflyt.

bffnt is used for fonts, this tool can convert them to GTX. (Use TexConv2 to convert GTX to DDS)

I recognize the other formats, but I can't remember what they are used for/how to handle them.

--------------------- MERGED ---------------------------

I don't think that's what these are. Remember, this isn't launched like any other title. It's launched using the CMPT library. MCP does a lot of extra checking for that. For example, the fw.img check fails on the latest iosuhax if you modify the file. Nothing we couldn't patch with iosuhax, but since there was not a lot of research into HAI, it probably isn't patched yet.

I'm not stopping you from injecting random shit into the folder, I mean, go ahead and explore :) Just a warning that it might not work even though you create the hfs correctly.
Meh, I don't feel like digging too much into this.
I was just judging according to my knowledge.
 

victormr21

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
565
Trophies
0
XP
498
Country
dsp is the same format as BFSTM, BRSTM, BCSTM, etc.
You can convert it to wav with DSPTool.

ARC is the same as SARC.

bflim files are for Layout textures, bflan and bflyt are for layouts settings and such.
There's a link to BFLIM Extractor in my signature (It doesn't work with all files), BenZinU can handle bflan and bflyt.

bffnt is used for fonts, this tool can convert them to GTX. (Use TexConv2 to convert GTX to DDS)

I recognize the other formats, but I can't remember what they are used for/how to handle them.

--------------------- MERGED ---------------------------


Meh, I don't feel like digging too much into this.
I was just judging according to my knowledge.
Thanks you so much Abood! I saw BFLIM Extractor in your signature this morning! But I tried to found a blim file in any game and i didnt see it so i don't downloaded it... Some questions:
1 The BFFNT to GTX tool, Can I write it in a .bat, python file...?
2 I don't see DSPTool, there are some links in Google but i will download everything and not the program
A virus xD
Bye!
 

AboodXD

I hack NSMB games, and other shiz.
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
Thanks you so much Abood! I saw BFLIM Extractor in your signature this morning! But I tried to found a blim file in any game and i didnt see it so i don't downloaded it... Some questions:
1 The BFFNT to GTX tool, Can I write it in a .bat, python file...?
2 I don't see DSPTool, there are some links in Google but i will download everything and not the program
A virus xD
Bye!
  1. BMS is easy to use, I don't see the point in re-writing in Python or Batch.
  2. You can find it in the Wii U SDK.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu