s25client icon indicating copy to clipboard operation
s25client copied to clipboard

Actually allow maps and lua files to be placed within the campaign folder

Open Flamefire opened this issue 1 year ago • 0 comments

Although this is documented it was not implemented. Make both folders optional defaulting to the campaign folder.

I also restricted this to a single subfolder. If it contains anything else, i.e. a parent folder, it must be a (restricted) path as in the other path references in lua files, i.e. start with <RTTR_...> and do not contain upward references.

I also replaced the script-strings in the test by C++11 raw strings to avoid the many backslashes and quotes that make them rather hard to read.

Flamefire avatar Oct 21 '24 12:10 Flamefire