starcitizen-lug / knowledge-base

Wiki containing installation instructions, performance tips, and solutions to common problems
134 stars 20 forks source link

Flatpak? #5

Closed skutter-de closed 2 years ago

skutter-de commented 2 years ago

Hi. I wonder if it would be possible to package the correct wine/proton versions and a wrapper script for the launcher into a flatpak to make installation easier. Any ideas?

Also, I'm really on the fence about buying SC considering it might not even work on my system (Ryzen 5 2600x, 32gb RAM, RX590, Fedora). Would i mess up my Fedora install trying to get SC working?

the-sane commented 2 years ago

That's essentially what Lutris does if you follow our quick start guide, and this is the recommended installation method. The only hiccup right now is the Lutris script still has the wrong runner name written in it but, unfortunately, we don't control that and can only ask them to fix it and wait.

I've asked for some feedback from our other Penguins on how well the game will run on those specs, but I suspect it'll be just fine. The game lives within its own wine prefix and you'll install one of our custom runners built specifically for the game, so you won't need to install anything natively on your system besides Lutris. Undoing it all is a simple matter of deleting the prefix directory and uninstalling Lutris, no harm done.

FRUiT-git commented 2 years ago

My SC runs quite well on a i5 4690, 32GB RAM 1600 MHz, Asus Geforce gtx 1080 strix, kubuntu.

Combat is not always possible, and I go below 15 FPS in big towns, but overall it runs well for what I do in game (trading - mining - other missions).

Cheers !

hsmalley commented 2 years ago

I don't see you messing up for Fedora install by getting SC working. Lutris (and the LUG Helper) do all the hard work for you. I run Fedora too and can vouch that it works. As for system specs, yea it should run. Check out https://robertsspaceindustries.com/telemetry to get a better idea of how it will perform on your system.

wwilliams commented 2 years ago

sc should work fine on your system. i was running it on a r7 2700x 32 gb ram and a rx480. make sure you use a referral code if you buy the game, you will start with more in game currency if you do.

skutter-de commented 2 years ago

Installing wine integrates into the system in a normal circumstance. Does lutris do it different? And also, would flatpak also just be an easy option for installation, wouldn't it?

FRUiT-git @.***> schrieb am Mi., 22. Dez. 2021, 18:40:

My SC runs quite well on a i5 4690, 32GB RAM 1600 MHz, Asus Geforce 1080 strix, ubuntu.

Combat is not always possible, and I go below 15 FPS in big towns, but overall it runs well for what I do in game (trading - mining - other missions).

Cheers !

— Reply to this email directly, view it on GitHub https://github.com/starcitizen-lug/information-howtos/issues/5#issuecomment-999753677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5RTYHIF4HJNTLKY4O4FITUSIEQVANCNFSM5KS47ITQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

ananace commented 2 years ago

I had no issue running SC with an i7-7700K, 16GB of RAM, and an RX580.

It's worth mentioning that a Flatpak install of Lutris (Currently only available in beta) does just fine in regards to running Star Citizen as well, it's how I'm currently playing.

the-sane commented 2 years ago

Lutris uses runners, which are self-contained wine versions. Our Helper downloads them for you and extracts them under the Lutris install directory. Then, Lutris uses them when launching the game. The runner isn't actually "installed" on your system, just extracted into a directory. We have folks in our org compiling runners specifically optimized and tested for Star Citizen.

It's easier doing it this way than a flatpak because there are multiple runner/dxvk options and some work better than others depending on your hardware. We try to make the whole process as easy as possible between Lutris and the LUG Helper script. It's as close to a one-click solution as we can get right now.

skutter-de commented 2 years ago

Hmm what would be so complicated with flatpak? I'd imagine some sort of launcher which downloads everything and has a panel for options and tweaks. Would it be too hard to implement the GUI? I'm eager to try GTK with python but I don't really have any starting point so that might not be too bad. Who knows, i really have no idea how the project structure and build system used for GTK apps work.

the Sane. @.***> schrieb am Mi., 22. Dez. 2021, 19:43:

Lutris uses runners, which are self-contained wine versions. Our Helper downloads them for you and extracts them under the Lutris install directory. Then, Lutris uses them when launching the game. The runner isn't actually "installed" on your system, just extracted into a directory. We have folks in our org compiling runners specifically optimized and tested for Star Citizen.

It's easier doing it this way than a flatpak because there are multiple runner/dxvk options and some work better than others depending on your hardware. We try to make the whole process as easy as possible between Lutris and the LUG Helper script. It's as close to a one-click solution as we can get right now.

— Reply to this email directly, view it on GitHub https://github.com/starcitizen-lug/information-howtos/issues/5#issuecomment-999788415, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5RTYBFOVSQURSECTZ3JI3USIL5NANCNFSM5KS47ITQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

the-sane commented 2 years ago

What you're describing is exactly how Lutris works :)

Silvatech commented 2 years ago

Hi. I wonder if it would be possible to package the correct wine/proton versions and a wrapper script for the launcher into a flatpak to make installation easier. Any ideas?

Also, I'm really on the fence about buying SC considering it might not even work on my system (Ryzen 5 2600x, 32gb RAM, RX590, Fedora). Would i mess up my Fedora install trying to get SC working?

Your CPU is good. I have used that same CPU. 32GB fine as long as you can have a pagefile on an ssd. Well should run regardless. Also SSD is a must for the game itself. Just to large and slow otherwise. Only thing I don't know and maybe someone else can answer is your video card I have no experience using that card. Maybe someone else has tried that video card and can help you with that part.

skutter-de commented 2 years ago

What you're describing is exactly how Lutris works :)

I'd say it depends. Lutris is not really made for star citizen specifically where as a custom launcher would be. I don't know, I guess i just like the idea.

Only thing I don't know and maybe someone else can answer is your video card I have no experience using that card

And that's exactly what's worrying me. It's a pretty slow card and I have 2 4k monitors connected. I'd set the resolution to 1080p because there's no way an RX590 would handle 4k but the upscaling costs performance too.

the-sane commented 2 years ago

I'd say it depends. Lutris is not really made for star citizen specifically where as a custom launcher would be.

Regardless, the behavior you're describing of a launcher that downloads everything automatically and has a panel for settings and tweaks is how Lutris works with the Star Citizen install script. You'll see what I mean when you go to install the game. What you're asking for already exists, just not as a flatpak, and it doesn't make sense for us to duplicate something that already exists. But we appreciate the idea anyway!

Something you might want to consider is waiting for one of the Free Fly events so you can see for yourself how the game runs before you buy anything.

I'm going to go ahead and close this issue. I think you'll get more answers to your questions if you join either our Discord or Matrix channels, linked here: https://github.com/starcitizen-lug/information-howtos. There are lots of Penguins active in there just waiting to help you out!

the-sane commented 2 years ago

Update: To simplify the install process, the upcoming v1.14 of the LUG Helper will bundle the lutris install script and can launch Lutris and initiate the install process with one click.

skutter-de commented 2 years ago

That's very nice. I think ease of use is one of the most important things to get people to view Linux as a good gaming platform and this is certainly a very good step in the direction. Thank you so much!