本文发布于: 2022-07-22 13:49 星期五           QQ群:680585334

【红警360】Red Alert 2 CSF To JSON工具

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 <input csf file> --json <output json file>

From JSON to CSF

Use python json2csf.py --json <input json file> --csf <output csf file>

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

微信 OR 支付宝 扫描二维码
为本文作者 打个赏
pay_weixin pay_weixin
金额随意 快来“打”我,让ra2.club走得更远~