This is a BepInEx pack for Supermarket Simulator, preconfigured and ready to use on Windows, macOS and Linux (including Steam Deck handhelds), with compatibility for MelonLoader mods and plugins!
BepInEx is a general purpose framework for Unity modding. BepInEx includes tools and libraries to
- load custom code (hereafter plugins) into the game on launch;
- patch in-game methods, classes and even entire assemblies without touching original game files;
- configure plugins and log game to desired outputs like console or file;
- manage plugin dependencies.
BepInEx is currently one of the most popular modding tools for Unity on GitHub.
This pack is preconfigured and ready to use for Supermarket Simulator modding.
In particular, this pack comes with
- BepInEx.MelonLoader.Loader, a configurable BepInEx loader for MelonLoader mods and plugins,
- Tobey's BepInEx MelonLoader Wizard, a utility focusing on helping users easily migrate from vanilla MelonLoader,
- Tobey's File Tree Logger for BepInEx, a configurable BepInEx plugin which logs the game's file tree to aid in troubleshooting issues,
- Tobey's Timestamp Logger for BepInEx, a configurable BepInEx patcher which logs the current timestamp, and
- Tobey's Game Info Fix for BepInEx.MelonLoader.Loader, a simple patch to ensure the game info logs of BepInEx.MelonLoader.Loader are correct.
This pack comes with BepInEx.MelonLoader.Loader, enabling you to use mods made for both BepInEx and MelonLoader at the same time!
With this pack installed, mods for MelonLoader need to be installed into the MLLoader
subfolders to work. See the Installing mods section below for details.
When you run the game with this pack installed, Tobey's BepInEx MelonLoader Wizard will handle migrating any MelonLoader mods you already have installed to the MLLoader
folder for you, and clean up any MelonLoader files and folders that you won't be needing anymore!
Tip
Make sure to check out the Installing mods section below once you have finished installing this pack!
Extract the archive into the game folder replacing any files if prompted, run the game once to generate all needed files and folders, if any prompts about MelonLoader appear just click Yes, then quit the game at the main menu and you're good to go.
If something doesn't go according to plan or you need further guidance, please refer to the full instructions below. Don't worry, it looks harder than it is. Please don't skimread!
Same as for Windows but follow step 4 from the full instructions below first.
For Steam Deck handhelds, switch to Desktop mode to follow the instructions. Once you've got it all working, you'll be able to play with mods in either Desktop or Gaming mode as preferred.
It varies depending on how you run the game and your level of technical know-how. The easiest for novices is to use parallels (Apple Silicon) or bootcamp (Intel) and follow the Windows instructions. Sorry.
If you're a techie then you can probably figure out how to get it running on macOS by following the Linux instructions, but note that you'll have to refer to your emulator's instructions for how to set the required environment variable (WINEDLLOVERIDES="winhttp=n,b"
) or how to run winecfg
so that you can set winhttp
as a DLL override - setting the environment variable in the Steam launch options as Linux users do won't work.
Otherwise, make sure the game actually works already without mods, then join the Modded Supermarket Simulator discord server and @toebean
in the #general-support
channel with info about which emulator you use to run the game (e.g. Whisky? HyperPlay? Something else?). Be aware I will not help you if it's pirated.
Tip
The game folder is the folder containing the game's executable (e.g. Supermarket Simulator.exe
).
Steam users can find the game folder by right-clicking the game in their Steam library and selecting Manage
> Browse local files
.
-
Download Tobey's BepInEx x MelonLoader Pack for Supermarket Simulator.
-
Make sure the game is not running.
-
Extract the contents of the downloaded archive into the game folder. Replace any files if prompted.\
ℹ️ That just means open the .zip file and drag the files and folders out into the game folder!
If done correctly, inside your
steamapps
>common
>Supermarket Simulator
folder it should look something like this (the entries in bold being from the pack):⚠️ This list is used as a reference and is non-exhaustive, there will be other stuff, please don't delete anything!BepInEx
MLLoader
Plugins
Supermarket Simulator_Data
doorstop_config.ini
Supermarket Simulator.exe
version.dll
winhttp.dll
⚠️ If you are missing any of these files or folders, you are probably installing to the wrong place, and this pack will not work. -
Skip this step if you play on Windows!
Linux and Steam Deck handheld users: go to your Steam library, right-click the game, select
Properties...
and set the launch options:WINEDLLOVERRIDES="winhttp=n,b" %command%
⚠️ Do not set the launch options if you play the game on Windows!ℹ️ If preferred, Linux users can instead set the Wine configuration (
winecfg
) for the game to addwinhttp
as a DLL override via theLibraries
tab. Remove the launch options if applicable. Full instructions here. -
Run the game from Steam as normal.
If you previously had MelonLoader installed, you may be prompted to migrate your mods and clean up redundant files from MelonLoader. It is recommended to click
Yes
to each of these prompts unless you know what you're doing. This will allow any MelonLoader mods you previously installed to continue to work with this pack. -
Exit the game at the main menu.
Assuming you have followed these instructions correctly, inside the
Supermarket Simulator
>BepInEx
folder there will now be a fileLogOutput.log
(or simplyLogOutput
- it's the same thing). This is your log file, and it will be regenerated every time the game runs with technical and diagnostic information about your installed mods, and any errors that might happen while playing. It's very useful for troubleshooting, and it is recommended to share it whenever asking for help with your mods. It is equivalent to the MelonLoader or BepInEx console window you might be familiar with, containing all of the same information.If this file is missing, it usually means that you have not installed the pack correctly and you should probably try again from scratch. Make sure to pay careful attention to the instructions and don't skimread any of the steps.
Otherwise, you can now install mods according to the Installing mods section below.
Important
With just this pack installed, you will not see any changes in-game!
Check the file Supermarket Simulator
> BepInEx
> LogOutput.log
to determine whether BepInEx has loaded.
Important
Always make sure the game is not running when installing, removing, or otherwise changing mod files!
Tip
Some mods might tell you to install MelonLoader - you can and should ignore that instruction!
This pack includes a special version of MelonLoader that is compatible with BepInEx. If you install any other copy of MelonLoader, BepInEx will stop working. Tobey's BepInEx MelonLoader Wizard is included in this pack and will attempt to fix this issue for you, and you may be prompted to migrate from MelonLoader in which case, you should click Yes
to each prompt unless you know what you're doing. In some cases however, you might need to reinstall this pack to fix the issue.
Tip
"Extract the .zip" simply means take the contents of the .zip file and put them in the specified location.
For example, if you are told to "extract the .zip" or "extract the contents of the archive" into BepInEx
> plugins
, then you can simply open the .zip archive by double-clicking on it, then just select everything inside and drag the contents into your Supermarket Simulator
> BepInEx
> plugins
folder. Easy!
It is strongly recommended to read and follow the instructions provided in the description of each mod you download.
However, sometimes mod authors don't give good (or any) instructions, or you just can't be bothered to read them (we've all been there). For those occasions, here's a simple reference:
Mod type | Where to extract the .zip |
---|---|
BepInEx plugin | BepInEx > plugins |
BepInEx patcher | BepInEx > patchers |
MelonLoader mod | MLLoader > Mods |
MelonLoader plugin | MLLoader > Plugins |
Folder located in root of .zip | Where to extract the .zip |
---|---|
BepInEx |
Directly in the game folder |
MLLoader |
Directly in the game folder |
plugins |
Try BepInEx first, otherwise MLLoader |
patchers |
BepInEx |
Mods |
MLLoader |
Plugins |
Try MLLoader first, otherwise BepInEx |
Tip
On Nexus mod pages, you can usually see a mod's requirements by expanding the Requirements
near the top of the description tab. Otherwise, read the mod's description.
Listed in requirements | Mentioned somewhere on the page | Where to extract the .zip |
---|---|---|
BepInEx (especially this BepInEx pack) | MelonLoader | Probably MLLoader > Mods , maybe MLLoader > Plugins . Use common sense and refer to the .zip structure as needed. |
BepInEx / this BepInEx pack | Probably BepInEx > plugins , maybe BepInEx > patchers . Use common sense and refer to the .zip structure as needed. |
|
BepInEx | Probably BepInEx > plugins , maybe BepInEx > patchers . Use common sense and refer to the .zip structure as needed. |
|
MelonLoader | Probably MLLoader > Mods , maybe MLLoader > Plugins . Use common sense and refer to the .zip structure as needed. |
|
MelonLoader | Probably MLLoader > Mods , maybe MLLoader > Plugins . Use common sense and refer to the .zip structure as needed. |
First, double check and follow the instructions on the mod page. If you still can't figure it out or there aren't any instructions on the mod page, you'll have to get in touch with the author of the mod somehow. Your best bet is usually going to be the Nexus Mods posts tab of that mod. Make sure to check that the question hasn't already been asked and answered.
- Doorstop: debugging Unity Mono games
- BepInEx: writing basic plugin walkthrough
- BepInEx: useful plugins for modding
- BepInEx: patching game methods at runtime
- Modded Supermarket Simulator Discord
First, please make sure to check that the answer you're looking for isn't already somewhere on this page. Use Ctrl+F to search for keywords.
Second, check the FAQ to see if there is an answer there.
If not, you can use the following channels to ask for help:
- Modded Supermarket Simulator Discord
- Nexus Mods posts tab
- GitHub issues
- BepInEx Discord -- Intended for developers, only technical support for BepInEx itself will be provided. No support for mods.
This GitHub repository contains no code or binaries from external sources, only code used to automatically put together a preconfigured .zip of the BepInEx pack.
However, the .zip created by this repository's code contains binaries from the following projects, redistributed without modification and in accordance with their licenses:
Project | License(s) |
---|---|
BepInEx | LGPL-2.1 |
BepInEx.MelonLoader.Loader | AGPL-3.0 and Apache-2.0 (for its use of MelonLoader) |
Tobey.BepInExMelonLoaderWizard | LGPL-3.0 |
Tobey.FileTree | LGPL-3.0 |
Tobey.MLLoader.GameInfo | LGPL-3.0 |
Tobey.BepInEx.Timestamp | LGPL-3.0 |
The code in this repository is licensed under the LGPL-3.0 license.