SHARE
TWEET

EA WVE (VLC0/au00) demuxer

bnnm Mar 29th, 2018 (edited) 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # EA WVE (VLC0/au00) demuxer
  2. # from Supercross 2000 (PS)
  3.  
  4. endian big
  5.  
  6. get FILESIZE asize
  7. set OFFSET long 0
  8.  
  9. append #on
  10. do
  11.   goto OFFSET
  12.   get BLOCK_ID long
  13.   get BLOCK_SIZE long
  14.  
  15.   # accept "VLC0" "au00"
  16.   if BLOCK_ID == 0x564C4330 || BLOCK_ID == 0x61753030 || BLOCK_ID == 0x61753031
  17.     log MEMORY_FILE OFFSET BLOCK_SIZE
  18.   endif
  19.  
  20.   math OFFSET += BLOCK_SIZE
  21.  
  22. while OFFSET < FILESIZE
  23. append #off
  24.  
  25.  
  26. get NAME basename
  27. get EXT extension
  28. string NAME += ".demux."
  29. string NAME += EXT
  30. get SIZE asize MEMORY_FILE
  31. log NAME 0 SIZE MEMORY_FILE
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top