Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you choose the New files required by the "replace" command? #1

Open
chasedream1129 opened this issue Feb 22, 2018 · 6 comments

Comments

@chasedream1129
Copy link

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!

@t1f7
Copy link
Owner

t1f7 commented Feb 22, 2018

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".

@chasedream1129
Copy link
Author

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?

@t1f7
Copy link
Owner

t1f7 commented Feb 22, 2018

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.

@t1f7
Copy link
Owner

t1f7 commented Feb 22, 2018

If old file name was 24492492.wem the replacement file should have the same name.

@chasedream1129
Copy link
Author

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.

@t1f7
Copy link
Owner

t1f7 commented Feb 24, 2018

test
testtt
default

It works just fine. Here's the screenshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants