S1MAPI
S1MAPI is a mapping and construction library for Schedule 1 mods. Create procedural meshes, build structures, and load GLTF assets without depending on game assemblies.
模組介紹 作者原文
S1MAPI - Schedule 1 Mapping API
S1MAPI is a mapping and construction library for Schedule 1 mods. Create procedural meshes, build structures, and load GLTF assets without asset bundles.
Documentation • GitHub Repository
What S1MAPI Does
- Procedural Meshes: Generate 3D shapes at runtime such as boxes, spheres, cylinders, and capsules
- Building Construction: Create buildings with walls, floors, roofs, windows, and furniture
- GLTF Loading: Import external 3D models without extra runtime dependencies
- Update Resilience: Avoid ScheduleOne types so mods survive game updates more cleanly
Installation
For Players
If a mod you want to use requires S1MAPI:
- Download the S1MAPI package
- Extract the package - it includes UserLibs/S1MAPI_Mono.dll and UserLibs/S1MAPI_Il2Cpp.dll
- Copy the correct DLL for your Steam branch into your game's UserLibs folder:
- Regular Steam branch (default): Use S1MAPI_Il2Cpp.dll
- Alternate Steam branch: Use S1MAPI_Mono.dll
- Launch the game - S1MAPI will load automatically with MelonLoader
To check your Steam branch: Right-click Schedule 1 in Steam -> Properties -> Betas. If it shows "None" or no selection, you are on the regular branch and should use the Il2Cpp DLL.
For Developers
To use S1MAPI in your mod project:
- Add the Mono S1MAPI DLL as a reference to your mod project
- Build your mod against the Mono DLL - it works for both runtimes
- Tell users to install S1MAPI separately with the correct DLL for their Steam branch
Building From Source
- Clone the repository
- Copy local.build.props.example to local.build.props
- Edit local.build.props and set your game installation paths
- Build with dotnet build S1MAPI.csproj -c Mono or dotnet build S1MAPI.csproj -c Il2cpp
Requirements
- Schedule 1
- MelonLoader 0.7.0+
-.NET Framework 4.7.2+ or.NET 6.0+
Learn More
- Getting Started
- Examples
- API Reference
- Contributing Guide
License
GNU GPL v3 License - see the LICENSE file.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: