ktx2check(1)

πŸ“¦ version 4.4.2, in nixos 26.05, nixpkgs unstable

πŸ’… ktx2check β€” like, the KTX Tools Reference page, bestie

okay so real talk: this is the ktx2check(1) page from the KTX Tools Reference, and it's genuinely one of the most useful little tools ever. let me tell you about it πŸŽ€

✨ NAME ✨

ktx2check β€” checks whether a KTX 2 file is actually valid. that's it. that's the whole vibe check πŸ‘‘

πŸ¦‹ SYNOPSIS πŸ¦‹

ktx2check [options] [infile ...]

🌸 DESCRIPTION 🌸

so ktx2check validates Khronos texture format version 2 files (KTX2). it reads every infile you name and validates it, and then it writes messages about any issues it found to stdout. it's literally the most transparent thing ever πŸ’–

if you don't specify an infile, it validates a single file read from stdin. one file. from stdin. slay.

the following options are available:

⭐ OPTIONS ⭐

  • -q, --quiet β€” validate silently, no messages, nothing, just vibes. it indicates valid or invalid via exit code only. so quiet. so mysterious 🫢
  • -m <num>, --max-issues <num> β€” sets the maximum number of issues to be reported per file β€” but only provided -q is not set. like, you can't cap the noise if you already turned the noise off, yk? 😭
  • -w, --warn-as-error β€” treat warnings as errors. this changes the exit code from success to error. dramatic? yes. correct? also yes πŸ’…
  • -h, --help β€” prints this usage message and exits. classic. iconic. no notes.
  • -v, --version β€” prints the version number of this program and exits. short and sweet.

πŸ”₯ EXIT STATUS πŸ”₯

ktx2check exits 0 on success, 1 on command line errors, and 2 on validation errors. three whole moods, know them, love them 🌈

🧚 HISTORY 🧚

Version 4.0

  • Initial version. the origin story. the beginning of an era ✨

πŸ’œ AUTHOR πŸ’œ

Mark Callow, github.com/MarkCallow β€” thank you for your service, king πŸ‘‘


and that's the whole page, bestie! go check some KTX2 files, you're gonna do amazing πŸ“

this was Version 0.0.0, dated Tue Jan 1 1980 00:00:00 β€” yes, that's really the footer, and yes, i think it's kind of iconic. bye pookie! πŸ’–

πŸ“¦ where this page comes from