View Single Post
  #11  
Old 05-05-2011, 06:36 PM
Remo Remo is offline
Approved Member
 
Join Date: Oct 2008
Posts: 28
Default

This is a little cmd script I user to run the game from ram disk and applying the current beta patch

START =====>>>>>

REM You must run this as SystemAdministrator...
REM make 8 Gb ram disk , you better have more than 8Gb system ram, and no real drive at driver letter H:
REM min space required is 5Gb , so if you have 8Gb System ram , make this 5Gb and you still have 3Gb for game.
REM you can download ImDisk from http://www.ltr-data.se/opencode.html/#ImDisk
pause
imdisk -a -s 8G -t vm -m H: -o hd

REM format the newly created Ram disk to NTFS , you better have mounted your ram disk on driver letter H:
format H: /A:32K /FS:NTFS /Q /V:il-2 /X

REM make the direcotry where we will copy the il2 steam game directory
mkdir H:\"il-2 sturmovik cliffs of dover"

REM about to copy IL2 to ram disk , if your steam installed it somewhere else change this
pause
xcopy "C:\Program Files (x86)\Steam\SteamApps\common\il-2 sturmovik cliffs of dover" "H:\il-2 sturmovik cliffs of dover" /E /Q /H /R /K /O /X /Y /J


REM about to copy Patch from C:\Users\%USER%\IL-2-patch to ram disk , change C:\Users\%USER%\IL-2-patch to where you copied your patch
pause
xcopy "C:\Users\%USER%\IL-2-patch" "H:\il-2 sturmovik cliffs of dover" /E /Q /H /R /K /O /X /Y /J

REM about to rename original il2 dir
pause
cd C:\Program Files (x86)\Steam\SteamApps\common\
move "C:\Program Files (x86)\Steam\SteamApps\common\il-2 sturmovik cliffs of dover" "il-2 sturmovik cliffs of dover - orig"

REM about to link IL2 from ramdisk
pause
mklink /J "C:\Program Files (x86)\Steam\SteamApps\common\il-2 sturmovik cliffs of dover" "H:\il-2 sturmovik cliffs of dover"

REM If all went well , you can now play IL2, remember to delete the link and rename the
REM il-2 sturmovik cliffs of dover - orig
REM back to
REM il-2 sturmovik cliffs of dover
REM when you are done playing the game.
pause


END =====>


This help to keep the game in the current STEAM state . but I can play any of the patches I want ..
Reply With Quote