Source Filmmaker

Source Filmmaker

183 ratings
Multi-Run Patch
5
   
Award
Favorite
Favorited
Unfavorite
Universe: Original IP
Script
Tags: SFM
File Size
Posted
Updated
20.403 KB
14 May @ 1:45pm
15 May @ 3:55pm
2 Change Notes ( view )

Subscribe to download
Multi-Run Patch

Description
This patch modifies launcher.dll to allow multiple copies of SFM to be ran at the same time.
It also allows you to have SFM launched while another source game is running.
This script is based off of KiwifruitDev's Viewport Resolution Patch
Thanks to Thespikedballofdoom for inspiring the idea.

Usage
The script patches launcher .dll to disable the creation of the singleton mutex, and disables the check for any active singleton mutex. Aka, you can now run multiple copies of SFM.

1) Launch the script via Scripts > an0n > Multirun Launcher Patch
2) Acknowledge the warning message
3) Press OK, the launcher will be patched and SFM will be restarted

This patch will only need to be run once.

Why
-multirun and -allowmultiple arguments do not work with SFM, and patching launcher.dll in-memory doesnt work as it loads in before the python scripts execute. So patching the file and saving it is the only option.

This is for my program, "SFM Multi-Render", where it will automatically run and render your project split between multiple copies of SFM running simultaneously. This results in renders that can be 4-5x faster than normal.
It is in beta, and not thoroughly tested, but I have used it personally for my own renders and have seen good time savings.

SFM Multi-Render

Includes:
sfm\mainmenu\an0n\Multirun Launcher Patch.py
41 Comments
Chicken Hunter 24 Aug @ 6:21am 
@an0nymooose Can you please create a tutorial video on YouTube about this SFM Multi-Render & Multi-Run Patch ? I am really unable to use it and not working to my SFM. Need your help please.
ToddlersAreDelicious 9 Aug @ 6:27am 
i opened multirun launcher patch with python but it just pops up for a nanosecond and closes itself, id like to see a youtube video tutorial if you can
L.J Fox YT 30 Jul @ 3:16am 
An0nymoose, I thought you stopped SFM? Also, big fan!!!
EtherealRonin 16 Jul @ 8:52am 
does this only work when you open it manually in files (sfm.exe) or is there a way to launch multiple from steam alone or from sfm itself
Jakk 27 Jun @ 4:29pm 
not sure if i'm doing anything wrong but when i try to render SFM just closes out on me(and yes i did read the instructions)
gjtrue 23 Jun @ 1:02am 
Can someone please create a "patch" or whatever to fix and/or drastically improve SFM's memory limitations?
Hromz 19 Jun @ 1:49am 
For some reason my render time has decreased, idk what you did but ty
RuneSFM 15 Jun @ 3:19pm 
Oh, my, lord.
Hromz 12 Jun @ 10:11pm 
This is awesome!
Ping 2 Jun @ 9:43pm 
HOLY SHIT MY SAVIOR