Emergency 2012/2013 QuickBMS script needed
Posted: Fri Jan 04, 2013 1:21 pm
Hello.
Can someone write a very simply BMS script for Emergency 2012/2013 files? All files are LZ compressed and ZLib's deflate unpacks them fine, but I would like to have a batch script to unpack and repack files.
each file has a header of 20 bytes:
DWORD 0x1337C0D3 //magic#1
DWORD 0x00000001
DWORD deflateSize
DWORD 0x00000000
DWORD 0xECC83F2C //magic#2
and followed by LZ-packed data until the end of file.
I would like the script to check magic#1 and magic#2 on all files and unpack (with replace of original) all packed files recursively (including subfolders).
An example files are attached.
Thank you.
Can someone write a very simply BMS script for Emergency 2012/2013 files? All files are LZ compressed and ZLib's deflate unpacks them fine, but I would like to have a batch script to unpack and repack files.
each file has a header of 20 bytes:
DWORD 0x1337C0D3 //magic#1
DWORD 0x00000001
DWORD deflateSize
DWORD 0x00000000
DWORD 0xECC83F2C //magic#2
and followed by LZ-packed data until the end of file.
I would like the script to check magic#1 and magic#2 on all files and unpack (with replace of original) all packed files recursively (including subfolders).
An example files are attached.
Thank you.