# HG changeset patch # User Wuzzy # Date 1531164218 -3600 # Node ID 1a8cc20ce16cb2c38482aca22594dfbc03b23e34 # Parent 83da47a130284908bbde818fb2651ac1931d6166 HWPFormat: Add TOC diff -r 83da47a13028 -r 1a8cc20ce16c HWPFormat.wiki --- 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 = + + == 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: