HWPFormat.wiki
changeset 1437 b5f72d663141
parent 1436 6579d83e42c4
child 1438 e7214d0ff6e8
equal deleted inserted replaced
1436:6579d83e42c4 1437:b5f72d663141
    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_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:
    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:
    30 
    30 
    31 {{{
    31 {{{
    32     Themes
    32     Themes
    33         MyTheme_v1
    33         MyTheme_v1
    34             theme.cfg
    34             theme.cfg