Join also our Discord channel! Click here.
Cryengine Converter tool (cgf-exporter)
- Andrakann
- ultra-veteran
- Posts: 387
- Joined: Wed Jul 06, 2011 8:47 am
- Location: Russia
- Has thanked: 750 times
- Been thanked: 189 times
- Contact:
Re: Cryengine Export tool (cgf-exporter)
Latest available version doesn't convert materials from Armored Warfare, produces empty ones, with only header inside:
Previous version I have works ok:
Also newer version makes names without "_out" at the end - may overwrite something.
Code: Select all
# cgf-converter .mtl export version 0.85.5973.19501
#
Code: Select all
# cgf-converter .mtl export version 0.85.5896.37400
#
newmtl Hull
... (cut)
- Andrakann
- ultra-veteran
- Posts: 387
- Joined: Wed Jul 06, 2011 8:47 am
- Location: Russia
- Has thanked: 750 times
- Been thanked: 189 times
- Contact:
Re: Cryengine Export tool (cgf-exporter)
It's fails:
Older version is better, but fails too (log attached).
PS: challenger1_turret_challenger1.cgf successfully converted with older version, latests fails again:
Code: Select all
r:\!_AW\objects\vehicles\mbt\challenger1>"cgf-converter084(5).exe" challenger1--challenger1.cga -dae -objectdir "R:\!_AW"
Input file set to challenger1--challenger1.cga
Output format set to COLLADA (.dae)
Data directory set to R:\!_AW
Conflict in chunk definition
2F30+8C
62D348+8C
tmpmeshsubset ID is 33F
********************************************************************************
There was an error rendering r:\!_AW\objects\vehicles\mbt\challenger1\challenger1--challenger1.cga
Индекс находился вне границ массива. (translation: index out of massive range)
в CgfConverter.COLLADA.WriteLibrary_Geometries()
в CgfConverter.COLLADA.Render(String outputDir, Boolean preservePath)
в CgfConverter.Program.Main(String[] args)
********************************************************************************
PS: challenger1_turret_challenger1.cgf successfully converted with older version, latests fails again:
Code: Select all
r:\!_AW\objects\vehicles\mbt\challenger1>"cgf-converter084(5).exe" challenger1_turret_challenger1.cgf -dae -objectdir "R:\!_AW"
Input file set to challenger1_turret_challenger1.cgf
Output format set to COLLADA (.dae)
Data directory set to R:\!_AW
Conflict in chunk definition
540+48
12ED80+48
Conflict in chunk definition
588+48
13FD30+48
Conflict in chunk definition
5D0+48
166E28+48
Conflict in chunk definition
618+48
22F830+48
tmpmeshsubset ID is 54
********************************************************************************
There was an error rendering r:\!_AW\objects\vehicles\mbt\challenger1\challenger1_turret_challenger1.cgf
Индекс находился вне границ массива.
в CgfConverter.COLLADA.WriteLibrary_Geometries()
в CgfConverter.COLLADA.Render(String outputDir, Boolean preservePath)
в CgfConverter.Program.Main(String[] args)
********************************************************************************
You do not have the required permissions to view the files attached to this post.
-
- veteran
- Posts: 99
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 47 times
Re: Cryengine Export tool (cgf-exporter)
Shit... ok. I won't be able to look at it for a couple of weeks.
Going on vacation. I might try to grab a model and poke around on my laptop, but can't promise anything.

