Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DISBTN linking for optimizer #371

Closed
muzzel opened this issue Jul 30, 2015 · 6 comments
Closed

DISBTN linking for optimizer #371

muzzel opened this issue Jul 30, 2015 · 6 comments

Comments

@muzzel
Copy link
Contributor

muzzel commented Jul 30, 2015

This might be a nice feature to add to the optimizer:
http://www.hiveworkshop.com/forums/lab-715/getting-rid-disbtn-some-theorycrafting-267199/

@peq
Copy link
Collaborator

peq commented Aug 1, 2015

Detecting equivalent files and merging them in the MPQ? Or automatically generating DISBTN if it is not present?

@Crigges
Copy link
Contributor

Crigges commented Aug 2, 2015

Neither i guess, DISBN buttons are in most cases useless and just cost filesize. So the idea is that the mpq editor creates a pointer to the normal button for the DISBN button. This violates a few mpq concepts i guess but it should work fine.

@muzzel
Copy link
Contributor Author

muzzel commented Aug 19, 2015

What crigges wrote.
Its a nice way to reduce filesize.

@peq
Copy link
Collaborator

peq commented Aug 19, 2015

What Crigges wrote sounds like automatically adding the DISBTN if not present, right? And because of this trick this would not increase the file size.

@Cokemonkey11
Copy link
Collaborator

Pointing DISBTN paths to BTN icons will cause all DISBTNs to look like BTNs, is that correct?

This will make your icons look silly when the menu is open. When you open an in-game menu, only DISBTNs are shown in the UI.

If you have a mix of DISBTNs and BTNs it will look like shit. If you have only BTNs it will still look silly.

Edit: I do like the idea of generating DISBTNs automatically, though.

@Frotty
Copy link
Member

Frotty commented Jan 3, 2020

The DISBTN generation could be added to wc3libs and then used in Wurst.
The original idea however doesn't really make sense, as discussed.
I am closing this stale issue and opened inwc3/wc3libs#53 .

@Frotty Frotty closed this as completed Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants