Markemp / Cryengine-Converter

A c# program to convert Crytek files to Collada (XML) format
https://www.heffaypresents.com/GitHub/
GNU General Public License v2.0
218 stars 54 forks source link

3.23 Landing gear export is broken #185

Open N4me1es5 opened 2 months ago

N4me1es5 commented 2 months ago

Describe the bug Since the Star Citizen Alpha 3.23 release the exporting of the ship using CGF Converter 1.6 is not working anymore. In 3.22.1 it still works

** Sample Model with the issue

Additional context Starfab 0.4.9 was used to export

Baconator650 commented 2 months ago

Same issue with, attempted with Crusader C1 and Drake Corsair.

N4me1es5 commented 2 months ago

After further testing it seems that Medguns and FPS weapons (all SKIN files) are broken

Stormy151 commented 2 months ago

Can confirm extract of FPS weapons and gadgets SKIN files are broken for Star Citizen 3.23. The medgun, for example- on extraction there are a bunch of errors for the SKIN files, and what you are left with to import appears to be a locator, a bunch of bones (armature) and a piece of geo that I believe is the piece the animated display/ammo count graphic is mapped to. Not sure if any of this is helpful- I'm not a programmer.

2024-05-23 06_43_38-Blender

2024-05-21 22_18_15-Window

Markemp commented 2 months ago

I'm guessing Ivo changed the format of the #ivo files again. I'll download the 3.23 code after I get back from my trip this weekend and take a look. Last time he just changed the chunk ids so hopefully it's a simple fix like that this time too.

Baconator650 commented 2 months ago

I imagine the are cleaning up and redoing a lot of ids for server meshing.

UsernameUnknowns commented 1 month ago

is there any news about a fix yet for this bug?

Markemp commented 1 month ago

I'll be taking a look at it this weekend.

Markemp commented 1 month ago

Rant: Learn to version your chunks, CIG.

edit: I can get this fixed to work with 3.23, but probably not older versions. Hopefully this will be ok.

NeyMR commented 1 month ago

issue is still active experiencing the same bug

RSI_Constellation_Andromeda_Unmanned_NineTails: ERROR: model conversion failed for F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data\Objects\Spaceships\Ships\KRIG\P52_Merlin\landing_gear\KRIG_Merlin_Landing_Gear_Rear_Left_SKIN.skin: 
Using up to 16 threads
Skipping texture output
Skipping nodes starting with any of these names: $physics_proxy
Skipping meshes using materials named: proxy, nocollision_faces
Source [Filesystem]: F:\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data
No corresponding input file exist: -prefixmatnames
Found input: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\krig\p52_merlin\landing_gear\krig_merlin_landing_gear_rear_left_skin.skin
[INF:Program] [1/1 0.00%] F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\krig\p52_merlin\landing_gear\krig_merlin_landing_gear_rear_left_skin.skin
[INF:krig_merlin_landing_gear_rear_left_skin.skin] Found following potential material files.  If you are not specifying a material file and the materials don't look right, trying one of the following files:
[INF:krig_merlin_landing_gear_rear_left_skin.skin]    Objects/spaceships/ships/krig/p52_merlin/p52_Merlin
[ERR:Program] Failed to render: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\krig\p52_merlin\landing_gear\krig_merlin_landing_gear_rear_left_skin.skin
  AggregateException: One or more errors occurred. (One or more errors occurred. (Index was outside the bounds of the array.))
    AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
      IndexOutOfRangeException: Index was outside the bounds of the array.
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.WriteGeometries(Model model)
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.GenerateDaeObject()
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.Render()
         at CgfConverter.Program.RunRenderersAndThrowAggregateExceptionIfAny(IEnumerable`1 renderers)
[INF:Program] Finished. Rendered 0 file(s)
[ERR:Program] Failed to convert 1 file(s).

RSI_Constellation_Andromeda_Unmanned_NineTails: ERROR: model conversion failed for F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data\Objects\Spaceships\Thrusters\KRIG\KRIG_Merlin_Thrusters\rsi_merlin_main_thruster.skin: 
Using up to 16 threads
Skipping texture output
Skipping nodes starting with any of these names: $physics_proxy
Skipping meshes using materials named: proxy, nocollision_faces
Source [Filesystem]: F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data
No corresponding input file exist: -prefixmatnames
Found input: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\thrusters\krig\krig_merlin_thrusters\rsi_merlin_main_thruster.skin
[INF:Program] [1/1 0.00%] F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\thrusters\krig\krig_merlin_thrusters\rsi_merlin_main_thruster.skin
[INF:rsi_merlin_main_thruster.skin] Found following potential material files.  If you are not specifying a material file and the materials don't look right, trying one of the following files:
[INF:rsi_merlin_main_thruster.skin]    objects/spaceships/ships/krig/p52_merlin/p52_Merlin
[ERR:Program] Failed to render: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\thrusters\krig\krig_merlin_thrusters\rsi_merlin_main_thruster.skin
  AggregateException: One or more errors occurred. (One or more errors occurred. (Index was outside the bounds of the array.))
    AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
      IndexOutOfRangeException: Index was outside the bounds of the array.
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.WriteGeometries(Model model)
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.GenerateDaeObject()
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.Render()
         at CgfConverter.Program.RunRenderersAndThrowAggregateExceptionIfAny(IEnumerable`1 renderers)
