跳到正文

PixelBudget

作者:L4stIdi0t

Up to 2x fps on Retina Macs and other high-DPI screens: Minecraft renders at standard resolution instead of four times the pixels. Can also lower just the world's render resolution and keep the HUD sharp. Client-side.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

PixelBudget

More fps on Retina and other high-DPI screens.

Fabric · NeoForge · Client-only · 26.2 – 26.3

On a high-DPI screen Minecraft draws four pixels for every one you’d notice. PixelBudget has it draw
at standard resolution instead.

Frames per second with and without PixelBudget

How much faster

Tested on a MacBook Pro (M4 Max), 3200 × 2000 window:

Without With
26.3, Fancy ~160 fps ~400 fps
26.3, Fabulous ~115 fps ~160 fps
26.2, Fancy ~175 fps ~340 fps

Your numbers will differ. On a normal screen it does nothing.

The same view at full and at standard resolution

Does it look worse?

Barely. The hotbar, items and font are pixel art, so they stay crisp:

The hotbar at full and at standard resolution, enlarged

Want full sharpness back? /pixelbudget window full, or “Whole game” in the settings. Takes effect
after a restart.

Only the world smaller

You can also draw just the world at a lower (or higher) resolution and keep the window at full
resolution: a percentage, a fixed size or a pixel count, sharp or smooth. Useful with shader packs
or a weak GPU.

The world at 100%, at 50% smooth and at 25% sharp

Already using retiNO or Sodium Extra?

They do the same for the whole window, and do it well. Keep using them if you like. PixelBudget
works alongside retiNO, Sodium and Sodium Extra.

Why I made it

I run automated tests for my mods, several game windows at once, while I keep working. Those windows
made my machine slow. Now they run with PixelBudget at a quarter of the pixels.

Commands

  • /pixelbudget status
  • /pixelbudget window low|full (restart needed)
  • /pixelbudget auto [megapixels]
  • /pixelbudget preset performance|balanced|quality
  • /pixelbudget scale <10-200>
  • /pixelbudget fixed <width> <height>
  • /pixelbudget pixels <megapixels>
  • /pixelbudget filter sharp|smooth
  • /pixelbudget on|off
  • /pixelbudget config

Launch options

JVM arguments, for launchers and test setups. They override the saved settings for that launch.

  • -Dpixelbudget.window=low|full
  • -Dpixelbudget.scale=50
  • -Dpixelbudget.fixed=640x360
  • -Dpixelbudget.pixels=1m
  • -Dpixelbudget.filter=sharp
  • -Dpixelbudget.auto=1920x1080
  • -Dpixelbudget.mode=auto|scale|fixed|pixels
  • -Dpixelbudget.enabled=true|false
  • -Dpixelbudget.config=path/to/pixelbudget.json

Compatibility

  • Fabric needs Fabric API. YACL is optional, for the settings screen.
  • Only tested on macOS so far.
  • Shader packs: not tested yet.
  • English and Dutch.

常见问题

PixelBudget 支持哪些 Minecraft 版本?

PixelBudget 支持 Minecraft Java 版 1.21.1–26.3,共 16 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

PixelBudget 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

L4stIdi0t 的其他作品

查看全部 →