Jump to content

DCS Livery Manager


Sneep

Recommended Posts

On 6/5/2022 at 3:23 AM, Spankermatic said:

Hey Sneep

Great tool - do you have an example format for the json file for units?  Tried guessing the format but no dice 🙂

thanks

Thanks! And you are able to export any of the default unit configurations to a .json file through DCSLM with the units [unit] -e command. This will write out the config to a .json file that you can then rename and edit for a custom unit.

image.png

  • Thanks 1
Link to comment
Share on other sites

  • 1 month later...
On 7/15/2022 at 4:57 AM, Fulgrim said:

Hi @Sneep, I'm trying to use this with Open Mod Manager but every time I double click on it it closes directly.

I have placed the .exe on my /OMM/Saved Games/Library folder.

Thanks.

Hmm, the exe should be able to run in any directory, and it closing immediately tells me it's unable to run in the first place.

Can you try running it through a command prompt? This might display some errors that disappear right away when you run it outside the command prompt.

Link to comment
Share on other sites

A new update has been released with bugs fixed, formatting improvements, and clearer error messaging on missing files during optimization.

v1.1.3 (7/18/2022):

  • Added colors to units command to differentiate between official and unofficial modules
  • Added reminder message to check for updates to liveries
  • Added message of the day with info on registered liveries
  • Added output of removed files during optimization
  • Added progress numbering to install, uninstall, and optimization
  • Removed forced width on console window
  • Fixed extremely long livery names breaking livery list table
  • Fixed error when listing liveries for units that no longer have a config
  • Fixed break in uninstall preventing uninstallation of multiple liveries
  • Improved error messaging when trying to hash missing file during optimization
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

Excellent! Thank you so much for this! 

Hopefully, the Mirage F1 will be supported when it receives it's own space in the user files.

I ran into another issue though. I tried to type in "none" when it couldn't find it, but that didn't seem to work.

Cheers!

 

null

image.png

 

EDIT: Forgot about "LCtrl + C", that solved it.


Edited by MAXsenna
Link to comment
Share on other sites

  • 3 weeks later...
On 8/8/2022 at 1:12 PM, MAXsenna said:

Excellent! Thank you so much for this! 

Hopefully, the Mirage F1 will be supported when it receives it's own space in the user files.

I ran into another issue though. I tried to type in "none" when it couldn't find it, but that didn't seem to work.

Cheers!

 

null

image.png

 

EDIT: Forgot about "LCtrl + C", that solved it.

 

Yup, just waiting for the F1 to be added to the User Files unit list then it'll be ready.

And thanks for the bug report! I have that fixed for the next version. I may release it soon and include the F1 under the "Other" category it's in in the user files site if I get enough changes to do so.

  • Thanks 1
Link to comment
Share on other sites

10 minutes ago, Sneep said:

Yup, just waiting for the F1 to be added to the User Files unit list then it'll be ready.

And thanks for the bug report! I have that fixed for the next version. I may release it soon and include the F1 under the "Other" category it's in in the user files site if I get enough changes to do so.

Excellent! 👍🏻 

Hopefully ED will add it to the User Files soon. 😊 🤞🏻

Link to comment
Share on other sites

  • 3 months later...
On 12/1/2022 at 4:58 AM, Feller-Buncher said:

What does optimization do? It says "It will attempt to find shared files and will edit the description.lua to correct the filepaths for the different parts." but I don't see any changes being made to the lua file. Just that .png files are deleted.

It is supposed to read the description.lua file and find the files referenced within it and then remove the files in the livery's folder that aren't used. I made it with the assumption it would always used .dds files, but I learned later DCS works with a couple other file types. I may have not have fixed it entirely for .png's. Do you have a link to the livery you're trying to optimize?

Link to comment
Share on other sites

  • 3 months later...

Hi, I'm trying to install a livery but get the following error:

DCSLM> install https://www.digitalcombatsimulator.com/en/files/3313697/
Attempting to install 1 livery.
[1/1] Getting DCS User File information from https://www.digitalcombatsimulator.com/en/files/3313697/

╭─────────────────────────────────── F-16C Viper - 80th Fighter Squadron Wolf Pack ────────────────────────────────────╮
│                ID: 3313697 | Author: lee1hy | Upload Date: 12/06/2020 06:25:23 | Archive Size: 205.54 Mb             │
│ https://www.digitalcombatsimulator.comhttps://files.digitalcombatsimulator.com/userfiles/a45/80th_Fighter_Squadron_W │
│ olf_Pack.7z                                                                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

