Jump to content

[Tool] Create description.lua from EDM files


uboats

Recommended Posts

Hi All,

 

Thanks for your concern.

Unfortunately, I'm fully captured by jf-17 development and have no time working on this tool. Since latest edm has its format updated, my tool no longer works for edm created by latest edm tool (version newer than Jan 2018 i guess).

I will contact nickD, and see whether he would like to help, or i will make this tool open source, and anyone who is interested can continue.

 

Thanks

I noticed this. I used to he able to view .edm files like the P-51 in a particular program, ONLY so I could view which textures paired to what surface or object, for sake of knowing what to use in a description.lua.

However, after the WWII update, not only can I no longer open .edm files, the normal maps seem to be very different. Upon opening one of the Mustang's normals into DXTBmp, it acts like it imported something, but nothing is visible in the viewing space. And the old blue normals no longer work (get missing texture, even though it isn't missing, just old).


Edited by Magic Zach

Hardware: T-16000M Pack, Saitek 3 Throttle Quadrant, Homemade 32-function Leo Bodnar Button Box, MFG Crosswind Pedals Oculus Rift S

System Specs: MSI MPG X570 GAMING PLUS, GTX 1070 SC2, AMD RX3700, 32GB DDR4-3200, Samsung 860 EVO, Samsung 970 EVO 250GB

Modules: Ka-50, Mi-8MTV2, FC3, F/A-18C, F-14B, F-5E, P-51D, Spitfire Mk LF Mk. IXc, Bf-109K-4, Fw-190A-8

Maps: Normandy, Nevada

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

I've made this project open sourced

anyone interested in contribution can contact me and i will add him/her to the github project

 

https://github.com/uboats/edm_livery_extractor

 

 

note: currently tool only supports edm version 10, and cannot analyze latest edm files


Edited by uboats

[sIGPIC][/sIGPIC]

My DCS Mods, Skins, Utilities and Scripts

 

| Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD |

| TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn |

Link to comment
Share on other sites

  • 4 weeks later...

Current extractor software can't do that. It crashes!

That's why I'm crying...

 

Extractor isn't updated, ED isn't doing anything...

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Current extractor software can't do that. It crashes!

That's why I'm crying...

 

Extractor isn't updated, ED isn't doing anything...

 

 

 

:thumbup::thumbup:

Regards

 

DL available skins here:

https://www.digitalcombatsimulator.com/en/files/?CREATED_BY=Strut

 

 

Pictures of my Skins here: https://imgur.com/a/bOQyQqW

 

[sIGPIC][/sIGPIC]

Win10 64bit, Intel® Core i7-5820K CPU OC @ 4.50GHz x6, X99A GAMING PRO CARBON, MSI RTX 2080 TI GAMING X TRIO 11Gb, 32GB DDR4 RAM, SSD 960 EVO250GB, SSD 850 EVO 500GB, JetSeat, MFG Crosswind Pedals, VPC Mongoose T-50, TMWH, DSD ButtonBox, Pimax 5k XR/BE

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Can NickD help with this again? Not having all my description.lua options blows.

Hardware: T-16000M Pack, Saitek 3 Throttle Quadrant, Homemade 32-function Leo Bodnar Button Box, MFG Crosswind Pedals Oculus Rift S

System Specs: MSI MPG X570 GAMING PLUS, GTX 1070 SC2, AMD RX3700, 32GB DDR4-3200, Samsung 860 EVO, Samsung 970 EVO 250GB

Modules: Ka-50, Mi-8MTV2, FC3, F/A-18C, F-14B, F-5E, P-51D, Spitfire Mk LF Mk. IXc, Bf-109K-4, Fw-190A-8

Maps: Normandy, Nevada

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

any plans to update the tool to work with the new EDM? I would offer my services, but i am borderline useless with coding.

[sIGPIC][/sIGPIC]

 

104th Phoenix Official Texture pack:

http://community.104thphoenix.com/topic/1221-104th-official-texture-pack/

