equal
deleted
inserted
replaced
2 |
2 |
3 = HWP files = |
3 = HWP files = |
4 <wiki:toc max_depth="2" /> |
4 <wiki:toc max_depth="2" /> |
5 |
5 |
6 == Introduction == |
6 == Introduction == |
7 The HWP format provides a simple mechanism to package customizations of Hedgewars (maps, themes, sounds) in a single file. HWP files have the suffix “.hwp”. They are especially intended to be used to be shared online and to be installed rapidliy. |
7 “*HWP*” stands for “Hedgewars Package” and is a file format. HWP files provide a simple mechanism to package customizations of Hedgewars (maps, themes, sounds) in a single file. HWP files have the suffix “.hwp”. They are intended to be used to be shared online and to be installed rapidliy. |
8 |
8 |
9 The file format provides an alternative to the “classical” method in which the user puts custom files directly into the user data directory. |
9 The file format provides an alternative to the “classical” method in which the user puts custom files directly into the user data directory. |
10 |
10 |
11 == Who uses HWP? == |
11 == Who uses HWP? == |
12 HWP files used in the “Downloadable Content” (DLC) section which can be accessed in the main-menu of Hedgewars or with your brower via [https://hedgewars.org/content.html]. Only HWP files are distributed there. |
12 HWP files used in the “Downloadable Content” (DLC) section which can be accessed in the main-menu of Hedgewars or with your brower via [https://hedgewars.org/content.html]. Only HWP files are distributed there. |
18 HWP files are also used by a few scripts and missions, some of them even in the official game (see the section about sidecar HWPs). |
18 HWP files are also used by a few scripts and missions, some of them even in the official game (see the section about sidecar HWPs). |
19 |
19 |
20 == Using HWP == |
20 == Using HWP == |
21 If you download any add-on from DLC, you must restart Hedgewars for the change to take effect. |
21 If you download any add-on from DLC, you must restart Hedgewars for the change to take effect. |
22 |
22 |
23 To install a HWP file manually, just put it in the `Data/` subdirectory of your [https://www.hedgewars.org/node/6761 user directory]. |
23 To install a HWP file manually, just put it in the `Data/` sub-directory of your [https://www.hedgewars.org/node/6761 user directory]. |
24 |
24 |
25 == Creating simple HWPs == |
25 == Creating simple HWPs == |
26 Creating a HWP is easy. A HWP file is just a Zip file, but with the file name suffix “.hwp” instead of “.zip”. They reflect the content of the `Data/` directory of Hedgewars. Any file in a HWP will be treated as if it were in the `Data` directory. |
26 Creating a HWP is easy. A HWP file is just a Zip file, but with the file name suffix “.hwp” instead of “.zip”. They reflect the content of the `Data/` directory of Hedgewars. Any file in a HWP will be treated as if it were in the `Data` directory. |
27 |
27 |
28 === Example === |
28 === Example === |