Skip to content

Downloaded Files

ouned edited this page Jun 10, 2016 · 1 revision

Downloaded files are saved with a dl_ prefix. This is required so JK2MV knows that the pk3 is a downloaded file and can apply it's special rules on it.

Special Rules

The following two rules are applied to downloaded pk3's.

Loading Rule

In the past (during the time of jk2mf) we noticed that a couple of servers provided downloads with content that "replaces" base-content, for example modified versions of ffa_bespin. Providing these "replacements" wouldn't have been much of an issue if all of those servers were running their servers using "unique" folders (like: "Twimod_dark_server1" instead of just "Twimod") and provided the downloads for those folders only. Most of these servers however placed their "content" in the base-folder, which made the clients download the file into the base- folder and load it on every server they connect to. We have seen servers "replacing" textures, maps and animations, leaving desperate clients, who had no way to find out which file caused the change and re-installed their game. To solve this jk2mv adds the prefix "dl_" to downloaded files and only loads the files starting with "dl_" when a server is "referencing" the file (referenced files are those the server currently uses itself, like the pk3 of the current map). This way content like modified ffa_bespin maps that have been downloaded into the base-folder will only be loaded on servers that use the same pk3, hence reference it. This also solves the issue of different versions of maps (for example expedition) preventing players from joining servers with a different version (as long as the players autodownload the version the server offers). If you want to enable a specific pk3 (like christmas_bespin, because of the santa skin) on every server simply remove the prefix "dl_" infront of the name.

Priority

Applies only to: JK2MV >= 1.2
Downloaded files have priority over "normal" files when loaded. So a zzzz.pk3 in base still doesn't overwrite dl_a.pk3 in base because the downloaded file has priority.
Downloaded files overwrite local files.