NUSPacker - pack files into installable packages

Discussion in 'Wii U - Hacking & Backup Loaders' started by timogus, Nov 7, 2016.

  1. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    Thanks for the contribution.

    Seriously though, I'm trying to make channel for Retroarch cores and there's only an rpx and a meta
     
    depaul likes this.
  2. piratesephiroth

    piratesephiroth I wish I could read

    Member
    10
    Sep 5, 2013
    Brazil
    isn't it better just to set up the cores and playlists on the SD and use the Retroarch launcher?
     
  3. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    Been having issues with Retroarch and tbh seperate emulators as channels on the homescreen would look better
     
    FlappyFalco likes this.
  4. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    Can you kust replace an original app's rpx file with a new one and edit the cos/meta/app files to get it to work? What do you need to edit to even try it?
     
  5. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    Can you just replace an original app's rpx file with a new one and edit the cos/meta/app files to get it to work? What do you need to edit to even try it?
     
  6. ProtossEvo

    ProtossEvo Newbie

    Newcomer
    1
    Dec 13, 2018
    Japan
    I have a doubt. Mario Kart 8 update (JPN) has something around 400mb, I decrypted it (with CDecrypt), swapped the language files with the USA Update language files, (my wii u is japanese, I want to play Mario Kart 8 in english, but any version that is not the japanese one, when installed to the USB or Nand, freezes with a beeeeep in the splash screen), after I changed the "language" files, I encrypted back with NUSPacker, everything seems to work normal, the encrypted file has something around 400mb, but when I install the update, it become 10mb only, and the game don't load. Anyone knows whats happening?

    To be more specific:

    - Downloaded the USA and JPN Updates for Mario Kart 8 (Both with sizes of something around 400mb)
    - Decrypted both with CDecrypt
    - Copied the USA files to the JPN update folder (content/ui/us to content/ui/jp) and overwrite the files (in the case of MK 8, it's the files with .msbt extension)
    - Encrypted the JPN Update folder with NUSPacker (Encrypted correctly, other games worked flawlessly with similar method, like Super Mario 3d World)
    - The resulting folder has something around 400mb
    - Copied to SD card (root/install)
    - Installed with WUP (Haxchi over Super Mario 64 DS, japanese Wii U ver. 5.5.3 J) to the external USB drive (500gb HD, other games function normally). No errors in the process
    - Went to Wii U config tool, verified the installed files, update become 10mb only. When I download the updates through the Wii U itself, in the config menu it shows the correct size (400mb)
    - Game fails to start

    Any other version of Mario Kart 8 and Update, other than the japanese one, fail to launch (freezes on splash screen with a continuous beep). Japanese version and update works, but only if I don't touch the files (wich is useless to me, since the texts are in Japanese).

    PS: If I change the language files in the game itself instead of the update folder, and I try to play the game without the updates, the console start to download the updates for itself, without giving me the option to play without updating. The updates contain the files for language that I alter in the decrypted full game folder, so the update overwrite my custom files with the original japanese ones again. If I disable the internet, the game refuses to launch without updating, and don't give me a choice to play without the update. Unfortunately, altering the files in the game itself, instead of the update, the encrypting and installation works perfectly (The size of the game doesn't change after the installation. The updates in the other hand, go from 400mb to 10mb)
     
    Last edited by ProtossEvo, Dec 21, 2018
  7. paintispaint

    paintispaint Member

    Newcomer
    1
    Jan 3, 2011
    United States
    searched the thread for "bulk" and "multiple" without any results really, when I use the input and output folders can I do a folder that has several games with code/content/etc in further sub directories.

    eg. /games has 300 folders inside it with game titles (/games/game1, /games/game2), and they all have content/code/whatever loadiine uses. If I input /games as the input directory and say /wup_ready as output, can it take all 300 and chew through them or do I need to run it through them sequentially (manually run it for each directory /games/game1, /games/game2 etc)?
     
  8. paintispaint

    paintispaint Member

    Newcomer
    1
    Jan 3, 2011
    United States
    Edit: for anyone that wants to do this and is unsure, I ended up just using GNU parallel command to have it split it up and run them all, this was the syntax for linux:

    ls | parallel -j+0 --eta 'java -jar NUSPacker.jar -in {} -out /mnt/share/Downloads/WUP/{}

    note that the dir "/mnt/share/Downloads/WUP/" needs to be swapped with your preferred output dir of course. Run it from the dir that you have your game folder names in (/games, not /games/game[12345]). I also have the jar file in that dir. mind you I'm not very good with linux and if this sets your stuff on fire I'm sorry.

    It's running now, hopefully it all works and installs fine.
     
    Last edited by paintispaint, Feb 3, 2019
  9. huma_dawii

    huma_dawii GBAtemp Psycho!

    Member
    10
    Apr 3, 2014
    United States
    Planet Earth
    Hi can someone make a tutorial for this :v I want to pack FTPiiU Everywhere into a channel :)
     
  10. phacox_cll

    phacox_cll Member

    Newcomer
    2
    Mar 30, 2019
    Mexico
    Thank you for the tool.
     
  11. depaul

    depaul GBAtemp Advanced Fan

    Member
    6
    May 21, 2014
    France
    I'm on the same boat as you my friend.
    I'm trying to install Retroarch cores executables (= RPX) into NAND or USB. Usual method is to load them from SD card, but SD card I/O is slow... so installing them into NAND would reduce access time.

    I'm using NUSPACKER and I have CFW. But no luck so far..
     
  12. piratesephiroth

    piratesephiroth I wish I could read

    Member
    10
    Sep 5, 2013
    Brazil
    I don't think that even works. I'm pretty sure retroarch cores are hardcoded to use the SD for the ini files and stuff so they probably won't function when installed to internal memory or USB.
     
    depaul likes this.
  13. Xpl0itR

    Xpl0itR Newbie

    Newcomer
    1
    Mar 2, 2019
    United Kingdom
    how would I pack the folder with the encrypted app files into a single file like a NUS file instead of a folder
     
  14. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    7
    Feb 17, 2016
    United States
    This is for the WiiU. The files are distributed separately. You can zip them together if it's easier to organize, but you can't use them in zipped format.
     
Loading...