Swofty Launcher ​
Swofty Launcher runs Overcooked 2 with Swofty Core, a small in-game loader. Swofty Core loads your addons, patches the game with Harmony, and adds a MODS tab to the main menu. Its Addons button lists every addon and its state.
An addon is a .NET 3.5 assembly with a swofty.json. It builds against Swofty.Overcooked2.dll, the standard library.
using Swofty.Overcooked2;
public sealed class HelloKitchen : IAddon
{
public void Load(AddonContext ctx)
{
MainMenu.AddButton("swofty.hello-kitchen.hello", "Hello", () =>
Dialogs.Message("Hello Kitchen", "Hello from " + ctx.Name + " " + ctx.Version));
}
}What works today ​
- The native Linux build from Steam (
Overcooked2.x86_64). The launcher finds it, Play starts it with Swofty Core, and Stop closes it. - The Windows build (
Overcooked2.exe), on Windows and under Proton on Linux. Play starts it with Swofty Core the same way: see Windows. - The Library: install addons from a zip or a folder, turn them on and off, uninstall them.
- The Addon Browser for Overcooked 2. It lists addons once the registry opens to the game.
- Swofty Core 0.1.0: the MODS tab with the Addons dialog,
core.logandstatus.jsonfor every session. - The standard library 0.1.0: buttons on the MODS tab, dialogs, scene events, versions and the addon list, a log and a data folder per addon, and Harmony.
F1 25's addons, profiles and data stay as they are. Overcooked 2 keeps its own under $DATA/games/overcooked_2/.
Windows ​
On Windows, Play copies Doorstop's winhttp.dll into the game folder and asks Steam to start the game with Doorstop turned on from its command line, so Steam's overlay works in it. Steam's Windows build is 32-bit, so it gets Doorstop's 32-bit dll. Starting the game from Steam's library stays vanilla, even with the dll left there. The launcher takes the dll out when the game closes, or at its next start if the game or the launcher crashed.
On Linux, Steam starts the game through a launch option the launcher sets once, with your go-ahead: see the Steam launch option. A game folder with only the Windows build plays under Proton, as Steam starts it. A game in a Steam library keeps Steam's own Proton prefix, so its saves are the ones Steam shows.
Tested in game under Proton on Linux: Swofty Core and the MODS tab, addons, a Taco Stand order served, custom levels, the level editor, an addon hot-loaded while the game runs, and the game folder left clean after quitting. A run on a real Windows PC is still to come.
Get started ​
- Install the launcher.
- Pick Overcooked 2 in the bottom-left of the launcher, add addons in the Library and press Play.
- To make an addon, start with Your first addon.