[CSGO] Auto generate maplist.txt mapcycle.txt
1 Attachment(s)
I am tired of copying every name of my maps into the maplist and mapcycle files. When you have +100 maps it's very long and very boring.
So I looked for a plugins but I did not find. So I made a linux script to automatically generate these files. Features
Requirements
Code:
apt-get install dos2unix Installation
Code:
dos2unix map
CODE Code:
rm /home/YOURPATH/csgo/maplist.txt; and that's all |
Re: [CSGO] Auto generate maplist.txt mapcycle.txt
In SourceMod plugins, like basecommands, if you set invalid map file (by default, it is already), plugin list all maps automatically from maps folder.
When you want use map file instead, you need make changes in ...addons/sourcemod/configs/maplists.cfg *edit Because we are talking about CSGO, you need keep in mind, there are two kind map cycle system. - CSGO game own map cycle by gamemodes.txt - SourceMod map cycle by hidden cvar mapcyclefile, mapcycle.txt is default. |
Re: [CSGO] Auto generate maplist.txt mapcycle.txt
Looks very nice!
One suggestion: add a "blacklist.txt" file to ignore some maps, would be cool to avoid stock maps such as blacksite, dust2 etc |
Re: [CSGO] Auto generate maplist.txt mapcycle.txt
here is a one liner i use without any additional software needed:
Code:
find maps/ -type f -name "*.bsp*" | sed 's!.*/!!' | sed 's!.bsp!!' | tee maplist.txt mapcycle.txt |
All times are GMT -4. The time now is 14:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.