IGNFileFormat: Difference between revisions

From The Battle for Wesnoth Wiki
Esr (talk | contribs)
Categorize
Aethaeryn (talk | contribs)
m →How does this works?: shadowmaster says this is part of the filter
Line 17: Line 17:
=== How does this works? ===
=== How does this works? ===
If there is no file, the default filter is :
If there is no file, the default filter is :
* .*
* *~
* *~
* *.pbl
* *.pbl

Revision as of 23:04, 22 March 2011

.ign files

What is a .ign file?

When you upload an addon, some files/directory are ignored and not uploaded. If you want to configure more closely which files/directories should be ignored, you need a .ign.

What goes into a .ign file?

The file format is one entry per line.

  • * and ? wildcards are supported (? mean any character, * mean any number of any character)
  • Directories are identified by a trailing /

Where do i put the .ign file?

2 Solutions :

  • put campaignname.ign next to the campaignname.pbl and campaignname.cfg (old style)
  • put a _server.ign next into the campaign directory (new style)

How does this works?

If there is no file, the default filter is :

  • .*
  • *~
  • *.pbl
  • *.ign
  • *-bak

If there is a .ign file the filter is the content of the file : Each file/directory that match any entry of the .ign file will not be uploaded on the campaign server.

This page was last edited on 22 March 2011, at 23:04.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.