Hacking Xenoblade Chronicle X [Undub]

  • Thread starter Thread starter Haevens
  • Start date Start date
  • Views Views 283,689
  • Replies Replies 539
  • Likes Likes 5
Have you guys tried to just unpack the .cpk and putting all the files in a folder named the same as the .cpk instead? I tried this with menu.cpk and I still got the game to load with loadiine (albeit it took a while in the beginning) even if the .cpk wasn't there, and all I had was a menu folder with all the same files inside. (Unless I'm stupid again and didn't delete the menu.cpk, but I'm pretty sure I did).
That might actually be the case and we just never noticed it because we were all just using cafiine. That would be quite nice, since CPKs are really shitty to use. Maybe it even works for newer games if they all use the same criware lib, would be great since Genei Ibun Roku #FE uses really new versions of CPK, and all old leaked packers don't support those. I'll have to try that sometimes.

The audio is buggy and is kinda a mixture of English and Japanese, but it does looks like a good start. How did you managed to do this?
You can look at our patcher, many people say it's kinda... broken, so I'll have to take a look at it again, but if you check out the batch file that comes with it, you can more or less see what you have to do in order to uncensor voices and clothes.
 
  • Like
Reactions: Ruben Burgt
yeah I just made a /menu/ folder in the content folder. It MIGHT be that I just derped though, but I did the same thing for bdat (which seems to change the dialog boxes to Japanese? I just got a bunch of stars in the menus and subtitles and when I spoke to people, and when I was prompted to enter a name the gamepad displayed in japanese, so maybe it would be possible to move the bdat files inside the japanese version of the game, but I haven't tried that). I'll try some more stuff later today or tomorrow when I have more time.
 
Last edited by CXu,
yeah I just made a /menu/ folder in the content folder. It MIGHT be that I just derped though, but I did the same thing for bdat (which seems to change the dialog boxes to Japanese? I just got a bunch of stars in the menus and subtitles and when I spoke to people, and when I was prompted to enter a name the gamepad displayed in japanese, so maybe it would be possible to move the bdat files inside the japanese version of the game, but I haven't tried that). I'll try some more stuff later today or tomorrow when I have more time.

I'm curious as to how it would recognize that. I've tried the same but nothing changes.

Normally the cafiine server would say "Open" when it sees a file it's going to replace, but here nothing occurs. The folder was named chr_pc and chr.pc.cpk in the times I've tried

https://cdn.discordapp.com/attachments/167705284918247424/178646728570830850/unknown.png
 
Which is why I'm asking the person if they're sure about that. Because they said a folder was made instead.
 
Which is why I'm asking the person if they're sure about that. Because they said a folder was made instead.
I think he have injected US/EUR files IN the japanese version (and not jap' files on the eur/us version), because "text" files are small, and cafiine can inject these files. You can try that... :D
 
Oh I'm talking about loadiine, not cafiine. I just figured it was worth a shot :P
 
I'm curious as to how it would recognize that. I've tried the same but nothing changes.

Normally the cafiine server would say "Open" when it sees a file it's going to replace, but here nothing occurs. The folder was named chr_pc and chr.pc.cpk in the times I've tried

https://cdn.discordapp.com/attachments/167705284918247424/178646728570830850/unknown.png
Cafiine can not add files, only replace them. You're not cloning the entire FS, the Wii U just asks the server if a replacement is present and loads it, if that's not the case, it loads from the disc.
 
Cafiine can not add files, only replace them. You're not cloning the entire FS, the Wii U just asks the server if a replacement is present and loads it, if that's not the case, it loads from the disc.

Sorry to sound like a jerk, but yeah? I never said anything about adding files.
 
Sorry to sound like a jerk, but yeah? I never said anything about adding files.
Sorry, then you didn't understand me. There is no way for the cafiine handler/game to know that you have a folder in you cafiine root for xcx. It asks for the CPK, the server says that it's not present, so it gets loaded from the disc. If the folder method is really working, you wouldn't be able to use it with cafiine, because it just assumes you have nothing to replace and prevents the game from ever knowing that there shouldn't have been a CPK to begin with and to try searching for the folder. That's only possible with loadiine.
 
Yeah turns out they were talking about loadiine while we are all talking about cafiine causing the confusion lmao
 
So since I had both the EN and JP chr_pc.cpk files extracted, I used a program to compare the files within to see specifically which ones are different across both versions.

http://checksumcompare.sanktuaire.com/home

According to this, these are the files that are different between the two versions.

http://pastebin.com/edPWbXiT

Figured that info would be helpful for those that are doing the extracted file replacement strategy in Loadiine, to save yourself time.

Whew, took me way longer than expected to make a batch file to move that list of files over for easy copy/pasting lol
 
Last edited by Nevermore,
Some interesting stuff. Importing the bdat files from the English version into the Japanese one works, and you'll get English text, but the formatting will be all over the place. The menus and everything else will still be in Japanese, most likely because they're in the common_ms.bdat (and common_local_us.bdat?) or something, which for some reason didn't work when I tried to replace it in the patch0.cpk. I have no clue why that's the case, but it might depend on some other file from the English version which doesn't exist in the Japanese one, so anyone interested can try figure that out I guess. The text formatting might also be stored somewhere else, and a good place to start might be the scripts folder, since there's a bunch of files named the same as the .bdat files. Right now these two issues basically makes the game not playable. Font can be replaced with English fonts, but this doesn't solve any formatting issues, unfortunately. So yeah, if this works we'd basically have the Japanese game in English, with correct lip syncing and all that.

Another interesting thing is that it seems you can create a patch0.cpk for the English version, and replace files through this, similar to how the Japanese version does it with the patch. The way I tested this was to create the folders "\menu\bmn\us\" and placing "system_avatarmake_00.bmn" inside, before creating a patch0.cpk. This should replace the background during the avatar creation voice screen: http://i.imgur.com/auy3XpT.jpg The selection itself doesn't work though, as .bmn is just the background image used there. I guess the menu edits are in the rpx, and I did try to decompile it to an elf and looking at it in a hex editor, but well, I had no clue what I was looking for or at so I gave up :P


Aaaand it's super late (or early depending on how you look at it :P) here so I'm going to bed.
 
Last edited by CXu,
  • Like
Reactions: RealityNinja
Some interesting stuff. Importing the bdat files from the English version into the Japanese one works, and you'll get English text, but the formatting will be all over the place. The menus and everything else will still be in Japanese, most likely because they're in the common_ms.bdat (and common_local_us.bdat?) or something, which for some reason didn't work when I tried to replace it in the patch0.cpk. I have no clue why that's the case, but it might depend on some other file from the English version which doesn't exist in the Japanese one, so anyone interested can try figure that out I guess. The text formatting might also be stored somewhere else, and a good place to start might be the scripts folder, since there's a bunch of files named the same as the .bdat files. Right now these two issues basically makes the game not playable. Font can be replaced with English fonts, but this doesn't solve any formatting issues, unfortunately. So yeah, if this works we'd basically have the Japanese game in English, with correct lip syncing and all that.

Another interesting thing is that it seems you can create a patch0.cpk for the English version, and replace files through this, similar to how the Japanese version does it with the patch. The way I tested this was to create the folders "\menu\bmn\us\" and placing "system_avatarmake_00.bmn" inside, before creating a patch0.cpk. This should replace the background during the avatar creation voice screen: http://i.imgur.com/auy3XpT.jpg The selection itself doesn't work though, as .bmn is just the background image used there. I guess the menu edits are in the rpx, and I did try to decompile it to an elf and looking at it in a hex editor, but well, I had no clue what I was looking for or at so I gave up :P


Aaaand it's super late (or early depending on how you look at it :P) here so I'm going to bed.
Yeah, I think we also tried using the avatar maker menu files from the Japanese version(to restore... a special slider), but it broke, I think it's because the engine was changed between the two releases, but no one really knows.
 
Was able to patch the game after moving the patcher to the root folder.
The intro cutscene is in Japanese, but after creating a character the cutscene right after is in english.
 
So, I've found that these files in stream\ev_voice in the English version that have no Japanese counterpart:

m01\xs01010100_wav0033_2.adx
m01\xs01110100_wav0001.adx
m01\xs01110100_wav0002.adx
m01\xs01110100_wav0003.adx
m01\xs01110100_wav0004.adx
m01\xs01110100_wav0005.adx
m01\xs01110100_wav0006.adx
m01\xs01110100_wav0007.adx
m01\xs01110100_wav0008.adx
m01\xs01110100_wav0009.adx
q904\qev090405_wav0019.adx
q904\qev090405_wav0020.adx
q920\qev092003_wav0022_02.adx
q924\qev092404_wav0007.adx
q925\qev092501_wav0073.adx
q925\qev092501_wav0077.adx
q925\qev092501_wav0077_2.adx


From what I can tell, the m01 files, other than the first one (which is like, a grunt or something), are Japanese voice lines that are unused? They're not present in my Japanese version of the game at least. The ones in the q folders seem to be some extra lines added here and there, or grunts and whatnot. So basically I'm wondering if anyone knows what happens if you just straight out delete those files? Will you just get a scene with like no voices but characters speaking and mouth moving? Also, I didn't check if there are any additional lines in the Japanese version that doesn't exist in the English version, so if you know of some that do, please tell me. And anyone knows what's up with the Japanese lines there?

Oh, and did you ever get to fix the president's speech in the beginning? From what I can tell the speech is just the first few .adx files in the m01 folder.
 
  • Like
Reactions: RealityNinja

Site & Scene News

Popular threads in this forum