[INF:Program] Finished. Rendered 0 file(s)
[ERR:Program] Failed to convert 1 file(s).

RSI_Constellation_Andromeda_Unmanned_NineTails: ERROR: model conversion failed for F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data\Objects\Spaceships\Ships\KRIG\P52_Merlin\landing_gear\KRIG_Merlin_Landing_Gear_Front_SKIN.skin: 
Using up to 16 threads
Skipping texture output
Skipping nodes starting with any of these names: $physics_proxy
Skipping meshes using materials named: proxy, nocollision_faces
Source [Filesystem]: F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data
No corresponding input file exist: -prefixmatnames
Found input: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\krig\p52_merlin\landing_gear\krig_merlin_landing_gear_front_skin.skin
[INF:Program] [1/1 0.00%] F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\krig\p52_merlin\landing_gear\krig_merlin_landing_gear_front_skin.skin
[INF:krig_merlin_landing_gear_front_skin.skin] Found following potential material files.  If you are not specifying a material file and the materials don't look right, trying one of the following files:
[INF:krig_merlin_landing_gear_front_skin.skin]    Objects/spaceships/ships/krig/p52_merlin/p52_Merlin
[ERR:Program] Failed to render: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\krig\p52_merlin\landing_gear\krig_merlin_landing_gear_front_skin.skin
  AggregateException: One or more errors occurred. (One or more errors occurred. (Index was outside the bounds of the array.))
    AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
      IndexOutOfRangeException: Index was outside the bounds of the array.
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.WriteGeometries(Model model)
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.GenerateDaeObject()
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.Render()
         at CgfConverter.Program.RunRenderersAndThrowAggregateExceptionIfAny(IEnumerable`1 renderers)
[INF:Program] Finished. Rendered 0 file(s)
[ERR:Program] Failed to convert 1 file(s).

RSI_Constellation_Andromeda_Unmanned_NineTails: ERROR: model conversion failed for F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data\Objects\Spaceships\Ships\KRIG\P52_Merlin\landing_gear\KRIG_Merlin_Landing_Gear_Rear_Right_SKIN.skin: 
Using up to 16 threads
Skipping texture output
Skipping nodes starting with any of these names: $physics_proxy
Skipping meshes using materials named: proxy, nocollision_faces
Source [Filesystem]: F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data
No corresponding input file exist: -prefixmatnames
Found input: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\krig\p52_merlin\landing_gear\krig_merlin_landing_gear_rear_right_skin.skin
[INF:Program] [1/1 0.00%] F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\krig\p52_merlin\landing_gear\krig_merlin_landing_gear_rear_right_skin.skin
[INF:krig_merlin_landing_gear_rear_right_skin.skin] Found following potential material files.  If you are not specifying a material file and the materials don't look right, trying one of the following files:
[INF:krig_merlin_landing_gear_rear_right_skin.skin]    Objects/spaceships/ships/krig/p52_merlin/p52_Merlin
[ERR:Program] Failed to render: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\krig\p52_merlin\landing_gear\krig_merlin_landing_gear_rear_right_skin.skin
  AggregateException: One or more errors occurred. (One or more errors occurred. (Index was outside the bounds of the array.))
    AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
      IndexOutOfRangeException: Index was outside the bounds of the array.
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.WriteGeometries(Model model)
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.GenerateDaeObject()
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.Render()
         at CgfConverter.Program.RunRenderersAndThrowAggregateExceptionIfAny(IEnumerable`1 renderers)
[INF:Program] Finished. Rendered 0 file(s)
[ERR:Program] Failed to convert 1 file(s).

