| Pages: [1] 2 :: one page |
| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Clansworth
Good Rock Materials
11
|
Posted - 2013.05.22 05:45:00 -
[1] - Quote
I've created a batch file that allows the new launcher's verification/updating mechanism to work smoothly in a multi-client setup.
First, to make your multiple install locations (one location for each client you want to run):
- command prompt (press START-R, type in cmd and press enter)
- navigate to your CCP folder ( cd "\Program Files (x86)\CCP )
- create the junction: mklink /J EVE2 EVE
- create more junctions as necessary: mklink /J EVE3 EVE; mklink /J EVE4 EVE; etc. (the folders MUST start with "EVE")
- create the batch file: notepad Launch_Eve.bat (alternatively, you can download and extract the following file from http://dl.eve-files.com/media/1305/Launch_Eve.zip)
- copy and paste the following (between the lines) into notepad and close it, saving of course.
@echo off setlocal FOR /F "tokens=1" %%a IN ( 'WMIC PROCESS get ^| find /c "exefile.exe"' ) DO ( if %%a==2 ( echo No instances currently running, starting Launcher to verify installation. Once verified, close launcher to continue... start /WAIT %~dp0EVE\Launcher\Launcher.exe ) ) echo Checking for Running Processes... FOR /F "TOKENS=*" %%c IN ('DIR/A:D/B %~dp0EVE*') DO ( SET EveCommand="%~dp0%%c\bin\exefile.exe" CALL :SUB_Launch_If_Closed )
GOTO :EOF
:SUB_Launch_If_Closed echo Checking if %EveCommand% is running... FOR /F "delims=" %%a IN ( 'WMIC PROCESS get CommandLine ^| find /c %EveCommand%' ) DO ( IF %%a==2 ( echo Starting %EveCommand%. START "" %EveCommand% ) ELSE ( echo %EveCommand% already running. ) ) EXIT /B
:EOF endlocal
Then, you can make a shortcut to the Launch_EVE.bat file. when run, it will first run launcher to validate the install. Once Launcher has done any updating it feels necessary, you can simply close it, and the batch will carry on by launching a copy of the eve client for each path you created (including the original). Each client will have it's own configuration folder in %AppData%../Local/CCP/EVE, so each can be configured individually - including remembering window position, and last login name. If a client is closed, you can relaunch the batch file, and it will only re-run the clients that are not already running.
NOTE: Launcher, to prevent potential problems, will only be run if there are no client instances currently running.
Of course, if you find this useful for making your billions of isk multiboxing away, donations are always accepted to this character... |

Alexila Quant
Strategic Acquisitions Group Tactical Research Lab
56
|
Posted - 2013.05.22 06:21:00 -
[2] - Quote
I'll bump this even though I have no idea what I'm looking at. It looks fancy so yeah. (I'm easy) |

Lara Dantreb
Reisende des Schwarzschild Grenze
10
|
Posted - 2013.05.22 07:55:00 -
[3] - Quote
This makes me remind about config.sys and autoexec.bat under MSDOS 6.22... (+ batches + emm386 etc etc)
It wasn't easy to make a game run. it seems it's still not easy nowadays  ----á-á Buying T2 ship bpos since 2005-á --- --- -á-á-á-á-á-á BUT NOT ATM :)-á-á-á --- |

Clansworth
Good Rock Materials
13
|
Posted - 2013.05.22 08:02:00 -
[4] - Quote
Lara Dantreb wrote:This makes me remind about config.sys and autoexec.bat under MSDOS 6.22... (+ batches + emm386 etc etc) It wasn't easy to make a game run. it seems it's still not easy nowadays 
this does nothing you can't do by hand - but that's what scripting is for - automating tasks to make them simpler. Just because batch files are archaic and crude, doesn't mean they aren't the perfect fit for this particular task.
that - and they work without any 3rd party programs... |

Thomas Logit
0
|
Posted - 2013.05.22 08:09:00 -
[5] - Quote
this is nice and should be integrated into the launcher. set it up where we select how many installs we want and the launcher creates and launches (gasp)them as needed. |

Clansworth
Good Rock Materials
13
|
Posted - 2013.05.22 08:19:00 -
[6] - Quote
Thomas Logit wrote:this is nice and should be integrated into the launcher. set it up where we select how many installs we want and the launcher creates and launches (gasp)them as needed.
I was actually thinking of adding a menu of sorts to this batch file to allow creation of the junction points as well - but figured that's not all that important, since it really only needs to be done once. |

Bumse
Black Flag Operations The Kadeshi
52
|
Posted - 2013.05.22 09:44:00 -
[7] - Quote
Hiya and a big thanks for helping out fixing a way around CCP's new terri- & horribad launcher.
Im getting a few execution error when trying this.
I've tried placing the .bat in a few different locations. In the \Program Files (x86)\CCP, in the \Program Files (x86)\CCP\EVE folder and just for the heck of it on the desktop. Desktop does not work (of course) and the other two locations gives me this;
Quote:C:\Program Files (x86)\CCP>Launch_EVE.bat \CCP\EVE\Launcher\Launcher.exe was unexpected at this time.
Quote:C:\Program Files (x86)\CCP\EVE>Launch_EVE.bat \CCP\EVE\EVE\Launcher\Launcher.exe was unexpected at this time.
I've tried creating the file using doing a c&p and I've tried downloading the file.
What am I doing wrong? :) Bring EVE into the 21st century, add some basic chat features IRC-clients have had since the beginning of the 1990's. Get proper chat hilighting into EVE! https://forums.eveonline.com/default.aspx?g=posts&t=97035 |

Airto TLA
Puppeteers of Doom
39
|
Posted - 2013.05.22 13:33:00 -
[8] - Quote
I would like to say that this new log in method is awful and who ever designed it should be fired, because:
The old one worked, so any effort doing this was wasted.
The new one does not work consistently and waste my time so it is making me close my two accounts. |

Vaerah Vahrokha
Vahrokh Consulting
4087
|
Posted - 2013.05.22 13:35:00 -
[9] - Quote
Lara Dantreb wrote:This makes me remind about config.sys and autoexec.bat under MSDOS 6.22... (+ batches + emm386 etc etc) It wasn't easy to make a game run. it seems it's still not easy nowadays 
Nothing like 21th century newest tecnology used bed, to make 1980 technology look good!
At least, in the '80s, stuff worked! Auditing | Collateral holding and insurance | Consulting | PLEX for Good Charity
Twitter channel |

Rordan D'Kherr
Imperial Academy Amarr Empire
424
|
Posted - 2013.05.22 13:54:00 -
[10] - Quote
10 CLS 20 PRINT "Hello, OP" 30 PRINT "I have no idea what you did there." 40 PRINT "Anyways..." 50 CLS 70 END 90 PRINT "+1"
_______________________________________ Don't be scared, because being afk is not a crime. |

radix29
Unforeseen Consequences. The Unthinkables
4
|
Posted - 2013.05.22 13:57:00 -
[11] - Quote
By creating NTFS junctions isn't that messing some cache/whatever files EVE is creating runtime?
Is EVE creating files run-time?
Otherwise is nice as it is saving space/update time having the files saved just once. |

Clansworth
Good Rock Materials
15
|
Posted - 2013.05.22 14:26:00 -
[12] - Quote
radix29 wrote:By creating NTFS junctions isn't that messing some cache/whatever files EVE is creating runtime?
Is EVE creating files run-time?
Otherwise is nice as it is saving space/update time having the files saved just once.
eve does not create any runtime files in the program install location (as good programs should not). Instead, any runtime info (config settings, cache, etc) is stored in the user's appdata/local folder, and the junctions help to make sure that each instance uses a different settings/cache folder. |

Clansworth
Good Rock Materials
15
|
Posted - 2013.05.22 14:28:00 -
[13] - Quote
Bumse wrote:Hiya and a big thanks for helping out fixing a way around CCP's new terri- & horribad launcher. Im getting a few execution error when trying this. I've tried placing the .bat in a few different locations. In the \Program Files (x86)\CCP, in the \Program Files (x86)\CCP\EVE folder and just for the heck of it on the desktop. Desktop does not work (of course) and the other two locations gives me this; Quote:C:\Program Files (x86)\CCP>Launch_EVE.bat \CCP\EVE\Launcher\Launcher.exe was unexpected at this time. Quote:C:\Program Files (x86)\CCP\EVE>Launch_EVE.bat \CCP\EVE\EVE\Launcher\Launcher.exe was unexpected at this time. I've tried creating the file using doing a c&p and I've tried downloading the file. What am I doing wrong? :)
I'll try to look at this this-evening. If i had to guess, it's due to me not properly handling spaces in a path somewhere (my install location doesn't have any, and I forgot to test for that case in my hazy late-night work). |

Clansworth
Good Rock Materials
15
|
Posted - 2013.05.23 03:04:00 -
[14] - Quote
Yep, as I thought, I had a problem running the launcher with spaced in the path. Changing the following line:
start /WAIT %~dp0EVE\Launcher\Launcher.exe
to:
start /WAIT "" "%~dp0EVE\Launcher\Launcher.exe"
will fix it for you (and probably most everyone who installs in the default location - which I did not) |

Hallvardr
Science and Trade Institute Caldari State
12
|
Posted - 2013.05.23 03:12:00 -
[15] - Quote
Clansworth - Not that I need to use your script .. but its exceptional when someone points out a problem and then solves it as well.
Bravo Clansworth, bravo.
CCP ... take notice |

Clansworth
Good Rock Materials
16
|
Posted - 2013.05.23 03:27:00 -
[16] - Quote
Hallvardr wrote:Clansworth - Not that I need to use your script .. but its exceptional when someone points out a problem and then solves it as well.
Bravo Clansworth, bravo.
CCP ... take notice
I've actually used a batch file for launching exefile for quite some time. It wasn't so much the new launcher that made me want to improve it, but the fact that previously i wasn't using the launcher (which meant a few more manual steps on patch days). I then figured out that if i wanted to switch characters on a single account, the batch wouldn't work for relaunching just that client - so that prompted more improvement. The launchgate raging did prompt me to clean it up and share it though... |

Freakdevil
Aliastra Gallente Federation
13
|
Posted - 2013.05.23 03:48:00 -
[17] - Quote
Neat little script. This is not a negative but I do think there are still benefits to putting an install on a different set of spindles. But its been so long since I have played and hard drives have improved so much perhaps its not that important.
But your effort does bring to light a sorely lacking feature that CCP has neglected for so long. But hey they don't really want to make it easy to multibox because you might spend more cash. Just sayin...  |

Clansworth
Good Rock Materials
17
|
Posted - 2013.05.23 05:11:00 -
[18] - Quote
Freakdevil wrote:Neat little script. This is not a negative but I do think there are still benefits to putting an install on a different set of spindles. But its been so long since I have played and hard drives have improved so much perhaps its not that important. But your effort does bring to light a sorely lacking feature that CCP has neglected for so long. But hey they don't really want to make it easy to multibox because you might spend more cash. Just sayin... 
I can see absolutely no reason why accessing the exact same files from different drives would be better than accessing the exact same files from the same drive - especially in vista or later with it's much improved caching. |

Thomas Logit
1
|
Posted - 2013.05.25 04:54:00 -
[19] - Quote
Clansworth wrote:Thomas Logit wrote:this is nice and should be integrated into the launcher. set it up where we select how many installs we want and the launcher creates and launches (gasp)them as needed. I was actually thinking of adding a menu of sorts to this batch file to allow creation of the junction points as well - but figured that's not all that important, since it really only needs to be done once.
yep. I myself just changed the part where it looked for exefile to the steam links I have so I can get that chat overlay as well. |

Zappity
Kurved Space
101
|
Posted - 2013.05.25 06:56:00 -
[20] - Quote
Nice, thanks for sharing. Hey, CCP - better patch this out quick. It's far too easy. Hooray, I'm l33t! -á(Kil2: "The higher their ship losses...the better they're going to be.") |

Dyvim Slorm
Coven of the Morrigan
133
|
Posted - 2013.05.25 10:52:00 -
[21] - Quote
Nice work, let's hope CCP don't find a way to break it  |

Britta Nolen
Science and Trade Institute Caldari State
17
|
Posted - 2013.05.25 11:04:00 -
[22] - Quote
On the multiple installs thing, what's the point? I already run Eve off an SSD with enough ram & vram not to lag on a single install. Different setups across multiple characters can get confusing fast. |

Arduemont
Rotten Legion Ops
1490
|
Posted - 2013.05.25 11:07:00 -
[23] - Quote
Love batch files... <3
Britta Nolen wrote:On the multiple installs thing, what's the point? I already run Eve off an SSD with enough ram & vram not to lag on a single install. Different setups across multiple characters can get confusing fast.
Edit: I can already launch 5 windows fast using windows keyboard shortcuts.
Means he can get them all to launch on the appropriate monitors without having to adjust them each time he runs it. Also, I hear you get better performance with multiple clients rather than running the same one over and over. "In the age of information, ignorance is a choice." |

J3ssica Alba
Federal Navy Academy Gallente Federation
767
|
Posted - 2013.05.25 11:10:00 -
[24] - Quote
I don't get what's so hard about the new launcher :
1) open launcher 2) select account 3) enter pass 4) press PLAY 5) switch user account 6) repeat as necessary
Now I might understand its a pain if you have 14 mining alts but for 2 or 3 .. This is my signature. There are many others like it, but this one is mine.-á Without me, my signature is useless. Without my signature, I am useless |

