Doubts, help and support about QuickBMS and other game research tools
makc_ar
Posts: 1193 Joined: Sun Aug 17, 2014 7:27 pm
Post
by makc_ar » Fri Jun 15, 2018 10:01 pm
Someone to write a script for this files
https://www59.zippyshare.com/v/izSC1Cux/file.html ? How to cut 28 bytes of footer in .xsew file and create a new file .wav?
footer in .xsew file
create a new file .wav
Right?
Code: Select all
get SIZE asize get NAME basename math SIZE - 28 string NAME + .wav log NAME 0x0 SIZE
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Jun 16, 2018 7:30 am
These xsew files are playable as-is too, anyway yes the script is correct but if you want something 100% compliant with the RIFF format try this:
Code: Select all
idstring "RIFF" get SIZE long math SIZE + 8 get NAME basename string NAME + .wav log NAME 0 SIZE
makc_ar
Posts: 1193 Joined: Sun Aug 17, 2014 7:27 pm
Post
by makc_ar » Sat Jun 16, 2018 9:29 am
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Jun 16, 2018 12:39 pm
Doesn't seem a real format but there is something strange, the repeated sequence of 0xa3f32000.
So if you try the xor.exe tool you can find a better "sense" in the file but still an unknown format:
Code: Select all
xor.exe m40_301c.sngw output.dat 0xa3f32000