Hacking [Help] How to dump a game to USB format?

  • Thread starter Thread starter Txustra
  • Start date Start date
  • Views Views 3,449
  • Replies Replies 17

Txustra

Well-Known Member
Member
Joined
May 18, 2013
Messages
459
Reaction score
83
Trophies
1
Age
34
XP
2,434
Country
Spain
Hello tempers.
I have succesfully transfered the patched files of the uncensored Tokyo Mirage Sessions from loadiine to the USB version (via wupclient, not NUSPacker) and I have to say that it works perfectly, as you can see in the images at the end of the post.

Now my question is if it is possible to redump the game (installed as usb format -the game was taken from Wii U USB helper-) again as usbformat to share it with you in that iso site.

Your help is welcome.

1.jpg 2.jpg 3.jpg
 
Last edited by Txustra,
If you want to install mods, it's actually fairly easy with sigpatches and that packer someone made to generate the .app needed to install, um, iosu lets you get the key or ticket for the game (in this case TMS#FE), there are numerous programs to download it to your computer that are 4x faster than trying to dump over the network, so you have the raw legit installable files for the main game
You can "install" mods by making a custom "update", extracting an update if there is one, updating the version number in the three xmls, and adding in the modded files, and generating the .app, it'll install as a 0004000E update and the system will load it as it sees it as the latest version
 
If you want to install mods, it's actually fairly easy with sigpatches and that packer someone made to generate the .app needed to install,<snip> it'll install as a 0004000E update and the system will load it as it sees it as the latest version
Would this update, once installed, be accepted without sigpatches (as long as nothing is subject to file verification)? That could be a factor in deciding whether to do it manually or as a package.
 
Would this update, once installed, be accepted without sigpatches (as long as nothing is subject to file verification)? That could be a factor in deciding whether to do it manually or as a package.
uhh don't think so, everything needs to be signed, it's just easier to distribute if the user already has the base game, packaging all the modified files is way less size than reinstalling the entire game and
my theory is that the base game will boot but it'll complain about the "update" and either use the base game or force you to redownload, might be able to get it so the base game loads without sigpatches and the modded version loads with sigpatches cause of lack of verification, I haven't actually tested it out yet as I'm only using redNAND for modded stuff
 
  • Like
Reactions: nexusmtz
Hello tempers.
I have succesfully transfered the patched files of the uncensored Tokyo Mirage Sessions from loadiine to the USB version (via wupclient, not NUSPacker) and I have to say that it works perfectly, as you can see in the images at the end of the post.

Now my question is if it is possible to redump the game (installed as usb format -the game was taken from Wii U USB helper-) again as usbformat to share it with you in that iso site.

Your help is welcome.

@Txustra would you care to explain how you did to do it?
 
Get the loadiine patched version
get the full game in NUS format from NUS or WUD
install the NUS format with WUP installer
Run a fw.img to enable NAND file access
run a file access program (WUP Server or Ftpii_everywhere)
replace modified files from loadiine into your NAND's original files.

