astrogab42 / XwbAudioReplacer

"XWBExtractor.ps1" and "XWBRepacker.ps1" are Powershell scripts enabling audio replacement (voice, sounds and/or music) in games using XACT WaveBanks (XWB files) created with DirectX SDK "Cross-platform Audio Creation Tool" (a.k.a. XACT)
11 stars 1 forks source link

Tool version, aka dwVersion / XACT_CONTENT_VERSION, is not numeric #11

Closed Evgen2194 closed 5 months ago

Evgen2194 commented 9 months ago

I get this error when I try to repack

ERROR Tool version, aka dwVersion / XACT_CONTENT_VERSION, is not numeric. The file SFXNew.xwb could be corrupted. ERROR Fatal Error! Exiting...

user files are smaller than the original counterpart.

I even tried to unpack the xwb file and pack it right back, but I still get the same error

image

DeiranZ commented 9 months ago

I'm having the exact same issue. I've commented out the "exit" commands for this check, but then it just says: Tool version, aka dwVersion / XACT_CONTENT_VERSION, and File format, aka dwHeaderVersion, are not recognised. Do you want to continue? (Y/N) After I continue, nothing happens.

astrogab42 commented 9 months ago

Hello!! We’re sorry for that, we didn’t tested the SFX file. We’ll try to do our best to fix it. We’ll share an update as soon as possible! -astrogab

Evgen2194 commented 9 months ago

Not only SFX file, the Speech file also has the same error. I just tried to pack the changed files in Speech, but I unpacked SFX for testing and tried to pack it back without changes to check that the error was not due to the changed files. Thank you!

DeiranZ commented 9 months ago

Thanks for the response @astrogab42, I've also had the exact same issue using the Speech.xwb file. I'm using Windows 10 x64, and have the Steam edition of the game.

Steve2811 commented 9 months ago

Thanks for reporting the problem! The files are probably more different than we imagined. I think the problem is due to the fact that the file headers are different. Our script tries to read the version number from the header but there is other data at that position. We will analyze the problem and try to solve it as soon as possible!

astrogab42 commented 6 months ago

Hello @DeiranZ and @Evgen2194 , just to inform you that very likely we have found the bug. A pull request is ready for peer code review and it will be released ASAP in the next days. We will keep you posted!

astrogab42 commented 5 months ago

Hello everybody, the fix has been tested and released. Please, check on your sides and let us now. Thank you!