07th-mod / 07th-mod/higurashi-assembly

BGM does not play on linux if name is not all lower case

未關閉
#100 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
12
分支
12
PR 合併指標
30 天內沒有已合併 PR

描述

> Just noticed primal-beat-of-horrow_T.ogg doesn't play on Linux. Renaming it to primal-beat-of-horrow_t.ogg (with a lowercase 't') causes it to play correctly

> Probably because the game is looking for 'primal-beat-of-horrow_t.ogg' and can't find it because Linux file names are case sensitive

This may be related to the BGM switching I implemented which doesn't handle different file case when looking for files (although I thought such a thing would already be handled in the engine, but I might be bypassing it)

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

查看BGM切換的實作以及遊戲引擎如何處理檔案查找。該問題提到了Linux上的大小寫敏感問題,因此請檢查檔案路徑比較邏輯。首先找到BGM檔案被載入或引用的位置,很可能在音訊相關程式碼中。透過驗證修復是否允許在Linux上正確播放混合大小寫的檔案名稱來進行測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp, linux
領域
audio-video-rtc, game-dev
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。