Grasscutters / Cultivation

A custom launcher designed to make it as easy as possible to proxy anime game traffic to private servers.
Apache License 2.0
946 stars 159 forks source link

[Feature request] android client support #222

Closed llreizh closed 4 months ago

llreizh commented 5 months ago

It easier to play on android than pc. I wish i set pc as server, then android in 1 network can avces using these server. In grassvutter exist howto, but using mitm proxy. I cannot use these. Please make amdroid client posible. Thank you

NotThorny commented 5 months ago

The MITM method you mentioned is exactly how you would use android with Cultivation's proxy. Cultivation being a desktop application, cannot be used with android directly. At best you can use Cultivation's proxy on a PC and send your android traffic to it there.

gffice commented 4 months ago

Hope Cultivation support runs on android.

NotThorny commented 4 months ago

I wish i set pc as server, then android in 1 network can avces using these server.

Since this is already supported, there is no need for anything else to be done. The "grasscutter howto... using mitm proxy" is the same method and steps you would do this with Cultivation, and in fact any other proxy, by just changing what proxy you used in the steps.

If you wanted to run Cultivation on your android device, aside from requiring an entirely different version of tauri, it would lose almost all functionality since patching, modding, and launching would not work. It would be an unnecessarily large proxy at best. If someone wants to port to tauri 2.0.0-alpha and write the android functions for the few things that would still be possible, feel free, but I don't believe there is much value in doing so.

gffice commented 4 months ago

I wish i set pc as server, then android in 1 network can avces using these server.

Since this is already supported, there is no need for anything else to be done. The "grasscutter howto... using mitm proxy" is the same method and steps you would do this with Cultivation, and in fact any other proxy, by just changing what proxy you used in the steps.

If you wanted to run Cultivation on your android device, aside from requiring an entirely different version of tauri, it would lose almost all functionality since patching, modding, and launching would not work. It would be an unnecessarily large proxy at best. If someone wants to port to tauri 2.0.0-alpha and write the android functions for the few things that would still be possible, feel free, but I don't believe there is much value in doing so.

I'm trying to use this mitm proxy but I'm having some issues and often getting error codes like 4214, 4206. I couldn't solve it with a lot of methods

NotThorny commented 4 months ago

Then don't use mitm - though it doesn't sound like this is a proxy issue. You can use any other proxy, for example the one you're here talking about: Cultivation. 4214 is almost never due to the proxy you are using. Sounds more like you're not using a proper version of the game. That would be something to take up with Grasscutter support though, since Cultivation is just the launcher/proxy.

gffice commented 4 months ago

Thank you for your prompt reply, but it's not a question of version, the client's version is the same as the server's version 4.0. I tried to launch with Cultivation in Windows without any issues, mitmproxy startup client gives error code 4214. Android too

NotThorny commented 4 months ago

That would be because you are likely not using a patched client, which is required to play on private. Since Cultivation does that automatically on PC, you have no issue there when using Cultivation. Aside from patching, since you are using mitmproxy, you also need to modify your Grasscutter settings. This would be something you can find the info for in Grasscutter.