Wing Commander™ III: Heart of the Tiger: 30th Anniversary Edition (2008740)

未关闭
#10,355 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
cpp, linux

调研方向

Start with the linked Proton log and the referenced input_joystick.cpp constructor, which calls RawGameController.NonRoamableId() during initialization. Reproduce with the listed F310 and Proton settings, then trace the NonRoamableId stub in Proton/Wine input handling. Done means the controller appears in Alt+J and can be enabled and mapped; the reported cause is suspected, not confirmed.

由索引模型根据 Issue 内容生成。

描述

Game compatibility - Unofficial

Compatibility Report

  • Name of the game with compatibility issues: Wing Commander III: Heart of the Tiger — 30th Anniversary Edition
  • Steam AppID of the game: 2008740

System Information

  • GPU: Intel Graphics (ARL), integrated graphics on Intel Core Ultra 5 225H; PCI ID 8086:7d51
  • Video driver version: Mesa 26.0.8-1ubuntu0.3; OpenGL 4.6
  • Kernel version: 7.0.0-27-kfocus (from the diagnostic log; Steam System Information reports 7.0)
  • Link to full system information report as Gist: [Paste your system-information Gist URL here]
  • Proton version: experimental-11.0-20261027b-x86_64 (from the diagnostic log); also tested Proton 10.0-4 without success
  • Operating system: Ubuntu 26.04.1 LTS (64-bit)
  • Window manager: KWin, X.Org
  • Steam Runtime version: steam-runtime_1.0.20261021.266054

I confirm:

  • [X ] that I haven't found an existing compatibility report for this game.
  • [ X

steam-2008740.log

] that I have checked whether there are updates for my system available.

Symptoms

The Enhanced version's controller configuration screen, opened with Alt+J, displays “No Controllers Detected” when using a wired Logitech F310.

The controller passes Steam's input test, with sticks and buttons responding correctly.

The following tests did not restore working controller support:

  • F310 in XInput and DirectInput modes.
  • Steam Input enabled and disabled.
  • Steam Input using a standard gamepad layout.
  • Proton Experimental and Proton 10.0-4.
  • ENABLE_CONTROLLER_ENHANCEMENTS=0 to test the legacy controller interface, with Joystick selected in the flight options.

ENABLE_CONTROLLER_ENHANCEMENTS was subsequently restored to 1.

With the F310 in DirectInput mode and Steam Input disabled, the Proton log shows the physical controller (VID 046D, PID C216) being enumerated. During the game's controller initialization, it then reports:

fixme:input:wine_provider_get_NonRoamableId iface ... stub!
fixme:combase:RoOriginateLanguageException 0x80004001, L"", ...: stub
trace:seh:dispatch_exception code=e06d7363 (EXCEPTION_WINE_CXX_EXCEPTION)

This suggests that controller initialization fails because the NonRoamableId property is unimplemented. The enhancement patch's published source calls RawGameController.NonRoamableId() in its JOYSTICK constructor before completing initialization:

https://github.com/mattwells77/Wing_Commander_III_Enhancement_Patch/blob/main/wc3w_en/input_joystick.cpp

This is a suspected cause based on the log and published source, rather than a confirmed diagnosis from a patched build.

Expected behavior: the controller appears in the configuration screen and can be enabled and mapped.

Diagnostic log: steam-2008740.log.
The log was generated using:

PROTON_LOG=+hid,+joystick,+plugplay PROTON_LOG_DIR=/tmp %command%

Reproduction

  1. Connect a wired Logitech F310 before launching the game.
  2. Set the controller's underside switch to D (DirectInput).
  3. Disable Steam Input for Wing Commander III.
  4. Select Proton Experimental.
  5. Ensure Kilrathi_Saga/wc3w_en.ini contains ENABLE_CONTROLLER_ENHANCEMENTS=1.
  6. Launch the Enhanced version of Wing Commander III.
  7. Once aboard the TCS Victory, press Alt+J.
  8. Observe “No Controllers Detected”; moving sticks and pressing buttons does not register in the configuration tool.
主要语言
C++
星标
33.4k
派生
1.8k
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/Proton 的其他 Issue

查看 ValveSoftware/Proton 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。