XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Wed Mar 29, 2017 12:18 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 65 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Fri Jan 22, 2016 3:27 am 
Offline
advanced

Joined: Tue Dec 24, 2013 2:42 am
Posts: 74
Has thanked: 4 times
Have thanks: 25 times

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.

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Fri Jan 22, 2016 6:47 pm 
Offline
ultra-n00b

Joined: Thu Jan 21, 2016 4:25 pm
Posts: 4
Has thanked: 1 time
Have thanks: 0 time
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! :)


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Tue Jan 26, 2016 1:33 pm 
Offline
veteran

Joined: Fri Jan 20, 2012 5:43 pm
Posts: 124
Has thanked: 15 times
Have thanks: 30 times
Thank you for update.
But some model don't converted with error " path1" "value cannot be null" or breaking.

here - example some models.
Scout - converting breaking,
Crucible - error
Caterpillar - error

https://www.dropbox.com/s/l6q1gy5ih24bu53/bugs.7z?dl=0


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Tue Jan 26, 2016 1:36 pm 
Offline
advanced

Joined: Tue Dec 24, 2013 2:42 am
Posts: 74
Has thanked: 4 times
Have thanks: 25 times
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.


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Tue Jan 26, 2016 1:47 pm 
Offline
veteran

Joined: Fri Jan 20, 2012 5:43 pm
Posts: 124
Has thanked: 15 times
Have thanks: 30 times
This is last update, I have some problem with registration on robertsspaceindustries, so write here.

Error:
Code:
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.


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Mon Feb 15, 2016 8:29 pm 
Offline
ultra-n00b

Joined: Mon Feb 15, 2016 8:24 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
I also have a problem with converting cgf files

Code:
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:
Value cannot be null.
Parameter name: path1


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Tue Feb 16, 2016 2:00 am 
Offline
advanced

Joined: Tue Dec 24, 2013 2:42 am
Posts: 74
Has thanked: 4 times
Have thanks: 25 times
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.


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Tue Feb 23, 2016 1:15 pm 
Offline
veteran

Joined: Fri Jan 20, 2012 5:43 pm
Posts: 124
Has thanked: 15 times
Have thanks: 30 times
what news about
Code:
Value cannot be null.
Parameter name: path1

?


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Tue Feb 23, 2016 1:32 pm 
Offline
advanced

Joined: Tue Dec 24, 2013 2:42 am
Posts: 74
Has thanked: 4 times
Have thanks: 25 times
erik945 wrote:
what news about
Code:
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.


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Tue Feb 23, 2016 5:07 pm 
Offline
veteran

Joined: Fri Jan 20, 2012 5:43 pm
Posts: 124
Has thanked: 15 times
Have thanks: 30 times
All work fine. Thank you!


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Sun Mar 27, 2016 3:42 pm 
Offline
veteran

Joined: Fri Jan 20, 2012 5:43 pm
Posts: 124
Has thanked: 15 times
Have thanks: 30 times
New update, new problems...

Don't work with many models of new patch (2.3.0 live)

Code:
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


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Sun Mar 27, 2016 3:58 pm 
Offline
advanced

Joined: Tue Dec 24, 2013 2:42 am
Posts: 74
Has thanked: 4 times
Have thanks: 25 times
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.


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Sun Mar 27, 2016 5:19 pm 
Offline
veteran

Joined: Fri Jan 20, 2012 5:43 pm
Posts: 124
Has thanked: 15 times
Have thanks: 30 times
this directory that does not contain the mtl files


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Tue May 03, 2016 8:17 am 
Offline
beginner

Joined: Mon Aug 10, 2015 7:03 am
Posts: 36
Has thanked: 13 times
Have thanks: 5 times
Sorry to bump, but has there been ay progress with getting animations working?


Top
 Profile  
 
 Post subject: Re: Cryengine Export tool (cgf-exporter)
PostPosted: Wed May 04, 2016 2:04 am 
Offline
advanced

Joined: Tue Dec 24, 2013 2:42 am
Posts: 74
Has thanked: 4 times
Have thanks: 25 times
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.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 65 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group