I need a set of batch file commands which would, when executed, create cfg file on the very same location on HDD with following content:
Code:
ClientAreaWidth=1184
ClientAreaHeight=765
CameraManager.act=D:\INSTALIRANE IGRE-Win7\Silent Hunter 5
EnvSim.act=D:\INSTALIRANE IGRE-Win7\Silent Hunter 5
kernel.dll=D:\INSTALIRANE IGRE-Win7\Silent Hunter 5
sh5.exe=D:\INSTALIRANE IGRE-Win7\Silent Hunter 5
SHCollisions.act=D:\INSTALIRANE IGRE-Win7\Silent Hunter 5
SHSim.act=D:\INSTALIRANE IGRE-Win7\Silent Hunter 5
SHSound.act=D:\INSTALIRANE IGRE-Win7\Silent Hunter 5
SH_NClient.dll=D:\INSTALIRANE IGRE-Win7\Silent Hunter 5
SimData.dll=D:\INSTALIRANE IGRE-Win7\Silent Hunter 5
LanguagePackInUse=
The trick is that colored parts of the text
should be variable and match the actual path of SH5 installation. (taken from registry or anything simmilar)
As you can probably see, I would like to further simplify process of Wolves of Steel installation so my first question would be, is this possible at all?
Thanks in advance!