Un-Official Roughmet Texture Pack:

https://www.digitalcombatsimulator.com/en/files/3303667/

Livery Creation Discord Group Invite-

https://discord.gg/bqAq2zx

Link to comment
Share on other sites

Cockpit_Su-25T.EDM Full material list and texture LUA file.... Anybody !!! :helpsmilie:

 

I can not find the correct material name for:

 

{"su25-tex09???", 0, "su25t-cpt-tex-09", false};

{"su25-tex10???", 0, "su25t-cpt-tex-10", false};

{"su25-tex11???", 0, "su25t-cpt-tex-11", false};

{"su25-tex12???", 0, "su25t-cpt-tex-12", false};

 

Thanks!!!


Edited by Grajo
Link to comment
Share on other sites

Hi Grajo.

 

These lines must be working.

 

livery = 
{
   --{"su25-k36", 0, "su25t-cpt-k36", true};
   --{"su25-mirror", 0, "su25-germetic", true};
   --{"su25-tex01", 0, "su25t-cpt-tex-01", true};
   --{"su25-tex02", 0, "su25t-cpt-tex-02", true};
   --{"su25-tex03", 0, "su25t-cpt-tex-03", true};
   --{"su25-tex04-NO-illum", 0, "su25t-cpt-tex-04", true};
   --{"su25-tex04-illum", 0, "su25t-cpt-tex-04", true};
   --{"su25-tex05", 0, "su25t-cpt-tex-05", true};
   --{"su25-tex06", 0, "su25t-cpt-tex-06", true};
   --{"su25-tex07", 0, "su25t-cpt-tex-07", true};
   --{"su25-tex08", 0, "su25t-cpt-tex-08", true};
   --{"su25-tex09", 0, "su25t-cpt-tex-09", true};
   --{"su25-tex10", 0, "su25t-cpt-tex-10", true};
   --{"su25-tex11", 0, "su25t-cpt-tex-11", true};
   --{"su25-tex12", 0, "su25t-cpt-tex-12", true};
   --{"su25T_cpt_dev_glass", 0, "su25t-cpt-hud-glass", true};
   --{"su25T_cpt_misc_glass", 0, "su25t-cpt-cnpglass", true};
   --{"su25_cpt_panel05", 0, "su25t-cpt-hud", true};
   --{"su27_cpt_devices02", 0, "su25t-cpt-parts-02", true};
   --{"su27_cpt_glass_blend", 0, "su27_cpt_glass", true};
   --{"su27_cpt_lamps", 0, "su27_cpt_lamps", true};
}

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Hi Devrim!

 

I think I tried with those, as it was logic to go in that sequence after checking the lua for your "Complete English Cockpit" Mod, but seems not working for textures/materials from 9 to 12.

 

Just trying to make a very simple mod for the cockpit with an slightly more blue tone similar to the one in the Su-33. I can not replace any of the panel textures where the gauges or buttons are attached, I think they are these 9,10,11,12. Just can replace those for the canopy frame and ruder pedal area.

 

Will give it another try.

 

Thanks for that .lua file!:thumbup:

 

*Any updates on UBOATS tool? We do really need those .luas :].

Link to comment
Share on other sites

*Any updates on UBOATS tool? We do really need those .luas :].
I agree with you but, no luck. Sorry... :\

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Hey uboats! No problem at all. I mean, a lot of the modding in liveries and materials/textures that has happened so far in DCS it has been in a part thanks to you.

 

I would really wish there was a way to get those luas some how for the "regular" non programmer folk.

 

Here, Automan is speaking about the possibility of digging that info using and HEX editor... although after giving it a try I found myself like if I was trying to read the code of matrix....

Looks like is the way he got that lua file for the Spitfire.

 

https://forums.eagle.ru/showthread.php?t=234241

 

Thanks a lot for making your current code open source and for all the hard work so far. Hope somebody can take it from here on, maybe ED in their next update of the Model Viewer? :music_whistling:

 

