Homebrew [HELP] Trying to convert game file format to loadline (patch XCX)

Dotzz

Member
OP
Newcomer
Joined
Feb 6, 2020
Messages
17
Trophies
0
Age
29
XP
144
Country
Netherlands
Hello all!

I'm fairly new to Wii U modding and am just working on my set up. For now, I've started with ripping my discs and installing them do my HDD. This works fine and is a very easy proces with the help of Disc2App and WupInstaller.

However, I'd like to play an undubbed and uncensored version of Xenoblade Chronicles X. Thus, I followed a guide by Makke007 to patch my rip of Xenoblade Chronicles X.

I'm getting stuck; though. At step 5 I need to convert my games to a loadline format. I've tried it with JNUS tool, to no avail. Is there an alternative way to convert these games to the fileformat needed by the patcher? I found a post detailing all fileformats and tools on GBAtemp , but honestly, I'm getting a bit overwhelmed.

Any help would be much appreciated! Please ask if you need additional information to help me! Unfortunately I had to be very unclear as I couldn't include links in my post because I'm a fairly new member.

Thank you in advance!
 

NicoAICP

Some random dude
Member
Joined
Nov 6, 2016
Messages
745
Trophies
1
XP
2,558
Country
Germany
YOu need to use CDecrypt for that. with all the .app and .h3 files (as well as the other files of the rip) and the commonkey it "extracts" the loadiine folders
 

Dotzz

Member
OP
Newcomer
Joined
Feb 6, 2020
Messages
17
Trophies
0
Age
29
XP
144
Country
Netherlands
Thank you for your fast response!

I've downloaded CDecrypt v.02b and copied it to the folders where my rips of XCX reside.

Though I'm having trouble with the key. I exctracted my key from my Wii U back up, but I don't know how to put it in a .bin-format. I tried Googling, but I couldn't find any good info. Do you know how to create a .bin-format file?
 

NicoAICP

Some random dude
Member
Joined
Nov 6, 2016
Messages
745
Trophies
1
XP
2,558
Country
Germany
Thank you for your fast response!

I've downloaded CDecrypt v.02b and copied it to the folders where my rips of XCX reside.

Though I'm having trouble with the key. I exctracted my key from my Wii U back up, but I don't know how to put it in a .bin-format. I tried Googling, but I couldn't find any good info. Do you know how to create a .bin-format file?

if i remember correctly you can just enter it, as an argument, "cdecrypt.exe <files> <commonkey>"
 

Dotzz

Member
OP
Newcomer
Joined
Feb 6, 2020
Messages
17
Trophies
0
Age
29
XP
144
Country
Netherlands
Hmm, I've tried, I think. But I'm not sure.

I did the following in command prompt:

D:\>cd D:\Gebruiker Roy\Desktop\Wii U shizzle\XCX\tmp_0005000E101C4C00

D:\Gebruiker Roy\Desktop\Wii U shizzle\XCX\tmp_0005000E101C4C00>CDecrypt_v2.0b.exe title.tmd title.tik
CDecrypt v 2.0b by crediar
Built: 16:19:31 Oct 24 2015
Title version:16
Content Count:37

D:\Gebruiker Roy\Desktop\Wii U shizzle\XCX\tmp_0005000E101C4C00>CDecrypt_v2.0b.exe title.tmd title.tik F8B18EC3FE26B9B11AD4A4EDD3B7A031
CDecrypt v 2.0b by crediar
Built: 16:19:31 Oct 24 2015
Usage:
CDecrypt.exe tmd cetk


D:\Gebruiker Roy\Desktop\Wii U shizzle\XCX\tmp_0005000E101C4C00>

I'm not really sure what I did wrong.

Edit: Now I've reached five posts I should be able to enter links.
This is the tutorial I am following in order to undub and uncensor XCX. I'm stuck at step 5.

