Skip to content

Conversation

kingsznhone
Copy link
Collaborator

@kingsznhone kingsznhone commented Jan 31, 2025

This update removes the historical baggage of .NET Framework, upgrading the runtime to .NET 8.
With massive modern features applied into.

Summary

  1. Upgrade runtime to .NET 8 with incredible performance enhancement.
  2. Remove all redundant nuget and that stupid processmemoryapi.dll
  3. Project now uses the native single-file publish configuration
  4. Rewrite github action yaml, single-file exe can be found in artifact
  5. Set SetHighDpiMode to PerMonitorV2, make cross-screen resize more compatible.
  6. Remove complicated resources and project configuration for .net frameworks.
  7. Adjust ui element margin , windows 11 ready
  8. change version number to 3.0.0

This update should be a new start point towards to future.❤️

Refactor the project and update dependencies

Changed the VisualStudioVersion in FFXIVZoomHack.sln to 17.0.32112.339, and updated SolutionConfigurationPlatforms and ProjectConfigurationPlatforms from Any CPU to x64.
Removed all content from the App.config and FodyWeavers.xml files.
Converted the FFXIVZoomHack.csproj file from the old MSBuild format to the new SDK-style format, and changed the target framework to net8.0-windows.
Removed the this keyword from the code, adjusted the control property settings, deleted unnecessary references, renamed variables, updated method calls, adjusted window size and font settings, and reformatted the code.
In Program.cs, removed Application.SetCompatibleTextRenderingDefault(false); and added Application.SetCompatibleTextRenderingDefault(true); and Application.SetHighDpiMode(HighDpiMode.PerMonitorV2);.
Deleted the binary files ProcessMemoryApi.dll and zoom_kNq_icon.ico.
In app.manifest, commented out support for Windows 8 and Windows 8.1.
In packages.config, removed all NuGet package references.
In ProcessMemoryApi.cs, added a new namespace FFXIVZoomHack, and defined the Win32MemoryApi and ProcessMemoryReader classes.

code cleaning

adjust exe version

Update CI

Update README.md
@jayotterbein
Copy link
Owner

I'm surprised people still like and use this thing so much haha

I'm still here and I'll check this out, I just have a busy week

feel free to ping me about this by next weekend if I haven't touched this by then

@kingsznhone
Copy link
Collaborator Author

I imagine to upgrade the UI to WPF, but currently it seems to be just usable, so just leave it as is for now.

@kingsznhone
Copy link
Collaborator Author

993B8FC4

@jayotterbein jayotterbein merged commit 50805c2 into jayotterbein:master Feb 8, 2025
1 check passed
@jayotterbein
Copy link
Owner

I am not sure about WPF myself, but maybe Win UI 3 would be the way to go

@kingsznhone
Copy link
Collaborator Author

I am not sure about WPF myself, but maybe Win UI 3 would be the way to go

I've tried winui3, but I feel is not a mature ui framework for now. Microsoft keep adding breaking changes on it.

@Genosuke
Copy link

Genosuke commented Aug 5, 2025

Broken on patch 7.3 :(

@kingsznhone
Copy link
Collaborator Author

Broken on patch 7.3 :(

Sorry, I'm AFK. Need someone still in the game to update pointer signature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants