Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS Features #1185

Merged
merged 12 commits into from Apr 7, 2024
Merged

FS Features #1185

merged 12 commits into from Apr 7, 2024

Commits on Nov 6, 2023

  1. Configuration menu
    Copy the full SHA
    c24eece View commit details
    Browse the repository at this point in the history
  2. [MP] Prefix downloaded pk3s with the string "dl_" and only load downl…

    …oaded pk3s when referenced by the server.
    
    Ported from jk2mv.
    Daggolin committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    4539be3 View commit details
    Browse the repository at this point in the history
  3. [MP] Add reflists and adjust reference conditions (ported from jk2mv).

    Add ref_whitelist.txt, ref_blacklist.txt and ref_forcelist.txt.
    Refactor reference handling to be more predictable (by making the reference conditions more explicit).
    Daggolin committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    7ff6316 View commit details
    Browse the repository at this point in the history
  4. [Shared] Don't unpack/load native libraries from pk3s by default.

    As many users don't review the content of pk3s when installing mods and as cl_allowDownload can download pk3s from the server the pk3 files in the gamne folder should not be considered trustworthy enough to run native libraries from. In case a user really needs it the unpacking of native libraries can be reenabled with a protected init cvar: com_unpackLibraries.
    Daggolin committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    e3930ab View commit details
    Browse the repository at this point in the history
  5. [Shared] Workaround for high kernel load when using many pk3s.

    As the filesystem is initialized before the network socket the file descriptors
    of the ip_socket turns out to be very high if many pk3s are loaded. When calling
    NET_Sleep the select call is used to sleep unless something arrives on the
    network socket. Due to its high number the highestfd value given to the select
    call is very high and covers alls open files, leading to high load on some
    systems. As a workaround this commit calls NET_Init before initializing the
    filesystem.
    Daggolin committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    8690f73 View commit details
    Browse the repository at this point in the history
  6. [Shared] Add fs_restart command to restart filesystem if no module ho…

    …lds a handle for a file inside of a pk3.
    Daggolin committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    19c162c View commit details
    Browse the repository at this point in the history
  7. [Shared] Remove hardcoded limit of 1024 pk3s. Try to increase the max…

    …imum allowed file descriptors to 4096 on start (can be overriden with "-maxfds" on launch).
    
    Ported from jk2mv.
    Daggolin committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    fb888be View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. [MP] Add download overlay.

    If cl_downloadPrompt is enabled users have to confirm each pk3 download now.
    If cl_downloadOverlay is enabled the window used for the confirmation prompt is used to display a progress bar and details on the current download.
    Daggolin committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    f536ef9 View commit details
    Browse the repository at this point in the history
  2. [MP] Default cl_allowDownload to 1, because cl_downloadPrompt is enab…

    …led by default and requires user confirmation.
    Daggolin committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    f0b68d1 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    718c31c View commit details
    Browse the repository at this point in the history
  2. [MP] Install OpenJK modules to base for win32.

    Since com_unpackLibraries defaults to 0 the game is not going to unpack the default libraries from the assets anymore, thus the OpenJK ones should now be used as default.
    Daggolin committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    4fabac9 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. Configuration menu
    Copy the full SHA
    fda880e View commit details
    Browse the repository at this point in the history