

But I know that this is meaningless if script can not save edited data.
I searched for similar scripts -


also I read about map format spec text file however, I couldn't find clear way to make new individual cs2d map file.
The way how I am thinking about make new individual map file is -
1. use



2. Convert em into hexadecimal value
3. Save it as new map_name.map file
so.. question is
How can I write a map that currently running in server as new map file via lua?
Writing header ( Unreal Software's CS2D Map File (max) ), tiles and stuffs. any example or tips?