- Posts: 744
- Thank you received: 9
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
- Slippery Jim
-
Topic Author
- Administrator
-
Less
More
3 years 9 months ago - 2 years 7 months ago #1215
by Slippery Jim
What the Last Resort Launcher does was created 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.
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.
- Slippery Jim
-
Topic Author
- Administrator
-
Less
More
- Posts: 744
- Thank you received: 9
3 years 9 months ago - 3 years 9 months ago #1216
by Slippery Jim
Replied by Slippery Jim on topic What the Last Resort Launcher does
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.
Used by the game executable to determine the following:
[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:
[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.
[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.
- Slippery Jim
-
Topic Author
- Administrator
-
Less
More
- Posts: 744
- Thank you received: 9
3 years 9 months ago - 2 years 7 months ago #1217
by Slippery Jim
Replied by Slippery Jim on topic What the Last Resort Launcher does
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.
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.272 seconds