BNI2TGA(1)
π BNI2TGA(1) β the bnetd user's manual, bestie edition π
okay so real talk, this is bni2tga from the BNETD User's Manual and it is genuinely one of the most lowkey useful little gremlins in the whole toolbox. let's get into it π¦
β¨ NAME β¨
bni2tga β convert a Battle.net icon file to a Targa file
like. that's it. that's the whole job. and she does it flawlessly π
πΈ SYNOPSIS πΈ
bni2tga [options] [--] [bnifile [tgafile]]
π DESCRIPTION π
bni2tga is a simple program which will convert the icons in a Battle.net icon file into a TGA file with the icons arranged vertically. no cap, it just stacks them. one on top of the other. vertical. iconic behaviour honestly π
the specific variant of TGA that is used will depend on the input file, but typically it will be a 28 pixel wide, true-color, 24bit, run-length encoded image with no attributes. so if you were picturing that exact vibe? you were right. π«Ά
now for the part where you point at files:
- if bnifile is not specified, or is specified as
-, then standard input will be used. π - if tgafile is not specified, or is specified as
-, then standard output will be used. β¨
so like, you can literally pipe this thing. main character energy fr fr.
π OPTIONS π
-h,--help,--usageβ prints usage information and exits. your girl is just telling you how to use her. respect. π-v,--versionβ prints its version number and exits. she's announcing herself. slay. β--β signals the end of options. any further arguments will be treated as filenames even if they begin with a-. so if your file is named something cursed starting with a dash, this is your moment. π
π NOTES π
the current version is available with the bnetd distribution at:
http://www.bnetd.org/
go get it bestie π§
π BUGS π
okay so listen. the purpose of some of the fields in the BNI format are not known. like. nobody knows. it's giving mystery. π΅οΈββοΈ
also: only true-color formats are currently supported. so if you were hoping for something else... not today. π
π₯ SEE ALSO π₯
bnetd(1), bnibuild(1), bniextract(1), bnilist(1), tgainfo(1)
the whole friend group. obsessed. π
π AUTHORS π
Marco Ziech (mmz@gmx.net) and Ross Combs (ross@bnetd.org)
and that's the whole page!! this beauty ships as part of the BNETD release, dated 6 November, 2000, and it lives in the BNETD User's Manual. ty for coming to my ted talk, go convert some icons, mwah πβ¨π
π¦ where this page comes from
- debian bookworm: pvpgn 1.8.5-3+b1 Β· GPL-2.0-or-later
- debian trixie: pvpgn 1.99.7.2.1+dfsg-2 Β· GPL-2.0-or-later
- ubuntu jammy: pvpgn 1.8.5-2.1ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: pvpgn 1.8.5-3ubuntu1 Β· GPL-2.0-or-later
- ubuntu questing: pvpgn 1.8.5-3ubuntu3
- ubuntu resolute: pvpgn 1.8.5-3ubuntu4 Β· GPL-2.0-or-later
- ubuntu stonking: pvpgn 1.99.7.2.1+dfsg-5 Β· GPL-2.0-or-later
- Copyright (C) 2000 Ross Combs (ross@bnetd.org)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms