Commit Graph
18 Commits
Author SHA1 Message Date
Jan LaupetinandGitHub 0874f0c36f feat: font generation from ttf (#882)
* chore: add file variant of json fonts

* chore: add stb dependency

* feat: generate fonts from ttf files

* chore: add option to add yOffset to file font

* chore: dynamically adjust generated font bitmap size

* fix: printable characters should respect ISO-8859-1 control characters

* chore: do not write missing glyphs into the bitmap

* chore: remove test texture conversion

* chore: adjust font compiler for iw3,iw4,iw5,t4,t5

* chore: add possibility to fill color channels when converting

* fix: games other than t6 use rgba for fonts

* fix: make sure no mipmaps are set on loaddef

* fix: t4 and iw3 use dimensions in image loaddef

* chore: also include optional glyphs in fonts
2026-07-08 23:35:58 +02:00
Jan LaupetinandGitHub 5c67bbaa86 fix: dds dumping for A8 textures (#888) 2026-07-08 07:33:30 +02:00
JanandGitHub 4017f084a8 feat: modman image preview (#862)
* fix: iwi rgb and rgba byte order wrong

* chore: extract three logic from xmodel preview

* feat: add preview for image assets

* fix: bc1-5 decompressor assertion
2026-06-28 20:34:09 +02:00
JanandGitHub b0d90f3aac fix: iwi rgb and rgba byte order wrong (#864) 2026-06-28 19:43:25 +02:00
JanandGitHub 255c424aac fix: t6 modman textures (#849)
* feat: dynamically decompress bc5 textures for modman

* chore: restructure image format class

* chore: keep dds file conversions

* chore: convert all kinds of webgl unsupported formats

* chore: add decompressors for remaining formats

* chore: always set full alpha if available on bc4 and bc5 decompression
2026-06-22 07:02:35 +02:00
Jan Laupetin 18dec9d2f2 fix: add missing iwi formats to iwi writers 2026-05-17 11:15:25 +02:00
Jan Laupetin c49d2bc96f fix: do not dump iwis with format unknown 2026-05-17 11:15:25 +02:00
Jan Laupetin d469af2328 chore: use namespace for FileUtils 2026-03-05 20:27:47 +01:00
Jan Laupetin 33584f6f7b feat: add external image loader for every supported game 2026-01-05 09:50:20 +00:00
Jan Laupetin da2a76f6da chore: update image namespacing 2026-01-05 09:50:20 +00:00
Jan Laupetin 36f79e3ef3 feat: add additional dds fourCC values for bc4 and bc5 2025-11-21 20:30:26 +00:00
Jan Laupetin 02f20f09b6 chore: update all logging to use centralized logging component 2025-09-11 20:25:51 +02:00
Jan Laupetin 49867a3474 fix: accidentally dumping iwi cubemaps as 2D 2025-05-30 19:41:25 +02:00
LJW-Dev dc43671930 Changed structure of IWI header writing so 2D images are last. 2025-05-30 17:22:09 +08:00
Jan ee4301952a refactor: fix x64 compilation issues in Common,ObjCommon,ObjCompiling,ObjImage components 2025-04-26 19:08:16 +02:00
Jan 8c453f1683 fix: support dds files that lie about their mipmaps 2025-01-15 19:18:04 +00:00
Jan d2fa1f40f4 fix: linux build 2024-09-27 21:20:02 +02:00
Jan 2dccd423af refactor: extract image code into single component 2024-09-27 21:16:29 +02:00