Skip to content

OrigamiKingRecomp v0.1.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@WenVil WenVil released this 27 Nov 12:34
· 5 commits to main since this release

What's Changed in v0.1.0-beta.2

Upgrade Note: GAMELIB_ID is unchanged from v0.1.0-beta.1 — existing players do not need to recompile lasgame_E74395F066FD8CCB.dll. Just replace the extracted files and keep your existing data folder / saves.

AMD Windows Black-Screen Fixes & Vulkan Diagnostics

  • Fixed host_import_ptr() memory type selection: Now queries vkGetBufferMemoryRequirements and intersects req.memoryTypeBits & mp.memoryTypeBits before allocating BDA memory, preventing silent allocation/bind failures on AMD Windows drivers.
  • Disabled VK_EXT_vertex_input_dynamic_state (vids) by default on AMD Windows (0x1002): Avoids the AMD Windows driver bug where fixed vertex-input pipelines draw nothing (override available via LARECOMP_VK_DYN_VERTEX=1).
  • Fixed VAMM fallback gating: Prevents shaders from reading zeroed VAMM buffers if gc_lazy falls back.
  • Safe minImportedHostPointerAlignment > 4096 handling: Splits unaligned or small VAMM chunks onto HOST_VISIBLE | HOST_COHERENT + BDA copy fallback buffers instead of silently dropping them (zero impact on NVIDIA's 4096-byte fast path).
  • Enhanced Vulkan logging & present barrier: Added explicit vk_full_barrier before present rendering, detailed error logs for shader/pipeline failures, and a one-line [vk] diag: hardware/feature summary at startup to make GPU troubleshooting immediate.

Wine / Proton Error Guidance & Documentation

  • Clear Wine/Proton Zig cache detection: Detects Wine/Proton (WineHQ Bug #59935) or network-drive manifest_create Unexpected failures inside zig.exe cc and shows actionable multi-language guidance directly in the launcher instead of a generic compile error.
  • Updated Bilingual README & FAQ: Added AMD black-screen troubleshooting and Wine/Proton workaround instructions in both README.md and README_zh.md.

v0.1.0-beta.2 更新日志

升级说明: 本版本 GAMELIB_ID 与 v0.1.0-beta.1 完全一致,老玩家覆盖更新后无需重新编译 lasgame_E74395F066FD8CCB.dll,保留原存档与数据目录即可直接启动。

Windows AMD 显卡黑屏修复与 Vulkan 诊断增强

  • 修复 host_import_ptr() 内存类型选择:先查询 VkBuffer 内存需求并与主机指针内存类型求交,修复 AMD Windows 驱动下可能静默分配/绑定失败的问题。
  • AMD Windows 默认禁用动态顶点输入状态(vids):绕过 AMD 驱动开启 VK_EXT_vertex_input_dynamic_state 导致固定顶点管线无绘制的已知问题(调试可通过 LARECOMP_VK_DYN_VERTEX=1 强制开启)。
  • 修复 VAMM 回退门控:杜绝回退后着色器继续读全零缓冲的半开启状态。
  • 安全兼容 minAlign > 4096(如 64 KiB 对齐):对不足对齐边界的 VAMM 块改走安全 BDA 拷贝回退缓冲,不再静默丢弃(保持 NVIDIA 4 KiB 零拷贝热路径不受影响)。
  • 增强诊断日志与呈现屏障:新增启动单行 [vk] diag: 汇总日志、着色器/管线创建失败详细报错以及呈现前显式全屏障。

Wine / Proton 报错引导与文档更新

  • 识别 Wine/Proton 下 zig.exe 缓存清单失败:命中 manifest_create Unexpected(WineHQ Bug #59935)时,启动器直接显示五语排查与绕过指引,普通编译失败亦透传末行真实错误。
  • 同步更新中英双语 README.md / README_zh.md 排查指南。