Important information: this site is currently scheduled to go offline indefinitely by end of the year.

AION cgf to collada converter

Post questions about game models here, or help out others!
microkong
ultra-n00b
Posts: 4
Joined: Wed Dec 16, 2009 3:13 pm
Been thanked: 5 times

AION cgf to collada converter

Post 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
You do not have the required permissions to view the files attached to this post.
microkong
ultra-n00b
Posts: 4
Joined: Wed Dec 16, 2009 3:13 pm
Been thanked: 5 times

Re: AION cgf to collada converter

Post by microkong »

screen shot
You do not have the required permissions to view the files attached to this post.
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: AION cgf to collada converter

Post by Mr.Mouse »

Nice! you should post this also at the Game Tools forum :)
Jaggedge
ultra-n00b
Posts: 6
Joined: Fri Jul 17, 2009 6:00 pm
Has thanked: 1 time

Re: AION cgf to collada converter

Post 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..
microkong
ultra-n00b
Posts: 4
Joined: Wed Dec 16, 2009 3:13 pm
Been thanked: 5 times

Re: AION cgf to collada converter

Post 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...
pixellegolas
ultra-veteran
ultra-veteran
Posts: 423
Joined: Mon Aug 11, 2008 11:30 pm
Has thanked: 27 times
Been thanked: 15 times

Re: AION cgf to collada converter

Post 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 :)
djoscar
beginner
Posts: 30
Joined: Thu Dec 17, 2009 9:59 am

Re: AION cgf to collada converter

Post 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
microkong
ultra-n00b
Posts: 4
Joined: Wed Dec 16, 2009 3:13 pm
Been thanked: 5 times

Re: AION cgf to collada converter

Post by microkong »

Can you post your "lf001_head.cgf"? Your AION may be a different version.
darksimonus
beginner
Posts: 30
Joined: Sat May 01, 2010 8:57 pm

Re: AION cgf to collada converter

Post by darksimonus »

I have extract CFG but i dont understand why to convert CFG to DAE
pixellegolas
ultra-veteran
ultra-veteran
Posts: 423
Joined: Mon Aug 11, 2008 11:30 pm
Has thanked: 27 times
Been thanked: 15 times

Re: AION cgf to collada converter

Post 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
Kunigunde
ultra-n00b
Posts: 6
Joined: Sat May 22, 2010 6:20 am
Has thanked: 2 times
Been thanked: 1 time

Re: AION cgf to collada converter

Post 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.

:)
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: AION cgf to collada converter

Post 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?
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
pixellegolas
ultra-veteran
ultra-veteran
Posts: 423
Joined: Mon Aug 11, 2008 11:30 pm
Has thanked: 27 times
Been thanked: 15 times

Re: AION cgf to collada converter

Post 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 :)
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: AION cgf to collada converter

Post 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¨
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: AION cgf to collada converter

Post by chrrox »

This script works fine it just needs some manual editing in a few places.
Post Reply