Hacking Decrypting Wii VC nfs files

  • Thread starter Thread starter JaGoTu10
  • Start date Start date
  • Views Views 38,020
  • Replies Replies 208
  • Likes Likes 23
@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,
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.
 
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?
 
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,
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
 
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,
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
 
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,
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.).
 
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

@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?
 
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.
 
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
 
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
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