DLB(6)
πΎ DLB(6) β the NetHack data librarian, bestie edition π
okay so real talk: this is dlb, and it lives in section 6 of the Games Manual. Think of it as NetHack's very own personal archivist β she keeps the vibes organized so the game can find its files. ποΈβ¨
πΈ SYNOPSIS πΈ
dlb {c|t|x}[v][C directory] [file] ...
dlb {c|t|x}[v]I list-file
dlb {c|t|x}[v][f archive-file-name] [file] ...
likeβ¦ three whole moods, pick your fighter π
β¨ DESCRIPTION β¨
So dlb is a file archiving tool β and she's doing it in the spirit (and tradition) of tar(1), but for nethack(6) version 3.1 and up. iconic lineage honestly π
What's she for? Maintaining the archive files that the game reads its special level files and other read-only info out of. That's her whole job. She's the keeper of the read-only lore π
β οΈ heads up bestie: like tar, the letters that specify the operation and the options are all smushed together into one continuous string. No spaces, no chill.
But unlike tar, dlb comes pre-configured with a default set of file names to process. she's got a whole planned-out itinerary already, she doesn't need you to micromanage π«Ά
π Operations π
cβ creates a whole new archive out of the files in the current directory. fresh start, new era, main character energy πtβ lists the files chilling inside the archive. lowkey just a vibe check on what's in there πxβ extracts the contents of the archive right into the current directory. dump it all out, no cap π€
π OPTIONS π
Cdir β change directory to dir before even trying to read any files. set the scene first, periodt π¬farchive β read from or write to archive instead ofLIBFILE(which is usually thenhdatfile in the playground, iykyk).Ilist-file β read the names of the files to emplace within or extract from the archive out of list-file. The default for archive creation isLIBLISTFILE. she's got a list, she's checking it twice π§Ύvβ operate verbosely. she will tell you everything she's doing and honestly? good for her π£οΈπ¬
π¦ EXAMPLES π¦
Create the default archive from the default file list β chef's kiss, no options needed:
dlb c
List the contents of the archive foo:
dlb tf foo
see how the letters just glide together? ate. π₯
π AUTHOR π
Kenneth Lorber β the icon, the legend π (and yes, the copyright line below credits him too, we stan a consistent king)
β SEE ALSO β
go read those too, bestie, cross-referencing is self care π«Ά
π BUGS π
- Not a good tar emulation β and specifically,
-does not mean stdin or stdout. sorry babe, that shortcut does not exist here π - Should include an optional compression facility. likeβ¦ the potential is there, it's just not implemented π
- Not all read-only files for NetHack can actually be read out of an archive. The only way to know which files can be is examining the source. yeah. that's the whole vibe check, go read the source π§
π COPYRIGHT π
This file is Copyright (C) Kenneth Lorber, 2024 for version keni-gitset:1.13. NetHack may be freely redistributed. See license for details.
okay that's the whole page!! π this lovely little doc came to you from the NETHACK crew and was dated 25 December 2024, hanging out happily under the name DLB(6). go forth and archive responsibly, bestie πΈβ¨π
π¦ where this page comes from
- arch rolling: nethack 5.0.0-2 Β· NGPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms