
Del369
Caldari Office linebackers Interstellar Alcohol Conglomerate
|
Posted - 2007.03.25 12:09:00 -
[1]
Originally by: Man1ac Edited by: Man1ac on 11/03/2007 06:54:13 Edited by: Man1ac on 11/03/2007 06:53:10 How do we do it "the russian way", without ugly black windows and totally (well ) automated:
1. Install ramdisk, any 2. Copy all following scripts into the folder where we will run them (EVE folder will do). 3. Edit them, if needed (yes, they are pretty self explanatory). 4. Rename our EVE cache to cache.bak, create a junction pointing to our new cache on a RamDisk (blah-blah) - everything like in previous episodes 
Script "ram-startup.cmd" (will run on computer startup):
Quote:
set MyRamDrive=B: set MyEvePath=C:\Program Files\CCP\EVE
mkdir %MyRamDrive%\cache xcopy /d /c /i /k /r /e /h /y "%MyEvePath%\cache.bak" "%MyRamDrive%\cache"
set MyRamDrive= set MyEvePath=
Script "ram-shutdown.cmd" (will run on computer shutdown):
Quote:
set MyRamDrive=B: set MyEvePath=C:\Program Files\CCP\EVE
xcopy /d /c /i /k /r /e /h /y "%MyRamDrive%\cache" "%MyEvePath%\cache.bak"
set MyRamDrive= set MyEvePath=
Installing our scripts: Start -> run -> gpedit.msc Local Computer Policy -> Computer Configuration -> Windows Settings -> Scripts
Startup -> Add -> browsing where our ram-startup.cmd is -> OK Shutdown -> Add -> browsing where our ram-shutdown.cmd -> OK
Closing Group Policy Editor, because we are done.
"Bonus" for people who never turn their computer off... Script "ram-backup.cmd" (backs up our ramdisk every hour, if EVE is not running): Run it with install parameter, and after that you can forget about it
Quote:
@echo off set MyRamDrive=B: set MyEvePath=C:\Program Files\CCP\EVE for /f usebackq %%v in (`tasklist ^| find /i /c "exefile.exe"`) do set EvesRunning=%%v
if "%1"=="run" ( if %EvesRunning% equ 0 ( xcopy /d /c /i /k /r /e /h /y "%MyRamDrive%\cache" "%MyEvePath%\cache.bak" ) )
if "%1"=="install" ( schtasks /create /sc hourly /mo 1 /ru "" /tn "Backup my EVE cache" /tr "\"%~0\" run" )
if "%1"=="uninstall" ( schtasks /delete /tn "Backup my EVE cache" /f )
set MyRamDrive= set MyEvePath= set EvesRunnning=
p.s. No copyrights, no warranties, use on your own risk 
Have to say this thread delivers :) it's kep me busy for days. I use Eve Launcher to run the gamne in a full window, so had to modify the file a bit, also got one of the other programs (RamDisk 5627 I think, it's using a qsoft driver) and it has the popups (gone now) Everything works great, then i wanted to use the shutdown command (quoted) and it doesn't do anything, it runs fine, but with "0 files copied" after each line, any ideas ? Thanks for starting this though DS, it's excellent, even if you are an evil fixie 
Quote: Whats becoming so obvious these days, is, in this game it's not what you know, it's who you know, how sad 
|