RSI_Constellation_Andromeda_Unmanned_NineTails: ERROR: model conversion failed for F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data\Objects\Spaceships\Ships\RSI\LandingGear\Constellation\LG_Rear4_Root_Skin.skin: 
Using up to 16 threads
Skipping texture output
Skipping nodes starting with any of these names: $physics_proxy
Skipping meshes using materials named: proxy, nocollision_faces
Source [Filesystem]: F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data
No corresponding input file exist: -prefixmatnames
Found input: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear4_root_skin.skin
[INF:Program] [1/1 0.00%] F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear4_root_skin.skin
[INF:lg_rear4_root_skin.skin] Found following potential material files.  If you are not specifying a material file and the materials don't look right, trying one of the following files:
[INF:lg_rear4_root_skin.skin]    Objects/Spaceships/Ships/RSI/Constellation/Constellation_Base/rsi_constellation_interior
[ERR:Program] Failed to render: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear4_root_skin.skin
  AggregateException: One or more errors occurred. (One or more errors occurred. (Index was outside the bounds of the array.))
    AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
      IndexOutOfRangeException: Index was outside the bounds of the array.
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.WriteGeometries(Model model)
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.GenerateDaeObject()
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.Render()
         at CgfConverter.Program.RunRenderersAndThrowAggregateExceptionIfAny(IEnumerable`1 renderers)
[INF:Program] Finished. Rendered 0 file(s)
[ERR:Program] Failed to convert 1 file(s).

RSI_Constellation_Andromeda_Unmanned_NineTails: ERROR: model conversion failed for F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data\Objects\Spaceships\Ships\RSI\LandingGear\Constellation\LG_Rear3_Root_Skin.skin: 
Using up to 16 threads
Skipping texture output
Skipping nodes starting with any of these names: $physics_proxy
Skipping meshes using materials named: proxy, nocollision_faces
Source [Filesystem]: F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data
No corresponding input file exist: -prefixmatnames
Found input: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear3_root_skin.skin
[INF:Program] [1/1 0.00%] F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear3_root_skin.skin
[INF:lg_rear3_root_skin.skin] Found following potential material files.  If you are not specifying a material file and the materials don't look right, trying one of the following files:
[INF:lg_rear3_root_skin.skin]    Objects/Spaceships/Ships/RSI/Constellation/Constellation_Base/rsi_constellation_interior
[ERR:Program] Failed to render: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear3_root_skin.skin
  AggregateException: One or more errors occurred. (One or more errors occurred. (Index was outside the bounds of the array.))
    AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
      IndexOutOfRangeException: Index was outside the bounds of the array.
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.WriteGeometries(Model model)
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.GenerateDaeObject()
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.Render()
         at CgfConverter.Program.RunRenderersAndThrowAggregateExceptionIfAny(IEnumerable`1 renderers)
[INF:Program] Finished. Rendered 0 file(s)
[ERR:Program] Failed to convert 1 file(s).

RSI_Constellation_Andromeda_Unmanned_NineTails: ERROR: model conversion failed for F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data\Objects\Spaceships\Ships\RSI\LandingGear\Constellation\LG_Rear2_Root_Skin.skin: 
Using up to 16 threads
Skipping texture output
Skipping nodes starting with any of these names: $physics_proxy
Skipping meshes using materials named: proxy, nocollision_faces
Source [Filesystem]: F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data
No corresponding input file exist: -prefixmatnames
Found input: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear2_root_skin.skin
[INF:Program] [1/1 0.00%] F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear2_root_skin.skin
[INF:lg_rear2_root_skin.skin] Found following potential material files.  If you are not specifying a material file and the materials don't look right, trying one of the following files:
[INF:lg_rear2_root_skin.skin]    Objects/Spaceships/Ships/RSI/Constellation/Constellation_Base/rsi_constellation_interior
[ERR:Program] Failed to render: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear2_root_skin.skin
  AggregateException: One or more errors occurred. (One or more errors occurred. (Index was outside the bounds of the array.))
    AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
      IndexOutOfRangeException: Index was outside the bounds of the array.
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.WriteGeometries(Model model)
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.GenerateDaeObject()
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.Render()
         at CgfConverter.Program.RunRenderersAndThrowAggregateExceptionIfAny(IEnumerable`1 renderers)
[INF:Program] Finished. Rendered 0 file(s)
[ERR:Program] Failed to convert 1 file(s).

RSI_Constellation_Andromeda_Unmanned_NineTails: ERROR: model conversion failed for F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data\Objects\Spaceships\Ships\RSI\LandingGear\Constellation\LG_Rear1_Root_Skin.skin: 
Using up to 16 threads
Skipping texture output
Skipping nodes starting with any of these names: $physics_proxy
Skipping meshes using materials named: proxy, nocollision_faces
Source [Filesystem]: F:\StarFabExtract\RSI_Constellation_Andromeda\RSI_Constellation_Andromeda_Unmanned_NineTails\Data
No corresponding input file exist: -prefixmatnames
Found input: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear1_root_skin.skin
[INF:Program] [1/1 0.00%] F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear1_root_skin.skin
[INF:lg_rear1_root_skin.skin] Found following potential material files.  If you are not specifying a material file and the materials don't look right, trying one of the following files:
[INF:lg_rear1_root_skin.skin]    Objects/Spaceships/Ships/RSI/Constellation/Constellation_Base/rsi_constellation_interior
[ERR:Program] Failed to render: F:\starfabextract\rsi_constellation_andromeda\rsi_constellation_andromeda_unmanned_ninetails\data\objects\spaceships\ships\rsi\landinggear\constellation\lg_rear1_root_skin.skin
  AggregateException: One or more errors occurred. (One or more errors occurred. (Index was outside the bounds of the array.))
    AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
      IndexOutOfRangeException: Index was outside the bounds of the array.
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.WriteGeometries(Model model)
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.GenerateDaeObject()
         at CgfConverter.Renderers.Collada.ColladaModelRenderer.Render()
         at CgfConverter.Program.RunRenderersAndThrowAggregateExceptionIfAny(IEnumerable`1 renderers)
