Debian Codegraph @

lib/readme.txt

raw
1 The "lib" directory contains all of Angband's special sub-directories.
2
3
4 === Directory "lib/gamedata" ===
5
6 The "lib/gamedata" directory contains various special text data files.
7
8 The *.txt files are utf8 template files used to construct the data
9 arrays for the game. These arrays describe the "terrain features",
10 "object kinds", "artifacts", "ego-items", "monster races", and "dungeon
11 vaults", "player races", "player classes", and many other things.
12
13 The utf8 template files are easier to edit than hard-coded arrays, prevent
14 compilation errors on some machines, and also shrink the size of the binary
15 executable, and also provide a user-readable spoiler file of sorts.
16
17 These files are modifiable. It is recommended that if you do modify any of
18 these files, you put the modified version in your user directory (lib\user
19 on Windows, ~/Documents/Angband on macOS, ~/.angband/Angband on Linux/Unix),
20 where it will be read preferentially. Look at the help file
21 lib/help/modify.txt for more details.
22
23
24 === Directory "lib/customize" ===
25
26 The "lib/customize" directory contains the "pref files" - files which help
27 the game deal with graphics, keyboard input and messages, among other things.
28
29 In general, these files are used to "customize" aspects of the game for
30 a given site or a given player.
31
32
33 === Directory "lib/help" ===
34
35 The "lib/help" directory contains the "online help" files.
36
37 This directory is used to search for normal "online help" files.
38
39
40 === Directory "lib/screens" ===
41
42 The "lib/screens" directory contains various special text data files.
43
44 The 'news.txt' file is displayed to the user when the game starts up. It
45 contains basic information such as my name and email address, and the names
46 of some of the people who have been responsible for previous versions of
47 Angband. You may edit this file (slightly) to include local "site specific"
48 information such as who compiled the local executable. You should refer the
49 user to a special "online help" file, if necessary, that describes any local
50 modifications in detail. The first line of this file should be blank, and
51 only the next 21 lines should contain information.
52
53 The 'dead.txt' file is displayed to the user when the player dies. It
54 contains a picture of a tombstone which is filled in with interesting
55 information about the dead player. You should not edit this file.
56
57 The 'crown.txt' file is displayed to the user when the player wins. It
58 contains a picture of a crown. You should not edit this file.
59
60 These files should not be modified unless you know exactly what you are doing.
61
62
63 === Directory "lib/fonts" ===
64
65 The "lib/fonts" directory contains the font files for use in the Windows and
66 SDL front ends. More .fon files can be added and used if you wish.
67
68
69 === Directory "lib/tiles" ===
70
71 The "lib/tiles" directory contains the .png images for the various tilesets,
72 as well as the file graphics.txt which the game uses to display the tiles
73 correctly.
74
75
76 === Directory "lib/sounds" ===
77
78 The "lib/sounds" directory contains the .mp3 sound files.
79
80
81 === Directory "lib/icons" ===
82
83 The "lib/icons" directory contains the Angband icon files.
84
85
86 === Directory "lib/user" ===
87
88 The "lib/user" directory is used to put various game-written configuration
89 files (such as the monster memory file, lore.txt, and a .prf file with the
90 subwindow configuration for the current character). It is the destination
91 for character dumps, output from the death screen spoilers, and results
92 from the statistics front end or statistics debugging commands. It also
93 contains the directories for scores, savefiles, and randart sets (all of
94 those may be held systemwide, as in some Linux/Unix installations), and
95 for user-created help files.
96
97
98 === Directory "lib/user/save" ===
99
100 The "lib/user/save" directory contains "savefiles" for the players.
101
102 Each savefile is named the name of the character, or, on multi-user machines,
103 "UUU.NNN", where "UUU" is the player uid and "NNN" is the character name.
104
105 The savefiles should be portable between systems, assuming that the
106 appropriate renaming is perfomed.
107
108
109 === Directory "lib/user/panic" ===
110
111 Is like "lib/user/save" but holds "savefiles" generated in repsonse to the
112 game receiving a fatal signal, typically because of a game crash.
113
114
115 === Directory "lib/user/scores" ===
116
117 The "lib/user/scores" directory contains the "high score" files.
118
119 The "scores.raw" file contains the "high score" table, in a "semi-binary" form,
120 that is, all the bytes in the file are normal ascii values, but this includes
121 the special "nul" or "zero" byte, which is used to separate and pad records.
122 You should probably not attempt to modify this file with a normal text editor.
123 This file should be (more or less) portable between different platforms. It
124 must be present (or creatable) for the game to run correctly.
125
126 On some multiuser systems there is a separate systemwide score file.
127
128
129 === Direcctory "lib/user/archive" ===
130
131 Holds the randart set files when they are not in use by a character loaded
132 into the game.
133
134