Best


Edited by Grajo
Link to comment
Share on other sites

Hey uboats! No problem at all. I mean, a lot of the modding in liveries and materials/textures that has happened so far in DCS it has been in a part thanks to you.

 

I would really wish there was a way to get those luas some how for the "regular" non programmer folk.

 

Here, Automan is speaking about the possibility of digging that info using and HEX editor... although after giving it a try I found myself like if I was trying to read the code of matrix....

Looks like is the way he got that lua file for the Spitfire.

 

https://forums.eagle.ru/showthread.php?t=234241

 

Thanks a lot for making your current code open source and for all the hard work so far. Hope somebody can take it from here on, maybe ED in their next update of the Model Viewer? :music_whistling:

 

Best

 

Thanks!

 

For edm v8, all texture materials are like plaintext that quite easy to read even in hex editor.

But since v10, it becomes more complicated, NickD helped me for v10 format. Although current edm format seems to be still v10, there's already some changes.

[sIGPIC][/sIGPIC]

My DCS Mods, Skins, Utilities and Scripts

 

| Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD |

| TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn |

Link to comment
Share on other sites

  • 1 month later...

Hi guys,

 

Thanks for all your support since day one.

Now ED's modelviewer2 officially support the export of description.lua for loaded edm files.

I decide to shutdown this project.

Enjoy modelviewer2 and making liveries!

 

Regards,

uboats

[sIGPIC][/sIGPIC]

My DCS Mods, Skins, Utilities and Scripts

 

| Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD |

| TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn |

Link to comment
Share on other sites

Hi guys,

 

Thanks for all your support since day one.

Now ED's modelviewer2 officially support the export of description.lua for loaded edm files.

I decide to shutdown this project.

Enjoy modelviewer2 and making liveries!

 

Regards,

uboats

How is this done? Help, I'm stupid!

Hardware: T-16000M Pack, Saitek 3 Throttle Quadrant, Homemade 32-function Leo Bodnar Button Box, MFG Crosswind Pedals Oculus Rift S

System Specs: MSI MPG X570 GAMING PLUS, GTX 1070 SC2, AMD RX3700, 32GB DDR4-3200, Samsung 860 EVO, Samsung 970 EVO 250GB

Modules: Ka-50, Mi-8MTV2, FC3, F/A-18C, F-14B, F-5E, P-51D, Spitfire Mk LF Mk. IXc, Bf-109K-4, Fw-190A-8

Maps: Normandy, Nevada

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

How is this done? Help, I'm stupid!

 

 

 

Download the latest mv2 from ED’s ftp

 

 

Sent from my iPhone using Tapatalk

[sIGPIC][/sIGPIC]

My DCS Mods, Skins, Utilities and Scripts

 

| Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD |

| TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn |

Link to comment
Share on other sites

Thank you a lot Uboats!

 

How is this done? Help, I'm stupid!

ftp://srv0files.eagle.ru/mods/model_viewer2/edModelViewer2-150065.exe

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Link is broken

 

Was this added in an update on Wednesday, or is this a seperate download? ModelViewer2 is in the DCS install by default, so I'm assuming it would just be an update? I can't get to my computer for another week.

 

Anyways, this is great news for us DCS community artists!

Hardware: T-16000M Pack, Saitek 3 Throttle Quadrant, Homemade 32-function Leo Bodnar Button Box, MFG Crosswind Pedals Oculus Rift S

System Specs: MSI MPG X570 GAMING PLUS, GTX 1070 SC2, AMD RX3700, 32GB DDR4-3200, Samsung 860 EVO, Samsung 970 EVO 250GB

Modules: Ka-50, Mi-8MTV2, FC3, F/A-18C, F-14B, F-5E, P-51D, Spitfire Mk LF Mk. IXc, Bf-109K-4, Fw-190A-8

Maps: Normandy, Nevada

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Thanks Uboats for all your "apps" and works, its great ED has finally done this.

