Hacking Change music in Xenoblade Chronicles X? Possible?

rbsk

Well-Known Member
Newcomer
Joined
May 10, 2016
Messages
64
Trophies
0
Age
39
XP
96
Country
United States
Awesome thanks mate and great advice about copying first, I think I will copy to a usb stick and try moding that copy (after first learning about this WUPclient).
I do have another question though, can I replace the songs with any converted audio file, as in can the file size/track length be larger/longer?
Also anyone have any recommendations for sci-fi/fantasy tracks to look out for?
I'm so stoked for this it's gutting I'm at work solid for next week or so, everyone in this thread getting a like

WUPClient is pretty simple - all commands are just prepended with 'w.' - if you have experience in the command line you should be able to pick it up pretty quickly (I highly recommend not using the GUI - it is buggy/limited/sends the wrong download params)
So, like, `ls` (list files/directories) becomes `w.ls()` - I use fix94's version over on github (it can be found in the wupserver dir). The wupclient.py file is all the documentation I think you will need for commands.
`dl` is download a single file, `dldir` is download a directory and then `up` uploads file, etc. It isn't the fastest thing in the world but it gets the job done.
(just be really mindful to not mess with any system related files while in there - even though I did do regionhax while I was in mine - finally get to play one piece!)

The whole fw.img build was pretty fast for me - but I already had my environment set up to do all the building. Be weary of using any pre-built fw.img(s). If you have any issues getting it set up PM me. I did it all on OSX but could still probably help/give pointers to building in other environments.

As far as audio size/length - that I really do not know. I have yet to play with audio tracks - it may be a matter of trial and error - sorry, I can't be of more help (yet at least - I plan on playing around with this over the coming weekend)

Edit: kept calling fw.img "cfw"
 
Last edited by rbsk,

Risingdawn

Tempallica
Member
Joined
May 22, 2010
Messages
1,088
Trophies
1
XP
1,700
Country
United Kingdom
WUPClient is pretty simple - all commands are just prepended with 'w.' - if you have experience in the command line you should be able to pick it up pretty quickly (I highly recommend not using the GUI - it is buggy/limited/sends the wrong download params)
So, like, `ls` (list files/directories) becomes `w.ls()` - I use fix94's version over on github (it can be found in the wupserver dir). The wupclient.py file is all the documentation I think you will need for commands.
`dl` is download a single file, `dldir` is download a directory and then `up` uploads file, etc. It isn't the fastest thing in the world but it gets the job done.
(just be really mindful to not mess with any system related files while in there - even though I did do regionhax while I was in mine - finally get to play one piece!)

The whole cfw build was pretty fast for me - but I already had my environment set up to do all the building. Be weary of using any pre-built cfw images. If you have any issues getting it set up PM me. I did it all on OSX but could still probably help/give pointers to building in other environments.

As far as audio size/length - that I really do not know. I have yet to play with audio tracks - it may be a matter of trial and error - sorry, I can't be of more help (yet at least - I plan on playing around with this over the coming weekend)
You've been loads of help, I'm rusty with command line but I used it alot with windows small business server 2003 and various company intranets about 8 years ago (was doing my mcsa, never finished) and I used dos alot back in the day.

I take it I will need a fw.img to connect to wup, I'm going to need to learn how to compile from scratch then but I can't imagine it's that hard.

I won't get to start untill next Wednesday so let me know how you get on over the weekend, in the mean time I'm going to do some reading up on building a cfw.img and compiling and brush up on my command line.

Thanks rb I may have to pm you some questions if that's cool but I will have a good research first. Cheers mate.
 
Last edited by Risingdawn, , Reason: turned into a wall of text,eek

rbsk

Well-Known Member
Newcomer
Joined
May 10, 2016
Messages
64
Trophies
0
Age
39
XP
96
Country
United States
You've been loads of help, I'm rusty with command line but I used it alot with windows small business server 2003 and various company intranets about 8 years ago (was doing my mcsa, never finished) and I used dos alot back in the day.

I take it I will need a fw.img to connect to wup, I'm going to need to learn how to compile from scratch then but I can't imagine it's that hard.

