Add files via upload

This commit is contained in:
totalllyswede
2026-07-09 18:48:22 -07:00
committed by GitHub
parent a3ae16a352
commit 31387dd5f3
7 changed files with 1599 additions and 1579 deletions
+812 -813
View File
File diff suppressed because it is too large Load Diff
+695 -695
View File
File diff suppressed because it is too large Load Diff
+14
View File
@@ -0,0 +1,14 @@
## Interface: 11200
## Title: MinimapButtonBag_Octo
## Version: 1.0
## Author: Tunhadil, LaYt (+McPewPew, +Olzon)
## X-Website: https://github.com/McPewPew/MinimapButtonBag
## X-Date: 2026-07-09
## Notes: Reduces minimap buttons and makes them accessible through a menu!
## Notes-deDE: Reduziert die Minimap Knöpfe und erlaubt den Zugriff auf diese über ein Menü!
## Notes-ruRU: Компанует все иконки на миникарте в одну.
## SavedVariablesPerCharacter: MBB_Exclude, MBB_Options
localization-enGB.lua
localization-deDE.lua
localization-ruRU.lua
MBB.xml
+13 -6
View File
@@ -1,12 +1,19 @@
# MinimapButtonBag
# MinimapButtonBag_Octo
MinimapButtonBag cleans up your Minimap and relocates the buttons in a menu bar.
MinimapButtonBag_Octo cleans up your Minimap and relocates the buttons in a menu bar.
![screenshot](https://user-images.githubusercontent.com/98543024/155025699-12b30d8d-92c3-41c4-80ab-959cd68b7de4.png)
[A minor edit of MBB, all credit to Tunhadil and [LaYt](https://github.com/laytya/MinimapButtonBag-vanilla)]
[A fork of MBB, all credit to Tunhadil, LaYt ([MinimapButtonBag-vanilla](https://github.com/laytya/MinimapButtonBag-vanilla)), and McPewPew ([MinimapButtonBag-TurtleWoW](https://github.com/McPewPew/MinimapButtonBag-TurtleWoW))]
## Instructions
* Download **[Latest Version](https://github.com/McPewPew/MinimapButtonBag-TurtleWoW/archive/refs/heads/master.zip)**
* Unzip it into WoW\Interface\AddOns
* Rename "MinimapButtonBag-master" to "MinimapButtonBag"
* Unzip into `WoW\Interface\AddOns`
* Make sure the resulting folder is named exactly `MinimapButtonBag_Octo`
## Changelog (Octo fork - V1.0)
* Original addon was causing crashes with OctoWoW., forked to get it working without issues.
* Fixed a bug in `MBB_RestoreButton` where right-click-restoring a button to the minimap set its width equal to its height instead of its original width, distorting non-square buttons.
* Hardened the pfUI drag-position check (`pfUI_config["disabled"]["minimap"]`) with proper nil-guards, so it can no longer throw a Lua error every frame while dragging if `pfUI_config` isn't shaped as expected.
* Replaced the custom `icon.tga` with the stock in-game bag icon `Interface\Icons\INV_Misc_Bag_08` — no more bundled icon file, and it sidesteps the RLE-compressed TGA loading issue on the 1.12.1 client entirely.
* Cleaned up a malformed `## X-Date` line in the `.toc` (missing colon).
* Fixed Ctrl+Right-click "detach from minimap" positioning: it was converting the cursor position using the icon's own display scale (`MBB_Options.Scale/100`) instead of the UI's actual effective scale (`UIParent:GetEffectiveScale()`), so the button would land in the wrong spot instead of following your cursor away from the minimap.
+22 -22
View File
@@ -1,23 +1,23 @@
if( GetLocale() == "deDE" ) then
MBB_TOOLTIP1 = "Strg + Rechtsklick auf einen Button, um ihn aus der Leiste zu lösen.\nUmschalt + Linke Ziehen-Taste zum Verschieben.";
MBB_OPTIONS_HEADER = "Einstellungen";
MBB_OPTIONS_OKBUTTON = "Ok";
MBB_OPTIONS_CANCELBUTTON = "Abbrechen";
MBB_OPTIONS_SLIDEROFF = "Aus";
MBB_OPTIONS_SLIDERSEK = "Sek.";
MBB_OPTIONS_SLIDERLABEL = "Autom. ausblenden:";
MBB_OPTIONS_EXPANSIONLABEL = "Ausklappen nach:";
MBB_OPTIONS_EXPANSIONLEFT = "Links";
MBB_OPTIONS_EXPANSIONTOP = "Oben";
MBB_OPTIONS_EXPANSIONRIGHT = "Rechts";
MBB_OPTIONS_EXPANSIONBOTTOM = "Unten";
MBB_OPTIONS_MAXBUTTONSLABEL = "Max. Knöpfe/Zeile:";
MBB_OPTIONS_MAXBUTTONSINFO = "(0=unendlich)";
MBB_OPTIONS_ALTEXPANSIONLABEL = "Alt. Ausklappen nach:";
MBB_OPTIONS_SCALE="Knopfmaßstab";
MBB_HELP1 = "Gib \"/mbb <cmd>\" ein, wobei <cmd> folgendes sein kann:";
MBB_HELP2 = " |c00ffffffbuttons|r: Zeigt eine Liste aller Frames in der MBB Leiste";
MBB_HELP3 = " |c00ffffffreset position|r: Setzt den MBB Minimap Button an seine ursprüngliche Position";
MBB_HELP4 = " |c00ffffffreset all|r: Setzt alle Einstellungen auf ihre ursprünglichen Werte";
MBB_NOERRORS = "Keine Fehler gefunden!";
if( GetLocale() == "deDE" ) then
MBB_TOOLTIP1 = "Strg + Rechtsklick auf einen Button, um ihn aus der Leiste zu lösen.\nUmschalt + Linke Ziehen-Taste zum Verschieben.";
MBB_OPTIONS_HEADER = "Einstellungen";
MBB_OPTIONS_OKBUTTON = "Ok";
MBB_OPTIONS_CANCELBUTTON = "Abbrechen";
MBB_OPTIONS_SLIDEROFF = "Aus";
MBB_OPTIONS_SLIDERSEK = "Sek.";
MBB_OPTIONS_SLIDERLABEL = "Autom. ausblenden:";
MBB_OPTIONS_EXPANSIONLABEL = "Ausklappen nach:";
MBB_OPTIONS_EXPANSIONLEFT = "Links";
MBB_OPTIONS_EXPANSIONTOP = "Oben";
MBB_OPTIONS_EXPANSIONRIGHT = "Rechts";
MBB_OPTIONS_EXPANSIONBOTTOM = "Unten";
MBB_OPTIONS_MAXBUTTONSLABEL = "Max. Knöpfe/Zeile:";
MBB_OPTIONS_MAXBUTTONSINFO = "(0=unendlich)";
MBB_OPTIONS_ALTEXPANSIONLABEL = "Alt. Ausklappen nach:";
MBB_OPTIONS_SCALE="Knopfmaßstab";
MBB_HELP1 = "Gib \"/mbb <cmd>\" ein, wobei <cmd> folgendes sein kann:";
MBB_HELP2 = " |c00ffffffbuttons|r: Zeigt eine Liste aller Frames in der MBB Leiste";
MBB_HELP3 = " |c00ffffffreset position|r: Setzt den MBB Minimap Button an seine ursprüngliche Position";
MBB_HELP4 = " |c00ffffffreset all|r: Setzt alle Einstellungen auf ihre ursprünglichen Werte";
MBB_NOERRORS = "Keine Fehler gefunden!";
end
+20 -20
View File
@@ -1,21 +1,21 @@
MBB_TOOLTIP1 = "Ctrl + Right click on a button to detach from or reattach it to the minimap.\nShift + Left drag to move button.";
MBB_OPTIONS_HEADER = "Options";
MBB_OPTIONS_OKBUTTON = "Ok";
MBB_OPTIONS_CANCELBUTTON = "Cancel";
MBB_OPTIONS_SLIDEROFF = "Off";
MBB_OPTIONS_SLIDERSEK = "sec";
MBB_OPTIONS_SLIDERLABEL = "Collapse Timeout:";
MBB_OPTIONS_EXPANSIONLABEL = "Expand to:";
MBB_OPTIONS_EXPANSIONLEFT = "Left";
MBB_OPTIONS_EXPANSIONTOP = "Top";
MBB_OPTIONS_EXPANSIONRIGHT = "Right";
MBB_OPTIONS_EXPANSIONBOTTOM = "Bottom";
MBB_OPTIONS_MAXBUTTONSLABEL = "Max. Buttons/Line:";
MBB_OPTIONS_MAXBUTTONSINFO = "(0=infinity)";
MBB_OPTIONS_ALTEXPANSIONLABEL = "Alt. Expand to:";
MBB_OPTIONS_SCALE="Button's scale";
MBB_HELP1 = "Type \"/mbb <cmd>\" where <cmd> is one of the following:";
MBB_HELP2 = " |c00ffffffbuttons|r: Shows a list of all frames in the MBB bar";
MBB_HELP3 = " |c00ffffffreset position|r: resets the position of the MBB minimap button";
MBB_HELP4 = " |c00ffffffreset all|r: resets all options";
MBB_TOOLTIP1 = "Ctrl + Right click on a button to detach from or reattach it to the minimap.\nShift + Left drag to move button.";
MBB_OPTIONS_HEADER = "Options";
MBB_OPTIONS_OKBUTTON = "Ok";
MBB_OPTIONS_CANCELBUTTON = "Cancel";
MBB_OPTIONS_SLIDEROFF = "Off";
MBB_OPTIONS_SLIDERSEK = "sec";
MBB_OPTIONS_SLIDERLABEL = "Collapse Timeout:";
MBB_OPTIONS_EXPANSIONLABEL = "Expand to:";
MBB_OPTIONS_EXPANSIONLEFT = "Left";
MBB_OPTIONS_EXPANSIONTOP = "Top";
MBB_OPTIONS_EXPANSIONRIGHT = "Right";
MBB_OPTIONS_EXPANSIONBOTTOM = "Bottom";
MBB_OPTIONS_MAXBUTTONSLABEL = "Max. Buttons/Line:";
MBB_OPTIONS_MAXBUTTONSINFO = "(0=infinity)";
MBB_OPTIONS_ALTEXPANSIONLABEL = "Alt. Expand to:";
MBB_OPTIONS_SCALE="Button's scale";
MBB_HELP1 = "Type \"/mbb <cmd>\" where <cmd> is one of the following:";
MBB_HELP2 = " |c00ffffffbuttons|r: Shows a list of all frames in the MBB bar";
MBB_HELP3 = " |c00ffffffreset position|r: resets the position of the MBB minimap button";
MBB_HELP4 = " |c00ffffffreset all|r: resets all options";
MBB_NOERRORS = "No errors found!";
+23 -23
View File
@@ -1,23 +1,23 @@
if( GetLocale() == "ruRU" ) then
MBB_TOOLTIP1 = "Ctrl + ПКМ на кнопку, чтобы прикрепить/открепить ее от миникарты.\nShift + Left Drag чтобы перемещать кнопку аддона.";
MBB_OPTIONS_HEADER = "Настройки";
MBB_OPTIONS_OKBUTTON = "Ок";
MBB_OPTIONS_CANCELBUTTON = "Отмена";
MBB_OPTIONS_SLIDEROFF = "Выкл.";
MBB_OPTIONS_SLIDERSEK = "сек.";
MBB_OPTIONS_SLIDERLABEL = "Таймаут до скрытия:";
MBB_OPTIONS_EXPANSIONLABEL = "Расширяться:";
MBB_OPTIONS_EXPANSIONLEFT = "Влево";
MBB_OPTIONS_EXPANSIONTOP = "Вверх";
MBB_OPTIONS_EXPANSIONRIGHT = "Вправо";
MBB_OPTIONS_EXPANSIONBOTTOM = "Вниз";
MBB_OPTIONS_MAXBUTTONSLABEL = "Max. кнопок в строке:";
MBB_OPTIONS_MAXBUTTONSINFO = "(0=бесконечно)";
MBB_OPTIONS_ALTEXPANSIONLABEL = "Расширять строки:";
MBB_OPTIONS_SCALE="Масштаб кнопок";
MBB_HELP1 = "Введите \"/mbb <cmd>\", где <cmd> одна из команд:";
MBB_HELP2 = " |c00ffffffbuttons|r: Показать список всех кнопок в MBB";
MBB_HELP3 = " |c00ffffffreset position|r: Сбросить позицию кнопки МBB у миникарты";
MBB_HELP4 = " |c00ffffffreset all|r: Сбросить все настройки";
MBB_NOERRORS = "Ошибок не найдено!";
end
if( GetLocale() == "ruRU" ) then
MBB_TOOLTIP1 = "Ctrl + ПКМ на кнопку, чтобы прикрепить/открепить ее от миникарты.\nShift + Left Drag чтобы перемещать кнопку аддона.";
MBB_OPTIONS_HEADER = "Настройки";
MBB_OPTIONS_OKBUTTON = "Ок";
MBB_OPTIONS_CANCELBUTTON = "Отмена";
MBB_OPTIONS_SLIDEROFF = "Выкл.";
MBB_OPTIONS_SLIDERSEK = "сек.";
MBB_OPTIONS_SLIDERLABEL = "Таймаут до скрытия:";
MBB_OPTIONS_EXPANSIONLABEL = "Расширяться:";
MBB_OPTIONS_EXPANSIONLEFT = "Влево";
MBB_OPTIONS_EXPANSIONTOP = "Вверх";
MBB_OPTIONS_EXPANSIONRIGHT = "Вправо";
MBB_OPTIONS_EXPANSIONBOTTOM = "Вниз";
MBB_OPTIONS_MAXBUTTONSLABEL = "Max. кнопок в строке:";
MBB_OPTIONS_MAXBUTTONSINFO = "(0=бесконечно)";
MBB_OPTIONS_ALTEXPANSIONLABEL = "Расширять строки:";
MBB_OPTIONS_SCALE="Масштаб кнопок";
MBB_HELP1 = "Введите \"/mbb <cmd>\", где <cmd> одна из команд:";
MBB_HELP2 = " |c00ffffffbuttons|r: Показать список всех кнопок в MBB";
MBB_HELP3 = " |c00ffffffreset position|r: Сбросить позицию кнопки МBB у миникарты";
MBB_HELP4 = " |c00ffffffreset all|r: Сбросить все настройки";
MBB_NOERRORS = "Ошибок не найдено!";
end