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
Post
by Markemp » Fri Jan 22, 2016 3:27 am
JackusCTB wrote:Hello, while trying to convert an Armored Warfare tank from .cgf to .obj it gives me a rectangular shape... is it possible I am using it wrongly? I drag and drop the cryengine file into the executable since I didn't understand how to use the parameters...
You can't use it that way. You have to start up a command prompt (Powershell for example) and put in the proper arguments.
I'll be coming up with a tutorial soon.
-
JackusCTB
- ultra-n00b
- Posts: 4
- Joined: Thu Jan 21, 2016 4:25 pm
- Has thanked: 1 time
Post
by JackusCTB » Fri Jan 22, 2016 6:47 pm
Markemp wrote:JackusCTB wrote:Hello, while trying to convert an Armored Warfare tank from .cgf to .obj it gives me a rectangular shape... is it possible I am using it wrongly? I drag and drop the cryengine file into the executable since I didn't understand how to use the parameters...
You can't use it that way. You have to start up a command prompt (Powershell for example) and put in the proper arguments.
I'll be coming up with a tutorial soon.
Very nice and gentle! Looking forward to it!

-
Markemp
- veteran
- Posts: 91
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 35 times
Post
by Markemp » Tue Jan 26, 2016 1:36 pm
I just uploaded a new copy last night. Can you try it against those models?
If it gives you the same error, can you copy/paste the full command you used along with the full output? Thanks.
-
erik945
- mega-veteran

- Posts: 176
- Joined: Fri Jan 20, 2012 5:43 pm
- Has thanked: 24 times
- Been thanked: 43 times
Post
by erik945 » Tue Jan 26, 2016 1:47 pm
This is last update, I have some problem with registration on robertsspaceindustries, so write here.
Error:
Code: Select all
C:\Users\KAN>J:\17\exp\cgf-converter.exe J:\17\Objects\Vehicles\ships\drak\cater
pillar\DRAK_Caterpillar_lod1.cga
Input file set to J:\17\Objects\Vehicles\ships\drak\caterpillar\DRAK_Caterpillar
_lod1.cga
CleanName is MultiMat_0
********************************************************************************
There was an error rendering J:\17\Objects\Vehicles\ships\drak\caterpillar\DRAK_
Caterpillar_lod1.cga
Value cannot be null.
Parameter name: path1
at System.IO.Path.Combine(String path1, String path2)
at CgfConverter.CryEngine..ctor(String fileName, String dataDir)
at CgfConverter.Program.Main(String[] args)
********************************************************************************
Thank you.
-
MadestCat
- ultra-n00b
- Posts: 1
- Joined: Mon Feb 15, 2016 8:24 pm
Post
by MadestCat » Mon Feb 15, 2016 8:29 pm
I also have a problem with converting cgf files
Code: Select all
D:\>cgf-converter.exe leopard2a6--leopard2a6.cgf
Input file set to leopard2a6--leopard2a6.cgf
Conflict in chunk definition
3088+8C
2EA120+8C
CleanName is Leopard2A6_Hull
********************************************************************************
There was an error rendering D:\leopard2a6--leopard2a6.cgf
Der Wert darf nicht NULL sein.
Parametername: path1
bei System.IO.Path.Combine(String path1, String path2)
bei CgfConverter.CryEngine..ctor(String fileName, String dataDir)
bei CgfConverter.Program.Main(String[] args)
********************************************************************************
the German text means
Code: Select all
Value cannot be null.
Parameter name: path1
-
Markemp
- veteran
- Posts: 91
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 35 times
Post
by Markemp » Tue Feb 16, 2016 2:00 am
Can you use the -objectdir argument? If you extracted all the .pak files, it's the directory you extracted them to. I extract mine to e:\blender projects\AW, so add a -objectdir "e:\blender projects\aw" to the command when I run it. Just replace that with wherever you extracted them to.
-
Markemp
- veteran
- Posts: 91
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 35 times
Post
by Markemp » Tue Feb 23, 2016 1:32 pm
erik945 wrote:what news about
Code: Select all
Value cannot be null.
Parameter name: path1
?
This may be fixed. I've updated the file at the Dropbox link in the original post. Please test it out and let me know if you're still having the issue.
-
erik945
- mega-veteran

- Posts: 176
- Joined: Fri Jan 20, 2012 5:43 pm
- Has thanked: 24 times
- Been thanked: 43 times
Post
by erik945 » Sun Mar 27, 2016 3:42 pm
New update, new problems...
Don't work with many models of new patch (2.3.0 live)
Code: Select all
Input file set to E:\67\StarCitizen\StarCitizen\Public\Data\Objects\Spaceships\Ships\MISC\Starfarer\MISC_Starfarer.cga
*** Chunk Header Table***
Chunk Type Version ID Size Offset
SourceInfo 0 0 90 1D30
...
Mesh 801 1FB 128 B09AA4
Node 824 1FC CC B09BCC
********************************************************************************
There was an error rendering E:\67\StarCitizen\StarCitizen\Public\Data\Objects\Spaceships\Ships\MISC\Starfarer\MISC_Starfarer.cga
Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadInt16()
at CgfConverter.CryEngine_Core.ChunkDataStream_800.Read(BinaryReader b)
at CgfConverter.CryEngine_Core.Model.Read_Chunks(BinaryReader reader)
at CgfConverter.CryEngine_Core.Model.Load(String fileName)
at CgfConverter.CryEngine_Core.Model.FromFile(String fileName)
at CgfConverter.CryEngine..ctor(String fileName, String dataDir)
at CgfConverter.Program.Main(String[] args)
********************************************************************************
I try on starfarer, scout and some other models.
https://www.dropbox.com/s/919bw0tkrav2g ... er.7z?dl=0
-
Markemp
- veteran
- Posts: 91
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 35 times
Post
by Markemp » Sun Mar 27, 2016 3:58 pm
I believe CIG is compressing the .mtl files now, which is causing problems for the exporter. I'm not sure if it's possible to uncompress them manually prior to running the converter, but that may be a work around if so.
-
erik945
- mega-veteran

- Posts: 176
- Joined: Fri Jan 20, 2012 5:43 pm
- Has thanked: 24 times
- Been thanked: 43 times
Post
by erik945 » Sun Mar 27, 2016 5:19 pm
this directory that does not contain the mtl files
-
HunterAP
- advanced
- Posts: 40
- Joined: Mon Aug 10, 2015 7:03 am
- Has thanked: 14 times
- Been thanked: 5 times
Post
by HunterAP » Tue May 03, 2016 8:17 am
Sorry to bump, but has there been ay progress with getting animations working?
-
Markemp
- veteran
- Posts: 91
- Joined: Tue Dec 24, 2013 2:42 am
- Has thanked: 4 times
- Been thanked: 35 times
Post
by Markemp » Wed May 04, 2016 2:04 am
No, sorry. I've been sidetracked with other projects.

It's still on my to do list though. I really want to get this done.