Skip to content

OpenCrown 1.2-mac.2

Latest

Choose a tag to compare

@Alountk Alountk released this 23 Nov 23:56
· 1 commit to main since this release
db3177a
  • Metal is now the default renderer. The game draws through SDL GPU on Metal (MSL shaders generated from the SPIR-V) instead of OpenGL. On an M2 Pro it removes the CPU decoding of BC7 textures that held up the render thread (frame hitches of up to 160 ms) and cuts the render cost per frame to about a fifth; in a play session windows below 55 fps went from 13% to 3%. OpenGL is still there: pick it in Settings > Renderer, or run play-mac.sh <dump> --renderer gl.
  • The launcher shows Renderer, FSR 1 upscaling and Sharpening on macOS, and the renderer you pick now reaches the game (before, play-mac.sh forced OpenGL).
  • Not checked: pixels in a level against OpenGL (only the first screens, identical up to animation), and Macs other than an M2 Pro. If something looks wrong on Metal, choose OpenGL and tell us what you saw.
  • Tools: DCP_RECORD_INPUT records pad input to a script, tests/perf_report.py summarises DCP_STATS logs, dcp_bench benchmarks the two renderers without game data (see docs/MAC.md, Performance checks). The game logs CPU BC7 decodes of 5 ms or more.
  • The recompiled game code is unchanged, so your recompiled dump is reused.