#360 About the CN(bilibili) server patch

Closed
opened 1 year ago by anlorsp · 3 comments
anlorsp commented 1 year ago

I'm so glad that this patch worked on CN(bilibili) server. But there are still something a little annoying.

Firstly, the project: https://github.com/QiE2035/gs_bili is needed to login the game, but it is not mentioned in README, nor in any other instruction file. I suggest to mention it in README or Troubleshooting so that new users can find it easily.

Secondly, the gs_bili project need to change the last line in launch.bat to "start ..\hook.exe "YuanShen.exe %*" ..\main.dll", but the bat file is also edited by the patch so that I need to edit the bat file every time the patch upgrade. I hope this change can be done by the patch automatically.

I'm so glad that this patch worked on CN(bilibili) server. But there are still something a little annoying. Firstly, the project: https://github.com/QiE2035/gs_bili is needed to login the game, but it is not mentioned in README, nor in any other instruction file. I suggest to mention it in README or Troubleshooting so that new users can find it easily. Secondly, the gs_bili project need to change the last line in launch.bat to "start ..\hook.exe "YuanShen.exe %*" ..\main.dll", but the bat file is also edited by the patch so that I need to edit the bat file every time the patch upgrade. I hope this change can be done by the patch automatically.
Krock commented 1 year ago
Owner

First I would like to understand why this is needed.

How would you login normally on Windows? Why does that method not work on Linux?

First I would like to understand why this is needed. How would you login normally on Windows? Why does that method not work on Linux?
anlorsp commented 1 year ago
Poster

The in-game login window of bilibili version seems to use the system's IE to load the login website. And the login website itself requires you to use a browser newer than IE9. However, wine's "IE"(wine gekco) will be recognized as IE8 so that the login website refuses to load.

The project "gs_bili" allows users to login in the browser of their linux system, and then transfer the necessary data to the game so that users can login the game without using the in-game login window.

I'm not the author of the project, so there might be some mistakes above.

The in-game login window of bilibili version seems to use the system's IE to load the login website. And the login website itself requires you to use a browser newer than IE9. However, wine's "IE"(wine gekco) will be recognized as IE8 so that the login website refuses to load. The project "gs_bili" allows users to login in the browser of their linux system, and then transfer the necessary data to the game so that users can login the game without using the in-game login window. I'm not the author of the project, so there might be some mistakes above.
Krock commented 1 year ago
Owner

That is unfortunate. The game already bundles the Chromium Embedded Framework (CEF) but PCGameSDK.dll is not aware of it. I modified the User Agent in urlmon.dll and found that despite this change, the Gecko version is likely too old to render the login website.

Documented since 7715a6c. Please let me know if there is anything to add to it.

That is unfortunate. The game already bundles the Chromium Embedded Framework (CEF) but PCGameSDK.dll is not aware of it. I modified the User Agent in urlmon.dll and found that despite this change, the Gecko version is likely too old to render the login website. Documented since 7715a6c. Please let me know if there is anything to add to it.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.