SakeTami
nalulululuna
nalulululuna

fanbox


NalulunaBaseStation

概要 Description

Beat Saber と連動して、SteamVR BaseStation 2.0/1.0 を起動、スリープさせる mod です。Valve Index を使用している場合は SteamVR と連動させることが可能なので不要ですが、それ以外の HMD をお使いで、ベースステーションの電源を連動したい方向け。


Beat Saber を起動させると、ベースステーションがスリープ状態から復帰します。Beat Saber を終了させると、ベースステーションがスリープ状態になります。Beat Saber 終了後にすぐ再び起動するなどした場合は、前の操作はキャンセルするようにしているので、起動しているのにスリープされてしまう、ということはありません。


この手のツールは探せばそこそこあるのですが、すべてのベースステーションが一回では検出されなかったり、起動やスリープに失敗したり、ということがあったので、すこし時間はかかっても確実にすべてのベースステーションを起動、スリープさせるものを作りました。


This is a mod that works with Beat Saber to wake up and sleep the SteamVR BaseStation 2.0/1.0. If you are using Valve Index, you don't need this mod since you can sleep BaseStation with SteamVR, but if you are using other HMDs and want to link the power of BaseStation.


If you start Beat Saber, the Base Station will wake up from sleep mode, and if you exit Beat Saber, the Base Station will go back to sleep mode. If you start up Beat Saber again immediately after quitting Beat Saber, the previous operation will be canceled, so it will not be set to sleep.


There are a number of such tools available, but they sometimes fail to detect all base stations at once, or fail to start up or sleep. So, I have created a tool that will reliably start and sleep all the base stations, even if it takes a little longer.

Bluetooth

動作には PC に Bluetooth アダプターが接続されている必要がありますが、一般的なものであれば動くと思います。


最近ではデスクトップ PC でもマザーボードに Bluetooth 機能が搭載されているものが多くなっていますが、これらは Windows 上で Bluetooth アダプターを認識していても、アンテナをつながないとまったく電波が飛びません。必ずアンテナをつないでお使いください。


USB タイプの Bluetooth アダプターでは、tp-link UB500 Plus/A で動作を確認しました。もし新たに購入するのであれば、確実にベースステーションと通信できるよう、なるべく電波が飛ぶものが良いので、このようなアンテナのついた Class1 のものが良いと思います。(たぶん小さいものでも大抵問題なく動作するとは思いますが)


You need to have a Bluetooth adapter connected to your PC in order for it to work, and I think any common Bluetooth adapter will work.


Recently, many desktop PCs have Bluetooth functionality built into the motherboard, but even if the Bluetooth adapter is recognized by Windows, if the antenna is not connected, there will be no signal at all. Be sure to connect the antenna.

(frame embed)


おまけ Appendix

Beat Saber と関係なくベースステーションを制御したい場合のために、

(Beat Saber)\UserData\NalulunaUtils\BaseStationHelper フォルダの中に、ベースステーションを起動、スリープする exe を置いておきました。


Wake.exe: 起動

Sleep.exe: スリープ

(この exe 単体では動作せず、同じフォルダ内に BaseStationHelper.exe が必要)


こちらへのショートカットをデスクトップに置いておく、Stream Deck のボタンに割り当てる、など便利に使えると思います。


In case you want to control the Base Station without Beat Saber, I have placed exe files to start and sleep the Base Station in the following folder.


(Beat Saber)\UserData\NalulunaUtils\BaseStationHelper

Wake.exe: startup

Sleep.exe: sleep

(These exe by itself will not work, you need BaseStationHelper.exe in the same folder)


You may find it useful to create a shortcut to this file on your desktop, or assign it to a button on the Stream Deck.

設定 Setting

これといって設定を変更する必要はないと思ったので、設定画面はありませんが、NalulunaBaseStation.json を編集することで設定変更は可能です。


There is no configuration screen because I don't think it is necessary to change the settings for this, but it is possible to change the settings by editing NalulunaBaseStation.json.


enabled: modの有効/無効

wake: Beat Saber起動時にスリープ状態から復帰

sleep: Beat Saber終了時にスリープ状態へ

sleepDelay: Beat Saber終了時、スリープ処理を行うまでのディレイ (秒)

ダウンロード Download

NalulunaModAssistant

https://nalulululuna.fanbox.cc/posts/4732024

NalulunaBaseStation NalulunaBaseStation

More Creators