Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG]启动B站账号的时候启动的却是官服账号 #22

Closed
yinghaodang opened this issue Mar 18, 2024 · 2 comments
Closed

[BUG]启动B站账号的时候启动的却是官服账号 #22

yinghaodang opened this issue Mar 18, 2024 · 2 comments

Comments

@yinghaodang
Copy link

我下载了2.1版本的程序,运行之后我设置了B服的游戏本体路径:D:\Star Rail Bilibili\Star Rail\Game\StarRail.exe
我能够从Windows的任务管理器看到启动的可执行文件是这个StarRail.exe。
但是进入游戏时候,登录的账号是我官服的账号。

我的官服账号在这个地址:D:\Star Rail\Game\StarRail.exe

我使用鼠标分别点击上面提到的两个可执行文件可以正常进入对应的服务器。

我猜测这些可执行文件都是一样的,只不过一些类似环境变量的配置信息不一样?然后软件在执行D:\Star Rail Bilibili\Star Rail\Game\StarRail.exe的时候,误读取了官服的配置文件?

这方面的知识应该去哪里学习?理论上B服和官服使用一套游戏数据行不行?
银狼

@huiyadanli
Copy link
Member

星铁不太清楚。。。原神这块是可以通过 游戏目录下的 config.ini 直接切换的。

我看你这个表现,两者应该是读取的一块注册表内容的账号信息?

@huiyadanli
Copy link
Member

WorkingDirectory = Path.GetDirectoryName(path)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants