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
982 stars 164 forks source link

WIP: Linux support #191

Closed fnr1r closed 1 year ago

fnr1r commented 1 year ago

This PR adds Linux support.

Here's what currently works:

Here's what I'm unsure about:

fnr1r commented 1 year ago

Rebased on main, updated anime-launcher-sdk, squashed "Fix build on Windows" 8ff6397 into the commit that introduced that issue and complied with clippy.

SpikeHD commented 1 year ago

What sorts of uncertainties do you have regarding reshade and Akebi/Acrepi/etc.? Are you unable to test them, or do you know they don't work?

fnr1r commented 1 year ago

I'm not sure if they work. I don't have a copy of Akebi with which I could test the game with. As for reshade, I haven't got around to it yet.

SpikeHD commented 1 year ago

Okay, that's fine. I would feel fine merging without knowing if they work or not, I'll give a full code review when I have some free time :+1:

fnr1r commented 1 year ago

Reshade does not work. Video: https://youtu.be/hYzUbkH8R14 Should I still add the code necessary for running the injector from the launcher?

SpikeHD commented 1 year ago

I think it should be kept, no way to know if a new Wine version would just fix it or whatever. I would imagine it to be a similar situation with Akebi-likes, so we can just assume they would work the same.

fnr1r commented 1 year ago

Moved terminal detection to term-detect, updated anime-launcher-sdk and complied with clippy (I missed one commit last time).

fnr1r commented 1 year ago

Oops. I was cleaning up branches and did not expect renaming the linux branch to close the PR. Since https://github.com/MrLGamer/GIMI-for-Linux was updated, I'll reopen the pull request with the part2 branch, which does not contain support for 3dmigoto.