Open chasedream1129 opened 6 years ago
I could forget something but you should open wem files (or dir with wem files) when you load the editor.
Probably this will work:
python3 soundbank.py "sounds/1.bnk" "sounds_replace/" -o "sounds/updated.bnk"
Here you provide the second argument (sounds_replace/
dir), it will fill "new files".
My new file is called "02.wem" and SoundBank is called "c.bnk" I executed the python3 soundbank.py c.bnk 02.wem command and then entered replace. But the output "changed.bnk" has not changed at all, and even md5 is exactly the same as "c.bnk". It is not also need to select the old files "c.bnk" in, and if so, how to select?
Oh, how are you using replace?
As I remember you should use names after the command, for example:
replace 02.wem
or replace WEM_ID
.
To get that use list
command.
If old file name was 24492492.wem
the replacement file should have the same name.
SoundBank file: c.bnk New file (used to replace): 02.wem Old file (replaced): 24492492.wem in c.bnk
I execute python soundbank.py c.bnk 02.wem
Then type replace 02.wem
The output changed.bnk and c.bnk md5 still the same.
It works just fine. Here's the screenshots.
I want to replace the audio in SoundBank, but when I input the replacement command, always show "New files are not selected. Ignoring replace command.". I want to know how to selected new files. Thank you very much!