[go: up one dir, main page]

Skip to content
/ Magpie Public
forked from Blinue/Magpie

A real-time upscaling software that can upscale any application or game window. Forked from Blinue/Magpie, with the intention of maintaining Visual Novel specific presets.

License

Notifications You must be signed in to change notification settings

Z-Dante/Magpie

 
 

Repository files navigation

build

All Contributors GitHub all releases

#######################################################################################
HOW TO USE:

☛ Run Magpie and keep it open in the background / minimize to tray
☛ Open the desired game / visual novel in windowed mode
☛ Use Alt + F11 hotkeys to upscale your game window using magpie
☛ Modify the ScaleModels.json if you want your very own custom stack of presets to use with Magpie

NOTE: You'll need to start Magpie as admin if you want to upscale a game that's also running with admin privileges

#######################################################################################
SOME COMPARISONS / UPSCALING RESULTS WITH VARIOUS PRESETS:

#######################################################################################
RECOMMENDED PRESETS

  1. Anime4kGAN
  2. Anime4K
  3. ACNet (RCAS)
  • Anime4k (Light) - Only if you have low end hardware and are facing performance issues.

#######################################################################################
RECOMMENDED SETTINGS

  1. "Restore Full Screen When The Source Window Regains Focus" from ZOOM settings if you have a habit of alt-tabbing and don't want to manually zoom back in with the hotkeys
  2. "Run at Startup" if you want magpie to start automatically everytime you start your PC.
  3. "Minimize to the System Tray at Startup" with #2 if you want Magpie to start silently

#######################################################################################
SOME POINTERS ABOUT THE PRESETS

  • RCAS - Uses the CAS filter from FSR. Higher overall contrast and sharpness. I used this one instead of the standard CAS cause IMO it makes the details stand out a lot more.
  • ACNet - ACNet works very well for anime type art, looks very clean with think lines at the cost of some detail loss.
  • Anime4k - Direct port of Anime4k v4. Great results for anime type artwork with minimal cost and detail loss. Does not lose any detail like ACNet. However does not look as clean as ACNet either.
  • FSRCNNXLineArt - A fast super resolution CNN algorithm. Despite having the word fast in it, it is quite heavy. Looks great for some VNs and bad at others. Produces ringing artifacts.
  • Anime4K Denoise - Anime4kspecific denoising upscaler. For noisy sources. Not recommended for VNs. As the name implies it gets rid of noise (and some details too)
  • Restore - Anime4kspecific detail enhancement module. very sharp but produces ringing artifacts. The soft variant doesn't have ringing artifact but isn't as sharp either.

#######################################################################################
DOWNLOAD

Head over to the release section - https://github.com/Z-Dante/Magpie/releases

Or grab automated builds from - https://github.com/Z-Dante/Magpie/actions (click on the topmost one and select Magpie-Auto-Build)

################################# ORIGINAL README ####################################

MAGPIE

🌍 简体中文 | English

Magpie 可以将任意窗口放大至全屏,内置大量缩放算法/滤镜。主要用于游戏窗口的放大显示,适用于不支持全屏模式,或者内置的全屏模式会使画面模糊的情况。

使用中遇到问题请提交 issue。(开源新手?看这里!)

👉 编译指南

👉 FAQ

👉 自定义缩放配置示例

👉 贡献指南

使用方法

窗口截图

要放大的窗口位于前台时,按下热键即可全屏显示该窗口,再次按下热键或者切换前台窗口将退出全屏。

以下为配置说明:

缩放模式

程序预置了多种缩放模式,如果它们不符合你的需求,请自定义缩放配置

  1. Lanczos:常见的传统插值算法,善于保留锐利的边缘。
  2. FSR:FidelityFX-FSR 的移植,适合缩放 3D 游戏。
  3. FSRCNNX:FSRCNNX 的移植。
  4. ACNet:ACNetGLSL的移植。适合动画风格的图像和视频放大。
  5. Anime4K:Anime4K 的移植。此预置使用 Anime4K_Upscale_Denoise_L 变体。
  6. CRT-Geom:最流行的 CRT 滤镜之一,推荐自行配置参数。见 Emulation General Wiki
  7. Integer Scale:将每个像素放大整数倍,可以完整保留原图像的视觉效果。预置了2x和3x两种放大倍率。

捕获模式

指示程序如何捕获源窗口图像,它们的适用场景见捕获模式对比

  1. Graphics Capture:使用 Screen Capture API 捕获窗口,最推荐的方法。此 API 从 Win10 v1903 开始提供。
  2. Desktop Duplication:使用 Desktop Duplication API 捕获窗口,相比 Graphics Capture 可以捕获到更多类型的窗口。此 API 从 Win10 v2004 开始提供。
  3. GDI:使用 GDI 捕获源窗口。和 Graphics Capture 相比 CPU 占用更少。
  4. DwmSharedSurface:使用未公开的 DwmSharedSurface API 捕获窗口。

热键修改

程序使用 globalmousekeyhook 检测热键。

手动输入键值修改为你喜欢的键位(多个键位组合之间用 + 连接)

  1. 字母使用大写,如 A ;数字使用特殊格式,如 D1 (小键盘数字则为 NumPad1
  2. 功能键的单词首字母大写,如 Capital (不能写 Caps ), F1PageUp
  3. 个别键位不能作为单独的触发热键,必须与其它键位组合使用,如 ControlShiftAlt
  4. 组合键按照前后顺序按下才能正确触发,如 B+C (先按住b不松手而后再按下c)

系统需求

  1. Windows 10 v1607+ 或 Windows 11
  2. DirectX 功能级别 11
  3. .NET 6.0.4 Desktop 运行时
  4. MSVC 2015-2022 运行时

使用提示

  1. 如果你设置了 DPI 缩放,而要放大的窗口没有高 DPI 支持,推荐首先进入该程序的兼容性设置,将“高 DPI 缩放替代”设置为“应用程序”。

    高DPI设置

  2. 一些游戏支持调整窗口的大小,但只使用简单的缩放算法,这时请先将其设为原始(最佳)分辨率。

贡献者 ✨

感谢每一位贡献者,你们使 Magpie 变得更好(emoji key):


刘旭

🚧 💻 👀 📖 💬

hooke007

📖 💬 📓 💻

Pal Lockheart

📓

Steve Donaghy

💻 🌍

gyro永不抽风

💻

ButtERRbrod

🌍

NightFox

🌍

Tzugimaa

💻

WHMHammer

🌍

kato-megumi

💻

本项目遵循 all-contributors 规范。欢迎任何形式的贡献!

About

A real-time upscaling software that can upscale any application or game window. Forked from Blinue/Magpie, with the intention of maintaining Visual Novel specific presets.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HLSL 86.4%
  • C++ 11.6%
  • C# 2.0%