Question Stardew XACT files formatting issue [Fixed! if you want to manually replace .xwb files look here]

SomeoneEls

Farmhand
Currently trying to challenge myself by only directly changing the files for a personal project (it won't be published), but when testing if it could actually work
by putting the original, unedited .wav files back into a soundbank in XACT, the files were not supported. This could be for a couple reasons...

1. For some reason, the C++ installation of DirectX didn't fully download. This is probably what is wrong, but there might be multiple reasons.
2. My copy of DirectX (June 2010) is incompatible with the files created by unxwb (Luigi Auriemma). The files created by it might have alterations that make it unable to be reinserted.
3. Something with the .wav files had a different format/ XACT needs formatted .wav files..?

Any details would be great! The .wav file I extracted using unwxb and tried is also attached.
 

Attachments

SomeoneEls

Farmhand
Fixed!!

I ended up using xacttool ( https://shrinefox.com/browse?post=xacttool ) and it worked wonders. If you want to do this yourself...

0. For some weird reason the xacttool file is a .7z zip file. Download this to open it.
--> https://www.7-zip.org
Right click on the .7z file and select 7-Zip, then extract.
(why in the world couldn't you just use zip?! there's probably some good reason but still )


1. https://gamebanana.com/tuts/13383 <-- Use this (not the updated ver, this one)
Specify all and any file directories and replace
"X:\Games\Steam\steamapps\common\Day\SND\BGM.xwb"
with the C: directory.
ex. C:\Users\[usernamehere]
Best to copy the wave bank you want to replace and put it in desktop. Use that directory.

[you only need to download
Wavosaur (aka bootleg audacity where you can actually read the end and start times)
.NET runtime (latest ver, make sure you download both x86 and x64 bc that was a problem for some people)
xacttool ]

2. Make sure you didn't mislabel anything. I spent an hour on that alone.
3. The name of the file is not the index. Look at the wiki and use the decimal value.
https://stardewvalleywiki.com/Modding:Audio <--
 
Last edited:

SomeoneEls

Farmhand
Actually, I might end up posting the mod by just giving the updated folders or something.
(I could probably try and make a java exe program to do this automatically, but I'm lazy and don't want it getting flagged for a virus)
 
Top