IntQuant / noita_entangled_worlds

An experimental true coop multiplayer mod for Noita.
Apache License 2.0
214 stars 12 forks source link

Proxy launcher on linux is too large for the Steam Deck #131

Closed restt closed 1 month ago

restt commented 1 month ago

Hello! I play all my games on the steam deck and it seems i have an issue with the launcher window Screenshot 2024-08-23 20-25-39

the window is so large that i can't select any options on the deck, i assume due to being designed for the resolution size of a regular monitor. Issue is that it also doesn't let me resize it, or i assume it's probably already the smallest size option for a regular PC that is still too large for a steam deck.

any particular workaround for people who own a steam deck?

IntQuant commented 1 month ago

Proxy has --ui-zoom-factor argument. Try to add --ui-zoom-factor 0.1 or something like that and check how it goes.

IntQuant commented 1 month ago

Hmm, it also looks like the window doesn't quite fit. Which is weird, because the minimum size is set to 800 by 600, and steam deck has enough resolution for that.

It's a bit problematic to test because I don't have a steam deck. I will, hovewer, try to implement more command-line option in hopes that they will work at some point.

bgkillas commented 1 month ago

you can use gamescope to emulate resolutions easily

IntQuant commented 1 month ago

Gamescope segfaulted on my system last time I checked, so... yeah.

restt commented 1 month ago

Proxy has --ui-zoom-factor argument. Try to add --ui-zoom-factor 0.1 or something like that and check how it goes.

uhh.. so of course, as a fellow proficient linux user who myself knows many great commands and is very knowledgeable of the inner workings of running scripts and lines via its terminal (or konsole in steam deck's case).. hypothetically speaking, imagine that i am just a former windows person that just bought a steam deck not too long ago and has no idea how any of this linux stuff works hahaha, which would be very silly but it's only a hypothetical of course haha... and with that in mind:

out of the two options, the quickest and easiest one would suffice as an answer. This is of course only within the realm of this hypothetical version of myself that has zero clue how any of it works hahaha, which is totally not the actual me, the very proficient linux user.

IntQuant commented 1 month ago

The gamescope thing was referring to a way to test things without a physical steam deck, so don't think about it too much.

Then, a theoretical former windows person would open a terminal (looks like you've managed to find it). Then you move your current directory to one where proxy is located (you can write cd <path> to do that), and then start proxy like that: ./noita-proxy --ui-zoom-factor 0.1

Screenshot_2024-08-23_22-53-11

restt commented 1 month ago

now would you look at that Screenshot 2024-08-23 22-57-40

it did seem to work quite well, obviously i knew how to do that, i was only testing to see if you knew too.

myself, the elite linux connoisseur that is very obviously skilled in running scripts, is very thankful for helping this hypothetical version of me that prefers to be spoon fed like baby. I'll be closing this issue as solved.

IntQuant commented 1 month ago

@restt could you share the value of ui-zoom-factor that you ended up using? I'll look into making it default on steam deck.

restt commented 1 month ago

yup, i used --ui-zoom-factor 0.3 which should launch the application on their steam deck screen looking like this (previous screenshot being at 0.1) Screenshot 2024-08-23 23-17-55

IntQuant commented 1 month ago

@restt Last release should set that ui scale on Steam Deck automatically on launch, an extra parameter shouldn't be necessary anymore.