ThatTrueStruggle

shin-en_decompress.bms

Jan 7th, 2016
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. endian big
  2. idstring "SHN!"
  3. get HeaderSize_CompressionStart long
  4. get CompressedSize long
  5. get unk1 long
  6. get unk2 long
  7. get null long
  8. get UncompressedSize long
  9. get UncompressedSizePos long
  10. get UncompressedSizePos long // yeah twice dude
  11. goto 0x20 0 SEEK_CUR
  12. comtype COMP_ZLIB_NOERROR
  13. get file_name basename
  14. string file_name += ".bin"
  15. clog file_name HeaderSize_CompressionStart CompressedSize UncompressedSize
Advertisement
Add Comment
Please, Sign In to add comment