Skip to content

Commit ad7f4df

Browse files
authored
7.4 and API 14 (#91)
1 parent 0f3dfba commit ad7f4df

File tree

17 files changed

+55
-68
lines changed

17 files changed

+55
-68
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ jobs:
99
build:
1010
runs-on: windows-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v5
1313
with:
1414
submodules: recursive
1515
- name: Setup .NET
16-
uses: actions/setup-dotnet@v1
16+
uses: actions/setup-dotnet@v5
1717
with:
18-
dotnet-version: '9.x.x'
18+
dotnet-version: |
19+
10.x.x
20+
9.x.x
1921
- name: Restore dependencies
2022
run: dotnet restore
2123
- name: Download Dalamud

.github/workflows/test_release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ jobs:
99
build:
1010
runs-on: windows-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v5
1313
with:
1414
submodules: recursive
1515
- name: Setup .NET
16-
uses: actions/setup-dotnet@v1
16+
uses: actions/setup-dotnet@v5
1717
with:
18-
dotnet-version: '9.x.x'
18+
dotnet-version: |
19+
10.x.x
20+
9.x.x
1921
- name: Restore dependencies
2022
run: dotnet restore
2123
- name: Download Dalamud
2224
run: |
23-
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip
25+
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip
2426
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
2527
- name: Build
2628
run: |

CustomizePlus.GameData/CustomizePlus.GameData.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Dalamud.NET.Sdk/13.1.0">
1+
<Project Sdk="Dalamud.NET.Sdk/14.0.1">
22

33
<PropertyGroup>
44
<ImplicitUsings>enable</ImplicitUsings>

CustomizePlus.GameData/packages.lock.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"version": 1,
33
"dependencies": {
4-
"net9.0-windows7.0": {
4+
"net10.0-windows7.0": {
55
"DotNet.ReproducibleBuilds": {
66
"type": "Direct",
7-
"requested": "[1.2.25, )",
8-
"resolved": "1.2.25",
9-
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
7+
"requested": "[1.2.39, )",
8+
"resolved": "1.2.39",
9+
"contentHash": "fcFN01tDTIQqDuTwr1jUQK/geofiwjG5DycJQOnC72i1SsLAk1ELe+apBOuZ11UMQG8YKFZG1FgvjZPbqHyatg=="
1010
},
1111
"FlatSharp.Compiler": {
1212
"type": "Transitive",
@@ -16,10 +16,7 @@
1616
"FlatSharp.Runtime": {
1717
"type": "Transitive",
1818
"resolved": "7.9.0",
19-
"contentHash": "Bm8+WqzEsWNpxqrD5x4x+zQ8dyINlToCreM5FI2oNSfUVc9U9ZB+qztX/jd8rlJb3r0vBSlPwVLpw0xBtPa3Vw==",
20-
"dependencies": {
21-
"System.Memory": "4.5.5"
22-
}
19+
"contentHash": "Bm8+WqzEsWNpxqrD5x4x+zQ8dyINlToCreM5FI2oNSfUVc9U9ZB+qztX/jd8rlJb3r0vBSlPwVLpw0xBtPa3Vw=="
2320
},
2421
"JetBrains.Annotations": {
2522
"type": "Transitive",
@@ -39,11 +36,6 @@
3936
"resolved": "9.0.2",
4037
"contentHash": "MNe7GSTBf3jQx5vYrXF0NZvn6l7hUKF6J54ENfAgCO8y6xjN1XUmKKWG464LP2ye6QqDiA1dkaWEZBYnhoZzjg=="
4138
},
42-
"System.Memory": {
43-
"type": "Transitive",
44-
"resolved": "4.5.5",
45-
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw=="
46-
},
4739
"ottergui": {
4840
"type": "Project",
4941
"dependencies": {
@@ -60,7 +52,7 @@
6052
"FlatSharp.Compiler": "[7.9.0, )",
6153
"FlatSharp.Runtime": "[7.9.0, )",
6254
"OtterGui": "[1.0.0, )",
63-
"Penumbra.Api": "[5.10.0, )",
55+
"Penumbra.Api": "[5.12.0, )",
6456
"Penumbra.String": "[1.0.6, )"
6557
}
6658
},

CustomizePlus/Core/Services/Dalamud/DalamudServices.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public static void AddServices(ServiceManager services, IDalamudPluginInterface
2222
.AddDalamudService<ICommandManager>(pi)
2323
.AddDalamudService<IChatGui>(pi)
2424
.AddDalamudService<IClientState>(pi)
25+
.AddDalamudService<IPlayerState>(pi)
2526
.AddDalamudService<IGameGui>(pi)
2627
.AddDalamudService<IGameInteropProvider>(pi)
2728
.AddDalamudService<IKeyState>(pi)

CustomizePlus/Core/Services/SupportLogBuilderService.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ public string BuildSupportLog()
5656
sb.Append($"> **`Cards: `** {_configuration.ProfileApplicationSettings.ApplyInCards}\n");
5757
sb.Append($"> **`Inspect: `** {_configuration.ProfileApplicationSettings.ApplyInInspect}\n");
5858
sb.Append($"> **`Lobby: `** {_configuration.ProfileApplicationSettings.ApplyInLobby}\n");
59+
sb.AppendLine("**Dalamud**");
60+
sb.Append($"> **`Dalamud Version: `** {_dalamudPluginInterface.GetDalamudVersion().Version}\n");
61+
sb.Append($"> **`Branch: `** {_dalamudPluginInterface.GetDalamudVersion().BetaTrack ?? "Release"}\n");
5962
sb.AppendLine("**Relevant plugins**");
6063
GatherRelevantPlugins(sb);
6164
sb.AppendLine("**Integrations**");

CustomizePlus/CustomizePlus.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22

3-
<Project Sdk="Dalamud.NET.Sdk/13.1.0">
3+
<Project Sdk="Dalamud.NET.Sdk/14.0.1">
44
<PropertyGroup>
55
<AssemblyTitle>CustomizePlus</AssemblyTitle>
66
<Version>2.0.0.0</Version>
@@ -51,10 +51,6 @@
5151
<DefineConstants>INCOGNIFY_STRINGS</DefineConstants>
5252
</PropertyGroup>
5353

54-
<PropertyGroup Condition="'$(Configuration)'=='Release'">
55-
<DefineConstants>CHECK_DALAMUD_BRANCH</DefineConstants>
56-
</PropertyGroup>
57-
5854
<PropertyGroup Condition="'$(Configuration)'=='ReleaseValidate'">
5955
<DefineConstants>VALIDATE_BUILD</DefineConstants>
6056
</PropertyGroup>

CustomizePlus/CustomizePlus.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"InternalName": "CustomizePlus",
77
"ApplicableVersion": "any",
88
"AssemblyVersion": "2.0.0.0",
9-
"DalamudApiLevel": 13,
10-
"TestingDalamudApiLevel": 13,
9+
"DalamudApiLevel": 14,
10+
"TestingDalamudApiLevel": 14,
1111
"Tags": [
1212
"Anamnesis",
1313
"Customization",

CustomizePlus/Game/Services/GPose/ExternalTools/PosingModeDetectService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Dalamud.Game;
2+
using Dalamud.Plugin.Services;
23

34
namespace CustomizePlus.Game.Services.GPose.ExternalTools;
45

CustomizePlus/UI/Windows/CPlusChangeLog.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
namespace CustomizePlus.UI.Windows;
55

6+
//Versioning concept (X.Y.Z.W):
7+
//X - major version, changes only during major rewrites of the plugin
8+
//Y - major feature version, changes when new major features are introduced (also can be changed with major game patches)
9+
//Z - minor feature version, changes when new minor features are introduced
10+
//W - bugfix version, changes when the update only contains bugfixes.
11+
612
public class CPlusChangeLog
713
{
814
public const int LastChangelogVersion = 0;
@@ -35,6 +41,7 @@ public CPlusChangeLog(PluginConfiguration config)
3541
Add2_0_8_2(Changelog);
3642
Add2_0_8_4(Changelog);
3743
Add2_0_9_0(Changelog);
44+
Add2_1_0_0(Changelog);
3845
}
3946

4047
private (int, ChangeLogDisplayType) ConfigData()
@@ -46,6 +53,11 @@ private void Save(int version, ChangeLogDisplayType type)
4653
_config.ChangelogSettings.ChangeLogDisplayType = type;
4754
_config.Save();
4855
}
56+
57+
private static void Add2_1_0_0(Changelog log)
58+
=> log.NextVersion("Version 2.1.0.0")
59+
.RegisterImportant("Support for 7.4 and Dalamud API 14. (by Risa)");
60+
4961
private static void Add2_0_9_0(Changelog log)
5062
=> log.NextVersion("Version 2.0.9.0")
5163
.RegisterEntry("Added ability to apply separate scaling to child bones when propagation is enabled on a bone. (by Midona)")

0 commit comments

Comments
 (0)