SHARE
TWEET

N64 RGBA 5551 mosaic format

LuigiBlood Jan 15th, 2015 197 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // N64 RGBA 5551 mosaic
  2.  
  3. //offset: 0x269690 * 8
  4. //width: 320
  5. //height: 240
  6.  
  7. depth: 15
  8. endian: 0
  9.  
  10. palette: f(32768) ((n & 0x1F)<<3) | ((n & 0x3E0)<<6) | ((n & 0x7C00)<<9)
  11.  
  12. block: f(7) 9 + n, f(8) 0 + n
  13.  
  14. blockWidth: 1
  15. blockHeight: 1
  16. blockStride: 16
  17.  
  18. //Set these for tile mode in the size of what you need.
  19. //tileWidth: 1
  20. //tileHeight: 1
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