fargodwe wrote: ↑Sat May 08, 2021 4:42 pm
Sorry about my previous post. I tried somethings here on my own and don't really see how to make it work. I think that even if you had them in their own prefixes wine is still going to think you are running within the bottle where you started the launcher. That would mean all the dll's, special needs, etc., would still need to be in the bottle with the launcher. Doesn't accomplish much. However......
If there is no need for communication between each of the programs that the launcher starts then 2 things come to mind.
- The simplest would be just installing the launcher in each prefix.
- The other might be just starting the program itself not using the launcher. Does the launcher start the programs (like games) via the net or is everything done local to your PC?
Hi!
I had to put this experiment on hold for a while due to other things coming up but what I managed to do is a hacky sort of method - more info is required here:
The launcher in question is UBISofts connect launcher. Sadly they seem to not provide any form of linux launcher nor an public available API (they obviously have one for their launcher else it wouldn't work) and this is despite calls for these things for years which have gone unanswered.
Because of this, the launcher itself has to sit in a prefix hence the issues I am encountering. so onto the options you mentioned:
- Installing launcher in each prefix: Well this would work but would require you to log in everytime as each prefix would be seen as "another instance" and if you have 2FA on top of that, things can get really messy as logging into one, will log you out of the other
- Starting from the program/game: This is what I was going for, but as the launcher is located on another prefix, the game itself looks for the launcher on its own prefix and fails saying launcher not found
So onto the hacky method which works in a way, but is still not working 100%. Installing the launcher outside the prefix to a common directory (e.g. /home/launcher). After getting the launcher verified and logged in, game located etc. close down and then duplicate the prefix folder, move and rename to something else (I usually use the game name and store the prefixes in their own dedicated dot folder near to the games). Now when starting from the game .exe using the "renamed" prefix, it usually logs in and launches the game.
This really is not a suitable solution, and I'm not at all happy with it but that's as far as I got before I got busy on other things.
From what I read online there is still a debate on whats better, single or multiple prefixes. I prefer multiple prefixes for reasons I have mentioned before. It's just a shame to have to jump through so many hoops just to get it to work.
When I get around to it, I will revisit this again, but I'm busy at the moment so I don't know when.
Pete