szcz13 ffaf905bf6
MiG-31BM by szcz mod support (#496)
* Add files via upload

* Add files via upload

* Update start_generator.py

* Update faction.py

* Update QNewGameWizard.py

* Update QGeneratorSettings.py

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update MiG-31BM.lua

* Added SEAD Escort to MiG-31BM.yaml

* mig31bm.py fixed weapon injection

* Update mig31bm.py

formatted black

* Update faction.py

reformatted black

* Update start_generator.py

reformatted black

* Update __init__.py

* Update QGeneratorSettings.py

reformatted black

* added support for MiG-31BM mod

* Commit changes which can't seem to be discarded...

* Remove (presumably) accidentally copied file

* Remove unused imports

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2025-04-05 20:19:22 +00: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