http://bugs.winehq.org/show_bug.cgi?id=29168
--- Comment #247 from hash HASH.DuOrden@gmail.com 2013-07-18 16:46:10 CDT --- (In reply to comment #246)
(In reply to comment #245)
swtor_fix.exe has to be on a completely seperate thread to the game, and does nothing until SWTOR.exe has been called by the Launcher when you press 'Play'.
With my script, I made to run games with WINE, swtor_fix.exe is runned at the same time as launcher.exe as a separate process. It echoes in terminal, in my case in log file: Waiting for swtor...
Methods to try: # Use the single ampersand & at the end of it to make the command on a seperate 'thread'. my all-in-one launcher does that :)
# Just use a completely seperate terminal and kick it up in there: Open a new terminal and put in: cd [where it is saved] && env WINEARCH=win32 WINEPREFIX=~/wines/swtor wine "swtor_fix.exe"
I don't need that: env WINEARCH=win32 as my linux is 32 bit.
it will then say waiting for threads... then open a NEW terminal and start the launcher in that one. Once logged in and you press play, the launcher closes and calls swtor.exe (with a load of parameters). If you check back with the terminal that has swtor_fix.exe, it should now say a PID found or somert.
Yes, as swtor.exe starts swtor_fix.exe logs: ---------------- Found, PID: 114 Waiting for threads to end.. ^^^^^^^^^^^^^^^^ And thats all it dose.