diff --git a/Globetrotter/Globetrotter.csproj b/Globetrotter/Globetrotter.csproj
index 474246e..d987a33 100755
--- a/Globetrotter/Globetrotter.csproj
+++ b/Globetrotter/Globetrotter.csproj
@@ -2,37 +2,45 @@
1.2.5
- net5-windows
+ net6-windows
latest
enable
false
+ true
+ true
+
+
+ $(AppData)\XIVLauncher\addon\Hooks\dev
+
+
+ $(DALAMUD_HOME)
+
+
+ $(HOME)/dalamud
- $(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll
+ $(DalamudLibPath)\Dalamud.dll
False
- $(AppData)\XIVLauncher\addon\Hooks\dev\ImGui.NET.dll
+ $(DalamudLibPath)\ImGui.NET.dll
False
- $(AppData)\XIVLauncher\addon\Hooks\dev\ImGuiScene.dll
+ $(DalamudLibPath)\ImGuiScene.dll
False
- $(AppData)\XIVLauncher\addon\Hooks\dev\Lumina.dll
+ $(DalamudLibPath)\Lumina.dll
False
- $(AppData)\XIVLauncher\addon\Hooks\dev\Lumina.Excel.dll
+ $(DalamudLibPath)\Lumina.Excel.dll
False
-
-
-
-
+
diff --git a/Globetrotter/Globetrotter.yaml b/Globetrotter/Globetrotter.yaml
index 097724d..ab4c963 100644
--- a/Globetrotter/Globetrotter.yaml
+++ b/Globetrotter/Globetrotter.yaml
@@ -6,3 +6,4 @@ description: |-
Icon: Map by Adrien Coquet from the Noun Project
repo_url: https://git.annaclemens.io/ascclemens/Globetrotter
+dalamud_api_level: 7
diff --git a/Globetrotter/TreasureMaps.cs b/Globetrotter/TreasureMaps.cs
index 20ce0e2..04e3e4e 100644
--- a/Globetrotter/TreasureMaps.cs
+++ b/Globetrotter/TreasureMaps.cs
@@ -62,11 +62,11 @@ namespace Globetrotter {
this.Plugin = plugin;
var acsPtr = this.Plugin.SigScanner.ScanText("48 89 5C 24 ?? 48 89 74 24 ?? 57 48 83 EC 30 48 8B D9 49 8B F8 41 0F B7 08");
- this._acsHook = new Hook(acsPtr, this.OnACS);
+ this._acsHook = Hook.FromAddress(acsPtr, this.OnACS);
this._acsHook.Enable();
var showMapPtr = this.Plugin.SigScanner.ScanText("E8 ?? ?? ?? ?? 40 84 FF 0F 85 ?? ?? ?? ?? 48 8B 0D");
- this._showMapHook = new Hook(showMapPtr, this.OnShowMap);
+ this._showMapHook = Hook.FromAddress(showMapPtr, this.OnShowMap);
this._showMapHook.Enable();
}
diff --git a/Globetrotter/packages.lock.json b/Globetrotter/packages.lock.json
new file mode 100644
index 0000000..b381d57
--- /dev/null
+++ b/Globetrotter/packages.lock.json
@@ -0,0 +1,13 @@
+{
+ "version": 1,
+ "dependencies": {
+ "net6.0-windows7.0": {
+ "DalamudPackager": {
+ "type": "Direct",
+ "requested": "[2.1.7, )",
+ "resolved": "2.1.7",
+ "contentHash": "jnZ/sdInyn07ycuWI+pPOtP/xE3v+c4+jYJfDt36FWnBF9NKqkpzfviJtPl/jGLgbaCmFIXu+Yid0N8GvdKefg=="
+ }
+ }
+ }
+}
\ No newline at end of file