CustomizeBGM

版本 v1.0.1·更新於 2021-02-26

Now you can Customize the BGM of the game when you are playing. 你可以自定義玩遊戲時播放的背景音樂。

模組介紹 作者原文

Customize BGM

Now you can customize your own BGM.

Create a new folder "bgm" in the game directory (/Dyson Sphere Program). Then put your audio files(Only \.ogg or \.wav) in the folder you just created (which is /Dyson Sphere Program/bgm).

Only.ogg and.wav file is supported!!! You can't use mp3 file. Please use transcoding software to convert MP3 files to ogg or wav format.

( I've used the "UnityWebRequestMultimedia" rather "WWW" but still the game told me that mpeg stream is not supported so can't load mp3 file. If someone knows how to solve this please contact me. See in github page.)

Installation

  • Install BepInEx.
  • Drag CustomizeBGM.dll into "Dyson Sphere Program/BepInEx/plugins/"
  • Create folder named "bgm" in the game directory (/Dyson Sphere Program).
  • Put all your audio files (.ogg or.wav only) in "/Dyson Sphere Program/bgm/"

Configuration

You can switch the bgm to next by pressing O (the hotkey can be changed in configuration file).

You can decide to play the customized bgms randomly or not (default: random).

You can let the bgm changes when you enter a new planet or gamesave by set the SwitchAsOri to true. But this may sometimes cause that the bgm suddenly stops. So, not recommended. (default: false)

自定義BGM

現在你可以自定義BGM!在遊戲根目錄下新建一個文件夾bgm,然後把你的所有音頻文件(只有\.ogg 和 \.wav格式是支持的)放入你剛建好的文件夾,也就是/Dyson Sphere Program/bgm/。

只支持 \.ogg and \.wav格式!!! 你不能用mp3文件!所以請用格式工廠或者其他轉碼軟件將音樂轉成ogg或者wav格式再放進去就能播放了。

(我已經用了"UnityWebRequestMultimedia"而不是"WWW",但是遊戲仍然告訴我不支持mpeg流,所以還是不能加載MP3文件。如果有人知道解決辦法請聯繫我。見github頁面。)

安裝

  • 安裝 BepInEx框架。
  • 將CustomizeBGM.dll放入 "Dyson Sphere Program/BepInEx/plugins/"文件夾內。
  • 創建一個名叫bgm的新文件夾,放在遊戲根目錄(/Dyson Sphere Program)裏。
  • 把你的BGM文件(.ogg 或.wav)放入"/Dyson Sphere Program/bgm/"文件夾內。

配置文件

你可以通過按O手動切換你的BGM(O按鍵可以改成別的)。

你可以設置是否隨機播放還是順序播放(默認:隨機播放)。

你可以讓BGM在進入新的星球或者存檔時自動切換,但這可能導致BGM偶爾會突然停止。因此不推薦(默認關閉此功能)。

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

xiaoye97-BepInEx

檔案與校驗

檔案名稱
CustomizeBGM-1.0.1.zip
檔案大小
98.9 KiB