READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Cryengine Converter tool (cgf-exporter)

General game file tools that are useful for more than one game
Markemp
veteran
Posts: 91
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 4 times
Been thanked: 35 times

Re: Cryengine Export tool (cgf-exporter)

Post by Markemp » Thu Sep 14, 2017 7:31 pm

The converter doesn't work with the 2.6.3 Star Citizen files yet, but I have a fix that will be released in the next 2 weeks that will solve that.

Markemp
veteran
Posts: 91
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 4 times
Been thanked: 35 times

Re: Cryengine Export tool (cgf-exporter)

Post by Markemp » Mon Oct 09, 2017 2:13 am

Here is the latest release:

https://github.com/Markemp/Cryengine-Converter

Now has full support for Collada documents, armature and vertex weights, better material handling, etc. Check out the Readme at the github for more details.

I'll be making a tutorial video and updating the original post here soon. Thanks!

User avatar
Andrakann
ultra-veteran
ultra-veteran
Posts: 382
Joined: Wed Jul 06, 2011 8:47 am
Location: Russia
Has thanked: 714 times
Been thanked: 184 times
Contact:

Re: Cryengine Export tool (cgf-exporter)

Post by Andrakann » Tue Oct 10, 2017 5:52 am

Markemp wrote:Here is the latest release:
Armored Warfare meshes (not from latest version of game) have zero dimensions after import with the latest OpenCollada plugin:
Image

Sample is uploaded here.

User avatar
HeliosAI
mega-veteran
mega-veteran
Posts: 164
Joined: Wed Nov 17, 2010 2:57 pm
Has thanked: 144 times
Been thanked: 53 times

Re: Cryengine Export tool (cgf-exporter)

Post by HeliosAI » Tue Oct 10, 2017 11:06 am

Markemp wrote:Here is the latest release:

https://github.com/Markemp/Cryengine-Converter

Now has full support for Collada documents, armature and vertex weights, better material handling, etc. Check out the Readme at the github for more details.

I'll be making a tutorial video and updating the original post here soon. Thanks!
Thanks so much for this update!
I'm not sure if the error is on my part, but Prey (2017) files result in this error: https://cdn.pbrd.co/images/GOguhQ9.png

I set the programs path and used these commands "cgf-converter.exe MorganKarl_GenMaleHead01.cgf -objectdir "x:\Games\Steam\steamapps\common\Prey\GameSDK\Objects\characters\humans\MorganKarl" -dae"
The files usually have the extension .skinm instead of .cgf, however renaming them to .cgf made them work with the previous version of the tool.

If you have the time, would you be able to look into it?
Here are a few files from the game: https://yadi.sk/d/PsyIyATX3NdATz

Markemp
veteran
Posts: 91
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 4 times
Been thanked: 35 times

Re: Cryengine Export tool (cgf-exporter)

Post by Markemp » Sat Nov 25, 2017 3:03 am

o0Crofty0o wrote: Thanks so much for this update!
I'm not sure if the error is on my part, but Prey (2017) files result in this error: https://cdn.pbrd.co/images/GOguhQ9.png

I set the programs path and used these commands "cgf-converter.exe MorganKarl_GenMaleHead01.cgf -objectdir "x:\Games\Steam\steamapps\common\Prey\GameSDK\Objects\characters\humans\MorganKarl" -dae"
The files usually have the extension .skinm instead of .cgf, however renaming them to .cgf made them work with the previous version of the tool.

If you have the time, would you be able to look into it?
Here are a few files from the game: https://yadi.sk/d/PsyIyATX3NdATz
Sorry I missed this; for some reason I didn't get a notification about this thread being updated. I'll take a look at this soon. I'm not sure what the exact error says there... can you give me the english equivalent to it?

I'm guessing it can't find the .mtl file associated with the model, but not really sure.

edit: I think I have it, but can't do the materials since I don't have access to the .dds files. Link to a testing version of cgf-exporter for prey files: https://www.dropbox.com/s/x8wlfrd16wax2 ... r.exe?dl=0

Image

Markemp
veteran
Posts: 91
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 4 times
Been thanked: 35 times

Re: Cryengine Export tool (cgf-exporter)

Post by Markemp » Sat Nov 25, 2017 4:53 am

Andrakann wrote:
Markemp wrote:Here is the latest release:
Armored Warfare meshes (not from latest version of game) have zero dimensions after import with the latest OpenCollada plugin:
Image

Sample is uploaded here.
Weird... the geometry data is all zeroes. Let me see if I can figure out what happened.

