summaryrefslogtreecommitdiff
path: root/Scripts
diff options
context:
space:
mode:
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 \