#I have a problem with wine and RSA patch

31 messages · Page 1 of 1 (latest)

static whale
#

Every time I trying to run Genshin in wine (macOS) with patch (from cultivation version.dll or directly RSApatch with PublicKey) it shows me a cmd window with something like ReadToEnd : 00007FFFDCB512F0
Hooked ReadToEnd - Original at : 00007FFF9CB40120
And then I get 4201 error in game, and nothing work out. Any suggestions on patching?

loud ginkgo
#

If you got the cmd window then you already patched properly

#

the issue is not the patch

static whale
#

So what it may be?

loud ginkgo
#

Without any other info about your setup, anything

#

You're using genshin through wine, but where are you trying to play? Local? Public?

static whale
#

MacOS Ventura and Crossover (wine), im trying to connect to my local server on Win (in the same network)

#

Maybe I should use mitmproxy instead of hosts file

loud ginkgo
#

You can't use hosts alone, that is correct

#

Did you also configure your server already?

#

Simply running default GC won't work, you have to make the proper edits to your config.json so that the server is hosted on the local network address

static whale
#

Server is hosted 100% and I can connect and see GC message on address

#

Also I shouldn’t use “Proxy” tick in Cultivation settings?

loud ginkgo
#

If you're using Cultivation to connect then you must have that checked

#

make sure you changed both accessAddresses in your config (yes, both, there are two) and have both useEncryption and useInRouting set to false

loud ginkgo
static whale
#

I’m using hosts file to connect and cultivation to run a server

#

Cultivation on Win and hosts on Mac

loud ginkgo
#

Ok that's going to be the main issue, while you're welcome to continue trying with hosts, I don't know a single person that has gotten in to Grasscutter with hosts alone

#

At least, not in a very very long time, might have been some way back in the day

#

You'll want to get some true proxy to redirect traffic

static whale
#

Thanks, then I will setup mitmproxy and try to connect

static whale
#

Now, when I set up mitmproxy and turned off useEncryption and useInRouting I get Server TLS handshake failed. The remote server does not speak TLS. and 500~ errors in client when trying to connect

I'm not trusted any certificates and I'm using this command to run mitm — mitmdump -s proxy.py --ssl-insecure --set block_global=false --no-http2 -p 1234

loud ginkgo
#

for mitm you'll need encryption and inrouting set to true (must restart gc after), you will want to trust the cert for it to work correctly as well

static whale
#

Where can I get my cert?

#

Is it in cultivation dir or somewhere in my macos mitmproxy install dir?

loud ginkgo
static whale
static whale
#

I disabled SSL in proxy_config.py script and now I get 4206 error but I see connection attempts in grasscutter console

eager wrenBOT
loud ginkgo
#

Unfortunately I'm not as versed with mitm, so can't give any good advice regarding mitm settings