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!
jin76
n00b
Posts: 10
Joined: Fri Nov 05, 2010 5:31 pm

Re: AION cgf to collada converter

Post by jin76 »

yes i was also able to get the cgf files but am stuck at that part. I am pretty sure there must be a program that can export these files to max or something
Axolotl
advanced
Posts: 44
Joined: Sun Nov 07, 2010 12:52 am
Has thanked: 5 times

Re: AION cgf to collada converter

Post by Axolotl »

jin76 wrote:yes i was also able to get the cgf files but am stuck at that part. I am pretty sure there must be a program that can export these files to max or something
This program is python script that is attached in first post. But as i wrote be sure that you have right cgf files couse firse i also thouth that i had cgf files, but the problem was in them. Don't use RPGviewer to unpak archives.
Then use the script from the first post, but you must manually edit all the paths to files, and create output folder (the script cannot create it by itself)
fewks
ultra-n00b
Posts: 5
Joined: Mon Jun 28, 2010 11:05 am

Re: AION cgf to collada converter

Post by fewks »

dunno if anyone still interested in it, but i imported models into 3ds max with CryImporter, it have bones and skin but, i cannot import animation . When im trying to open animation - it changes timeline but no animation appears. Does anyone have the same problem? maybe you know how to solve it :)
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 think animations are internal and made by AION so it cannot be imported. It is not standard so someone needs to figure it out separatly
Szkaradek123
mega-veteran
mega-veteran
Posts: 292
Joined: Wed May 05, 2010 8:21 pm
Location: Poland Głogów
Has thanked: 21 times
Been thanked: 742 times

Re: AION cgf to collada converter

Post by Szkaradek123 »

The contents of this post was deleted because of possible forum rules violation.



Update: 2014-12-08
Aion Blender importer.
It requires Blender version 249 and Python 26

Steps:
1.unpack importer
2.run Blender249.blend
3.in Blender Text Window press alt+p and select cgf file for meshes and skeleton
3.for animation press alt+p and select caf file
You do not have the required permissions to view the files attached to this post.
Last edited by Szkaradek123 on Mon Dec 08, 2014 7:57 am, edited 1 time in total.
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 »

To be honest Szkaradek123, this its one of the best contributions i see in the last 6 months man here in xentax man, congratulations. :D
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
jin76
n00b
Posts: 10
Joined: Fri Nov 05, 2010 5:31 pm

Re: AION cgf to collada converter

Post by jin76 »

great work :D

sorry for my stupid question but can you tell me how i can run this in blender. I have never used blender before and have been trying to get this to work for long time but i am unable to do so. I installed blender 2.49b and python 2.6.1 and each time i try to open the .blend file i am unable to see the code or run the script i am getting some machine code. Please help :roll:


edit 1

ok now i am able to import the script in but keep getting the error "Convert Game Engine script from 4.48 API to 2.49 API" and which wont go away
can some one help
Axolotl
advanced
Posts: 44
Joined: Sun Nov 07, 2010 12:52 am
Has thanked: 5 times

Re: AION cgf to collada converter

Post by Axolotl »

Szkaradek123 great work, thanks.
But is it possible to see something like this script for 3ds Max?
User avatar
blackfoxeye
veteran
Posts: 110
Joined: Tue Mar 08, 2011 12:03 pm
Has thanked: 19 times
Been thanked: 18 times

Re: AION cgf to collada converter

Post by blackfoxeye »

Nice Blender script.
It would be great if the script supports the latest version of "Blender 2.56a" and latest "Python 3.2"
User avatar
blackfoxeye
veteran
Posts: 110
Joined: Tue Mar 08, 2011 12:03 pm
Has thanked: 19 times
Been thanked: 18 times

Re: AION cgf to collada converter

Post by blackfoxeye »

Image
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 »

trying this out to now on blender 2.49 and python 2.6.2. I get this error:

Code: Select all

Traceback <most recent call last>:
File "aion importer.py", line 507, in bevent
File "aion importer.py", like 172 in read_cgf_data
AttributeError: 'MtlChunk' object has no attribute 'texD'
This I get with the example models provided and also others
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 »

Axolotl wrote:Szkaradek123 great work, thanks.
But is it possible to see something like this script for 3ds Max?
Its not posible i think cause its more dificulty make this for max.
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 »

its possible someone just has to have interest to do it.
kylem
ultra-n00b
Posts: 1
Joined: Sat Aug 27, 2011 2:31 am

Re: AION cgf to collada converter

Post by kylem »

pixellegolas, you're not alone..... I got the same error w/ blender 2.49b using python 2.6.6
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: AION cgf to collada converter

Post by finale00 »

If someone provides a max import template then more people would probably volunteer to write one.
Post Reply