Repository navigation
Fix CN plugin download: use NewMoe FFXIV_ACT_Plugin_CN releases - #179
Conversation
The CN mirror (cninact.diemoe.net) serves an outdated 2.7.4.9 build as a bare DLL, which fails to extract and is incompatible with IINACT 2.10. Fetch the latest FFXIV_ACT_Plugin.zip from NewMoe-Technology/ FFXIV_ACT_Plugin_CN instead and track updates by release tag, since CN releases keep the same assembly version across client patches.
|
Hm is that the "official" URL for the current FFXIV_ACT_Plugin Chinese version? I am not really familiar with the Chinese parsing community too much, so I am sorry for the trivial questions... |
|
There's no official CN build from ravahn as far as I know. The de facto source in the CN community is the DieMoe team (NewMoe-Technology), who maintain ACT.DieMoe, the ACT bundle most CN players use. They also run diemoe.net, so |
|
I am not too sure we need the 2nd commit? The case it describes can only happen when the remote is reached and the version is guaranteed to be out of date. I think in that case it is correct for the initialization to fail. If the remote is not reachable |
3a09b5b to
be99432
Compare
|
You're right, I've dropped the second commit. The PR is back to the single commit described above. |
Problem
On the CN client (
ChineseSimplified),FetchDependenciesdownloads the parser fromcninact.diemoe.net. That source is currently broken for IINACT 2.10:PluginUrlChinesereturns a bareFFXIV_ACT_Plugin.dll, but it is saved asFFXIV_ACT_Plugin.zipand passed toZipFile.ExtractToDirectory, so the plugin fails to load withInvalidDataException: End of Central Directory record could not be found.TypeLoadException: Could not load type 'FFXIV_ACT_Plugin.Memory.Models.Global.CombatantStruct' from assembly 'FFXIV_ACT_Plugin.Memory, Version=2.7.4.9',and its memory layout no longer matches the current CN client (7.58).
The international 3.0.3.5 build is not a usable workaround on CN, as it has global offsets.
Change
For the CN client, fetch the plugin from the latest release of
NewMoe-Technology/FFXIV_ACT_Plugin_CN, which is maintained per CN patch (currently
3.0.3.0-CN7.58, released 2026-11-10).FFXIV_ACT_Plugin.ziphas the same layout as the global download (FFXIV_ACT_Plugin.dll+deucalion-*.dll), so the existing extract → delete deucalion →Patcherflow is reused unchanged.3.0.3.0-CN7.56→CN7.57→CN7.58), soremoteVersion > plugin.Versionwould never trigger an update. The installed tag is stored inFFXIV_ACT_Plugin.releasenext to the plugin, and an update is triggered when it differs from the latest release tag. Installs without the file (e.g. from the old mirror) update once.GetLatestRelease. The global path is otherwise unchanged; its fallback request now also uses a 30 s timeout.ravahn/FFXIV_ACT_Pluginrelease, since that build does not work on the CN client.NeedsUpdatestill returnsfalseand the installed plugin is kept, so a slow GitHub connection does not block loading.Only
FetchDependencies/FetchDependencies.csis changed (+68 / −21).Testing
macOS (XIVLauncherCN / Wine), .NET SDK 10.0.404, Mono.Cecil from Dalamud 15.0.4.0. A small harness compiled the actual
FetchDependencies/*.csand ranGetFfxivPlugin()into empty directories:3.0.3.0-CN7.58; the existingPatchercompletes without errors: markerIINACT_API_V1_6_0added, 11/11DataSubscription.On*BeginInvoke→Invoke,ScanMemory.Run→ret,LogFormat.FormatVersionrewritten; tag file =3.0.3.0-CN7.583.0.3.0-CN7.573.0.3.0-CN7.58dotnet build IINACT/IINACT.csproj -c ReleaseThe same
3.0.3.0-CN7.58plugin (patched by hand) was confirmed working in-game with IINACT 2.10.3.12 on CN 7.58: player/combatant data, DPS and cactbot alerts/timeline.