diff --git a/CustomResolution2782/CustomResolution2782.csproj b/CustomResolution2782/CustomResolution2782.csproj
index 63817d6..102a261 100644
--- a/CustomResolution2782/CustomResolution2782.csproj
+++ b/CustomResolution2782/CustomResolution2782.csproj
@@ -3,14 +3,14 @@
0x0ade
- 0.3.0.0
+ 0.3.1.0
- net8.0-windows
+ net9.0-windows
x64
enable
latest
diff --git a/CustomResolution2782/CustomResolution2782.json b/CustomResolution2782/CustomResolution2782.json
index 9c781ff..ebeb239 100644
--- a/CustomResolution2782/CustomResolution2782.json
+++ b/CustomResolution2782/CustomResolution2782.json
@@ -3,7 +3,7 @@
"InternalName": "CustomResolution2782",
"Author": "0x0ade",
"ApplicableVersion": "any",
- "DalamudApiLevel": 11,
+ "DalamudApiLevel": 12,
"Punchline": "Enforces a custom resolution for the game, similar to NVIDIA DSR.",
"Description": "Basic plugin that allows you to specify a custom resolution.",
"Tags": [ "dsr", "resolution", "dpi", "scale", "scaling" ],
diff --git a/CustomResolution2782/Plugin.cs b/CustomResolution2782/Plugin.cs
index a5928b5..69a7b1d 100644
--- a/CustomResolution2782/Plugin.cs
+++ b/CustomResolution2782/Plugin.cs
@@ -9,6 +9,7 @@ using ImGuiNET;
using System;
using System.Collections.Generic;
using System.Linq;
+using System.Xml.Linq;
using TerraFX.Interop.Windows;
using static TerraFX.Interop.Windows.Windows;
@@ -241,6 +242,8 @@ public sealed unsafe class Plugin : IDalamudPlugin
//Service.PluginLog.Info($"Game window at {win->WindowWidth} x {win->WindowHeight}");
+ //Service.PluginLog.Info($"AAA {Service.GameConfig.System.GetUInt(nameof(SystemConfigOption.UiHighScale))}");
+
CurrentBorderlessFullscreen = win->Borderless;
if (Service.Config.DXVKDWMHackMode != DXVKDWMHackMode.Off && !_unloading)
diff --git a/CustomResolution2782/packages.lock.json b/CustomResolution2782/packages.lock.json
index a5f2480..b6b86f3 100644
--- a/CustomResolution2782/packages.lock.json
+++ b/CustomResolution2782/packages.lock.json
@@ -1,7 +1,7 @@
{
"version": 1,
"dependencies": {
- "net8.0-windows7.0": {
+ "net9.0-windows7.0": {
"DalamudPackager": {
"type": "Direct",
"requested": "[11.0.0, )",
diff --git a/release.bat b/release.bat
index 554f0bb..9d74a3e 100644
--- a/release.bat
+++ b/release.bat
@@ -1,5 +1,5 @@
@set src=.\CustomResolution2782\bin\x64\Release\CustomResolution2782
-@set dst=O:\home\ade\wwwext\xiv\CustomResolution
+@set dst=O:\home\ade\wwwext\xiv\CustomResolution2782
dotnet build -c Release
@@ -7,4 +7,4 @@ rmdir /s /q %dst%
xcopy %src%\ %dst%\ /E
xcopy .\CustomResolution2782\images\icon.png %dst%\
-pause
\ No newline at end of file
+pause