Skip to content

Commit 9a3df3a

Browse files
committed
Fix formatting and links for client/resnametable.txt
1 parent 7266bab commit 9a3df3a

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

docs/client/resnametable-txt.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,43 @@
1-
# \`resnametable.txt\`
1+
# resnametable.txt
22

33
The **resource name table** or resnametable, is responsible for creating pathname aliases for client-side files,
4-
regardless of whether inside or outside a [GRF](GRF "wikilink") archive. The server can also read this file when [using
5-
GRFs for map data](:Category:Configuration#Overriding_map-cache "wikilink"), as well. It is stored in
4+
regardless of whether inside or outside a [GRF](./grf.md) archive. The server can also read this file when
5+
[using GRFs for map data](../setup/configuration.md#overriding-map-cache), as well. It is stored in
66
`data\resnametable.txt`, typically inside the archive.
77

88
## Usage
99

1010
This file is used whenever a resource (file) is required to be known under different name, while maintaining the same
1111
data, mostly used for duplicating maps, but available for any kind of file. It is preferred to use this mechanism, as it
1212
avoids the need to copy files physically, thus saves space and improves system's cache performance. The path, to which
13-
pathnames relate to, appears to depend on the pathname's file extension, see [table
14-
below](#Known_Base_Paths "wikilink").
13+
pathnames relate to, appears to depend on the pathname's file extension, see
14+
[table below](#known-base-paths).
1515

1616
## Format
1717

18-
In use is a single-line 2-column [token text table](Token_Text_Table "wikilink") format, whose 1st column holds the
18+
In use is a single-line 2-column [token text table](./token-text-table.md) format, whose 1st column holds the
1919
alias pathname and the 2nd column contains the pathname of the actual file.
2020

2121
`alias pathname#real pathname#`
2222

2323
## Example
2424

25-
`nguild_pay.rsw#payg_cas01.rsw#`
26-
`nguild_pay.gat#payg_cas01.gat#`
27-
`nguild_pay.gnd#payg_cas01.gnd#`
28-
`유저인터페이스\map\nguild_pay.bmp#유저인터페이스\map\payg_cas01.bmp#`
25+
```
26+
nguild_pay.rsw#payg_cas01.rsw#
27+
nguild_pay.gat#payg_cas01.gat#
28+
nguild_pay.gnd#payg_cas01.gnd#
29+
유저인터페이스\map\nguild_pay.bmp#유저인터페이스\map\payg_cas01.bmp#
30+
```
2931

30-
This virtually copies the map payg_cas01 to nguild_pay(so you won't need extra map files for nguild_pay).
32+
This virtually copies the map `payg_cas01` to `nguild_pay` (so you won't need extra map files for `nguild_pay`).
3133

3234
## Known Base Paths
3335

3436
| Extension | Path |
3537
|-----------|----------------|
36-
| bmp | data\texture\\ |
37-
| gat | data\\ |
38-
| gnd | data\\ |
39-
| rsw | data\\ |
38+
| bmp | data\texture\ |
39+
| gat | data\ |
40+
| gnd | data\ |
41+
| rsw | data\ |
4042

4143
[Category:Client Configuration](Category:Client_Configuration "wikilink")

0 commit comments

Comments
 (0)