[1/1] Downloading livery archive file https://www.digitalcombatsimulator.comhttps://files.digitalcombatsimulator.com/use
rfiles/a45/80th_Fighter_Squadron_Wolf_Pack.7z
HTTPSConnectionPool(host='www.digitalcombatsimulator.comhttps', port=443): Max retries exceeded with url:
//files.digitalcombatsimulator.com/userfiles/a45/80th_Fighter_Squadron_Wolf_Pack.7z (Caused by
NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000021188EBA220>: Failed to establish a new
connection: [Errno 11001] getaddrinfo failed'))

Failed Livery Installs:
https://www.digitalcombatsimulator.com/en/files/3313697/:
HTTPSConnectionPool(host='www.digitalcombatsimulator.comhttps', port=443): Max retries exceeded with url:
//files.digitalcombatsimulator.com/userfiles/a45/80th_Fighter_Squadron_Wolf_Pack.7z (Caused by
NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000021188EBA220>: Failed to establish a new
connection: [Errno 11001] getaddrinfo failed'))

I already made an exception for DCSLM in my firewall, so that can't be it, I think. Any ideas what I could be doing wrong?

Seems like a problem already at the identification stage: it pastes 'https://digitalcombatsimulator.com' in front of the URL, so it is doubled.


Edited by Sandman24
Link to comment
Share on other sites

  • 5 weeks later...
On 3/12/2023 at 11:42 AM, Sandman24 said:

Hi, I'm trying to install a livery but get the following error:

DCSLM> install https://www.digitalcombatsimulator.com/en/files/3313697/
Attempting to install 1 livery.
[1/1] Getting DCS User File information from https://www.digitalcombatsimulator.com/en/files/3313697/

╭─────────────────────────────────── F-16C Viper - 80th Fighter Squadron Wolf Pack ────────────────────────────────────╮
│                ID: 3313697 | Author: lee1hy | Upload Date: 12/06/2020 06:25:23 | Archive Size: 205.54 Mb             │
│ https://www.digitalcombatsimulator.comhttps://files.digitalcombatsimulator.com/userfiles/a45/80th_Fighter_Squadron_W │
│ olf_Pack.7z                                                                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

[1/1] Downloading livery archive file https://www.digitalcombatsimulator.comhttps://files.digitalcombatsimulator.com/use
rfiles/a45/80th_Fighter_Squadron_Wolf_Pack.7z
HTTPSConnectionPool(host='www.digitalcombatsimulator.comhttps', port=443): Max retries exceeded with url:
//files.digitalcombatsimulator.com/userfiles/a45/80th_Fighter_Squadron_Wolf_Pack.7z (Caused by
NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000021188EBA220>: Failed to establish a new
connection: [Errno 11001] getaddrinfo failed'))

Failed Livery Installs:
https://www.digitalcombatsimulator.com/en/files/3313697/:
HTTPSConnectionPool(host='www.digitalcombatsimulator.comhttps', port=443): Max retries exceeded with url:
//files.digitalcombatsimulator.com/userfiles/a45/80th_Fighter_Squadron_Wolf_Pack.7z (Caused by
NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000021188EBA220>: Failed to establish a new
connection: [Errno 11001] getaddrinfo failed'))

I already made an exception for DCSLM in my firewall, so that can't be it, I think. Any ideas what I could be doing wrong?

Seems like a problem already at the identification stage: it pastes 'https://digitalcombatsimulator.com' in front of the URL, so it is doubled.

 

Thanks for reporting this issue, and my apologies for not getting to it quickly! I have released a hotfix to fix this issue, as well as another issue with the upgrade command that will unfortunately prevent users on previous version from being able to automatically upgrade and will have to download the latest version from https://github.com/pearcebergh/DCSLiveryManager/releases/.

Release notes -

v1.1.4 (4/10/2023):

  • Fixed install error with incorrect DCS User Files download url
  • Fixed upgrade unable to download new exe
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

This might be a problem on my side, but I can't install liveries through DCSLM anymore. It downloads the livery packed in a .rar archive and then tries to unpack it with 7z (from Lua 5.1 directory, I guess it's before 7zip's own in PATH) which returns "non-zero exit status 2" - after which DCSLM removes the archive and spits out a failed livery install error. :<

 