phay008
beginner
Posts: 29
Joined: Mon Jan 11, 2016 4:59 am
Has thanked: 31 times
Been thanked: 1 time

Re: Cryengine Export tool (cgf-exporter)

Post by phay008 » Tue Jan 09, 2018 10:23 am

I set the programs path and used these commands "J:\age> .\cgf-converter.exe .\bird_a.chr -objectdir "j:\age" -dae"
It's not working?? didn't support this game?(archeage ol)
Ashampoo_Snap_2018.01.09_16h53m16s_001.jpg
here is some samples~~
https://pan.baidu.com/s/1mjYaIik
https://mega.nz/#!vt4m3bYR
You do not have the required permissions to view the files attached to this post.
Last edited by phay008 on Tue Jan 09, 2018 4:42 pm, edited 2 times in total.

Markemp
veteran
Posts: 91
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 4 times
Been thanked: 35 times

Re: Cryengine Export tool (cgf-exporter)

Post by Markemp » Tue Jan 09, 2018 3:21 pm

I haven't tested it against archeage, but it looks like a newer game.

The program is pretty dependent on having the full game structure available, so it helps to copy all the pak files into a depot and extract them into a separate (complete) depot. I'll grab the code for this game and see if I can figure out why this model isn't working properly.

phay008
beginner
Posts: 29
Joined: Mon Jan 11, 2016 4:59 am
Has thanked: 31 times
Been thanked: 1 time

Re: Cryengine Export tool (cgf-exporter)

Post by phay008 » Tue Jan 09, 2018 4:45 pm

Markemp wrote:I haven't tested it against archeage, but it looks like a newer game.

The program is pretty dependent on having the full game structure available, so it helps to copy all the pak files into a depot and extract them into a separate (complete) depot. I'll grab the code for this game and see if I can figure out why this model isn't working properly.
Thank you for your answer.I will upload more samples if you grab the code for support this game.

Markemp
veteran
Posts: 91
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 4 times
Been thanked: 35 times

Re: Cryengine Export tool (cgf-exporter)

Post by Markemp » Tue Jan 09, 2018 5:02 pm

How did you extract the pak file? It's 36GB, and 7zip doesn't recognize it by default.

phay008
beginner
Posts: 29
Joined: Mon Jan 11, 2016 4:59 am
Has thanked: 31 times
Been thanked: 1 time

Re: Cryengine Export tool (cgf-exporter)

Post by phay008 » Wed Jan 10, 2018 1:23 am

Markemp wrote:How did you extract the pak file? It's 36GB, and 7zip doesn't recognize it by default.
ues quickbms~~here is the bms~
http://aluigi.altervista.org/bms/archeage.bms
It takes a long time to unzip the pak file~it's too big!
your tool support cry series ,Crysis series&other crytek engine game???

Markemp
veteran
Posts: 91
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 4 times
Been thanked: 35 times

Re: Cryengine Export tool (cgf-exporter)

Post by Markemp » Wed Jan 10, 2018 1:31 am

Yup, it should support most modern Cryengine formats, including Star Citizen. But there are lots of one-off file structures out there, and this looks like one of them. I'll see what I can find out and update the tool to support this game as well. Thank you!

Markemp
veteran
Posts: 91
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 4 times
Been thanked: 35 times

Re: Cryengine Export tool (cgf-exporter)

Post by Markemp » Wed Jan 10, 2018 1:38 am

Ok, got the extractor and am getting the game files out. May be a little while before I get the new format figured out, but shouldn't be too long. Thank you for the info!

phay008
beginner
Posts: 29
Joined: Mon Jan 11, 2016 4:59 am
Has thanked: 31 times
Been thanked: 1 time

Re: Cryengine Export tool (cgf-exporter)

Post by phay008 » Wed Jan 10, 2018 4:32 am

Markemp wrote:Ok, got the extractor and am getting the game files out. May be a little while before I get the new format figured out, but shouldn't be too long. Thank you for the info!
you are welcome! It took me 1 hour to extract the file ~~~~maybe my pc is too old~~I'M looking forward to your tool 。 :D :D :D
sorry about my bad English~

Markemp
veteran
Posts: 91
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 4 times
Been thanked: 35 times

Re: Cryengine Export tool (cgf-exporter)

Post by Markemp » Wed Jan 10, 2018 5:49 am

Ok, got all the files extracted, and the .cgf files seem to export nicely, aside from the materials. Will look at the chr files, which have armatures and probably need some work.

Image

Post Reply