Hello.
After searching on the web and endlessly trying to make it work, I can't pass this argument:
let's call it arguments:
"8394" "LoLLauncher.exe" "" "spectator spectator.kr.lol.riotgames.com:80 v2gldShviD3cFTio3+kUrgo5+zEFJigk 1822264920 KR"
to "League of legends.exe" (let's call it app(string including quotes))
that is located in:
let's call it linux-path:
~/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends/RADS/solutions/lol_game_client_sln/releases/0.0.1.84/deploy
let's call it pol-path:
C:\Riot Games\League of Legends\RADS\solutions\lol_game_client_sln\releases\0.084\deploy
Now, using terminal in linux.
I tried following:(Cd'd to linux-path)
playonlinux app <-- it works yay but not correctly because no parameters were used
playonlinux app arguments <-- There is nothing installed to run .8394 files.
playonlinux 'app arguments' <-- There is nothing installed to run .com:80 v2gldshvid3cftio3+kurgo5+zefjigk 1822264920 kr" files.
playonlinux --run app arguments <-- no "app" found <-- I know why but just saying what I tried
using "wine" instead of playonlinux gives me a massive xrand error even before anything can start so YEAH
now, going to PlayOnLinux->League Of Legends->Configure-> wine ->Console
cd'ing all the way to pol-path
and trying the following:
start app <-- it works yay but not correctly because no parameters were used
But if I try to do such thing:(copy and paste the arguments )
C:\Riot Games\League of Legends\RADS\solutions\lol_game_client_sln\releases\0.0.1.
84\deploy>start "" "League of Legends.exe" "8394" "LoLLauncher.exe" "" "spec
Application could not be started, or no application associated with the specified
file.
ShellExecuteEx failed: File not found.
it doesn't execute it. TOO LONG!
so then I thought: LET's to it .bat way
so I created a bat file containing:
start "" "League of Legends.exe" "8394" "LoLLauncher.exe" "" "spectator spectator.kr.lol.riotgames.com:80 v2gldShviD3cFTio3+kUrgo5+zEFJigk 1822264920 KR"
pause
and then started it with "start filename.bat" i got:
C:\Riot Games\League of Legends\RADS\solutions\lol_game_client_sln\releases\0.0.
1.84\deploy>start "" "League of Legends.exe" "8394" "LoLLauncher.exe" "" "specta
tor spectator.kr.lol.riotgames.com:80 v2gldShviD3cFTio3+kUrgo5+zEFJigk 182226492
0 KR"
Application could not be started, or no application associated with the specifie
d file.
ShellExecuteEx failed: Invalid parameter.
C:\Riot Games\League of Legends\RADS\solutions\lol_game_client_sln\releases\0.0.
1.84\deploy>pause
Press any key to continue...
But surprisingly if I open task manager(from PoL config menu), and click "New task..." and start an app like this:(copied from "open")
C:\Riot Games\League of Legends\RADS\solutions\lol_game_client_sln\releases\0.0.1.84\deploy\League of Legends.exe "8394" "LoLLauncher.exe" "" "spectator spectator.kr.lol.riotgames.com:80 V7YxYK/sBUSvEGhCqdh5qJZf8rxtb/mG 1822150133 KR"
it works perfectly fine.
Cool... cool... but I want it to be able to run from a script, where no human actions are needed.
the wine version selected in playonlinux is 1.7.33-LeagueOfLegends2
Linux: Ubuntu 14.04
PlayOnLinux 4.2.2
Plz help :<
Edité par seba2122