[INF:Program] Finished. Rendered 0 file(s)
[ERR:Program] Failed to convert 1 file(s).
Markemp commented 1 month ago

I just tested the 1.6.1 code against the Krig and Connie landing gears, and it looks like it was working:

image

image

I'll keep digging around to see if I'm missing something else though.

NeyMR commented 1 month ago

so it will be working in 1.6.1?

NeyMR commented 1 month ago

so it will be working in 1.6.1?

Ok was my bad on my last message, rebuilt solution and all went well no issues or errors..

NeyMR commented 1 month ago

Ok I found a small issue the wings of the Merling not showing or extracted with model

image

Markemp commented 1 month ago

It looks like the left and right wings are separate models:

KRIG_P52_Merlin_Wing_Right.cga KRIG_P52_Merlin_Wing_Left.cga

NeyMR commented 1 month ago

It looks like the left and right wings are separate models:

KRIG_P52_Merlin_Wing_Right.cga KRIG_P52_Merlin_Wing_Left.cga

How would I go into including them in export?

Markemp commented 1 month ago

I'm not really sure. I think that's a Starfab thing? I just individually extracted them and imported them separately into Blender:

image

NeyMR commented 1 month ago

I'm not really sure. I think that's a Starfab thing? I just individually extracted them and imported them separately into Blender:

image

Searched for KRIG_P52_Merlin_Wing_Right.cga KRIG_P52_Merlin_Wing_Left.cga

search result no return, can you help me find it?

Markemp commented 1 month ago

I'm not sure how Starfab works. You'll have to ask the authors of that program how to build the ship.

NeyMR commented 1 month ago

I'm not sure how Starfab works. You'll have to ask the authors of that program how to build the ship.

can you send me the wings in a blend file please?

Baconator650 commented 1 month ago

I'm not sure how Starfab works. You'll have to ask the authors of that program how to build the ship.

can you send me the wings in a blend file please?

If you need help with StarFab, I suggest you join the discord (https://gitlab.com/scmodding/scmodding) where there are individuals who can help you and video tutorials such as

https://www.youtube.com/watch?v=5unXj1Pnuis&t=8s

https://www.youtube.com/playlist?list=PLr5XU4B6R4l7foInuEgICpKm6BnuxQZyF

Also please familiarize yourself with the legal TOS with Star Citizen. In short, the sharing of asset files are not legal (such as entire ships or parts of ships), but CiG does allow the extraction of assets for personal projects without any prior agreements..

NeyMR commented 1 month ago

thank you!

I'm not sure how Starfab works. You'll have to ask the authors of that program how to build the ship.

can you send me the wings in a blend file please?

If you need help with StarFab, I suggest you join the discord (https://gitlab.com/scmodding/scmodding) where there are individuals who can help you and video tutorials such as

https://www.youtube.com/watch?v=5unXj1Pnuis&t=8s

https://www.youtube.com/playlist?list=PLr5XU4B6R4l7foInuEgICpKm6BnuxQZyF

Also please familiarize yourself with the legal TOS with Star Citizen. In short, the sharing of asset files are not legal (such as entire ships or parts of ships), but CiG does allow the extraction of assets for personal projects without any prior agreements..