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

[FEATURE] Support Linux #11

Open
tsilvs opened this issue Dec 5, 2021 · 10 comments
Open

[FEATURE] Support Linux #11

tsilvs opened this issue Dec 5, 2021 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@tsilvs
Copy link

tsilvs commented Dec 5, 2021

Describe the solution you'd like

I'd like to be able to host the server on a Linux machine, as well as running the game through Wine / Proton with the request redirection patch.

Describe alternatives you've considered

  • A guide to building the project from source on Linux
  • Linux included as target platform for builds
@tsilvs tsilvs added the enhancement New feature or request label Dec 5, 2021
@vitor251093
Copy link
Owner

I've bought a new computer recently, and it should be with me in about 2 weeks.

I will be installing Ubuntu in that new computer, so I should be able to work on that with it. I'm more eager to work in both alternatives, since they have more long term applications.

@tsilvs
Copy link
Author

tsilvs commented Dec 7, 2021

@vitor251093

I will be installing Ubuntu in that new computer

Congrats on it! Welcome to the community! I also recommend you to try Manjaro, Kubuntu & Pop.

Different distos may vary in details, so your project will only benefit from being more platform-neutral. So don't focus on Ubuntu-specific stuff.

@vitor251093
Copy link
Owner

vitor251093 commented Dec 7, 2021

I also recommend you to try Manjaro, Kubuntu & Pop.

I tried Pop last year, but the system update broke the system startup lol

Different distos may vary in details, so your project will only benefit from being more platform-neutral. So don't focus on Ubuntu-specific stuff.

Indeed. At first, I'm focusing in distributing a Debian build, so it should be compatible with a wide range of distros out of the gate.

I'm also thinking about adding a Flatpack download option as well.

@tsilvs
Copy link
Author

tsilvs commented Dec 7, 2021

I tried Pop last year, but the system update broke the system startup lol

Yeah, it might be like that sometimes. That's why it's the last in my list. Maybe I should've skipped it at all.

Debian, Flatpack

Don't forget about Pacman and AppImages too. You could start from Arch package format & makepkg and then create .debs using makedeb. I myself successfully built some apps from AUR with it.

@vitor251093
Copy link
Owner

Don't forget about Pacman and AppImages too.

Could be. That's just to start from somewhere ;)

You could start from Arch package format & makepkg and then create .debs using makedeb. I myself successfully built some apps from AUR with it.

I have no idea of how to do that. Do know any guide I could follow to do that?

@tsilvs
Copy link
Author

tsilvs commented Dec 10, 2021

any guide I could follow to do that?

README and official docs are enough to start.

@all500234765
Copy link

I would actually be against that due to the fact that linux support always requires way too much effort for marginal gains.
I'd suggest supporting a single OS for the time being. If linux users would want to, they should port server them selves instead of asking a single dev working in his spare time to basically kill time supporting linux.

@NovaViper
Copy link

I would suggest making a Flatpak version instead of direct package (like Debian), at least for a start. Flatpak would allow the game to run on multiple different distros without having to spend a lot of packaging for each and every different Linux distro.

@FlameSoulis
Copy link

Drafting through some of the source code, specifically for the server, it isn't using anything majorly exclusive to Visual Studio. I'd have to check more, but it doesn't look too bad.

I think the highest thing to deal with is just ensuring a basic executable compiles and operates. From there, packaging can then be considered. Additionally, while I know this will make Linux purists unhappy, but I'd check if Proton can handle things on a basic level as well on just the current binaries. While native would be nice, having to completely change up an entire project with cross-compatible libraries is not that easy.

@vitor251093
Copy link
Owner

I tried running it under modern Wine. There was an issue. If I remember correctly, it crashes on launch.

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

No branches or pull requests

5 participants