• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Converting a Worldbuilder Save to a PY File?

what is a PY file?
 
what is a PY file?

A .py file is a python file. Python is the programming language used to build large parts of the game.

As for how to convert, Notepad++ opens a huge array of files, and can open .wbs and save as .py by simply using "Save As" and then selecting .py

Its also very good at XML editing; i use it all the time. I suggest you get it if you dont have it. Just google search it.
 
duh - of course a py file is a python file. I claim a mental meltdown in that a wb file is just text describing the map and cannot be converted to python code. You can load up a wb file as a scenario but that is different.
 
duh - of course a py file is a python file. I claim a mental meltdown in that a wb file is just text describing the map and cannot be converted to python code. You can load up a wb file as a scenario but that is different.

You CAN convert the wbs into a py file, but im not sure why you wold want to.
Hell, i converted it right now with an old file.
 
sure - convert it to a py file all you like. I said you cannot convert it to python code.
 
What I'm looking to do is to take maps such as Earth 18 Civs and such and then convert them to a PY file so that hopefully I can play around with it on the Custom Game menu, picking what civs I want to use and such.
 
Back
Top Bottom