(ftpii_everywhere is faster than wup server, but dangerous too, don't edit random files!)
 
  • Like
Reactions: AboodXD
Get the loadiine patched version
get the full game in NUS format from NUS or WUD
install the NUS format with WUP installer
Run a fw.img to enable NAND file access
run a file access program (WUP Server or Ftpii_everywhere)
replace modified files from loadiine into your NAND's original files.

(ftpii_everywhere is faster than wup server, but dangerous too, don't edit random files!)

Thats what I actually did with wupserver, but transfering files directly form sd to Wii U internal, wich is waaaay faster.
 
ah yes, I saw we could mount sd and nand at the same time and make a w.up("sd path", "nand path").
probably faster (and safer) than using ftpii_everywhere in fxp mode.
 
It tooks "only" about 4 hours more or less. I think it is ok considering there was files with 2gb and 4gb size...
 
ah yes, I saw we could mount sd and nand at the same time and make a w.up("sd path", "nand path").
probably faster (and safer) than using ftpii_everywhere in fxp mode.

Seems like I need to learn all WUPServer/Client commands xD
Since there is no doc for this, I supose I've to read everything from the source code, right? That wouldn't be a big problem, but how about the "right path" do follow? How do I mount SD and USB to work with both? Is just like a common command line OS with dir/ls, copy, move, etc?
 
someone made a list !
I'll look at it and edit here in a minute.

edit:
https://gbatemp.net/posts/6848008

I think the list is still incomplete (missing the unmount command, and the latest addition by Fix94)
Added by fix94 November 16-18th:

get_tik_keys()
def dl_buf(self, filename, show_progress = True)
def send_and_exit(self, command, data)
def svc_and_exit(self, svc_id, arguments)
def askyesno(self)
def rm(self, filename)
def rmdir(self, path)
def ios_shutdown()
def ios_reset()
def copy_title(path, installToUsb = 0, flush = 0)
def read_and_dump(adr,size)


I guess what you want is :

w.mount_sd()
w.cp("sd path", "nand path")
or
w.cpdir("/vol/storage_sdcard/path/", "/vol/storage_mcl01 or usb01/usr/title/00050000/YOUR_GAME_TITLE_ID/content/", )
w.unmount_sd()


You don't need to un/mount the storage_usb01?
 
  • Like
Reactions: Tarantus
If you put all the necessary files into a folder within your SD, use the comand w.cpdir (same arguments) instead, which will copy all files inside that directory instead of doing w.cp for each one.
 
yes, it will copy everything.
I'm looking if it's subfolder recursive too, but it should be.

edit: yes, it's recursive and create subfolders.
I don't know if "mkdir" check for existing folders though. still looking.

edit2:
it works, but only on console -> PC direction.
I don't think console->console can check for existing folders, it only creates it? is it skipped if it already exist?

@FIX94 maybe you know how it works?
I tried to look at the client.py, but all I found is that it relied on svcioctl

cpdir -> self.mkdir(_dstpath, 0x600) -> w.FSA_MakeDir(fsa_handle, path, flags) -> svcIoctl 0x07
 
If you want to install mods, it's actually fairly easy with sigpatches and that packer someone made to generate the .app needed to install, um, iosu lets you get the key or ticket for the game (in this case TMS#FE), there are numerous programs to download it to your computer that are 4x faster than trying to dump over the network, so you have the raw legit installable files for the main game
You can "install" mods by making a custom "update", extracting an update if there is one, updating the version number in the three xmls, and adding in the modded files, and generating the .app, it'll install as a 0004000E update and the system will load it as it sees it as the latest version
No, that won't work.

Me and @EclipseSin have done some testing and it seems like the games softlock. (Which means that the games won't accept fake updates)

@Maschell says it's probably something related to FS.
 
Here are the steps that you could try:
  1. Run wupserver at WiiU (either with SysNAND or RedNAND setting)
  2. Run wupclient.py at PC
  3. Use the following command and replace XXXXXXXX with your game title ID to dump or copy either the original or the modified game files from your USB (it could take a while if the game files are big size):
    Code:
    mount_sd()
    w.mkdir("/vol/storage_sdcard/dumpgame", 0x600)
    w.cpdir("/vol/storage_usb01/usr/title/00050000/XXXXXXXX","/vol/storage_sdcard/dumpgame")
    unmount_sd()
  4. Follow the instructions for using NUSPacker or WiiUInstallerPackerv4 to repack the game files in your SD card "dumpgame" folder to the installable package
  5. Run RedNAND and install the package using WUPInstaller after copying that package into "install" folder in your SD card
  6. Test playing the game in RedNAND
  7. Profit
If you want to use NUSPacker make sure you have or use the latest RedNAND iosuhax from dimok github code repository.

I have done almost similar thing, but using the disc directly instead of USB for the source of game files. Here is the video to show the result after I used similar steps to create "eShop" US version of "Animal Crossing: Amiibo Festival" game. I did this since there is no eShop US version for this game, and I would like to play the game without the need of using the disc.



Cheers.
 
Last edited by conanac,
  • Like
Reactions: AboodXD and Txustra

Site & Scene News

Popular threads in this forum