summaryrefslogtreecommitdiff
path: root/Scripts/copy_libs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/copy_libs.sh')
-rwxr-xr-xScripts/copy_libs.sh14
1 files changed, 14 insertions, 0 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/"