summaryrefslogtreecommitdiff
path: root/Scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-06-02 22:27:51 -0400
committerAndrew Opalach <andrew@akon.city> 2026-06-02 22:27:51 -0400
commit36871052773638da16a8795c657b03064138f388 (patch)
tree588a4b1b134d4fd24fe7ddfc734395170b8faf39 /Scripts
parentd40ec05f3e61b51be0b6a7797fc11e0b626d238b (diff)
downloadNewCamera-36871052773638da16a8795c657b03064138f388.tar.gz
NewCamera-36871052773638da16a8795c657b03064138f388.tar.bz2
NewCamera-36871052773638da16a8795c657b03064138f388.zip
ModSlots and Scripts cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'Scripts')
-rwxr-xr-xScripts/copy_libs.sh14
-rwxr-xr-xScripts/zip_from_gamedir.sh2
2 files changed, 15 insertions, 1 deletions
diff --git a/Scripts/copy_libs.sh b/Scripts/copy_libs.sh
new file mode 100755
index 0000000..e5f97d3
--- /dev/null
+++ b/Scripts/copy_libs.sh
@@ -0,0 +1,14 @@
+#! /usr/bin/env sh
+
+: ${1?"Usage: $0 <path_to_repos>"}
+
+BASE_PATH="$1"
+GAME_PATH="/mnt/ssd/SteamLibrary/steamapps/common/Monster Hunter World/"
+
+rsync -av "$BASE_PATH/SharpPluginLoader-fork/x64/Release/mhw-cs-plugin-loader.dll" "$GAME_PATH/ucrtbase.dll"
+rsync -av "$BASE_PATH/SharpPluginLoader-fork/SharpPluginLoader.Core/bin/Release/net8.0/SharpPluginLoader.Core.dll" "$GAME_PATH/nativePC/plugins/CSharp/Loader/"
+rsync -av "$BASE_PATH/SharpPluginLoader-fork/SharpPluginLoader.Bootstrapper/bin/Release/net8.0/SharpPluginLoader.Bootstrapper.dll" "$GAME_PATH/nativePC/plugins/CSharp/Loader/"
+rsync -av "$BASE_PATH/SharpPluginLoader-fork/Assets/Default.bin" "$GAME_PATH/nativePC/plugins/CSharp/Loader/"
+
+rsync -av "$BASE_PATH/NewCamera/bin/Release/net8.0/NewCamera.dll" "$GAME_PATH/nativePC/plugins/CSharp/"
+rsync -av "$BASE_PATH/WorldTuningTool/bin/Release/net8.0/WorldTuningTool.dll" "$GAME_PATH/nativePC/plugins/CSharp/"
diff --git a/Scripts/zip_from_gamedir.sh b/Scripts/zip_from_gamedir.sh
index 1eb943a..cf7402b 100755
--- a/Scripts/zip_from_gamedir.sh
+++ b/Scripts/zip_from_gamedir.sh
@@ -1,6 +1,6 @@
#! /usr/bin/env sh
-7z a -tzip "NewCamera_$1_incl_spl_linux.zip" \
+7z a -tzip "NewCamera+WorldTuningTool_$1_incl_spl_linux.zip" \
ucrtbase.dll \
nativePC/plugins/CSharp/Loader/Default.bin \
nativePC/plugins/CSharp/Loader/SharpPluginLoader.Bootstrapper.dll \