ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Dec 10, 2018 4:17 am

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: cut_paste.bms script
PostPosted: Fri Jun 15, 2018 10:01 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1155
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
Image
create a new file .wav
Image

Right?
Code:
get SIZE asize
get NAME basename
math SIZE - 28
string NAME + .wav
log NAME 0x0 SIZE


Top
   
 Post subject: Re: cut_paste.bms script
PostPosted: Sat Jun 16, 2018 7:30 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9414
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:
idstring "RIFF"
get SIZE long
math SIZE + 8
get NAME basename
string NAME + .wav
log NAME 0 SIZE


Top
   
 Post subject: Re: cut_paste.bms script
PostPosted: Sat Jun 16, 2018 9:29 am 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1155
Thanks a lot aluigi! .sngw files https://www111.zippyshare.com/v/LPaTpZNc/file.html hard format?


Top
   
 Post subject: Re: cut_paste.bms script
PostPosted: Sat Jun 16, 2018 12:39 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9414
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:
xor.exe m40_301c.sngw output.dat 0xa3f32000


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited