All-Aircraft-Simulations
Renaming MOD files in one click with a "-" in fron - Printable Version

+- All-Aircraft-Simulations (https://allaircraftsimulations.com)
+-- Forum: Help Desk (https://allaircraftsimulations.com/forumdisplay.php?fid=270)
+--- Forum: IL2 Technical Help (https://allaircraftsimulations.com/forumdisplay.php?fid=304)
+--- Thread: Renaming MOD files in one click with a "-" in fron (/showthread.php?tid=63959)



Renaming MOD files in one click with a "-" in fron - mavyalex - 08.08.2009

Hello,

I wish to deactivate many mods in one step by putting a "-" in front of the file names. How can I do that? After I need to reactivate them by taking off this "-".

I need to do this because the game takes eons to laod with all mods activated and I play on Skies of Fire on Hyperlobby, so I need to reboot several times...

Thanks..


- Fly! - 08.08.2009

right clikon file/rename/and type a hyphen


- fly_zo - 08.08.2009

if enough HDD space make two MODS folders and just switch between them by renaming ( one "light" and one "normal" ... fully functional with appropriate air.ini and rest of ini files)

the fastest way i could think of :wink:

Z


- burns - 08.08.2009

just write a batch file (.bat file) that turns off your mods and another one to turn them on.
IE
on.bat would contain:
RENAME "Mods/-DeviceLink_b2" "DeviceLink_b2"
RENAME "Mods/-fly_z_gamemap" "fly_z_gamemap"
RENAME "Mods/-ZloyPetrushkO_Atm_modv3" "ZloyPetrushkO_Atm_modv3"
RENAME "Mods/-OLC FPS Boost V2" "OLC FPS Boost V2"

while the off.bat would contain:
RENAME "Mods/DeviceLink_b2" "-DeviceLink_b2"
RENAME "Mods/fly_z_gamemap" "-fly_z_gamemap"
RENAME "Mods/ZloyPetrushkO_Atm_modv3" "-ZloyPetrushkO_Atm_modv3"
RENAME "Mods/OLC FPS Boost V2" "-OLC FPS Boost V2"


A .bat file such as on.bat can be made with any text editor...I use notepad.
To run it, just click on the .bat file. Note: the paths would be defined either from the root disk: d:\program files\ubisoft\.....\
or from the place the .bat file lives. I put mine in the main IL2 folder, hence the path begins with "Mods".


- fly_zo - 08.08.2009

burns Wrote:just write a batch file (.bat file) that turns off your mods and another one to turn them on.
IE
on.bat would contain:
RENAME "Mods/-DeviceLink_b2" "DeviceLink_b2"
RENAME "Mods/-fly_z_gamemap" "fly_z_gamemap"
RENAME "Mods/-ZloyPetrushkO_Atm_modv3" "ZloyPetrushkO_Atm_modv3"
RENAME "Mods/-OLC FPS Boost V2" "OLC FPS Boost V2"

while the off.bat would contain:
RENAME "Mods/DeviceLink_b2" "-DeviceLink_b2"
RENAME "Mods/fly_z_gamemap" "-fly_z_gamemap"
RENAME "Mods/ZloyPetrushkO_Atm_modv3" "-ZloyPetrushkO_Atm_modv3"
RENAME "Mods/OLC FPS Boost V2" "-OLC FPS Boost V2"


A .bat file such as on.bat can be made with any text editor...I use notepad.
To run it, just click on the .bat file. Note: the paths would be defined either from the root disk: d:\program files\ubisoft\.....\
or from the place the .bat file lives. I put mine in the main IL2 folder, hence the path begins with "Mods".


this is all nice and peachy but it needs altered ini files if any new plane mod gets disabled ( those which needs buttons file) or it would produce 60% CTD ( or ships mod 70% CTD etc)

just a warning

Z