Export resources to open formats (like Construct2)

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Sun May 06, 2012 7:59 pm

Works like a charm with Python 2.6.

Apparently the problem was that I was using Python 2.7+

Thanks for everything!
B
19
S
4
G
4
Posts: 70
Reputation: 3,896

Post » Sun May 06, 2012 10:17 pm

That's weird since it works for me with python 2.7.3. Anyway glad you got it working. Usually an error like that is due to some typo in my code which I can fix if I can reproduce it.

Here is a mini example of a use of the script. It gets the names and icons of every object type in the cap.
http://dl.dropbox.com/u/5426011/examples11/test.zip
B
79
S
24
G
54
Posts: 4,755
Reputation: 40,773

Post » Mon May 07, 2012 3:05 pm

Maybe it's an OS thing, my Python 2.7.3 was in Linux and I deliberately installed Python 2.6 on my Windows boot to test whether it worked on the old version.
Maybe it was because of a case of '\' vs '/' or something OS-dependent.

In any case, thanks for everything (including the last example), I will report on any useful tool that emerges from this work.Alcemon2012-05-07 15:16:36
B
19
S
4
G
4
Posts: 70
Reputation: 3,896

Post » Mon May 07, 2012 7:36 pm

I'll have to test it in linux, and see why it's different.

Here was the original reason for the script:
http://www.scirra.com/forum/experimental-cap-to-c2-converter_topic42194.html
The project is in a coma waiting for C2 to get more features that CC has. At which point I might revive it.
B
79
S
24
G
54
Posts: 4,755
Reputation: 40,773

Post » Tue May 08, 2012 8:38 am

Funny that I missed that thread because making a CC to C2 converter (even if it's a bit of a lossy process) was exactly one of my secondary objectives.

Thanks again, my progress is probably not going to be jet fast but I will do my best with the time I have.
B
19
S
4
G
4
Posts: 70
Reputation: 3,896

Previous

Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 1 guest

cron