I've got 14 GB of free space on C, the livery can be installed just fine by hand. Maybe switching PATH around to use 7zip's original 7z.exe would be something to try?

  • Windows 11 Pro, RTX4090 (24GB), 5950X @ 4.3GHz, 64GB RAM @ 3000MHz, M.2 SSD 8TB, Pimax Crystal
  • Modules and maps: All of 'em. (It's a problem...)
Link to comment
Share on other sites

  • 1 month later...

Broke my head for a bit for adding F-15E support into the app because there is no template in GitLab
Copy and paste the f-15e.json into "%UserProfile%\Saved Games\DCS.openbeta\DCSLM\units\air"

Explanation of the fields in this 'json':
'friendly' - alias for a profile, shows in app.
'names' - tags of livery, you can get them in "Tags:"  of your livery. For example, open the link "https://www.digitalcombatsimulator.com/en/files/3331598/", it has the following tags: F15E, DCS, Strike eagle, RAZBAM, F-15E, F15E strike eagle, F-15E Strike eagle, F-15, F15. Do not put every tag into the config, use most generic ones!
'liveries' - folder for liveries to save into. Example: "%UserProfile%\Saved Games\DCS.openbeta\Liveries\F-15ESE", where 'F-15ESE' is the name of folder. Folder name may be different from the name of the module!
'dcs_files' - name of the module. "Example: C:\Games\DCS World OpenBeta\Mods\aircraft\F-15E", where 'F-15E' is the name of the module.


Edited by sovietotaku
  • Like 1
Link to comment
Share on other sites

16 hours ago, sovietotaku said:

Broke my head for a bit for adding F-15E support into the app because there is no template in GitLab
Copy and paste the f-15e.json into "%UserProfile%\Saved Games\DCS.openbeta\DCSLM\units\air"

Explanation of the fields in this 'json':
'friendly' - alias for a profile, shows in app.
'names' - tags of livery, you can get them in "Tags:"  of your livery. For example, open the link "https://www.digitalcombatsimulator.com/en/files/3331598/", it has the following tags: F15E, DCS, Strike eagle, RAZBAM, F-15E, F15E strike eagle, F-15E Strike eagle, F-15, F15. Do not put every tag into the config, use most generic ones!
'liveries' - folder for liveries to save into. Example: "%UserProfile%\Saved Games\DCS.openbeta\Liveries\F-15ESE", where 'F-15ESE' is the name of folder. Folder name may be different from the name of the module!
'dcs_files' - name of the module. "Example: C:\Games\DCS World OpenBeta\Mods\aircraft\F-15E", where 'F-15E' is the name of the module.

 

Thanks fixed my issue.

Link to comment
Share on other sites

  • 4 months later...

Hi all, thank you for you patience in waiting for an update. This one was a big one, refactoring lots of internal functions, to allow for even easier installation of liveries. You can now install directly from downloaded archive files, and DCSLM will attempt to automatically recognize what unit the livery is for based on the description.lua. All units have had their parts field filled out to make this possible. I've also updated the unit defaults to include all the new modules, and fixed many bugs in the process. Let me know if anything no longer works!


v1.2.0 (11/16/2023):

  • Added installing directly from an archive file
  • Added automatic unit detection from livery description.lua based on livery parts
  • Added unit detection when the livery folder is already within a unit's folder
  • Added installing to multiple units from one pack
  • Added additional DCSLM upgrade method using DCS User Files
  • Added F-15E, Black Shark 3 (Ka-50_3), Mirage F1BE to units
  • Fixed FA-18C DCS User Files name
  • Updated J-11A unit default parts
Link to comment
Share on other sites

  • 2 months later...

I'm new to DCS and am still finding my way a bit. I'm loving this software for getting liveries into the open beta version I'm playing with. One mod i'm very keen to fly is the Eurofighter Typhoon. How should you add a none "DCS" plane/mod into the list of air unit options?

I'm seeing this when i run the install command.

Unit selection for livery 'Eurofighter Typhoon'
Unable to find matching unit from tags: EF, AF, 75th anniversary

Thanks for any advice on this, it's appreciated.Screenshot 2024-01-28 162053.png

 


Edited by Lber657
Link to comment
Share on other sites

  • Recently Browsing   0 members

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