yanorei32 / VRChatRejoinTool

This software helps rejoin to the VRChat instance.
BSD 2-Clause "Simplified" License
58 stars 7 forks source link

VRChat build 1213 #23

Open yanorei32 opened 1 year ago

yanorei32 commented 1 year ago

恐らく何らかの対応をしなければならない。

yanorei32 commented 1 year ago

Support List @ OpenBeta 1212

自分で建てたインスタンス

Permission InviteMe Launch Argument
Self Invite Only :white_check_mark: ❌ †1 ❌ †1
Self Invite+ :white_check_mark: ❌ †1 ❌ †1
Self Friends :white_check_mark: ❌ †1 ❌ †1
Self Friends+ :white_check_mark: ❌ †1 ❌ †1
(Self) Public :white_check_mark: ❌ †1 ❌ †1

一度入ったインスタンス

Permission InviteMe Launch Argument
Friend's Invite Only :white_check_mark: ❌ †1 ❌ †1
Friend's Invite+ :white_check_mark: ❌ †1 ❌ †1
Friend's Friends :white_check_mark: ❌ †1 ❌ †1
Friend's Friends+ :white_check_mark: ❌ †1 ❌ †1
(Friend's) Public :white_check_mark: ❌ †1 ❌ †1

リンクをもらったインスタンス

Permission InviteMe Launch Argument
Non-friend's Invite Only :-1: Can't Travel ❌ †1 ❌ †1
Non-friend's Invite+ :-1: Can't Travel ❌ †1 ❌ †1
Non-friend's Friends :-1: Can't Travel ❌ †1 ❌ †1
Non-friend's Friends+ :-1: Can't Travel ❌ †1 ❌ †1
Friend's Invite Only :-1: Can't Travel ❌ †1 ❌ †1
Friend's Invite+ :-1: Can't Travel ❌ †1 ❌ †1
Friend's Friends :white_check_mark: ❌ †1 ❌ †1
Friend's Friends w/o Friend ❌ †1 ❌ †1
Friend's Friends+ :white_check_mark: ❌ †1 ❌ †1
Friend's Friends+ w/o Friend ❌ †1 ❌ †1
(Friend's) Public :white_check_mark: ❌ †1 ❌ †1

過去にInviteをもらい、入らなかったがリンクは知ってるインスタンス

Permission InviteMe Launch Argument
Friend's Invite Only :white_check_mark: ❌ †1 ❌ †1
Friend's Invite+ :white_check_mark: ❌ †1 ❌ †1

考察とか色々

たぶん Invite 操作が「ホワイトリストへの追加」。

そして、フレンドのフレンドのインスタンスに干渉するためには、その人間がインスタンスに残っていないといけない?(要検証)

RejoinToolの存続のために今集められる情報は集まったので、あとはリリース待ち。

APIを使って怪しいInviteを飛ばすやつは私より脳内メモリがでかい人に任せます…。 状態管理とCredential管理が同時には出来ませんでしtあ…。

❌ †1

現状は仕様っぽい

During Open Beta, you must launch VRChat via special launch options in Steam. This will not be the case when the update goes to Live

https://docs.vrchat.com/v2022.2.2/docs/latest-release

一応 Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VRChat\shell\open\command は相変わらず "D:\Program Files (x86)\Steam\steamapps\common\VRChat\launch.exe" "%1" %*

yanorei32 commented 1 year ago

Can't travelはこんなの出るんですね。

image

ところでJoin失敗後しばらくすると暗転して操作不能になるのは仕様ですか?

yanorei32 commented 1 year ago

Locked Instance

Permission Behaviour note
(Self) Invite This instance type does not support locked links.
(Self) Invite+ This instance type does not support locked links.
(Self) Friends Get Unlocked Link is clickable
yanorei32 commented 1 year ago

なんかLaunchリンクが常に壊れている。@ build 1213

どうして?

いやこれは僕全く悪くないと思うんですけど。

Workaround.

PowerShell で launch.exe を start_protected_game.exe (EAC) に張り替えるととりあえず動く。

$REGPATH='HKLM:\SOFTWARE\Classes\VRChat\shell\open\command'

Set-ItemProperty -Path $REGPATH -Name '(default)' -Value (
    (Get-ItemProperty -Path $REGPATH).'(default)'
).replace('launch.exe', 'start_protected_game.exe')

Cannyにも投げたので見た人は投票してくれると嬉しい… https://vrchat.canny.io/bug-reports/p/1213-vrchat-uri-scheme-is-broken-since-eac-update

yanorei32 commented 1 year ago

早急に対応したいが、眠いので寝ます。

yanorei32 commented 1 year ago

なんか問題起きている様子無いのでとりあえず、Bugタグ外します

yanorei32 commented 1 year ago

もしかして: 何もする必要がない。

yanorei32 commented 1 year ago

なんかLaunchリンクが常に壊れている。@ build 1213

この問題は現在 (build 1218) 直っており、特に問題なく使用することが出来ます。

ロールバックするスクリプトも置いておきます。

$REGPATH='HKLM:\SOFTWARE\Classes\VRChat\shell\open\command'

Set-ItemProperty -Path $REGPATH -Name '(default)' -Value (
    (Get-ItemProperty -Path $REGPATH).'(default)'
).replace('start_protected_game.exe', 'launch.exe')