Markemp/Cryengine-Converter

Sonic Boom - Rise of Lyric Material Issue

Opened this issue · 4 comments

When exporting certain objects from maps, they wont convert when the .mtl file is in the folder, only without the .mtl file in the folder

Here's a small section of the ones that don't export with their materials.
shantytown_sonicside_ground_cliffs.cgf
shantytown_sonicside_ground_cliffs_shadow.cgf
shantytown_sonicside_ground_setdressing.cgf
shantytown_sonicside_ground_setdressing_b.cgf
hub2_beach_hub2_beachb.cgf
hub2_beach_hub2_beachc.cgf
hub2_beach_hub2_beachd.cgf
hub2_beach_hub2_beache.cgf

Sonic_Crytek\Levels\hub02_seasidevillage\objects\levels\hub02_seasidevillage

image
image

It doesn't look like you are using the -objectdir option. That is needed for when the material file in the MtlName chunk points to a location outside of the model directory. Can you give that a shot and let me know what it does?

In any event, I need to add better error handling for these cases, so will leave this open until I can sort it out.

Am I supposed to put the full link to the objects folder or just the folders up next that lead to the objects folder?
c:\games\example\objects
objects

The path to the objects folder. So for your example it would be c:\games\example.

It's still giving me the error.