From a3263ce3eb678e3af855e6a711428e300bfee6aa Mon Sep 17 00:00:00 2001
From: Evil Factory <36804725+evilfactory@users.noreply.github.com>
Date: Sat, 19 Mar 2022 11:12:14 -0300
Subject: [PATCH] make docs a little more clear
---
.../installing-lua-for-barotrauma-manually.md | 55 +++++++++++--------
1 file changed, 32 insertions(+), 23 deletions(-)
diff --git a/docs/manual/installing-lua-for-barotrauma-manually.md b/docs/manual/installing-lua-for-barotrauma-manually.md
index f2658e4c4..6d7f4b82d 100644
--- a/docs/manual/installing-lua-for-barotrauma-manually.md
+++ b/docs/manual/installing-lua-for-barotrauma-manually.md
@@ -1,24 +1,7 @@
-## Installing Lua For Barotrauma
-1 - Download [latest version of Barotrauma Lua](https://github.com/evilfactory/Barotrauma-lua-attempt/releases/tag/latest), choose the correct platform in the assets drop down.
+## Adding Lua For Barotrauma to an existing server
+1 - Download [latest version of LuaForBarotrauma](https://github.com/evilfactory/Barotrauma-lua-attempt/releases/tag/latest), choose the correct platform in the assets drop down.
2 - Extract the zip file
-3 - Find the Content folder in your original Barotrauma game:
-
- 
- 
- 
-
-4 - Copy the Content folder to the extracted folder
-
-
-
-5 - Done! Now run DedicatedServer.exe to run the modded server or run Barotrauma.exe to run the modded client.
-
-### Linux notice
-Sometimes you will get steam initialization errors, most of the time it's because it's missing the linux64/steamclient.so binary, so you can just copy the binary from your steam instalation over to the folder and it should work.
-
-## Adding to an existing server
-
-To install to an existing server, do the 1-2 steps from before and copy/replace the following files in your existing server:
+3 - Copy the following files inside the extracted zip:
- **DedicatedServer.deps.json**
- **DedicatedServer.dll**
@@ -33,9 +16,11 @@ To install to an existing server, do the 1-2 steps from before and copy/replace
- file that starts with **mscordaccore_amd64_amd64_**
- and the **Lua/** folder
-## Adding to an existing client
+4 - Paste them to your existing server, and let it replace the files
-To install to an existing client, do the 1-2 steps from before and copy/replace the following files in your existing server:
+## Adding Lua For Barotrauma to an existing client
+
+Same as above, but instead you need to copy/replace the following files:
- **Barotrauma.deps.json**
- **Barotrauma.dll**
@@ -47,4 +32,28 @@ To install to an existing client, do the 1-2 steps from before and copy/replace
- **Mono.Cecil.Pdb.dll**
- **Mono.Cecil.Rocks.dll**
- file that starts with **mscordaccore_amd64_amd64_**
-- and the **Lua/** folder
\ No newline at end of file
+- and the **Lua/** folder
+
+
+## Using Lua For Barotrauma from scratch
+
+1 - Download [latest version of LuaForBarotrauma](https://github.com/evilfactory/Barotrauma-lua-attempt/releases/tag/latest), choose the correct platform in the assets drop down.
+
+2 - Extract the zip file
+
+3 - Find the Content folder in your original Barotrauma game:
+
+ 
+ 
+ 
+
+4 - Copy the Content folder to the extracted folder
+
+
+
+6 - Optional: Copy config_player.xml
+
+7 - Done! Now run DedicatedServer.exe to run the modded server or run Barotrauma.exe to run the modded client.
+
+### Linux notice
+Sometimes you will get steam initialization errors, most of the time it's because it's missing the linux64/steamclient.so binary, so you can just copy the binary from your steam instalation over to the folder and it should work.
\ No newline at end of file