Re: Cryengine Export tool (cgf-exporter)
Does anyone have the most recent copy of this? That download link on the OP is 404'd, and I was really hoping to pull a couple .skinm props out of Prey (2017) to start some 3D printing projects.
-
- veteran
- Posts: 99
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 47 times
Re: Cryengine Export tool (cgf-exporter)
Sorry, Dropbox decided to make all public links not so public. I copied it over to a new link (in OP; also here: https://1drv.ms/u/s!Ahz_oM1_DqLRg599XP70BngTGbxUUw).windswept wrote:Does anyone have the most recent copy of this? That download link on the OP is 404'd, and I was really hoping to pull a couple .skinm props out of Prey (2017) to start some 3D printing projects.
I'll be working on an updated version once Star Citizen 3.0 comes out, complete with FBX exporter and armatures/animations. Will take a while, but... yeah!
-
- ultra-n00b
- Posts: 3
- Joined: Wed Jul 12, 2017 9:16 am
Re: Cryengine Export tool (cgf-exporter)
Hey all!
So as per usual I'm late getting to the party (about 2 years late apparently).
I want to convert MWO files into 3D printable objects but am having one HELL of a time converting the .cgf files to .obj. I tried using the Noesis method as described in the MWO forums but can't seem to get a hold of the cryengine_cgf.dll plugin file. In my search for info I came across this post and thought it might be a viable option.
I'm new to this whole process so I don't know much about it but I guess my questions for the sake of this thread are:
1. Is this tool still relevant?
2. How do I download it?
3 How do I use it?
I'm not too familiar with powershell or scripting so if someone could give me a quick rundown on the process it'd be much appreciated!
So as per usual I'm late getting to the party (about 2 years late apparently).
I want to convert MWO files into 3D printable objects but am having one HELL of a time converting the .cgf files to .obj. I tried using the Noesis method as described in the MWO forums but can't seem to get a hold of the cryengine_cgf.dll plugin file. In my search for info I came across this post and thought it might be a viable option.
I'm new to this whole process so I don't know much about it but I guess my questions for the sake of this thread are:
1. Is this tool still relevant?
2. How do I download it?
3 How do I use it?
I'm not too familiar with powershell or scripting so if someone could give me a quick rundown on the process it'd be much appreciated!
-
- veteran
- Posts: 99
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 47 times
Re: Cryengine Export tool (cgf-exporter)
Yup, the cgf-converter tool still works great for the MWO models. I wrote that post on the MWO forums, so feel free to ask me any questions either here or there.Firedrake2k wrote:I want to convert MWO files into 3D printable objects but am having one HELL of a time converting the .cgf files to .obj. I tried using the Noesis method as described in the MWO forums but can't seem to get a hold of the cryengine_cgf.dll plugin file. In my search for info I came across this post and thought it might be a viable option.
I'm new to this whole process so I don't know much about it but I guess my questions for the sake of this thread are:
1. Is this tool still relevant?
2. How do I download it?
3 How do I use it?
I'm not too familiar with powershell or scripting so if someone could give me a quick rundown on the process it'd be much appreciated!
https://mwomercs.com/forums/topic/85411 ... gis-mechs/
The Youtube tutorial videos have a lot of info on how to import the mech. To convert the files in the cgf-converter program, it's probably easiest to just click and drag the cgf/cga files you want to convert onto cgf-converter.exe in the file explorer, but a more controlled way from the powershell prompt is to do:
foreach ($file in (get-childitem -recurse *.cg*)) { cgf-converter.exe $file }
This assumes you're in the directory with all the cga/cgf files you want to convert (like Objects\Mechs\Catapult\body) and that you added the directory that cgf-converter is in to the path. Highly recommend you add it to the path, along with the mech-importer.ps1 powershell script. Just makes everything easier.
Feel free to ask me any questions. I haven't done any printing so can't help on that side, but can help get the models into Blender for you.
-
- ultra-n00b
- Posts: 3
- Joined: Wed Jul 12, 2017 9:16 am
Re: Cryengine Export tool (cgf-exporter)
hmm... ok I tried adding the cgf-converter.exe to the Path in Environment Variables and I keep getting this-
cgf-converter.exe : The term 'cgf-converter.exe' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:53
+ ... ($file in (get-childitem -recurse *.cg*)) { cgf-converter.exe $file }
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (cgf-converter.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What am I doing wrong?
Also what is the mech-importer.ps1 script?
cgf-converter.exe : The term 'cgf-converter.exe' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:53
+ ... ($file in (get-childitem -recurse *.cg*)) { cgf-converter.exe $file }
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (cgf-converter.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What am I doing wrong?
Also what is the mech-importer.ps1 script?
-
- veteran
- Posts: 99
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 47 times
Re: Cryengine Export tool (cgf-exporter)
You need to start up a new Powershell session to get it to update the path. The existing shells won't have the updated path, as it's not dynamically refreshed.
Mech-importer is a powershell script that takes a cdf file (like catapult.cdf) in the root of the particular mech's directory, and creates a python import script so all the parts can be put into Blender with the right orientation/location. A mech is made up of dozens of separate components, and those components need to be told where they are relative to each other. That's what the .cdf file has, and mech-importer just automates that process.
Mech-importer is a powershell script that takes a cdf file (like catapult.cdf) in the root of the particular mech's directory, and creates a python import script so all the parts can be put into Blender with the right orientation/location. A mech is made up of dozens of separate components, and those components need to be told where they are relative to each other. That's what the .cdf file has, and mech-importer just automates that process.
-
- ultra-n00b
- Posts: 3
- Joined: Wed Jul 12, 2017 9:16 am
Re: Cryengine Export tool (cgf-exporter)
Wow this is all a bit over my head... Sorry for being a pain but as I said this is all new to me...
On a positive note, I did have some success with the drag and drop method you mentioned. I am at least able to view the .obj files in 123D. Unfortunately they import as meshes which don't allow me to modify them. But at least its a start. I will continue to watch your videos on blender and research on my own to see if i can figure out how to turn the meshes into solids and edit them into something I can print. In the mean time if you have any suggestions I appreciate all your help and if I have any more questions I'll be sure to check back on here or the MWO forums to ask.
Thanks again!
On a positive note, I did have some success with the drag and drop method you mentioned. I am at least able to view the .obj files in 123D. Unfortunately they import as meshes which don't allow me to modify them. But at least its a start. I will continue to watch your videos on blender and research on my own to see if i can figure out how to turn the meshes into solids and edit them into something I can print. In the mean time if you have any suggestions I appreciate all your help and if I have any more questions I'll be sure to check back on here or the MWO forums to ask.
Thanks again!
-
- veteran
- Posts: 99
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 47 times
Re: Cryengine Export tool (cgf-exporter)
You'll need a program that can modify meshes, such as Blender (free) or Max 3D. Both these programs can handle .obj files and lets you modify them as much as you want. I'm not sure what the process is for solidifying a mesh, but... all game models will be meshes and need a bit of work to make them printable.
-
- ultra-n00b
- Posts: 1
- Joined: Thu Sep 14, 2017 7:24 pm
Re: Cryengine Export tool (cgf-exporter)
I am trying to convert the cgf files that are from Star Citizen. When I use the program everything looks like it works fine but when I import into Blender, everything is crazy.
I will submit what I can, please let me know what I can do to help.
I will submit what I can, please let me know what I can do to help.