MissCorruption / QuickLootIE

Attempt at porting QLEE to NG with i4 compat
MIT License
7 stars 3 forks source link

[FEATURE]: Recognize ButtonArtDD.swf and use it if required #31

Closed Wuerfelhusten closed 1 month ago

Wuerfelhusten commented 1 month ago

Feature Title

Recognize ButtonArtDD.swf and use it if required

Motivation

Pretty much all UIs that are based on Dear Diary Dark Mode use a ButtonArtDD.swf file instead of a Buttonart.swf file. If, like me, you are about to create an Untarnished UI patch, you will immediately notice that the buttonarts from Untarnished UI have not been adopted. The whole thing can be workarounded by packing a duplicate of the DDDM version of the buttonart renamed to "Buttonart.swf".

Feature Description

It would be very neat for different reskins if the interface used either the Buttonart.swf, as before, or the ButonartDD.swf, if it exists

Additional Context

No response

AtomCrafty commented 1 month ago

I don't think the official skin needs to be changed for that. The reskinned swf just needs to specify a different ButtonArt import path. I've created a DDDM reskin for testing purposes and that worked without issues.

image

AtomCrafty commented 1 month ago

I'm planning to create a more in-depth reskinning guide at some point, but the swf is still subject to change, so I'd hold off on reskins until that is finalized :)

MissCorruption commented 1 month ago

In JPEX you'd find the import URL here: image Adjusting that to ButtonArtDD.swf should work fine

Wuerfelhusten commented 1 month ago

Well, nevermind, something was not working in my program. I was searching for those ImportAssets but did not find them. Thanks for the help. "Others" Folder was somehow disabled on my end.