Update to API12 / NET9
This commit is contained in:
parent
2ff090f4a4
commit
be226771c8
5 changed files with 9 additions and 6 deletions
|
@ -3,14 +3,14 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors>0x0ade</Authors>
|
<Authors>0x0ade</Authors>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
<Version>0.3.0.0</Version>
|
<Version>0.3.1.0</Version>
|
||||||
<Description></Description>
|
<Description></Description>
|
||||||
<Copyright></Copyright>
|
<Copyright></Copyright>
|
||||||
<PackageProjectUrl></PackageProjectUrl>
|
<PackageProjectUrl></PackageProjectUrl>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0-windows</TargetFramework>
|
<TargetFramework>net9.0-windows</TargetFramework>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"InternalName": "CustomResolution2782",
|
"InternalName": "CustomResolution2782",
|
||||||
"Author": "0x0ade",
|
"Author": "0x0ade",
|
||||||
"ApplicableVersion": "any",
|
"ApplicableVersion": "any",
|
||||||
"DalamudApiLevel": 11,
|
"DalamudApiLevel": 12,
|
||||||
"Punchline": "Enforces a custom resolution for the game, similar to NVIDIA DSR.",
|
"Punchline": "Enforces a custom resolution for the game, similar to NVIDIA DSR.",
|
||||||
"Description": "Basic plugin that allows you to specify a custom resolution.",
|
"Description": "Basic plugin that allows you to specify a custom resolution.",
|
||||||
"Tags": [ "dsr", "resolution", "dpi", "scale", "scaling" ],
|
"Tags": [ "dsr", "resolution", "dpi", "scale", "scaling" ],
|
||||||
|
|
|
@ -9,6 +9,7 @@ using ImGuiNET;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Xml.Linq;
|
||||||
using TerraFX.Interop.Windows;
|
using TerraFX.Interop.Windows;
|
||||||
using static TerraFX.Interop.Windows.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($"Game window at {win->WindowWidth} x {win->WindowHeight}");
|
||||||
|
|
||||||
|
//Service.PluginLog.Info($"AAA {Service.GameConfig.System.GetUInt(nameof(SystemConfigOption.UiHighScale))}");
|
||||||
|
|
||||||
CurrentBorderlessFullscreen = win->Borderless;
|
CurrentBorderlessFullscreen = win->Borderless;
|
||||||
|
|
||||||
if (Service.Config.DXVKDWMHackMode != DXVKDWMHackMode.Off && !_unloading)
|
if (Service.Config.DXVKDWMHackMode != DXVKDWMHackMode.Off && !_unloading)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"net8.0-windows7.0": {
|
"net9.0-windows7.0": {
|
||||||
"DalamudPackager": {
|
"DalamudPackager": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[11.0.0, )",
|
"requested": "[11.0.0, )",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@set src=.\CustomResolution2782\bin\x64\Release\CustomResolution2782
|
@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
|
dotnet build -c Release
|
||||||
|
|
||||||
|
@ -7,4 +7,4 @@ rmdir /s /q %dst%
|
||||||
xcopy %src%\ %dst%\ /E
|
xcopy %src%\ %dst%\ /E
|
||||||
xcopy .\CustomResolution2782\images\icon.png %dst%\
|
xcopy .\CustomResolution2782\images\icon.png %dst%\
|
||||||
|
|
||||||
pause
|
pause
|
||||||
|
|
Loading…
Add table
Reference in a new issue