Skyrim

File information

Last updated

Original upload

Created by

SFMason

Uploaded by

SFMason

Virus scan

Safe to use

Tags for this mod

About this mod

This simple python script allows you to run the script extender for a Besthesda game through the game's launcher, and thus through Steam.

Permissions and credits
What it does:
When you run this script, it does a few little things that allow you to run the script extender as if it were the game's executable. First, it detects which game it is installed for. It then edits the script extender configuration file for that game so that the script extender knows to run the correct executable. It then appends a '_' to the game executable's name and renames the script extender to the game's old name. e.g. For Fallout 4, it would point f4se to Fallout4_.exe, rename Fallout4.exe to Fallout4_.exe, and finally rename f4se_loader.exe to Fallout4.exe. Since the game's launcher will run whatever is called "Fallout4.exe", it will now run the script extender, which will then run the real game exe. This script will also detect whether it has already been used to patch the game, and if so it will unpatch it. Thus running this script will toggle the script extender's patchedness.

Installation:
Put the script in the same directory as your game's executable, just like you did for the script extender (NOT the Data folder).

Uninstallation:
You can manually rename the files back to how they were yourself if you want, or you can delete the exe files and validate your game through Steam to get them back. This script also alters the file Data/<script extender name>/<script extender name>.ini, specifically the [Loader]/RuntimeName field. You can feel free to delete this ini file entirely, as the script extender works well using default options.

IMPORTANT:
You need Python 3.x installed in order to run this script.

Compatibility:
Fallout4
TESV: Skyrim
Fallout: NV
Fallout 3

Notes:
If anyone wants to improve this feel free, such as by making a GUI or compiling an executable. I made this in a couple of hours, so don't expect much from it. What I can guarantee is that it works provided you don't mess with the files that it uses.