ksp-sfs存储文件解析器
sfsutils的Python项目详细描述
sfsutils
ksp sfs存储文件分析器
安装
pip3 install sfsutils
用法
示例:
importsfsutilsdata=sfsutils.parse_savefile("saves/persistent.sfs")# edit datasfsutils.writeout_savefile(data,destination_file="saves/edited.sfs")
所有文档都在每个函数/类的docstrings中。
可用功能包括(有关详细信息,请参阅docstrings):
- parse_savefile-从流或文件中分析SFS文件
- writeout_savefile-将解析的数据写回SFS格式
许可证
gplv3