I won't get to start untill next Wednesday so let me know how you get on over the weekend, in the mean time I'm going to do some reading up on building a cfw.img and compiling and brush up on my command line.

Thanks rb I may have to pm you some questions if that's cool but I will have a good research first. Cheers mate.

Yeah, you just need to boot in with fw.img - fix94's version is nice and neat with just the wupserver included.
PM me up anytime. I will update you if I get into it this weekend and discover anything useful.


EDIT: @Risingdawn
2 things -
1. You can use ffmpeg to accomplish conversion (if you prefer not having to use the linked app in this thread - just "ffmpeg -i <fileNameIn>.wav <fileNameOut>.adx" in terminal ). ADX is just a special container for mpeg1 tracks - can support looping / crossfades etc.

2. If you go the wupclient route - use `w.cp( <filein>, <fileout> )` and just work with your sd card. So to copy a file to sd `w.cp( "/vol/storage_usb/<pathToAudioFileYouWant>", "/vol/storage_sdcard/<audioFileName>" )` (making sure both sd and usb are mounted)
And then just reverse paths to move an audio file back to the game. This is A LOT faster than trying to download/upload over the network. An average ADX file (audio about 3-6 minutes long) is 11-20MB. The only pain about the sd method is you are adding an in-between step, but the speed gains are well worth it. I think the speed over socket is like 0x400 bytes a response, whereas to sd and back is 0x10000 bytes a second.

Other than that - I did not run into anything. I would just use the original audio file as a guideline to length. I didn't venture more than a couple minutes in either direction.
 
Last edited by rbsk,

pwnsweet

Well-Known Member
Newcomer
Joined
Jul 20, 2008
Messages
58
Trophies
1
XP
306
Country
Australia
I know this is an old thread, but I didn't see the point in creating a new one. I have the USB version of XBX and I have tried replacing some of the music with custom songs but it didn't work. There was just no music playing at all. Frustrated, and after hours of trying, I gave up and restored the original untouched adx sound files. Now my game has no music where those songs should be playing.

Can anyone help?

EDIT: I did all file replacements using filezilla and ftpiiu everywhere. Does that have anything to do with it?
 
Last edited by pwnsweet,

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,289
Country
Chile
Is it necessary to use loadiine? Can I do it with the USB version?
I create my own custom BGMs using sdcafiine, you just need put the .adx files you want to be replaced in game in this path:

American version
sd:/sdcafiine/00050000101C4D00/custom_bgm/content/stream/bgm

European version
sd:/sdcafiine/00050000101C5600/custom_bgm/content/stream/bgm

I muted NLA night, exchange Over The Rainbow for the Main Theme, Black Tar for a lyricless version, Overdrive theme for the lyricless one, Ygg Zero for the lyricless one, and other battle theme Unforgetable? and it's MUCH more enjoyable game now :)
 
Last edited by cucholix,
  • Like
Reactions: raflos

pwnsweet

Well-Known Member
Newcomer
Joined
Jul 20, 2008
Messages
58
Trophies
1
XP
306
Country
Australia
I want to do the same thing, but can it be done using the USB version?

The audio tracks that I replaced were located at /storage_usb/usr/title/00050000/101c4c00/content/stream/bgm (I'm using the PAL version). There was also a patch for XBX, which created another hierarchy of folders: /storage_usb/usr/title/0005000e/101c4c00/content/stream/bgm but it doesn't allow me to enter the bgm folder here with either filezilla or winscp.
 
Last edited by pwnsweet,

raflos

Member
Newcomer
Joined
Nov 7, 2017
Messages
22
Trophies
0
Age
34
XP
156
Country
United States
I muted NLA night, exchange Over The Rainbow for the Main Theme, Black Tar for a lyricless version, Overdrive theme for the lyricless one, Ygg Zero for the lyricless one, and other battle theme Unforgetable? and it's MUCH more enjoyable game now :)

Thanks so much man. I really wanted a way to remove the flight music entirely so the continent music continues to play during flight, but this is the next best option. Also removing as much rap from the game as possible is a plus.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    +1
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
    BakerMan @ BakerMan: Also, no, that was his first time having a seizure, and hopefully the last +1