Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit ee2da82

Browse files
committed
Update README
1 parent 08140ac commit ee2da82

File tree

1 file changed

+18
-51
lines changed

1 file changed

+18
-51
lines changed

README.md

+18-51
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,21 @@
11
# SFS Modloader
22
_Simple modloader for Space Flight Simulator PC version._
33

4-
## English
5-
### How to install SFS Modloader 🚀
6-
7-
Go to [releases](https://github.com/dani0105/SFS-Modloader/releases) and download `Installer.rar` modloader version you need. Once decompressed, follow the next steps.
8-
9-
1. First, copy "doorstop_config.ini" and "winhttp.dll" into "Spaceflight Simulator Game" folder next to "Spaceflight Simulator.exe".
10-
![Imgur](https://i.imgur.com/tXfPMNY.png)
11-
This files is used to inject modloader code into unity game. the code for these files can be found at [this repo](https://github.com/NeighTools/UnityDoorstop)
12-
2. Copy "0Harmony.dll" and "ModLoader.dll" from "Managed" folder to "Spaceflight Simulator_Data/Managed"
13-
![Imgur](https://i.imgur.com/26JJeb7.png)
14-
"0Harmony.dll" is used to inject code into game in runtime and "ModLoader.dll" is used to read and execute mods.
15-
3. Create "MODS" folder into "Spaceflight Simulator_Data"
16-
![Imgur](https://i.imgur.com/gQtjemY.png)
17-
"MODS" folder is used to store mod dll files.
18-
19-
### How to install mods
20-
First of all, the mod need be compatible with this modloader and be on the same version of the game. To install all you need to do is copy mod .dll file into "MODS" folder in "Spaceflight Simulator_Data".
21-
Once the dll files are placed, you just need to execute game normally and you will see a black screen appear on your screen, that is the _modloader console_, at the moment is not possible to close.
22-
![Imgur](https://i.imgur.com/JYBMvtD.png)
23-
24-
### How to develop mods
25-
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 with the name of your mod.
26-
Next, add in `References` the next files: `Assembly-CSharp.dll`, `UnityEngine.CoreModule.dll`, `UnityEngine.dll` and `Modloader.dll`. These files are the basic, but you can add more if you need, for example `0Harmony.dll` if you need to inject code.
27-
Now, in your main class and entry point, you need `SFSMod` interface, this is used for modloader to identify what is your entry point and run the load method of your mod. With that you can start developing mods, also you will need `dnSpy` to see game code into `Assembly-CSharp.dll` file.
28-
29-
### How to develop new features in modloader
30-
You will need `Visual Studio` and `Space Flight Simulator PC version` installed. First of all, fork this repository and clone, then in the `Dependecies` folder you need to put `Assembly-CSharp.dll`,`UnityEngine.CoreModule.dll` and `UnityEngine.dll`,
31-
these files you can find in "Spaceflight Simulator_Data/Managed". With that you can start developing new features. Once you have your new feature, you can create pull request on this repository.
32-
33-
## Español
34-
### Como instalar SFS Modloader 🚀
35-
Ve a las versiones del mod [aquí](https://github.com/dani0105/SFS-Modloader/releases) y descargue el archivo `Installer.rar` de la versión que desee. Una vez descomprimido, siga los siguientes pasos:
36-
1. Primero, copie "doorstop_config.in" y "winhttp.dll" dentro de la carpeta "Spaceflight Simulator Game" junto a "Spaceflight Simulator.exe".
37-
![Imgur](https://i.imgur.com/tXfPMNY.png)
38-
Estos archivos son usados para inyectar el código del mod loder dentro del juego en unity. El código de este archivo lo puedes encontrar en este [this repo](https://github.com/NeighTools/UnityDoorstop)
39-
2. Copie "0Harmony.dll" y "ModLoader.dll" de la carpeta "Managed" a "Spaceflight Simulator_Data/Managed"
40-
![Imgur](https://i.imgur.com/26JJeb7.png)
41-
"0Harmony.dll" es usado para inyectar código dentro del juego en tiempo de ejecución y "ModLoader.dll" es usado para leer y ejecutar los mods.
42-
3. Cree la carpeta "MODS" dentro de "Spaceflight Simulator_Data"
43-
![Imgur](https://i.imgur.com/gQtjemY.png)
44-
La carpeta "MODS" es usada para almacenar los archivos dll de los mods
45-
46-
### Como instalar mods
47-
Primero que todo, el mod necesita ser compatible con el modloader y estar en la misma versión del juego. Para instalar todo lo que necesitas es copiar el archivo .dll del mod dentro de la carpeta "MODS" en "Spaceflight Simulator_Data". Una vez colocado los archivos dll solo necesitas ejecutar el juego normalmente y veras una pantalla negra aparecer en tu pantalla, eso es la _ consola de modloader_, que por el momento no es posible cerrar.
48-
![Imgur](https://i.imgur.com/JYBMvtD.png)
49-
50-
### Como desarrollar mods
51-
Vas a necesitar `Visual Studio` y `Space Flight Simulator versión de steam` instalado. En `Visual Studio` vas a crear un nuevo proyecto del tipo "librería de clases(.NET Framework)" con el nombre de tu mod. Seguido, agrega en `Referencias` los siguientes archivos: `Assembly-CSharp.dll`, `UnityEngine.CoreModule.dll`, `UnityEngine.dll` y `Modloader.dll`. Esos archivos son los básicos, pero puedes agregar más si lo necesitas, por ejemplo `0Harmony.dll` si necesitas inyectar código. Ahora, en tu clase principal y punto de entrada, vas a necesitar implementar la interfaz `SFSMod`, esta interfaz es usada por el Modloader para identificar cuál es tu punto de entrada y ejecutar el método load de tu mod. Con eso puede empezar a desarrollar mods, además vas a necesitar `dnSpy` para ver el código del juego dentro de `Assembly-CSharp.dll`.
52-
53-
### Como desarrollar nuevas características
54-
Vas a necesitar `Visual Studio` y `Space Flight Simulator versión de steam` instalado. Primero que todo, Cree un fork del repositorio y clónalo en tu computadora, Entonces en la carpeta `Dependecies` va a necesitar poner los archivos `Assembly-CSharp.dll`, `UnityEngine.CoreModule.dll` y `UnityEngine.dll`, estos archivos los puedes encontrar en "Spaceflight Simulator_Data/Managed". Con eso puedes empezar a desarrollar nuevas características. Una vez que tengas tu nueva característica, puedes crear un Pull request en este repositorio.
4+
## SFS Modloader Wiki
5+
There is a Wiki with all the information you need such as:
6+
* Installation of the modloader
7+
* Installation of mods
8+
* mod development
9+
10+
To see the wiki you can do it in this [link](https://github.com/105-Code/SFS-Modloader/wiki)
11+
## Wiki de SFS Modloader
12+
Hay una Wiki con toda la informacion que necesitas tal como :
13+
* Instalacion del modloader
14+
* Instalacion de mods
15+
* Desarrollo de mods
16+
17+
Para ver la wiki puedes hacerlo en este [link](https://github.com/105-Code/SFS-Modloader/wiki)
18+
19+
## Images 📷
20+
![Imgur](https://i.imgur.com/Cps6Gji.png)
21+
![Imgur](https://user-images.githubusercontent.com/100789522/156414850-ad808fc7-bfd6-4dfc-a473-cdce868433fa.png)

0 commit comments

Comments
 (0)