issues
search
phy1um
/
ps2-homebrew-livestreams
Repo for code written during my Playstation 2 Homebrew livestreams
MIT License
51
stars
6
forks
source link
GH-36 CLUT Support
#37
Closed
phy1um
closed
2 years ago
phy1um
commented
2 years ago
Additions
Setting CLUT fields with TEX2 register in sprite rendering (only takes effect for PSM8/PSM4 textures)
Lua abstraction for arbitrary buffers (used to create dynamic textures in EE RAM)
Better TGA loading, no longer needs to specify width and height manually
Python tooling for working with TGA images
Extract palettes into own image
Strip palette from TGA
Compress TGA into 4 bit per pixel non-standard image (for PSM4)
Correct VRAM size calculations to be in bytes always (but FBs still expect words?)
Todo Before Merge
[ ] Verify on hardware
[ ] Update tests to use new APIs
Additions
Todo Before Merge