-
Notifications
You must be signed in to change notification settings - Fork 30
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
Comments
Detecting equivalent files and merging them in the MPQ? Or automatically generating DISBTN if it is not present? |
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. |
What crigges wrote. |
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. |
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. |
The DISBTN generation could be added to wc3libs and then used in Wurst. |
This might be a nice feature to add to the optimizer:
http://www.hiveworkshop.com/forums/lab-715/getting-rid-disbtn-some-theorycrafting-267199/
The text was updated successfully, but these errors were encountered: