lyzz0612 / csb2csd Goto Github PK
View Code? Open in Web Editor NEWcocostudio csb反编成csd
cocostudio csb反编成csd
Hi, I've tried your script and it's awesome. But it only convert .csb to .csd, but can you add .csd to .csb so I can try it out on the game. Thanks!
弄错了
WIN7环境 python2.7
运行报错:
IOError: [Errno 13] Permission denied:
QuestScene.zip
系统环境为win10
大佬,如果需要csb文件,我这边可以提供给你
D:\csb2csd-master>python convert.py cocos_res/UI/BattlePass/BattlePassUnlock.csb
error no match className: WeCLabelOptions
我在执行python convert.py path_of_csb的时候 提示convert.py文件 NameError: name 'reload' is not defined
大神能不能留个QQ或者微信什么的,请教这几个问题。感谢。
我对test文件夹下的csb进行测试,可以正确转换,然而在对我想要的csb文件进行转换时发生了错误
D:\csb2csd\csb2csd-master>python convert.py csd csd
Traceback (most recent call last):
File "D:\csb2csd\csb2csd-master\convert.py", line 477, in <module>
main()
File "D:\csb2csd\csb2csd-master\convert.py", line 468, in main
dealWithCsbFile(p,outfile)
File "D:\csb2csd\csb2csd-master\convert.py", line 446, in dealWithCsbFile
startConvert(csbPath, csparsebinary, targetPath)
File "D:\csb2csd\csb2csd-master\convert.py", line 433, in startConvert
writeAction(csparsebinary.Action())
File "D:\csb2csd\csb2csd-master\convert.py", line 192, in writeAction
duration = actionData.Duration()
^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'Duration'
Traceback (most recent call last):
File "convert.py", line 437, in
main()
File "convert.py", line 434, in main
walk_dir(sys.argv[2],CSD_TARGET_ROOT)
File "convert.py", line 426, in walk_dir
dealWithCsbFile(dir + pathname + '/' + name , targetDir)
File "convert.py", line 403, in dealWithCsbFile
startConvert(csbPath, csparsebinary,targetDir)
File "convert.py", line 394, in startConvert
recursionConvertTree(nodeTree)
File "convert.py", line 376, in recursionConvertTree
recursionConvertTree(child, level + 1)
File "convert.py", line 369, in recursionConvertTree
writeOption(nodeTree, baseTab)
File "convert.py", line 363, in writeOption
writeOptionHeader(realOption, widgetOption, className, tab)
File "convert.py", line 286, in writeOptionHeader
text = text + getHeaderOption(optionData, ruleOption[0], ruleOption[1], ruleOption[2], ruleOption[3])
File "convert.py", line 241, in getHeaderOption
func = getattr(parentValue, path)
AttributeError: 'TextAtlasOptions' object has no attribute 'startCharMap'
必须输入绝对路径,这个有点诡异。
另外,功能上比 https://github.com/davidxifeng/csb2csd 要强大稳定点,那个项目直接用不了。
error no match className: ParticleOptions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.