You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,24 +5,24 @@ _Simple modloader for Space Flight Simulator PC version._
5
5
6
6
Go to [releases](https://github.com/dani0105/SFS-Modloader/releases) and download `Installer.rar` version of modloader what do you need. Once decompressed, follow the next steps.
7
7
8
-
1. First, copy "doorstop_config.ini" and "winhttp.dll" into "Spaceflight Simulator Game" folder next to "Spaceflight Simulator.exe".
8
+
1. First, copy "doorstop_config.ini" and "winhttp.dll" into "Spaceflight Simulator Game" folder next to "Spaceflight Simulator.exe".
9
9

10
-
This files is used to inject modloader code into unity game. the code from this files you can found in [this repo](https://github.com/NeighTools/UnityDoorstop)
11
-
2. Copy "0Harmony.dll" and "ModLoader.dll" from "Managed" folder to "Spaceflight Simulator_Data/Managed"
10
+
This files is used to inject modloader code into unity game. the code from this files you can found in [this repo](https://github.com/NeighTools/UnityDoorstop)
11
+
2. Copy "0Harmony.dll" and "ModLoader.dll" from "Managed" folder to "Spaceflight Simulator_Data/Managed"
12
12

13
-
"0Harmony.dll" is used to inject code into game in runtime and "ModLoader.dll" is used to read and execute mods.
14
-
3. Create "MODS" folder into "Spaceflight Simulator_Data"
13
+
"0Harmony.dll" is used to inject code into game in runtime and "ModLoader.dll" is used to read and execute mods.
14
+
3. Create "MODS" folder into "Spaceflight Simulator_Data"
15
15

16
-
"MODS" folder is used to store dll files from mods.
16
+
"MODS" folder is used to store dll files from mods.
17
17
18
18
## How to install mods
19
19
First all, the mod need be compatible whit this modloader and be in the same game version. For install all you need to do is copy .dll mod file into "MODS" folder in "Spaceflight Simulator_Data".
20
-
once placed dll files you only need to execute game normaly, and you will see a black screen appear in your screen, that is the _modloader console_, for the moment is not possible close.
20
+
once placed dll files you only need to execute game normaly, and you will see a black screen appear in your screen, that is the _modloader console_, for the moment is not possible close.
21
21

22
22
23
23
## How to develope mods
24
24
You will need `Visual Studio` and `Space Flight Simulator PC version` installed. In `Visual Studio` you need to create a new "class library(.NET Framework)" project whit the name of your mod.
25
-
Next, add in `References` the next files: `Assembly-CSharp.dll`, `UnityEngine.CoreModule.dll`, `UnityEngine.dll` and `Modloader.dll`. This files are the basic, but you can add more if you need, for example `0Harmony.dll` if you need inject code.
25
+
Next, add in `References` the next files: `Assembly-CSharp.dll`, `UnityEngine.CoreModule.dll`, `UnityEngine.dll` and `Modloader.dll`. This files are the basic, but you can add more if you need, for example `0Harmony.dll` if you need inject code.
26
26
Now, in you main class and entry point, you need `SFSMod` interface, this is used for modloader to indetify what is your entry point and execute load method of your mod. whit that, you can start develope mods, also you will need `dnSpy` to see game code into `Assembly-CSharp.dll` file.
0 commit comments