Hacking [Semi-working] NFS2ISO2NFS - convert nfs to iso and back

sabykos

Well-Known Member
OP
Member
Joined
Jun 10, 2013
Messages
283
Trophies
1
Age
36
XP
729
Country
Gambia, The
Wow it seems like you guys are really close. I originally stopped working on this, because I never figured out how to pack my files into an installable format. If I see tht correctly the only thing that might be a problem are the 8 bytes in the header. As far as we know fw.img never checks those, but I'm still sceptical.
 
  • Like
Reactions: KiiWii and ploggy

Tock46

Active Member
Newcomer
Joined
Aug 21, 2017
Messages
35
Trophies
0
Age
30
XP
112
Country
Germany
Wow it seems like you guys are really close. I originally stopped working on this, because I never figured out how to pack my files into an installable format. If I see tht correctly the only thing that might be a problem are the 8 bytes in the header. As far as we know fw.img never checks those, but I'm still sceptical.

I am getting an aneurysm... I already said 3 times that the 8 bytes in the Header does not matter at all :P Original Wii VC install fine when you change it to 16*0xFF for example.
 
  • Like
Reactions: ploggy

sabykos

Well-Known Member
OP
Member
Joined
Jun 10, 2013
Messages
283
Trophies
1
Age
36
XP
729
Country
Gambia, The
I am getting an aneurysm... I already said 3 times that the 8 bytes in the Header does not matter at all :P Original Wii VC install fine when you change it to 16*0xFF for example.
Haha, sorry missed that. Well then I guess it is done once piratesephiroth reversed the process.
 
  • Like
Reactions: ploggy

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
it's almost done. I just have to finish iso to nfs conversion.

hmm... it seems it's done.
Converted dumped legitimate iso into nfs files that are identical to the original ones (except for the zero padding at the end of the final file, I didn't mess with that part of @sabykos code and it doesn't seem required anyway).

I'll just make a final test with Resident Evil IV Wii Edition because it's one of the largest wii virtual console games if not the largest (4GB)
 
Last edited by piratesephiroth,
D

Deleted User

Guest
it's almost done. I just have to finish iso to nfs conversion.

hmm... it seems it's done.
Converted dumped legitimate iso into nfs files that are identical to the original ones (except for the zero padding at the end of the final file, I didn't mess with that part of @sabykos code and it doesn't seem required anyway).

I'll just make a final test with Resident Evil IV Wii Edition because it's one of the largest wii virtual console games if not the largest (4GB)
that theoretically could be a problem. There could be a possible read limit. (however i have very little knowledge so take what I just said with a grain of salt)
Also HYPE
 
Last edited by ,

Tock46

Active Member
Newcomer
Joined
Aug 21, 2017
Messages
35
Trophies
0
Age
30
XP
112
Country
Germany
Xenoblade is one of the largest and one of 11 which were released on Dual Layer discs.

Edit:

Converted dumped legitimate iso into nfs files that are identical to the original ones (except for the zero padding at the end of the final file, I didn't mess with that part of @sabykos code and it doesn't seem required anyway).

Pretty sure Nintendo padded the last 32 kb chunk instead of cutting it off at 18 kb for example.
 
Last edited by Tock46,

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
There

sb85fkC.png


Now you can convert anything. Let the injected Wii VC tests begin.
 

Attachments

  • nfs2iso2nfs.zip
    7.8 KB · Views: 153
Last edited by piratesephiroth,

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,867
Country
United States
so assuming I had an iso dumped using cleanrip (ac:cf usa), what would I do to "convert" this to nfs properly? I know how to pack into an installable format already, but I don't know how to convert to working nfs.
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
so assuming I had an iso dumped using cleanrip (ac:cf usa), what would I do to "convert" this to nfs properly? I know how to pack into an installable format already, but I don't know how to convert to working nfs.
get a Wii VC title (it's best to download everything but the NFS files using jnustool) then just copy the iso to the content folder and rename it to game.iso.
Then copy nfs2iso2nfs to the content folder as well and double click it.
(you'd need also the wii common key in a "wii_common_key.bin" file but I already included it in my compiled exe)
 
Last edited by piratesephiroth,
  • Like
Reactions: markehmus

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,867
Country
United States
get a Wii VC title (it's best to download everything but the NFS files using jnustool) then just copy the iso to the content folder and rename it to game.iso.
Then double click nfs2iso2nfs and it should begin the conversion.
(you'd need also the wii common key in a "wii_common_key.bin" file but I already included it in my compiled exe)
i've already got a vc title downloaded+extracted and I rebuilt it with replaced nfs files. thing is, the iso is 4.7gb so it results in about 16 nfs files, despite the actual game being like 330mb. and it didn't actually boot.

would't code/rvlt.tik and code/rvlt.tmd also need to be replaced? maybe with the relevant files from the original iso?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, although i do still have my r4
    flashcard
  • SDA @ SDA:
    @Xdqwerty it's gone. Dead.
  • Xdqwerty @ Xdqwerty:
    @SDA, ok googled it and sad
    +1
  • Xdqwerty @ Xdqwerty:
    but how did they go bankrupt?
  • Xdqwerty @ Xdqwerty:
    or rather, why?
  • K3Nv2 @ K3Nv2:
    I'm about to buy a $200 flash cart
  • Psionic Roshambo @ Psionic Roshambo:
    I think I have a 256GB card in my 3DS lol
  • Psionic Roshambo @ Psionic Roshambo:
    It's a New 3DS XL so it's still under warranty... If it ever breaks gonna make Nintendo fix it lol You said it was new.... For eternity!!!
  • Psionic Roshambo @ Psionic Roshambo:
    But my 3DS is loaded with emulators and 3DS games and DS games and GBA games probably thousands of games in total lol
  • Xdqwerty @ Xdqwerty:
    Brb going with my dad
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, are most of those games shovelware?
    +1
  • K3Nv2 @ K3Nv2:
    Nah gotta buy 3 1tb SD cards for 3ds the entire libraries need archived in my home
    +1
  • SylverReZ @ SylverReZ:
    >buys x3 1TB SD cards
    >stores the entire 3DS library on them
    >installs CFW
    >realised why I wasted loads of money and resources
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Lol no I clean my sets
  • K3Nv2 @ K3Nv2:
    Cause it's in my home ready to go
  • K3Nv2 @ K3Nv2:
    Like uremum
  • Psionic Roshambo @ Psionic Roshambo:
    But 100 games on SNES and Genesis and GBA then TG16 and NES and GB and GBC then all the other random systems and arcade games it all adds up lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Virtual Boy alone has probably 5 games!!! Lol
    +1
  • K3Nv2 @ K3Nv2:
    I won't mention any names in chat but some of us wastes $300 on preloaded hdds :tpi:
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, The PS5 had none.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Lol I spent more than that on a stuffed 4TB drive lol
  • K3Nv2 @ K3Nv2:
    Honestly I've yet to fill the 1tb internal drive on my ps5
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, 1) except final fantasy 16. 2) why would I have a console's whole catalogue if most of the games are either shovelware or terrible games?
  • Psionic Roshambo @ Psionic Roshambo:
    Kind of a waste, but the allure of all those games over 100,000
    Psionic Roshambo @ Psionic Roshambo: Kind of a waste, but the allure of all those games over 100,000