HWPFormat.wiki
changeset 1438 e7214d0ff6e8
parent 1437 b5f72d663141
child 1439 b01fa5ac341e
equal deleted inserted replaced
1437:b5f72d663141 1438:e7214d0ff6e8
    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 ===
    29 Suppose you have made a theme with the name “!MyTheme”, version 1 (`MyTheme_v1`). If you want to package it in a HWP, you just create a Zip file (e.g. “MyTheme.zip”) with the following directory structure:
    29 Suppose you have made a theme with the name “!MyTheme”, version 1 (`MyTheme_v1`). If you want to package it in a HWP, you just create a Zip file (e.g. “MyTheme_v1.zip”) with the following directory structure:
    30 
    30 
    31 {{{
    31 {{{
    32     Themes
    32     Themes
    33         MyTheme_v1
    33         MyTheme_v1
    34             theme.cfg
    34             theme.cfg