Scrap Mechanic

Scrap Mechanic

53 ratings
sm.interop
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.167 MB
7 Jun, 2020 @ 1:24pm
4 Aug, 2023 @ 11:51am
27 Change Notes ( view )

Subscribe to download
sm.interop

Description
What is sm.interop?
At first glance, sm.interop does not seem to add much to the game. But appearances are deceptive. sm.interop is a dependency for other mods, and it allows those mods to make complex scripted parts and custom tools, that work together well with other mods that use sm.interop.

The mod consists of two parts: a workshop part and a game file part. The game file part needs to be installed manually.

Game file mods that change tools or scripts may not be compatible with sm.interop. However, most of those mods can be re-written to work together with sm.interop. If you are a developer of a game file mod and need help with rewriting your mod to work with sm.interop, do not hesitate to contact Xesau#1681 on Discord.

Features list
Workshop part
  • Custom connection types
  • Event system
  • Mod startup scripts
  • Permission API
  • Scheduling API
Game file part
  • Custom chat commands
  • Custom tools
  • Access to game events, such as scrapmechanic:playerCollision

Installing sm.interop as user
To install the workshop part, you only have to click the 'Subscribe' button and restart your game.

Installing the game file part is a bit more complicated. Go to your game library and right click on Scrap Mechanic. Select Manage -> Browse local files. This opens the steamapps\common\Scrap Mechanic folder. Navigate back to the steamapps folder, then open workshop\content\387990\2123222134. Make sure your game is closed, and then double-click on Install.bat. Now open Scrap Mechanic again.
Or watch the video tutorial: https://youtu.be/LxCweEwQSlE

If the installer asks for the path to the Scrap Mechanic folder, you can find that by going to your game library and right-clicking on Scrap Mechanic. Then select Manage -> Browse local files, and copy the path fo the window that opens and paste it in the installer window.

If Install does not work, please run the Install debug file and send the install.log file to Xesau#1681 on Discord.

Updating sm.interop
To update the mod, you follow the same steps as when installing. But now, you click Update.bat. If that does not work, try just clicking Install.bat again.

Using sm.interop as mod developer
  1. Read through the example project[github.com] from GitHub.
  2. Read the API documentation[docs.google.com] (still Work In Progress)

Who is The Guild?
The Guild is a cooperation between a number of modders. Currently, The Guild consists of: Alstrak, BlueFlame, Brent Batch, DasEtwas, DJ, Fusspawn, Mini, MJM, Sheggy, shinevision, ShrooToo, TechnologicNick, Thumbpick, wingcomstriker405 and Xesau.
Popular Discussions View All (2)
4
15 Nov, 2020 @ 8:39am
I have a problem with sm.interop, please fix, or tell me if Im doing something wrong
Jurrasic Raptor
0
5 Jan, 2021 @ 6:52am
Can't start with this installed
Jeremygames2006
36 Comments
Thermonuclear Enthusiast 3 Sep, 2024 @ 5:14pm 
WHERE THE FUCK IS THE MANAGE BUTTON
unknown81311 4 Aug, 2023 @ 9:45pm 
This can all be done without file mod from what I read in the description
Xesau  [author] 4 Aug, 2023 @ 11:54am 
We have just released an update for the newest version of Scrap Mechanic. Run the Update script to update the mod.
1e1001 29 Nov, 2022 @ 5:17pm 
you should add an installer for linux, it's a bit annoying to just copy the folder over
SenseiSolo 3 Jun, 2022 @ 7:09pm 
Is this going to be updated to work on the latest Scrap Mechanic update
Elisa (Entropy Cat) 25 Aug, 2021 @ 2:40am 
I moved a survival save out of the survival folder so I can use this mod along with creative commands, but when I try to load the latter in, an error message appears stating that I need to run update.bat even though it's already up to date and doing do this in a normal creative world doesn't cause it to happen.
Xesau  [author] 11 Apr, 2021 @ 8:06am 
A new version has been just released, which has been tested to work against Scrap Mechanic 0.5.1. You will have to run the Update script as explained in the description.
memegod6920 3 Apr, 2021 @ 7:55am 
i click install or update but it doesn't work, when i launch scrap mechanic i look in the bottom right corner but it doesn't say sm.interop enabled
Calamarii 13 Mar, 2021 @ 7:18am 
what mods depend on this?
The Guild  [author] 14 Feb, 2021 @ 2:50pm 
The issue with the Modded Tool Loader has been resolved.