About Store Forum Documentation Contact



Post Reply 
Best way to recover source from EE project?
Author Message
RedcrowProd Offline
Bronze Supporter

Post: #1
Best way to recover source from EE project?
Hi,

we need to recover the source from an EE project. mostly the obj.

not sure if there is any trick that i might not be aware of regarding the "export" function in the editor.

if there anyway to do that fast, and if possible with the least amount of information lost ?
(bones / skin / texture / scale )

thanks
09-30-2021 05:55 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Best way to recover source from EE project?
Why export? What you want to use it for? What's the goal?
Export to OBJ 3d format works but that doesn't support bones/skinning.
09-30-2021 07:17 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #3
RE: Best way to recover source from EE project?
Goal is to bring the 3d object back from EE to be able to edit in a 3d software
09-30-2021 10:07 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Best way to recover source from EE project?
There's only support for export to OBJ file format but it doesn't support bones/skinning.
To preserve bones information you'd need export to FBX but that's not supported.
Alternatively you can perform basic editing in esenthel - mesh editor, bone editor, skin editor.
Try reaching out to developer of the asset maybe they still have the source fbx file.
10-01-2021 02:26 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #5
RE: Best way to recover source from EE project?
what about the texture ?

is there anyway to get the texture out of the EE material ?
10-03-2021 06:34 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Best way to recover source from EE project?
no, sorry
10-03-2021 06:43 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #7
RE: Best way to recover source from EE project?
(10-03-2021 06:43 PM)Esenthel Wrote:  no, sorry

if you have the material and the material has a texture, material does allow you to access material->base_0.exportFormat?
10-05-2021 08:05 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #8
RE: Best way to recover source from EE project?
Yes but that's after packing channels and with texture compression loss. It's not the same as original
10-05-2021 10:08 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #9
RE: Best way to recover source from EE project?
i did try to do that, using export() but the output came out as false for some reason.

i will try again tonightsmile
(This post was last modified: 10-05-2021 03:35 PM by RedcrowProd.)
10-05-2021 03:35 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #10
RE: Best way to recover source from EE project?
(10-05-2021 10:08 AM)Esenthel Wrote:  Yes but that's after packing channels and with texture compression loss. It's not the same as original

In some cases like Redcrow mentions sometimes getting something instead of nothing is better if they are unable to get their hands on the original assets again.smile

RedCrow, if I remember correctly if export fails you need to do another Image and use createsoft/create an image with IMAGE_SOFT type, then copy the texture that you want to the new image.

Edit: or it had something to do with lock/unlock, been a while since I used these functions.
(This post was last modified: 10-06-2021 12:11 AM by Zervox.)
10-06-2021 12:02 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #11
RE: Best way to recover source from EE project?
export should work even without IMAGE_SOFT or locking, if it fails, then most likely the output save path is invalid.
But thanks for trying to help Zervox smile

You can also look at:
ExtractBaseTextures
MtrlImages.fromMaterial
functions in the Editor source code, that does offer ability to extract base textures, but they're after lossy texture compression.
10-06-2021 05:06 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #12
RE: Best way to recover source from EE project?
yes the path was incorrect, i got it working ! thanks !
(This post was last modified: 10-07-2021 04:18 AM by RedcrowProd.)
10-07-2021 04:18 AM
Find all posts by this user Quote this message in a reply
Post Reply