herbix / hoi4modutilities

A VSCode extension that contains utilities for Heart of Iron IV mods developers
MIT License
74 stars 9 forks source link

[Feature request] Support .png to gfx files #24

Closed Sepera-okeq closed 3 years ago

Sepera-okeq commented 3 years ago

Add .png support on par with .dds and .tga (Used by HOI4)

The .png file format HOI4 can read and output, I think that it is worth adding support for viewing .png files

herbix commented 3 years ago

Really? I didn't see any doc that said that it support .png files. Let me have a try about it.

Sepera-okeq commented 3 years ago

Yes, it works. There are examples - my project works in the same way as the guys from the CW click

Sepera-okeq commented 3 years ago

How are you doing?

herbix commented 3 years ago

Hi @Sepera-okeq, I'll add png support in the next release.

herbix commented 3 years ago

image .png had been supported in 0.4.5. Could you have a try?

Sepera-okeq commented 3 years ago

does not work image

Sepera-okeq commented 3 years ago

image

if anything, I have already restarted and checked the version

herbix commented 3 years ago

It was frameAnimatedSpriteType that was not supported by the extension. I can add support for it without animation.

sepera_okeq notifications@github.com 于2021年2月21日周日 下午5:13写道:

[image: image] https://user-images.githubusercontent.com/54331959/108620584-7ab2c100-7446-11eb-9a77-ea1b40dbae81.png

if anything, I have already restarted and checked the version

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/herbix/hoi4modutilities/issues/24#issuecomment-782824745, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWICNMT6APW6C2XF7XKLBTTADFDLANCNFSM4XJUHBVQ .

-- Chaofan Yang Tel: (+86)15510769284

Sepera-okeq commented 3 years ago

Oops. If we talk about the usual SpriteType, then yes, it works.

Sepera-okeq commented 3 years ago

You can just make a separate setting for the animation. To either display just as a picture or animation :)

herbix commented 3 years ago

0.4.6 supported animated sprite type.