{% extends "packages/package_base.html" %} {% block title %} {{ _("Supported Games") }} {% endblock %} {% block content %} {{ _("Documentation") }}

{{ self.title() }}

{{ _("Game support is configured using the package's .conf file. See the documentation for more info") }}

{{ _("Package") }} {{ _("Source") }} {{ _("Supported?") }}
{% if package.supports_all_games %}
{{ _("Supports all games unless otherwise stated") }}
{% endif %} {% for support in package.get_sorted_game_support() %}
{{ _("%(title)s by %(display_name)s", title=support.game.title, display_name=support.game.author.display_name) }} {% if support.confidence == 1 %} {{ _("Detected from dependencies") }} {% elif support.confidence == 11 %} {{ _("Added by Editor") }} {% elif support.confidence == 10 %} {{ _("mod.conf") }} {% else %} {{ support.confidence }} {% endif %} {% if support.supports %} Yes {% else %} No {% endif %}
{% else %} {% if not package.supports_all_games %}
{{ _("Unknown. Please either add supported games or check 'Supports all games'") }}
{% endif %} {% endfor %}
{% if mod_conf_lines %}

{{ _("Generated mod.conf lines") }}

{{ mod_conf_lines }}
{% endif %} {% if form %}

Options

{% from "macros/forms.html" import render_field, render_checkbox_field, render_submit_field %}
{{ form.hidden_tag() }} {{ render_checkbox_field(form.enable_support_detection, disabled=force_game_detection) }} {% if force_game_detection %}

{{ _("You need to manually define at least one supported game before you can turn this off.") }}

{% endif %} {{ render_checkbox_field(form.supports_all_games) }}

{{ _("Unless otherwise stated, this package should work with all games.") }} {{ _("You can check this and still specify games in supported_games that you've tested.") }}

{% if form.supported and form.unsupported %}

{{ _("Editor Overrides") }}

{{ render_field(form.supported) }} {{ render_field(form.unsupported) }} {% endif %} {{ render_submit_field(form.submit, class_="mt-4 btn btn-primary") }}
{% endif %} {% endblock %}