MetalStormGhost 6204dd4e72
F9F Panther mod support (version v2.8.7.101) (#226)
* Added F9F Panther mod support (version v2.8.7.101). Still missing loadouts and icon+banner.

* Added missing import in pydcs_extensions/__init__.py

* Added a banner and icon for the F9F Panther, credit for the banner to Jim over at the Century Series Discord. VSN Century Series logo used with permission. Also added loadouts for the F9F Panther and fixed the mod settings for it.
2024-03-16 15:47:04 +01:00
..

In this folder are icons for the different units in DCS / DCS Retribution.

How were these retrieved :

  • I took screenshoot of the units from the encyclopedia in DCS. If you want to add more pictures, please do the same, so that the units have the same background.
  • Then resized all the image so that have static size. Aspect ratio is not perfect, but it's hard to notice on such small image.

import os
from PIL import Image

for img_name in os.listdir("."):
	if os.path.isfile(img_name) and img_name.endswith(".png"):
		print(img_name)
		img = Image.open(img_name)
		img = img.resize((64,24), Image.ANTIALIAS)
		img.save('./out/' + img_name[:-4] + "_24.jpg")

You need PIL to run the script :

pip install PIL

If you want access to get my high res screenshoot, i still have them, but to reduce size and ram usage, i believe it's better to use super small jpg icons instead.

@Khopa