Arduemont
Rotten Legion Ops
1490
|
Posted - 2013.05.25 11:20:00 -
[25] - Quote
J3ssica Alba wrote:I don't get what's so hard about the new launcher :
Although it's me being an idiot, I keep pressing play again instead of switch user, and logging my main off whilst trying to get my alt online. It's frustrating, but I'll get used to it. Generally, I don't see the problem with the new launcher. The issues I have had with it have been insignificant at worst. "In the age of information, ignorance is a choice." |

Maxine Trinity
Federal Navy Academy Gallente Federation
2
|
Posted - 2013.05.25 15:03:00 -
[26] - Quote
Ok, Im must be missing something. I followed the instructions and nothing happens. I mean, once I close the launcher, what is suppose to happen? |

Rakshasa Taisab
Sane Industries Inc.
1176
|
Posted - 2013.05.25 15:21:00 -
[27] - Quote
Why would anyone use multiple copies of the client? Nyan |

l0rd carlos
Friends Of Harassment
443
|
Posted - 2013.05.25 15:26:00 -
[28] - Quote
Rakshasa Taisab wrote:Why would anyone use multiple copies of the client? Because doing symlinks/NTFS jucntions is :efford: Stupid windows commandline and all that.
Edit: If you run eve from the same installation, every client gets the same configuration. But i want allways one client with low grafic settings on the second monitor. German blog about smallscale lowsec pvp: http://friendsofharassment.wordpress.com |

Korvus Falek
Depraved Corruption Darkspawn.
68
|
Posted - 2013.05.25 17:15:00 -
[29] - Quote
Use ISBoxer. No reason to write this yourself when its already done =P
Work smarter, not harder. |

l0rd carlos
Friends Of Harassment
443
|
Posted - 2013.05.25 21:36:00 -
[30] - Quote
Korvus Falek wrote:Use ISBoxer. No reason to write this yourself when its already done =P
Work smarter, not harder. NTFS Junctions: 5 minutes of work Copy & paste: 5 seconds of work + X minutes of wait time ISBoxer: $50/yr + registration + payment foo
ahh .. German blog about smallscale lowsec pvp: http://friendsofharassment.wordpress.com |
| |
|
| Pages: [1] 2 :: one page |
| First page | Previous page | Next page | Last page |