This is a DLL mode template for Scrap Mechanic that automatically supports Carbon Launcher, other launchers and manual injection. It comes with all boilerplate you need, a highly permissive license, and a simple build system. Along with this is industry standard CI/CD practices allowing launchers to automatically download and install your mod.
- Press "Use this template" on the GitHub page to create a new repository with this template.
- Clone the repository to your computer that you have just created.
- Run
rename.bat
and type the desired name of your mod. - Open the project in Visual Studio or any IDE that support the MSBuild system.
- Modify
manifest.json
with your mod details. - Make any modifications you like to
dllmain.cpp
and compile the project. - If it works, commit and push your changes to GitHub with a tagged commit!
- Go to your releases, find the draft release and press edit then publish! If your repo is public mod launchers can automatically download and install your mod if you request it to be added to their repos!
Note
Want to be put on the Carbon Launcher repo? Just ask in the issues! We will be happy to add your mod to our repo as long as it follows the rules!
This project is licensed under The Unlicense - see the LICENSE file for details, meaning you can do whatever you want with this template! (yes, you can change the license)