--- a/HWPFormat.wiki Mon Jul 09 20:21:54 2018 +0100
+++ b/HWPFormat.wiki Mon Jul 09 20:23:38 2018 +0100
@@ -1,6 +1,8 @@
-#summary Description of the HWP format, used to package custumizations of Hedgewars
+#summary Description of HWP files used to package custumizations of Hedgewars
-= HWP format =
+= HWP files =
+<wiki:toc max_depth="2" />
+
== Introduction ==
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.
@@ -21,9 +23,7 @@
To install a HWP file manually, just put it in the `Data/` subdirectory of your [https://www.hedgewars.org/node/6761 user directory].
== Creating simple HWPs ==
-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.
+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.
=== Example ===
Suppose you have made a theme with the name “!MyTheme_v1” (!MyTheme, version 1). If you want to package it in a HWP, you just create a Zip file (e.g. “MyTheme.zip”) with the following directory structure: