Open HunterPvP013 opened 2 months ago
I too am affected by this exact problem, trying to get games to be detected by arRPC on the Deck.
I too would love to be able to set a custom port for the bridge and client mod!
Would an environment variable work for configuring this? Something like ARRPC_BRIDGE_PORT
perhaps?
The request
Add a configuration option on the client and server side, to change which port they communicate on, in the event that other software uses that port already on the end user's machine.
But why though? - The story:
I use a Steam Deck as a daily driver pc, and I have Nobara Linux Steam Deck edition installed on it. I have working Steam Deck Mode, with Decky Loader installed. However, there's a conflict between decky loader and arRPC for used ports, as both need port 1337. Decky loader doesn't have any immediate setting, to change which ports it's using - in fact its readme just tells you to remove any programs using any of the ports that it needs, evidenced by some other's having to give up using Syncthing or they would have to have its port changed, when they also wanted to use Decky loader. I was able to easily change the port number in
bridge.js
on the server side, from where it functioned normally - started up, and my test game (Genshin) was detected. And although the client couldn't connect, I figured if the port on the plugin's side could be changed, that would most likely get it to work. Unless there's something else, that makes it necessary to use a leet port, I don't see how this feature is a trouble maker.