ThatTrueStruggle

cspr_bin.bms

Jan 5th, 2016
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. endian big
  2. comtype COMP_UNZIP_DYNAMIC
  3. get fileCount long
  4. for i = 0 < fileCount
  5. get offsets[i] long
  6. next i
  7.  
  8. xmath trueCount "fileCount - 1"
  9. for i = 0 < trueCount
  10. if i == trueCount
  11. math Offset = offsets[i]
  12. math Offset + 0x10
  13. get FileSize asize
  14. xmath FinalSize "FileSize - Offset"
  15. clog "" Offset FinalSize FinalSize
  16. endif
  17. math Offset = offsets[i]
  18. math Offset + 0x10
  19. math i + 1
  20. math Size = offsets[i]
  21. math Size + 0x10
  22. xmath TrueSize "Size - Offset"
  23. math i - 1
  24. clog "" Offset TrueSize TrueSize
  25. next i
Advertisement
Add Comment
Please, Sign In to add comment