# HG changeset patch # User almikes@aol.com # Date 1421936461 0 # Node ID 657b88e36ab83a5986499ff464e5b7a11eb3eadf # Parent 6e78f17e8328f1c003b3a6c215db8924bec055a0 Small correction in “How Hedgewars uses HWPs” diff -r 6e78f17e8328 -r 657b88e36ab8 HWPFormat.wiki --- a/HWPFormat.wiki Thu Jan 22 14:12:45 2015 +0000 +++ b/HWPFormat.wiki Thu Jan 22 14:21:01 2015 +0000 @@ -30,7 +30,7 @@ HWP files reflect the content of the `Data/` directory of Hedgewars. Therefore, the structure of the HWP file must be as if it were inside the `Data/` directory of Hedgewars and using the same directory tree. -HWP files will either add or replace a file. If there is no file with a identical name at the same sub-directory of `Data/`, then Hedgewars will simply add that file, making it available for Hedgewars. This is the most commonly used form of HWPs, used to create add-ons, like new missions, flag packs, themes, etc. If there is already a file with such a name there, Hedgewars will prefer the file in the HWP and ignore the other one. This has to be done with care, some files are safe to replace while other files cannot be simply replaced, as this will cause network games to fail. For example, if you have a HWP which replaces an object of a theme and you play that theme online, the online game will fail. +HWP files will either add or replace a file. If there is no file with a identical name at the same sub-directory of `Data/`, then Hedgewars will simply add that file, making it available for Hedgewars. This is the most commonly used form of HWPs, used to create add-ons, like new missions, flag packs, themes, etc. If there is already a file with such a name there, Hedgewars will prefer the file in the HWP and ignore the other one. This has to be done with care, some files are safe to replace while other files cannot be simply replaced, as this will cause network games to fail. For example, if you have a HWP which replaces an object of a theme and you play that theme online, the online game will fail, unless your fellow players have the same HWP installed. It is a special case when you have multiple HWPs activated, when some of them try to include a file with identical name. This is a conflict, see the conflict section for more information about this.