Last resort logo

SWAT 3 - LAST RESORT GAME MODIFICATION


Spam Prevention - PLEASE READ !! (23 Apr 2021)

Due to a problem with spammers the rules for posting in the forums have changed for new users.

Newly registered users won't have their posts published until a moderator approves them.

What the Last Resort Launcher does

More
4 years 1 month ago - 2 years 11 months ago #1215 by Slippery Jim
This purpose of this thread is to compile information about what the Last Resort launcher does for the sake of transparency. Eventually in the future I will probably rewrite it and publish a permanent page. A sort of FAQ.


File changes done by LR launcher (read and write changes):

Swat.ini
Swat.cfg
mTemp.txt
Sierra.inf
LastResort.ini


File copy or rename files by the LR launcher (no other file changes):

CustomChat.dat
swat.exe
swat_original.exe
swat_800x600.exe
swat_1366x768.exe
swat_1920x1080.exe
swat_no_menu.exe

All files that are manipulated by the LR launcher are all contained in the Swat3 game folder with the exception of the LastResort.ini file. This is stored in the user's AppData folder. This is done so Windows users can have different saved settings and is considered proper coding practice for Windows.
The topic has been locked.
More
4 years 1 month ago - 4 years 1 month ago #1216 by Slippery Jim
Swat.ini

Used by the game executable to determine the following:

  • paths - file paths and filenames of all the essential Swat 3 assets needed to run the game

  • TakeDownStudioURL - web URL of the game's website

  • Mods - list of mods to be loaded by the game

  • [hr]

    Swat.cfg

    This file contains many essential settings that affect how Swat 3 plays. The specific lines that get changed by the launcher are:

  • res - The chosen game resolution for Swat 3

  • shootgoodguys - toggles friendly fire

  • display_mode - valid game resolutions all must be listed to be used

  • [hr]

    mTemp.txt

    This file is only used by the old Sierra made mod manager. The Last Resort launcher simulates what the old mod manager does to maintain compatibility with vanilla Swat 3.

    [hr]

    Sierra.inf

    This is something I added with version 8.0 and may take it back out. The game doesn't even seem to use this file so changing it may be waste of time.

  • WebPage - web URL of the game's website

  • [hr]

    LastResort.ini

    Settings file created by the Last Resort launcher and only used to remember the choices that are made.
    The topic has been locked.
    More
    4 years 1 month ago - 2 years 11 months ago #1217 by Slippery Jim
    The following files are only copied or renamed by the LR launcher. No content changes are done to the files by the launcher itself.

  • CustomChat.dat - The launcher will unzip and overwrite this file from community made custom chat mods.

  • swat.exe - The current Swat 3 executable being used by the game as renamed by the launcher

  • swat_original.exe - This is the renamed original vanilla Swat 3 game executable. Used when the LR mod toggled off/on.

  • swat_800x600.exe - hacked game executable to give bigger textures, custom 2D menus, and NeuWon server support

  • swat_1366x768.exe - hacked game executable to give bigger textures, custom 2D menus, and NeuWon server support

  • swat_1920x1080.exe - hacked game executable to give bigger textures, custom 2D menus, and NeuWon server support

  • swat_no_menu.exe - hacked game executable to give bigger textures, custom 2D menus, and NeuWon server support but retain Swat 3's original 2D menus.   Only properly works for single player games

  • Only one game executable can be named "swat.exe" at a time obviously. The LR launcher will swap out which game executable gets used by renaming them.


    Why is the Last Resort launcher renaming the game executables?

    Windows 8/10 uses shims with Swat 3 to get it to run smoother (think of these shims as a software settings for Windows compatibility). Windows looks for the 'swat.exe' executable file to apply the shim. The Last Resort mod uses custom hacked .exe files to allow greater screen and texture resolutions. The Last Resort launcher is required to dynamically rename this hacked executable to swat.exe so that it uses the Windows shim to prevent frame rate drops and problems with the game movies.
    The topic has been locked.
    Moderators: DarkSynopsis
    Time to create page: 0.254 seconds
    Powered by Kunena Forum