equal
deleted
inserted
replaced
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 |