Page 1 of 6

AION cgf to collada converter

Posted: Tue Dec 29, 2009 4:42 pm
by microkong
* Convert AION mesh, skin and animation to .dae
* Running on python 2.5/2.6
* Modify the path and mesh/animation name in the aion2collada.py
* Use RPGViewer to unpack the aion pak
* The .dae can be imported to 3dsmax9 using OpenCOLLADA 3ds Max Plugin 1.2.5
* The code is base on cgf reader in PyFFI 2.0.5 and collada writer in Collada Blender 0.3.159

Re: AION cgf to collada converter

Posted: Tue Dec 29, 2009 4:50 pm
by microkong
screen shot

Re: AION cgf to collada converter

Posted: Tue Dec 29, 2009 7:40 pm
by Mr.Mouse
Nice! you should post this also at the Game Tools forum :)

Re: AION cgf to collada converter

Posted: Wed Jan 27, 2010 3:24 pm
by Jaggedge
Hi I'm having a little trouble following the steps here, could you explain in a little more detail?

I have RPGViewer30Build1024, and a bunch of AION files, such as
shugofemale_Animations.pak
shugofemale_Meshes.pak
shugofemale_Textures.pak

What should I do first? I'm not sure how to use RPGViewer to unpack the pak files..

Re: AION cgf to collada converter

Posted: Tue Feb 02, 2010 3:19 pm
by microkong
File->Open->Online Games->(NcSoft) AION-永恒之塔
And then set the game path.
It will list all the .pak in that path to the tree. Select the pak and use Addon->Archive->Extract...

Re: AION cgf to collada converter

Posted: Tue Feb 02, 2010 5:50 pm
by pixellegolas
sorry, I have read this thread before and it is among the etiqutte to actually thank creators so here you go: Thank you :)

A great tool indeed. Wish it could be imported directly to max with script but this will absolutly do for now :)

Re: AION cgf to collada converter

Posted: Wed Feb 17, 2010 7:16 pm
by djoscar
how do you use this converter? When I modify the paths and run it, look what happens:

Code: Select all

Adding Skeleton
Adding Mesh lf001_head
No handlers could be found for logger "pyffi.cgf.data"
Traceback (most recent call last):
  File "C:\Users\Edvinas1\Desktop\Downloads\aion2collada\aion2collada\aion2colla
da.py", line 876, in <module>
    ConvertMeshAnimation("")
  File "C:\Users\Edvinas1\Desktop\Downloads\aion2collada\aion2collada\aion2colla
da.py", line 826, in ConvertMeshAnimation
    converter.AddMesh(name, r"%s\%s.cgf" % (meshPath, name))
  File "C:\Users\Edvinas1\Desktop\Downloads\aion2collada\aion2collada\aion2colla
da.py", line 133, in AddMesh
    self.ReadCgf(cgfPath)
  File "C:\Users\Edvinas1\Desktop\Downloads\aion2collada\aion2collada\aion2colla
da.py", line 112, in ReadCgf
    self.data.read(stream)
  File "C:\Users\Edvinas1\Desktop\Downloads\aion2collada\aion2collada\pyffi\form
ats\cgf\__init__.py", line 778, in read
    if not chunkhdr.version in chunk.getVersions(self.game):
  File "C:\Users\Edvinas1\Desktop\Downloads\aion2collada\aion2collada\pyffi\obje
ct_models\xml\Struct.py", line 472, in getVersions
    return cls._games[game]
KeyError: 'Aion'
Anyone tried converting and succeeded? What am i doing wrong?

thanks

Re: AION cgf to collada converter

Posted: Tue Mar 23, 2010 3:41 pm
by microkong
Can you post your "lf001_head.cgf"? Your AION may be a different version.

Re: AION cgf to collada converter

Posted: Sat May 01, 2010 10:00 pm
by darksimonus
I have extract CFG but i dont understand why to convert CFG to DAE

Re: AION cgf to collada converter

Posted: Sun May 02, 2010 7:47 pm
by pixellegolas
I have some problems to converting because I don't know all the places to edit the file :)

And, it seems we need to extract the cgf files in the aion install dir right? I have the cgf files in another place right now

Re: AION cgf to collada converter

Posted: Mon May 24, 2010 12:49 am
by Kunigunde
It would be nice to convert Aion models to official cryengine 1 format: it can be imported with “Takaro CryImporter script, version 1.2.1, “imports geometry and animation from Crytek CGF, CGA, CAF and CAL files into 3ds max 7 or above”:

http://www.takaro.net/downloads.html

The hope is that using official Max exporter from cryengine_mod_sdk_v1.4 it would be possible to bring these models back in the game.

:)

Re: AION cgf to collada converter

Posted: Sun Jul 11, 2010 8:36 am
by Rimbros
I think this post its fake, i try all the ways, and i think he make the skeletal meshes and rip the model in the screenshot with 3d ripper or 3d via printscreen, the py files to converto to dae not works nothink, in the steps you tell this
and all the people ask you something problems and you not give answer, i dont know why.
to adde other bad point you tell this in the steps.

* Modify the path and mesh/animation name in the aion2collada.py? yes edit edit, where man? wath lines? have you something screenshots?

Re: AION cgf to collada converter

Posted: Sun Jul 11, 2010 3:28 pm
by pixellegolas
I have not been able either but in the PY far down there is lines about paths etc. You just have to look. I do not believe it's fake, it's just you and me who are stupid :)

Re: AION cgf to collada converter

Posted: Sun Jul 11, 2010 5:54 pm
by Rimbros
Kunigunde wrote:It would be nice to convert Aion models to official cryengine 1 format: it can be imported with “Takaro CryImporter script, version 1.2.1, “imports geometry and animation from Crytek CGF, CGA, CAF and CAL files into 3ds max 7 or above”:

http://www.takaro.net/downloads.html

The hope is that using official Max exporter from cryengine_mod_sdk_v1.4 it would be possible to bring these models back in the game.

:)
Absolutely fake, the Takaro CryImporter script, version 1.2.1 not import geometry files CGF, CGA, CAF from Aion, in max 7 i try and i give this message winndow ¨NOT A VALID CRYTEK FILE¨

Re: AION cgf to collada converter

Posted: Sun Jul 11, 2010 7:25 pm
by chrrox
This script works fine it just needs some manual editing in a few places.