Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Seems not working for 2.8 anymore #7

Open
ameaninglessname opened this issue Aug 3, 2022 · 15 comments
Open

Seems not working for 2.8 anymore #7

ameaninglessname opened this issue Aug 3, 2022 · 15 comments

Comments

@ameaninglessname
Copy link

ameaninglessname commented Aug 3, 2022

Note, I am running the tool and the game in Sandboxie:

When I run this console application directly,
game boot up and shutdown within several seconds.

But if I "select something" in the game's console window to pause it, like :
image

The game boot into login screen and would let me do "click anything to enter the game",
But when the game is loading, it pops up a little window and say "Error happen, please go to the official website to download the client".

If you're running well, feel free to close this issue, then it should be something changed in recent Sandboxie's release.

@khang06
Copy link
Owner

khang06 commented Aug 3, 2022

it's possible that the game loaded mhyprot3 instead of 2, which isn't handled at all by this. i'm still not really sure about what criteria has to be met for one to be loaded instead of the other

@ameaninglessname
Copy link
Author

I am willing to test both ways.🤣

@ameaninglessname
Copy link
Author

Would you update it recently?

@khang06
Copy link
Owner

khang06 commented Aug 30, 2022

probably not, mhyprot2 isn't even in the latest versions so it would be better to port it over to mhyprot3, but i don't think i'll do that for a while

@NullExir
Copy link

NullExir commented Sep 1, 2022

@ameaninglessname
Can you please specify which game version that was working with this bypass?, I've tried running v2.6 & 2.8 without a luck, game boots into main screen then suddenly shuts down, downloading v2.5 rn.
running win10 pro.

@ameaninglessname
Copy link
Author

@ameaninglessname
Can you please specify which game version that was working with this bypass?, I've tried running v2.6 & 2.8 without a luck, game boots into main screen then suddenly shuts down, downloading v2.5 rn.
running win10 pro.

It worked successfully in 2.7 version.

@NullExir
Copy link

NullExir commented Sep 3, 2022

@ameaninglessname
Thanks, i found out that we can run both 2.8, and 3.0
You'll need to halt the command line spawned by libwinpthread-1.dll, by selecting an are within the cmd.

Video proof:
proof
am using a server emulation software
@khang06 might be interested to simulate that behavior, either way appreciate the efforts :)

@ameaninglessname
Copy link
Author

libwinpthread

Thanks a lot!!! I will try it out

@ameaninglessname
Copy link
Author

After tried several times, i didn't launch the game successfully.

Looks like the Chinese version and the International version has slightly different "anti mechanism" and naming.
image

I also did two test:

  • rename "mhyprot2.Sys" to "mhyprot2.Sys1",(make it view as deleted or missing by the YuanShen.exe)

and re-launch. the game crashed immediately.

  • rename "mhyprot3.Sys" to "mhyprot3.Sys1",(make it view as deleted or missing by the YuanShen.exe)
    and re-launch. the game window opened, by then crashed just like a "normal launch".

@NullExir
Copy link

NullExir commented Sep 3, 2022

@ameaninglessname You'll need to inject both mhynot2 and libwinpthread-1.dll (from mingw lib folder), see the proof video above.
You can acquire that file from either MSYS2 or by installing mingw within a linux
here's a link for both files compiled

Are you using MSVC compiler ? try to compile in GCC (i compiled them inside a linux VM)
also see the unmerged pull request by Jasuf they made improvement to the CMakeLists.txt

@ameaninglessname
Copy link
Author

Thanks for you files, but i still can't launch the game.
By selecting an area within the cmd the game is freezed, I have to press enter to continue running it.
(I remember that it could continue running at previous versions)

Yes, I compile both the dll and launcher(ConsoleApplication.exe) using MSVC, I don't have a linux VM.

image

@ameaninglessname
Copy link
Author

Before tried your files, I also tried to inject both dll using my compiled stuff, (I copied the libwinpthread-1.dll from git installation folder, this dll is not a self compiled one right?) and failed.

@ameaninglessname
Copy link
Author

Never mind, I can still play it on my cell phone, though the desktop graphic is more appealing.

@NullExir
Copy link

NullExir commented Sep 4, 2022

the launcher is looking specifically for GenshinImpact.exe here that might be the issue.

Try to recompile it with the correct process name for the your game version YuanShen.exe.
You can also try and download the international version of the game see if it works.

@ameaninglessname
Copy link
Author

Yes, I have already changed the name there, that's the reason I have to use the "ConsoleApplication.exe" compiled myself, otherwise I can't launch the game at all.

I learned that the account of the Chinese version can't be logged into the international version, so even if it's currently work, it makes no sense for me.

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

No branches or pull requests

3 participants