Yesterday I tested script for generating random maplists. I know you are bored when still the same 5 maplists are on servers so I want to change it. Script is ready but I need your help with definition for each map. I need to create .bat file for each map and because I have over 400 tested maps in mapstorage, it is a lot of work. So I vould like to ask if any volunteer want to help me.
What I need to do is for each map generate .bat file with following inside:
Hanoi_Hilton.bat
Code
echo Mission = Hanoi_Hilton, Coop, time, 60:00 >> "%1Vietcong\dedicated\maplist.txt"
set name=Hanoi_Hilton
mklink "%1Vietcong\maps\%name%.cbf" "\---MAPSTORAGE---\%name%.cbf"
mklink "%1Vietcong\maps\%name%.dat" "\---MAPSTORAGE---\%name%.dat"
Important parts different for each map are in red. First line should be copied from .ded file, not edited manualy because gamemode is case sensitive and we have a lot of different "coop" modes, for example COOP, coop, Coop, CooP, coop', COOPL...
I want to split maps for some groups, for example TMG maps, VET maps, TR/TP maps, GW maps, (...) maps etc. So any volunteers for this job who can care about some group?
Just to explain - because I have only 64GB SSD at server PC I need to share mapfiles with other servers, so it is not possible to make 5 copies of 10GB folder with all maps. Also it is not good to left all maps in mapfolder and let game engine to load it at startup (memory problems and crashes). So only 50 maps will be "added" to maps folder (symbolic links). Also for each map I need to add definition to .ded file, it is not possible to change only mapname because mission type is case sensitive and I don't know which maps are COOP and which are Coop or coop ...