Repository navigation
Expand file tree
/
Copy pathnexuspost.bbcode
More file actions
70 lines (52 loc) · 2.84 KB
/
Copy pathnexuspost.bbcode
File metadata and controls
70 lines (52 loc) · 2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[center][b][size=5]S1MAPI - Schedule 1 Mapping API[/size][/b]
[i]A mapping and construction library for Schedule 1 mods[/i][/center]
[size=5][b]What S1MAPI Does[/b][/size]
[list]
[*][b]Procedural Meshes[/b]: Generate 3D shapes at runtime such as boxes, spheres, cylinders, and capsules
[*][b]Building Construction[/b]: Create buildings with walls, floors, roofs, windows, and furniture
[*][b]GLTF Loading[/b]: Import external 3D models without extra runtime dependencies
[*][b]Update Resilience[/b]: Avoid ScheduleOne types so mods survive game updates more cleanly
[/list]
[size=5][b]Installation[/b][/size]
[b]For Players:[/b]
If a mod you want to use requires S1MAPI:
[list=1]
[*]Download the S1MAPI package from the Files section
[*]Extract the package. It includes [font=Courier New]UserLibs\S1MAPI_Mono.dll[/font] and [font=Courier New]UserLibs\S1MAPI_Il2Cpp.dll[/font]
[*]Copy the correct DLL into your game's [font=Courier New]UserLibs[/font] folder:
[list]
[*][b]Regular Steam branch (default)[/b]: Use [font=Courier New]S1MAPI_Il2Cpp.dll[/font]
[*][b]Alternate Steam branch[/b]: Use [font=Courier New]S1MAPI_Mono.dll[/font]
[/list]
[*]Launch the game. S1MAPI will load automatically with MelonLoader.
[/list]
[b]To check your Steam branch:[/b] 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.
[b]For Mod Developers:[/b]
[list=1]
[*]Add the [b]Mono[/b] 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.
[/list]
[size=5][b]Building From Source[/b][/size]
[list=1]
[*]Clone the repository
[*]Copy [font=Courier New]local.build.props.example[/font] to [font=Courier New]local.build.props[/font]
[*]Edit [font=Courier New]local.build.props[/font] and set your game installation paths
[*]Build with [font=Courier New]dotnet build S1MAPI.csproj -c Mono[/font] or [font=Courier New]dotnet build S1MAPI.csproj -c Il2cpp[/font]
[/list]
[size=5][b]Requirements[/b][/size]
[list]
[*]Schedule 1
[*]MelonLoader 0.7.0+
[*].NET Framework 4.7.2+ or .NET 6.0+
[/list]
[size=5][b]Learn More[/b][/size]
[list]
[*][url=https://ifbars.github.io/S1MAPI/articles/getting-started.html]Getting Started[/url]
[*][url=https://ifbars.github.io/S1MAPI/articles/examples.html]Examples[/url]
[*][url=https://ifbars.github.io/S1MAPI/api/index.html]API Reference[/url]
[*][url=https://github.com/ifBars/S1MAPI/blob/main/docs/contributing.md]Contributing Guide[/url]
[/list]
[size=5][b]License[/b][/size]
GNU GPL v3 License - [url=https://github.com/ifBars/S1MAPI/blob/main/LICENSE]View License[/url]
[center][url=https://ifbars.github.io/S1MAPI/][b]Documentation[/b][/url] • [url=https://github.com/ifBars/S1MAPI][b]GitHub Repository[/b][/url][/center]