Even if I follow that guide; using JNUS Tool I get the following error:
''Can't create GUI window without the FST. Please provide a key/title.key. To download the encrpyted files use the -dlEncrypted argument''. But if I JNUS Tool with Java and click ''Open FST'' the program just closes. I'm at a total loss here :-(
 
Last edited by Dotzz,

Dotzz

Member
OP
Newcomer
Joined
Feb 6, 2020
Messages
17
Trophies
0
Age
29
XP
144
Country
Netherlands
Thanks! I didn't even know there was a v3!

It's accepting the keys now, but now it says it can't find the right path.

Code:
D:\Wii U shizzle\XCX\tmp_0005000E101C4C00>CDecrypt.exe title.tmd title.tik
CDecrypt v3.0 by crediar, phacox.cll
Built: 00:23:54 Dec 14 2019
Wii U Common Key found.
Wii U Common Dev Key found.
The "title.tmd" path not exist.

The title.tmd file is definately in the folder. Google search didn't bring me any further.. :-( Do you maybe have another suggestion?
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,633
Trophies
1
Age
36
XP
5,486
Country
Germany
Code:
D:\Wii U shizzle\XCX\tmp_0005000E101C4C00>CDecrypt.exe title.tmd title.tik
The syntax is different with v3:
- Change the command line entry. Now instead of requiring the paths to the files "title.tmd" and "title.tik", requires the path to the NUS Content to decrypt <input path> and the path where you will place the decrypted content <output path>.
 

Dotzz

Member
OP
Newcomer
Joined
Feb 6, 2020
Messages
17
Trophies
0
Age
29
XP
144
Country
Netherlands
Hmm, I didn't manage, I'm just going to download the games with Wii U USB Helper and have that unpack it. Thanks for your help nonetheless, though!

Hopefully I'll manage to repack it once I've patched it.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,286
Trophies
4
Location
Space
XP
13,844
Country
Norway
Use https://gbatemp.net/threads/release-cdecrypt-v3-0.554220/ instead of some old version that needs bin files.
Actually the older version has the key embedded. In the newer versions, that was removed so it now requires you to provide the key. The version he was using is just fine.
Hmm, I've tried, I think. But I'm not sure.

I did the following in command prompt:

D:\>cd D:\Gebruiker Roy\Desktop\Wii U shizzle\XCX\tmp_0005000E101C4C00

D:\Gebruiker Roy\Desktop\Wii U shizzle\XCX\tmp_0005000E101C4C00>CDecrypt_v2.0b.exe title.tmd title.tik
CDecrypt v 2.0b by crediar
Built: 16:19:31 Oct 24 2015
Title version:16
Content Count:37

D:\Gebruiker Roy\Desktop\Wii U shizzle\XCX\tmp_0005000E101C4C00>CDecrypt_v2.0b.exe title.tmd title.tik F8B18EC3FE26B9B11AD4A4EDD3B7A031
CDecrypt v 2.0b by crediar
Built: 16:19:31 Oct 24 2015
Usage:
CDecrypt.exe tmd cetk


D:\Gebruiker Roy\Desktop\Wii U shizzle\XCX\tmp_0005000E101C4C00>

I'm not really sure what I did wrong.

Edit: Now I've reached five posts I should be able to enter links.
This is the tutorial I am following in order to undub and uncensor XCX. I'm stuck at step 5.

Even if I follow that guide; using JNUS Tool I get the following error:
''Can't create GUI window without the FST. Please provide a key/title.key. To download the encrpyted files use the -dlEncrypted argument''. But if I JNUS Tool with Java and click ''Open FST'' the program just closes. I'm at a total loss here :-(
The first command should be correct and didn't produce any errors, did it not extract anything?
Anyway, you can try UWizard, it might be easier for you: https://gbatemp.net/threads/uwizard-all-in-one-wii-u-pc-program.386508/
 

Dotzz

Member
OP
Newcomer
Joined
Feb 6, 2020
Messages
17
Trophies
0
Age
29
XP
144
Country
Netherlands
No, it didn't extract anything. I got a message saying it couldn't load the GUI because the ''FST'' was missing.

I tried Uwizard too, but I couldn't manage. It's fully unclear to me how to decrypt the game using Uwizard. I've litterally tried all options but none work, one tells me to ''go into the future''. :/

And for some reason USB Helper won't finish its download of Xenoblade X [JPN]. On my first try it got stuck at 75%, now it got stuck on 80% and won't continue its download when I try it. It will just run for a sec and tell me the download is complete (which it isn't).

I guess I'll go and try a third time.... I didn't expect to be trying this for my whole weekend. Honestly, I'm getting a bit frustrated. I'd be really happy to have this done.
 
Last edited by Dotzz,

Dotzz

Member
OP
Newcomer
Joined
Feb 6, 2020
Messages
17
Trophies
0
Age
29
XP
144
Country
Netherlands
Actually the older version has the key embedded. In the newer versions, that was removed so it now requires you to provide the key. The version he was using is just fine.

The first command should be correct and didn't produce any errors, did it not extract anything?
Anyway, you can try UWizard, it might be easier for you: https://gbatemp.net/threads/uwizard-all-in-one-wii-u-pc-program.386508/

I actually managed to have Wii U USBHelper download Xenoblade X (NTSC-J) and have it unpack it to Loadliine format. However, when I repacked my patched (undubbed and uncensored files) and try to install it on my Wii U using WUP Installer it turned out some files were/got corrupted.

I expect Xenoblade X to be corrupted, because Wii U USBHelper had a lot of trouble downloading the files. Thus, I started over for a fourth time. This time, I used Uwizard to download Xenoblade X. It all went fine, and I ticked the encryption box. When the download finished it couldn't decrypt Xenoblade X as it lacked the title.tik file. I dismissed the notification, moved over the three title files I had from a different download and intended for Uwizard to decrypt them. Only to find out the program lacked a stand alone utility do decrypt, only supporting decryption immediately after finishing one of its downloads. As it's own download wasn't complete, Uwizard isn't useful to me.

I tried all three of my versions of CDecrypt. (v2.0, v2.0 with a .bat file, and v3.0.) All failed to decrypt. Only this time CDecrypt with the .bat file included gave me a different error message, being this one:

Code:
D:\WiiUshizzle\Uwizard\nus_content\0005000010116100\16>CDecrypt_v2.0b.exe title.tmd title.tik
CDecrypt v 2.0b by crediar
Built: 16:19:31 Oct 24 2015
Title version:48
Content Count:40
Failed to open content:2B

I never had so much trouble with encrypting or decrypting anything in my life before, and I'm barely even pirating anything.

Any clue what to do now? So far Wii U USB Helper, CDecrypt and Uwizard have all failed me. I'm getting a bit clueless... :mellow:
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,286
Trophies
4
Location
Space
XP
13,844
Country
Norway
I actually managed to have Wii U USBHelper download Xenoblade X (NTSC-J) and have it unpack it to Loadliine format. However, when I repacked my patched (undubbed and uncensored files) and try to install it on my Wii U using WUP Installer it turned out some files were/got corrupted.

I expect Xenoblade X to be corrupted, because Wii U USBHelper had a lot of trouble downloading the files. Thus, I started over for a fourth time. This time, I used Uwizard to download Xenoblade X. It all went fine, and I ticked the encryption box. When the download finished it couldn't decrypt Xenoblade X as it lacked the title.tik file. I dismissed the notification, moved over the three title files I had from a different download and intended for Uwizard to decrypt them. Only to find out the program lacked a stand alone utility do decrypt, only supporting decryption immediately after finishing one of its downloads. As it's own download wasn't complete, Uwizard isn't useful to me.

I tried all three of my versions of CDecrypt. (v2.0, v2.0 with a .bat file, and v3.0.) All failed to decrypt. Only this time CDecrypt with the .bat file included gave me a different error message, being this one:

Code:
D:\WiiUshizzle\Uwizard\nus_content\0005000010116100\16>CDecrypt_v2.0b.exe title.tmd title.tik
CDecrypt v 2.0b by crediar
Built: 16:19:31 Oct 24 2015
Title version:48
Content Count:40
Failed to open content:2B

I never had so much trouble with encrypting or decrypting anything in my life before, and I'm barely even pirating anything.

Any clue what to do now? So far Wii U USB Helper, CDecrypt and Uwizard have all failed me. I'm getting a bit clueless... :mellow:
Uh? Uwizard is a standalone decrypter. That's the only thing I use it for.
 

Dotzz

Member
OP
Newcomer
Joined
Feb 6, 2020
Messages
17
Trophies
0
Age
29
XP
144
Country
Netherlands
Uh? Uwizard is a standalone decrypter. That's the only thing I use it for.

Am I really that stupid? :sad: Could you please tell me exactly where I could find this functionality within Uwizard? I'd like to convert .app and .h3 files into a loadine format for the XCX undub/uncensor pather to patch it. I only found the tickbox to immediately convert it after a download has finished.

I'd really love explanation as if intended for a braindead person.

Hello check your wii u common key... it should begin by D7 and finish per 56.;-)

Check!
 

bubulle

Well-Known Member
Newcomer
Joined
Nov 22, 2016
Messages
60
Trophies
0
Age
49
XP
931
Country
France
Thank you for your fast response!

I've downloaded CDecrypt v.02b and copied it to the folders where my rips of XCX reside.

Though I'm having trouble with the key. I exctracted my key from my Wii U back up, but I don't know how to put it in a .bin-format. I tried Googling, but I couldn't find any good info. Do you know how to create a .bin-format file?

Download HexEdit, New file, type the "D7" common key in the hexadecimal left side and save it as key.bin
 

dojafoja

life elevated
Member
Joined
Jan 2, 2014
Messages
696
Trophies
1
XP
2,607
Country
There's no reason that Cdecrypt or Uwizard wouldn't decrypt it if everything is correct. Glad that you were able to get it decrypted using USBHelper though.

I actually managed to have Wii U USBHelper download Xenoblade X (NTSC-J) and have it unpack it to Loadliine format. However, when I repacked my patched (undubbed and uncensored files) and try to install it on my Wii U using WUP Installer it turned out some files were/got corrupted.

Just to be clear, you were running in CFW when you tried to install it with WUPInstaller right? Like I told you in your other thread, anything packed with NUSPacker requires CFW to install and to run. Also be sure that there are no spaces or special/obscure Unicode characters in the path or file name, keep it to ASCII characters only.
 
Last edited by dojafoja,
  • Like
Reactions: Dotzz

Dotzz

Member
OP
Newcomer
Joined
Feb 6, 2020
Messages
17
Trophies
0
Age
29
XP
144
Country
Netherlands
Download HexEdit, New file, type the "D7" common key in the hexadecimal left side and save it as key.bin

Thanks, I'll keep this in mind!

There's no reason that Cdecrypt or Uwizard wouldn't decrypt it if everything is correct. Glad that you were able to get it decrypted using USBHelper though.

Just to be clear, you were running in CFW when you tried to install it with WUPInstaller right? Like I told you in your other thread, anything packed with NUSPacker requires CFW to install and to run. Also be sure that there are no spaces or special/obscure Unicode characters in the path or file name, keep it to ASCII characters only.

I was running CFW, yes. To be clear; I booted up Haxchi but went to the home menu by holding B (I'm using the default set up). I verified I was on CFW in system settings, where it said v999.999.999.

I reopened Haxchi, tried WUP Installer, and it failed. Then I turned off my Wii U, followed the same steps but instead of reopening Haxchi I launched WUP Installer via the Homebrew Launcher Channel, same result.


As for special/obscure characters in my path; I believe not. I removed all spaces in my related folders after you mentioned it in the other topic. I'll try and check when I've got time again!

Edit: Okay.. I just reinstalled Wii U USB Helper, but did it in the wrong map. So I unistalled it, but its unistaller took all my other utilities and back ups with it. So I'll have to start from scratch.. I was thinking to do so anyway. But well :-/. Hopefully I'll manage with some newfound information. I'll see, I'll probably report back later.

Thank you all for your help so far! It's been great!

Edit #2: I managed! I downloaded both versions with USB Helper, had that unpack it! Patched it and repacked it with NUSPacker. It sounds so easy, which it is, but I ran into a lot of problems! At least it was a learning experience! Thank you all!
 
Last edited by Dotzz,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Yeah agreed