Skip to content

Releases: Blinue/Magpie

v0.11.1

22 Jun 13:33
Compare
Choose a tag to compare
中文版
  1. 修复了模拟独占全屏在缩放结束后不会退出的问题,这会导致 D3D9 游戏出错(#928#937#938
  2. 修复了某些游戏中鼠标行为异常的问题(#920#927#947
  3. 修复 DPI 更改后游戏内叠加层字体渲染的错误
  4. 修复了一个自动缩放导致的崩溃错误
  5. 更新翻译
    • 添加波兰语(感谢 Krzysztof Marcinek
    • 感谢一直以来维护本地化的贡献者们!
  1. Fixed an issue where simulating exclusive fullscreen mode would not exit after scaling ended, causing errors in D3D9 games (#928, #937, #938)
  2. Fixed abnormal mouse behavior in certain games (#920, #927, #947)
  3. Fixed font rendering errors in in-game overlays after DPI changes
  4. Addressed a crash issue caused by automatic scaling
  5. Updated translations
    • Added Polish (thanks to Krzysztof Marcinek)
    • Thanks to all contributors who have consistently maintained the localizations!

v0.11.0

19 May 07:49
Compare
Choose a tag to compare
中文版

新功能

  1. 全新的渲染系统,大多数场合下都可以感知到流畅度提升,且特别针对重量级着色器优化
    • 实现了重复帧检测,当游戏画面静止时功耗将显著降低
    • 支持限制帧率 #657
    • 大幅提高光标的流畅度,在帧率较低时更加明显;光标延迟也显著降低
    • 不再支持垂直同步选项,该选项已经没有意义
  2. 支持触控输入 #900 #218
  3. 添加和其他程序合作的机制 #895
  4. 原生 ARM64 支持 #308
  5. 优化了对窗口客户区域的检测,现在可以自动裁剪上边框 #864
  6. 优化了双线性插值下单色光标和彩色掩码光标的渲染效果 #855 #853
  7. 刷新了 UI 样式

新效果

  1. 大量 RAVU 和 NNEDI3 变体 (感谢 @hauuau) #806
  2. CuNNy 族,它们适合视觉小说风格画面,比 Anime4K 更擅长处理文本 (感谢 @cunnyplapper) #848
  3. Anime4K_Upscale_GAN_x3_L 和 Anime4K_Upscale_GAN_x2_M

修复

  1. 修复光标移动到叠加层或其他窗口时有时会跳跃的问题 #866
  2. 修复 Win11 中捕获标题栏时错误裁剪的问题 #864
  3. 修复了和 TeknoParrot 的兼容性 #904 #911

其他更改

  1. 现在始终使用 Catmull-Rom 降采样,不再支持更改。
  2. 现在禁止缩放完整性级别更高的窗口。比如如果 Magpie 不是以管理员身份启动的,则无法缩放管理员身份的窗口 #867
  3. 更改了全局配置文件路径以避免混用两个版本时丢失设置项 #872

New Features

  1. A brand new rendering system, with noticeable improvements in fluidity in most scenarios, especially optimized for heavyweight shaders
    • Implemented frame duplication detection to reduce power consumption when the game screen is static
    • Support for frame rate limiting #657
    • Substantial improvement in cursor fluidity, particularly noticeable at lower frame rates; cursor latency also significantly reduced
    • Vsync option no longer supported, as it has become redundant
  2. Touch input support #900 #218
  3. Mechanisms for interacting with other programs #895
    • This allows you to listen to Magpie's scaling status or ensure that Magpie continues scaling when your window is in the foreground. See Interact with Magpie programally for details
  4. Native ARM64 support #308
  5. Optimized detection of the window client area, now automatically cropping the top border #864
  6. Enhanced rendering effects for monochrome cursors and masked color cursors under bilinear interpolation #855 #853
  7. Refreshed UI style

New Effects

  1. A plethora of RAVU and NNEDI3 variants (thanks to @hauuau) #806.
  2. The CuNNy family, specialized for visual novel-style images, excelling in text handling compared to Anime4K (thanks to @cunnyplapper) #848
  3. Anime4K_Upscale_GAN_x3_L and Anime4K_Upscale_GAN_x2_M

Fixes

  1. Fixed an issue where the cursor would sometimes jump when hovering the overlay or other windows #866
  2. Fixed incorrect cropping when capturing title bar in Win11 #864
  3. Fixed compatibility with TeknoParrot #904 #911

Other Changes

  1. Catmull-Rom downscaling is now consistently used, with no further modifications supported
  2. Windows with higher integrity levels are now prohibited from being scaled. For example, if Magpie is not launched with administrator privileges, it cannot scale windows with administrator privileges #867
  3. Changed the global configuration file path to avoid losing settings when using two versions simultaneously #872

v0.11.0-preview2

10 May 11:06
Compare
Choose a tag to compare
v0.11.0-preview2 Pre-release
Pre-release
中文版
  1. 支持触控输入 #900 #218
    • 更改此选项需要管理员权限,详情见关于触控支持
    • 此功能为实验性,如果不能工作请提供反馈
  2. 添加和其他程序合作的机制 #895
  3. 多项 UI 优化 #882 #885 #887
  4. 修复错误裁剪某些全屏窗口的问题 #877 #876
  1. Touch input support #900 #218
    • Changing this option requires administrator privileges. See About touch support for details
    • This feature is experimental, so please provide feedback if it doesn't work
  2. Mechanisms for interacting with other programs #895
    • This allows you to listen to Magpie's scaling status or ensure that Magpie continues scaling when your window is in the foreground. See Interact with Magpie programally for details
  3. Multiple UI optimizations #882 #885 #887
  4. Fixed issue with incorrectly cropping certain fullscreen windows #877 #876

v0.11.0-preview1

03 Apr 15:11
cd7f10b
Compare
Choose a tag to compare
v0.11.0-preview1 Pre-release
Pre-release
中文版

这个预览版包含了一个全新的渲染系统,它已经开发了很久 #643,终于准备好和大家见面了。感谢在开发过程中提供无私帮助的贡献者们。

新功能

  1. 全新的渲染系统,大多数场合下都可以感知到流畅度提升,且特别针对重量级着色器优化
    • 实现了重复帧检测,当游戏画面静止时功耗将显著降低
    • 支持限制帧率 #657
    • 大幅提高光标的流畅度,在帧率较低时更加明显;光标延迟也显著降低
    • 不再支持垂直同步选项,该选项已经没有意义
  2. 原生 ARM64 支持 #308
  3. 优化了对窗口客户区域的检测,现在可以自动裁剪上边框 #864
  4. 优化了双线性插值下单色光标和彩色掩码光标的渲染效果 #855 #853
  5. 刷新了 UI 样式

新效果

  1. 大量 RAVU 和 NNEDI3 变体 (感谢 @hauuau) #806
  2. CuNNy 族,它们适合视觉小说风格画面,比 Anime4K 更擅长处理文本 (感谢 @cunnyplapper) #848
  3. Anime4K_Upscale_GAN_x3_L 和 Anime4K_Upscale_GAN_x2_M

修复

  1. 修复光标移动到叠加层或其他窗口时有时会跳跃的问题 #866
  2. 修复 Win11 中捕获标题栏时错误裁剪的问题 #864

其他更改

  1. 现在始终使用 Catmull-Rom 降采样,不再支持更改。
  2. 现在禁止缩放完整性级别更高的窗口。比如如果 Magpie 不是以管理员身份启动的,则无法缩放管理员身份的窗口 #867
  3. 更改了全局配置文件路径以避免混用两个版本时丢失设置项 #872

This preview version features a brand new rendering system that has been in development for quite some time #643, and is finally ready to be unveiled. We extend our gratitude to the contributors who generously assisted throughout the development process.

New Features

  1. A brand new rendering system, with noticeable improvements in fluidity in most scenarios, especially optimized for heavyweight shaders
    • Implemented frame duplication detection to reduce power consumption when the game screen is static
    • Support for frame rate limiting #657
    • Substantial improvement in cursor fluidity, particularly noticeable at lower frame rates; cursor latency also significantly reduced
    • Vsync option no longer supported, as it has become redundant
  2. Native ARM64 support #308
  3. Optimized detection of the window client area, now automatically cropping the top border #864
  4. Enhanced rendering effects for monochrome cursors and masked color cursors under bilinear interpolation #855 #853
  5. Refreshed UI style

New Effects

  1. A plethora of RAVU and NNEDI3 variants (thanks to @hauuau) #806.
  2. The CuNNy family, specialized for visual novel-style images, excelling in text handling compared to Anime4K (thanks to @cunnyplapper) #848
  3. Anime4K_Upscale_GAN_x3_L and Anime4K_Upscale_GAN_x2_M

Fixes

  1. Fixed an issue where the cursor would sometimes jump when hovering the overlay or other windows #866
  2. Fixed incorrect cropping when capturing title bar in Win11 #864

Other Changes

  1. Catmull-Rom downscaling is now consistently used, with no further modifications supported
  2. Windows with higher integrity levels are now prohibited from being scaled. For example, if Magpie is not launched with administrator privileges, it cannot scale windows with administrator privileges #867
  3. Changed the global configuration file path to avoid losing settings when using two versions simultaneously #872

onnx-preview1

10 Mar 09:39
Compare
Choose a tag to compare
onnx-preview1 Pre-release
Pre-release
中文版

一个支持 ONNX 模型的实验性版本,如果遇到任何问题请在 #772 中讨论。

如何使用

不支持通过 UI 指定 ONNX 模型,你应该编辑根目录中的 model.json

示例:

{
    "path": "2x_AnimeJaNai_HD_V3_UltraCompact_425k-fp16.onnx",
    "scale": 2,
    "backend": "directml"
}

path:ONNX 文件路径
scale:模型的缩放倍率,应和 ONNX 文件匹配,否则将缩放失败。只支持整数倍缩放。
backend:使用的推理后端,支持三种后端

  • directml,也可以简写为 d
  • tensorrt,也可以简写为 t
  • cuda,也可以简写为 c

缩放时会将该模型应用于第一个效果之前,目前没有方法来改变这个行为。

支持的 ONNX 模型

下面是流行的架构的支持情况:

架构 是否支持
CUGAN ×
ESRGAN
SPAN
WAIFU2X

为了在 Magpie 中使用,ONNX 模型必须符合以下要求:

  1. 输入和输出维度必须为 [-1, 3, -1, -1],数据格式必须为 NCHW。
  2. 输入和输出的数据类型支持 fp16 和 fp32,输入和输出的数据类型必须相同。
  3. 输出尺寸必须是输入的整数倍,对于所有尺寸的输入,缩放倍数应相同。

Magpie 使用 onnxruntime 执行推理,因此除了上述条件,该模型还必须被 onnxruntime 支持。

你可以在这里找到很多 ONNX 模型,其中 CUGAN 架构之外的模型都是可以使用的。OpenModelDB 也记录了大量模型。

推理后端选择

支持三种后端:DirectML,TensorRT 和 CUDA。在性能上,通常情况下 TensorRT > DirectML > CUDA。

  • DirectML:可以运行在所有支持 DirectX 12 的硬件上。如果你没有 NVIDIA 显卡,DirectML 便是唯一的选择。
  • TensorRT:可以运行在 Compute Capability 至少为 6.0 的 NVIDIA 显卡上。它的性能比其他两种后端强得多,但必须花费较长时间(几分钟)来构建引擎。为了获得更好的性能,在构建引擎期间请避免执行 GPU 密集型操作。
  • CUDA:可以运行在几乎所有 NVIDIA 显卡上,根据模型的不同,它的性能和 DirectML 互有胜负。

未来的开发计划

ONNX 支持将不会出现在下一个主要版本中。为了正式支持它,还有很多工作要做,包括导入、管理、优化 ONNX 模型,以及 UI 优化也在计划中。如果你有任何的想法、点子,欢迎和我们分享。

This is an experimental version with support for ONNX models. If you encounter any issues, please report them in #772.

How to Use

You cannot specify ONNX models using the UI. You need to modify the model.json file in the root directory.

Example:

{
    "path": "2x_AnimeJaNai_HD_V3_UltraCompact_425k-fp16.onnx",
    "scale": 2,
    "backend": "directml"
}

path: The location of the ONNX file.
scale: The scaling factor of the model, which must be consistent with the ONNX file, or else scaling will fail. Only integer scaling is allowed.
backend: The inference backend to use, which supports three options:

  • directml, also shortened as d
  • tensorrt, also shortened as t
  • cuda, also shortened as c

When scaling, the model will be applied before the first effect; there is no option to change this behavior at the moment.

ONNX Models Compatibility

The table below shows the compatibility with popular architectures:

Architecture Compatible
CUGAN ×
ESRGAN
SPAN
WAIFU2X

To run an ONNX model in Magpie, the model must follow these rules:

  1. Input and output dimensions must be [-1, 3, -1, -1], with data format NCHW.
  2. Input and output data must be either fp16 or fp32, and they must match.
  3. Output size must be a whole-number multiple of the input size, with the same scaling factors for all input sizes.

Magpie uses onnxruntime for inference, so the model must be compatible with onnxruntime, as well as the rules above.

You can access many ONNX models here, and all models except for the CUGAN architecture work. OpenModelDB also has a large database of models.

Backend Selection for Inference

You can choose from three backends: DirectML, TensorRT, and CUDA. They have different performance levels, with TensorRT being the fastest, followed by DirectML and CUDA.

  1. DirectML: Works on any hardware that supports DirectX 12. If you don't have an NVIDIA graphics card, this is your only choice.
  2. TensorRT: Requires an NVIDIA graphics card with a Compute Capability of at least 6.0. It has much better performance than the other two backends, but it takes a long time (several minutes) to build the engine. To get the best performance, don't do any GPU-intensive tasks while the engine is being built.
  3. CUDA: Supports almost all NVIDIA graphics cards, but its performance depends on the model and may be similar to DirectML.

Future Development Plans

We will not add ONNX support in the next major release. We still have a lot of work to do to fully support it, such as importing, managing, and optimizing ONNX models. If you have any ideas or suggestions, feel free to share them with us.

v0.10.6

05 Mar 12:10
91a366b
Compare
Choose a tag to compare
中文版
  1. 修复打开游戏内叠加层可能导致崩溃的问题 #649 #840
  2. 修复找不到可用显卡时无法回退到 CPU 渲染的问题 #838 #839
  3. 更新翻译 #823 #824 #827 #834
  1. Fixed a crash caused by the in-game overlay #649 #840
  2. Fixed the inability to switch to CPU rendering when no compatible graphics card was detected #838 #839
  3. Updated translations for various languages #823 #824 #827 #834

v0.10.5

26 Jan 14:28
Compare
Choose a tag to compare
中文版
  1. 修复缩放窗口不能跨越多个屏幕的问题 #808 #812
  2. 更新翻译
  1. Fixed the issue of scaling window not being able to span multiple screens #808 #812
  2. Updated translations

v0.10.4

26 Nov 11:09
e753069
Compare
Choose a tag to compare
中文版
  1. 新效果:Anime4K_Restore_S 和 Anime4K_Restore_Soft_S #693(感谢 @IsaiasYang
  2. 支持印度尼西亚语、意大利语、德语和越南语,有些语言还没有翻译完成,前往 Weblate 查看进度(感谢所有创建和维护翻译的贡献者)
  3. 多处 UI 优化 #652 #653 #749 #759 #760 #761 #762
  4. 修复启用“内联效果参数”选项后某些效果编译失败的问题 #678(感谢 @kato-megumi
  5. 提高启用开发者选项的门槛 #744
  6. 缩减软件体积 #727 #735 #750
  7. 更新了很多基础设施,编译更简单了,请查看编译指南
  1. New effects: Anime4K_Restore_S and Anime4K_Restore_Soft_S #693 (thanks to @IsaiasYang)
  2. Support for Indonesian, Italian, German and Vietnamese languages, some languages are not fully translated yet, check out Weblate for progress (thanks to all contributors who created or maintained translations)
  3. Multiple UI optimizations #652 #653 #749 #759 #760 #761 #762
  4. Fixed the issue of some effects failing to compile when the “Make effect parameters inline” option is enabled #678 (thanks to @kato-megumi)
  5. Developer options are hidden by default now #744
  6. Reduced software size #727 #735 #750
  7. Updated a lot of infrastructure to make compilation easier, please refer to the compilation guide

v0.10.3

08 Jun 11:30
Compare
Choose a tag to compare
中文版
  1. 添加 Anime4K_Restore_Soft_UL、Anime4K_Restore_Soft_VL 和 Anime4K_Restore_UL #605 #602(感谢 @kato-megumi
  2. 支持葡萄牙语(巴西)#628(感谢 @Zoommod)和韩语/朝鲜语 #619 (感谢 @MuscularPuky)
  3. 优化了主窗口样式 #624 #599
  4. 添加一个选项允许缩放最大化或全屏的窗口 #639 #559
  5. 允许更改用于启动程序的可执行文件 #641 #609
  6. 游戏内叠加层支持本地化 #600
  7. 优化软件体积 #592 #601 #623
  1. Add Anime4K_Restore_Soft_UL, Anime4K_Restore_Soft_VL and Anime4K_Restore_UL #605 #602 (thanks @kato-megumi)
  2. Support Portuguese (Brazil) #628 (thanks @Zoommod) and Korean #619 (thanks @MuscularPuky)
  3. Optimize the style of the main window #624 #599
  4. Add an option to allow scaling maximized or fullscreen windows #639 #559
  5. Allow changing the executable file used to launch the program #641 #609
  6. In-game overlay supports localization now #600
  7. Optimize the size of the software #592 #601 #623

v0.10.2

07 May 09:13
Compare
Choose a tag to compare
中文版
  1. 新图标 #573 (感谢 @WluhWluh
  2. 支持日语(感谢 @soulset001),土耳其语(感谢 @SerdarSaglam)和西班牙语(感谢 @AndrusGerman),修正繁体中文翻译(感谢 @a0193143
  3. 修复了 Alt+Space 和 Alt+F4 不起作用的问题
  4. 启动应用时支持自定义启动参数 #575
  5. Win11 中启用 Segoe UI Variable #590
  1. New logo #573 (thanks @WluhWluh)
  2. Support Japanese (thanks @soulset001), Turkish (thanks @SerdarSaglam) and Spanish (thanks @AndrusGerman), improve traditional Chinese translation (thanks @a0193143)
  3. Fixed the issue of Alt+Space and Alt+F4 not working
  4. Support custom launch parameters when starting the programs #575
  5. Enable Segoe UI Variable in Win11 #590