Regards

 

DL available skins here:

https://www.digitalcombatsimulator.com/en/files/?CREATED_BY=Strut

 

 

Pictures of my Skins here: https://imgur.com/a/bOQyQqW

 

[sIGPIC][/sIGPIC]

Win10 64bit, Intel® Core i7-5820K CPU OC @ 4.50GHz x6, X99A GAMING PRO CARBON, MSI RTX 2080 TI GAMING X TRIO 11Gb, 32GB DDR4 RAM, SSD 960 EVO250GB, SSD 850 EVO 500GB, JetSeat, MFG Crosswind Pedals, VPC Mongoose T-50, TMWH, DSD ButtonBox, Pimax 5k XR/BE

 

 

Link to comment
Share on other sites

Link is broken

 

Was this added in an update on Wednesday, or is this a seperate download? ModelViewer2 is in the DCS install by default, so I'm assuming it would just be an update? I can't get to my computer for another week.

 

Anyways, this is great news for us DCS community artists!

 

Weird. Checked the link. Working.

 

ftp://srv0files.eagle.ru/mods/model_viewer2/

 

Check this link. Download the newest app.

 

***

 

By the way; I tried this one and DCS's one. Couldn't find "how to" create or extract the lua. No new option, menu, shortcut or icon for this!

 

Uboat, at least, could you provide a screenshot about the function to do that?

Thank you.

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Devrim / all - You Generate a Model Livery File by loading the .edm of the model you want into the MV2, activate the icon in the toolbar or hit Ctrl + Shift + Alt + G and save it to where ever you want. Open with ++ as usual.


Edited by Strut

Regards

 

DL available skins here:

https://www.digitalcombatsimulator.com/en/files/?CREATED_BY=Strut

 

 

Pictures of my Skins here: https://imgur.com/a/bOQyQqW

 

[sIGPIC][/sIGPIC]

Win10 64bit, Intel® Core i7-5820K CPU OC @ 4.50GHz x6, X99A GAMING PRO CARBON, MSI RTX 2080 TI GAMING X TRIO 11Gb, 32GB DDR4 RAM, SSD 960 EVO250GB, SSD 850 EVO 500GB, JetSeat, MFG Crosswind Pedals, VPC Mongoose T-50, TMWH, DSD ButtonBox, Pimax 5k XR/BE

 

 

Link to comment
Share on other sites

Weird. Checked the link. Working.

 

 

 

ftp://srv0files.eagle.ru/mods/model_viewer2/

 

 

 

Check this link. Download the newest app.

 

 

 

***

 

 

 

By the way; I tried this one and DCS's one. Couldn't find "how to" create or extract the lua. No new option, menu, shortcut or icon for this!

 

 

 

Uboat, at least, could you provide a screenshot about the function to do that?

 

Thank you.

Aha! I pulled up my old laptop, and the link worked. It must not be compatible for mobile devices. Said it couldn't get the IP.

 

Downloading the latest one now. Thanks, Devrim! I'm assuming this will mean I can work on my livery away from my gaming PC with DCS on it. It'll speed up my workflow a lot.

 

By the way, feel free to join a Discord group for livery creators, specifically. Great place to share screenshots, info, and generally help each other out. Link to Discord group: https://discord.gg/Ryt6A3


Edited by Magic Zach

Hardware: T-16000M Pack, Saitek 3 Throttle Quadrant, Homemade 32-function Leo Bodnar Button Box, MFG Crosswind Pedals Oculus Rift S

System Specs: MSI MPG X570 GAMING PLUS, GTX 1070 SC2, AMD RX3700, 32GB DDR4-3200, Samsung 860 EVO, Samsung 970 EVO 250GB

Modules: Ka-50, Mi-8MTV2, FC3, F/A-18C, F-14B, F-5E, P-51D, Spitfire Mk LF Mk. IXc, Bf-109K-4, Fw-190A-8

Maps: Normandy, Nevada

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...