Commit Graph

10 Commits

Author SHA1 Message Date
yellows111 d5ec733b07 allow textured icons to use vertex colours
caveat: some icons aren't meant to do this and will be over-saturated. Some icons are meant to over-saturate, but I don't mind that as much as the one's that aren't. The criteria that allows this is unknown to me.
2023-10-19 07:45:04 +01:00
yellows111 f22a8118a0 Support rotating icon using arrow keys, and use a triangle strip instead of triangles for BG again 2023-10-18 15:28:34 +01:00
yellows111 3ee8d20894 8am cleanup
felt lime it
2023-10-18 08:25:42 +01:00
yellows111 0569aa7b0b support esoteric RLE icons
looking at you katamari damacy
2023-10-17 23:35:03 +01:00
yellows111 4e27fcdc94 Oh my! Working textures!
Looking good, eh?
2023-10-17 20:59:54 +01:00
yellows111 af1359ed5b Icon rendering, basic texture support (bit broken, though) 2023-10-17 15:26:08 +01:00
yellows111 a8f47aa7fb more crash preventions, support X/SharkPort files
Long version:

Putting an SPS|XPS into the PSU input would read as if the file was very long, so added a 127-file limit (I think this is reasonable) to prevent prolonged stalling.

Added SPS|XPS support to the library, which is the third most common contained format besides PSU and PSV.

Updated demos.

Technical changes:

removed unused u16le definition from readEntryBlock(), since permissions are better read as a u32 instead

added PSV and SPS|XPS reader functions to c6 exports, since I forgot in 0.3.4

moved some stuff around in HTML demo, especially the old raw icon.sys and icon input boxes, since I'm finding parsing a collection of files more useful then the actual standalone files themselves.

HTML-demo: added an "show advanced options" checkbox that unhides features deemed too niche for conventional use
2023-10-15 20:28:59 +01:00
yellows111 4d1b790a7c fixed (while improving) offset issues with untested psv code, added more throw-outs for model parsing 2023-10-12 21:59:39 +01:00
yellows111 d68e2f913a in theory this works, in practice, i forgot to have a test file on hand 2023-10-12 10:58:05 +01:00
yellows111 30258212af Initial commit 2023-10-12 08:49:07 +02:00