Skip to content

ScrappySM/SM-ForceDevMode

Repository files navigation

Force Dev Mode

When the game Scrap Mechanic is launched the flag -dev can be passed, this mod essentially makes it so that dev mode is always enabled regardless of the flag being passed or not, this is useful for if you don't want the console that -dev enables but still want the hot reloading feature. It may also be useful if you're already running the game and don't want to restart it to enable dev mode.

An explanation of how this mod works is available in the dllmain file at the top.

Installation

The recommended method of installing this is Carbon Launcher which is maintained by me and will let you simply press download and launch the game! However, there are many other ways. Here's a launcher agnostic way of installing this mod:

  • Go to releases and download the latest .dll file.
  • Open a tool like Process Hacker/System Informer and find the process of Scrap Mechanic.
  • Inject the .dll file as a module into the process.
  • You can also use a tool like SM-DLL-Injector maintained by QuestionableM and will let you simply inject any DLL files in a folder called DllModules, you could use this project and put the .dll file in the folder and it will automatically inject it for you.

Building

To build this project you will need to have Visual Studio installed and then you can simply open the .sln file and press build, it is recommended to build in Release mode as it will be smaller and faster.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Force enables dev mode whilst the game is running

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages