Hacking Decrypting Wii VC nfs files

victormr21

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
565
Trophies
0
XP
498
Country
@AboodXD Umm... The .arc files of the game could be decompressed with UWizard like .sarc files but i decrypted a bfma (manual like a sarc) and it gave me some xml, arc... but this files can't be decompressed with UWizard
And SARCExtract says that is unknown.... :unsure::wacko::blink:
 
Last edited by victormr21,

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,200
Trophies
2
XP
33,920
Country
Mexico
Follow up, if we inject a game with CC support into a game with Gamepad support, will the game pad work as a classic controller? consider brawl, for example.
The base VC ae would have to be Xenoblade, as several people have tried changing the meta.xml file to that of Xenoblade to support the Gamepad in other games like NSMB Wii and Resident Evil 4, but still there has not been any success.
Only other way to do so would be to inject a Wii game into Xenoblade, and that still doesn't guarantee the Gamepad compatibility.
 
  • Like
Reactions: zeldaism

ItsKipz

l33t hax0r
Member
Joined
Sep 9, 2016
Messages
1,930
Trophies
0
Location
The C: drive
XP
1,625
Country
United States
The base VC ae would have to be Xenoblade, as several people have tried changing the meta.xml file to that of Xenoblade to support the Gamepad in other games like NSMB Wii and Resident Evil 4, but still there has not been any success.
Only other way to do so would be to inject a Wii game into Xenoblade, and that still doesn't guarantee the Gamepad compatibility.
So, right now we can

convert nfs to iso (?)
add gamepad "support' to games

can we convert iso to nfs and split it?
 

JaGoTu10

Active Member
OP
Newcomer
Joined
Jun 27, 2014
Messages
25
Trophies
0
Website
betawiki.net
XP
258
Country
Follow up, if we inject a game with CC support into a game with Gamepad support, will the game pad work as a classic controller? consider brawl, for example.
Yes. No need to inject it into a game with Gamepad support. Every VC Wii game supports the gamepad. It's just controlled by drc_use in meta.xml.

The base VC ae would have to be Xenoblade, as several people have tried changing the meta.xml file to that of Xenoblade to support the Gamepad in other games like NSMB Wii and Resident Evil 4, but still there has not been any success.
Only other way to do so would be to inject a Wii game into Xenoblade, and that still doesn't guarantee the Gamepad compatibility.
No. NSMB Wii didn't work because it can't be controlled using classic controller. No idea about Resident Evil 4. But every frisbiiU + HAI combo supports the GamePad.

So, right now we can

convert nfs to iso (?)
add gamepad "support' to games

can we convert iso to nfs and split it?
Probably. I guess you just need to recreate the header and make sure to disable all hash checks.
 
Last edited by JaGoTu10,

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,207
Country
Canada
Yes. No need to inject it into a game with Gamepad support. Every VC Wii game supports the gamepad. It's just controlled by drc_use in meta.xml.


No. NSMB Wii didn't work because it can't be controlled using classic controller. No idea about Resident Evil 4. But every frisbiiU + HAI combo supports the GamePad.


Probably. I guess you just need to recreate the header and make sure to disable all hash checks.
Tonight sounds like a fun night for anyone willing to try stuff :D
 
  • Like
Reactions: zeldaism and CeeDee

JaceCearK1

Well-Known Member
Member
Joined
May 18, 2015
Messages
540
Trophies
0
Age
27
XP
415
Country
Gambia, The
Has anyone successfully decrypted and started a wbfs file via Dolphin?
I'm kinda tip-toeing;
It crashes when loading the file and I even tried decrypting each nfs file only before merging them into one single wbfs file instead of the other way around! :wacko:
 
Last edited by JaceCearK1,

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,207
Country
Canada
Has anyone successfully decrypted and started a wbfs file via Dolphin?
I'm kinda tip-toeing;
It crashes when loading the file and I even tried decrypting each nfs file only before merging them into one single wbfs file! :wacko:
Have you followed OP's instructions? I want to try that as well once I get home
 

JaceCearK1

Well-Known Member
Member
Joined
May 18, 2015
Messages
540
Trophies
0
Age
27
XP
415
Country
Gambia, The
Have you followed OP's instructions? I want to try that as well once I get home
Of course I did! But that didn't work, so I tried working my way around that, but no success...
Edit: Also the very first chunk (aka decrypted hif_000000.nfs) is always fine, I can clearly see the file's header in my Hexeditor, but the rest doesn't seem to decrypt as intended from what it looks like...
 
Last edited by JaceCearK1,

JaGoTu10

Active Member
OP
Newcomer
Joined
Jun 27, 2014
Messages
25
Trophies
0
Website
betawiki.net
XP
258
Country
Hmmm.

I just skimmed through the header (which was fine) and the last part (which also looked good to me, it had some readable plaintext), and thought it was okay.

If it turns out some of the parts are further encrypted, I have a few ideas, but it'd need more time and looking into.

(The idea: the header maybe holds a key for each of the parts. I've seen some stuff to point towards that being the case in the MCP. But it's just a wild guess.).
 
  • Like
Reactions: zeldaism

CeeDee

fuckin dork
Member
Joined
May 4, 2014
Messages
5,360
Trophies
2
XP
9,911
Country
United States
Uh, if anyone wants, whenever someone injects some games, I made some .tga icon/splash screen files for the meta folders. Right now I have Mario Kart Wii and Smash Bros. Brawl.
 

Attachments

  • mkw.zip
    256.7 KB · Views: 109
  • ssb.zip
    352.4 KB · Views: 122

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
@AboodXD Umm... The .arc files of the game could be decompressed with UWizard like .sarc files but i decrypted a bfma (manual like a sarc) and it gave me some xml, arc... but this files can't be decompressed with UWizard
And SARCExtract says that is unknown.... :unsure::wacko::blink:
Uwizard can't extract what?
Can you send the file?
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,207
Country
Canada
Soooo.... what is this for?
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.
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,270
Country
United States
Yeah that doesnt help or clear my doubts, what can we or developers use this for? making Wii U Wii VC games to install on the menu? and supporting Gamepad? or what xD
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,207
Country
Canada
Yeah that doesnt help or clear my doubts, what can we or developers use this for? making Wii U Wii VC games to install on the menu? and supporting Gamepad? or what xD
Well, so far it IS possible to decrypt these files, so that's a start.
 
  • Like
Reactions: huma_dawii

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,207
Country
Canada
Alright guys, after struggling to grab some nfs files, I did it!

Simply followed instructions in OP, it worked like a charm!

upload_2016-12-8_23-20-14.png


Now I wish the inverted process could be done :P
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Nut on the hill