CSF文件本质上存储的信息依然是键值对,而JSON格式储存和修改这类信息比较方便,于是我简单写了个python脚本相互转化一下,这样就可以通过制作json文件来快速制作修改csf了,作者:trsdy
Red Alert 2 CSF To JSON
Convert between RA2’s csf file format and json file format.
The json file only support GB-2312 encoding for the moment.
From CSF to JSON
Use python csf2json.py –csf –json
From JSON to CSF
Use python json2csf.py --json <input json file> --csf <output csf file>