Download
(2 Kb)
Download
Updated: 04/12/21 11:28 AM
Pictures
File Info
Compatibility:
Flames of Ambition (6.3.5)
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:04/12/21 11:28 AM
Created:03/23/15 02:07 PM
Monthly downloads:123
Total downloads:414,105
Favorites:203
MD5:
LibMainMenu (DO NOT USE ANYMORE - PLEASE SWITCH TO: LibMainMenu-2.0)  Popular! (More than 5000 hits)
Version: 999
by: Ayantir, Baertram
LiMainMenu must not be used any longer! Please install LibMainmenu-2.0 instead:
https://www.esoui.com/downloads/info...nMenu-2.0.html

All addons uisng LibMainMenu 1 should migrate to LMM 2.0!
Check description and comments for further "howto" instructions


Change your txt file:
Remove:
## (Optional)DependsOn: LibMainMenu

Add:
## (Optional)DependsOn: LibMainMenu-2.0>=40400


Change your lua files:
All LibMainMenu references need to be changed to LibMainMenu2 references!

e.g. Remove:
Local LMM = LibMainMenu

e.g. Add:
Local LMM = LibMainMenu2
v999
======
LiMainMenu must not be used any longer! Please install LibMainmenu-2.0 instead and all addons uisng LibMainMenu 1 should migrate to LMM 2.0!
Check description and comments for further "howto" instructions


v10
======
-Fixed lua errors in line 69 + 70

v9
======
-Removed LibStub
-Updated to API Markarth
-Fixed ZO_Object usage lua error

v8
======
Added some more security checks if the library was loaded properly to avoid problems with old addons having this library included hardcoded

v7
======
-Updated API
-Fixed global variable LibMainMenu to be loaded after LibStub checks etc. in order to fix "overwriting/clearing" of the variable -> Many thanks to Knurps for the info

v6
======
-Added ## AddOnVersion and ## IsLibrary: true tags
-Added global variable LibMainMenu for the library referencing (instead of LibStub!). The global LIBMAINMENU is still given for debugging.
-Added txt file to load the library as standalone version
-Made the library loadable without (prefered!) and with LibStub (old way, please change to usage of the global variable LibMainMenu!)

v5
======
- Fixed duplicate controls at startup, sorry.

v4
======
- Completly disabled the handler which emulated Main Menu top bar and which could trigger randomly when altabbing. This function was unused, so 0 changes.

v3
======
- Little fix, caused by bad a bad copy/paste which triggered error sometimes when alt-tabing.

v2
======
- No longer rewrites MAIN_MENU but emulates it. As consequence, Menus added by LibMainMenu won't be anymore added to Main menu at top of the screen. Also call to LibMainMenu has been a little bit modified.

v1
======
Initial release
Archived Files (10)
File Name
Version
Size
Uploader
Date
10
5kB
Baertram
02/21/21 11:05 AM
9
5kB
Baertram
11/02/20 07:06 AM
8
5kB
Baertram
12/06/19 04:51 PM
7
4kB
Baertram
12/02/19 09:50 AM
6
5kB
Baertram
10/01/19 10:04 AM
5
4kB
Ayantir
04/29/15 12:17 PM
4
4kB
Ayantir
04/16/15 09:35 PM
3
4kB
Ayantir
04/03/15 12:43 PM
2
4kB
Ayantir
03/30/15 11:04 AM
1
3kB
03/23/15 02:07 PM


Post A Reply Comment Options
Unread 04/14/21, 06:16 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4903
File comments: 5974
Uploads: 78
Re: Re: Re: Do I need to uninstall LibMainMenu1 via minion - keep variables

Yes, libraries are re-usable code that many addons are supposed to re-use. So it's often the case that other addons are using the same libraries and you already have them installed.
You only need to assure they are at the newest version! As LMM 2.0 only supports the features of LMM 1 if you are using the version 440 or newer of LMM 2.0. Any version before -> Not supporting LMM1 and most likely will bring you UI errors for addons that relied on LMM 1, and now need LMM 2.0. But those addons have a dependency check in their code so that they won't be activatable in the ingame addon manager if you do not have the version 440 of LMM 2.0 installed.
You can always check the dependencies of addons in the ingame addon manager. It tells you which one and what version is needed.
I also recommand "Votans Addon List" as it change the addon manager UI a bit to show the dependencies as a (i) icon where you can move the mouse on and see all info inside a tooltip.
And the other great benefit: It automatically enables the dependencies needed for any addon that you enable. IF you got the depencies installed, Votans Addon List is the 1 click solution to turn on the addon, without having to manually find the dependencies and enable them as well.

Dependencies and how they work etc:
https://www.esoui.com/forums/showthread.php?t=9149

Originally Posted by daemondamian
Originally Posted by Baertram
If you are a user, just uninstall lmm 1 via Minion or manually. Delete all (there shouldn't be any SavedVariables so nothing to keep). Install lmm 2.0 afterwards, finished.

Only if you are an addon dev (I cannot find any addon to your name so I assume you aren't) do the same and follow the instructions how to change your addon files to make it work again.

Originally Posted by daemondamian
and then install LibMainMenu2, and make the changes to the text and lua files as indicated by the instructions?

Or is there another way I should be doing it?

Thanks
Damian.
Thanks for your reply.

I went to uninstall lmm 1 and to my surprise I actually already had lmm 2 installed.

I uninstalled lmm 1 which fixed the original problem I had in the first place which was a UI error window coming up in ESO that said I needed to migrate to lmm 2.
Report comment to moderator  
Reply With Quote
Unread 04/13/21, 10:59 PM  
daemondamian

Forum posts: 0
File comments: 16
Uploads: 0
Re: Re: Do I need to uninstall LibMainMenu1 via minion - keep variables

Originally Posted by Baertram
If you are a user, just uninstall lmm 1 via Minion or manually. Delete all (there shouldn't be any SavedVariables so nothing to keep). Install lmm 2.0 afterwards, finished.

Only if you are an addon dev (I cannot find any addon to your name so I assume you aren't) do the same and follow the instructions how to change your addon files to make it work again.

Originally Posted by daemondamian
and then install LibMainMenu2, and make the changes to the text and lua files as indicated by the instructions?

Or is there another way I should be doing it?

Thanks
Damian.
Thanks for your reply.

I went to uninstall lmm 1 and to my surprise I actually already had lmm 2 installed.

I uninstalled lmm 1 which fixed the original problem I had in the first place which was a UI error window coming up in ESO that said I needed to migrate to lmm 2.
Report comment to moderator  
Reply With Quote
Unread 04/13/21, 11:13 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4903
File comments: 5974
Uploads: 78
Re: Do I need to uninstall LibMainMenu1 via minion - keep variables

If you are a user, just uninstall lmm 1 via Minion or manually. Delete all (there shouldn't be any SavedVariables so nothing to keep). Install lmm 2.0 afterwards, finished.

Only if you are an addon dev (I cannot find any addon to your name so I assume you aren't) do the same and follow the instructions how to change your addon files to make it work again.

Originally Posted by daemondamian
and then install LibMainMenu2, and make the changes to the text and lua files as indicated by the instructions?

Or is there another way I should be doing it?

Thanks
Damian.
Last edited by Baertram : 04/13/21 at 02:40 PM.
Report comment to moderator  
Reply With Quote
Unread 04/13/21, 12:22 AM  
daemondamian

Forum posts: 0
File comments: 16
Uploads: 0
Do I need to uninstall LibMainMenu1 via minion - keep variables

and then install LibMainMenu2, and make the changes to the text and lua files as indicated by the instructions?

Or is there another way I should be doing it?

Thanks
Damian.
Last edited by daemondamian : 04/13/21 at 12:23 AM.
Report comment to moderator  
Reply With Quote
Unread 03/06/21, 01:00 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4903
File comments: 5974
Uploads: 78
This library was integrated into LibMainMenu-2.0 at 2021-04-12!
Please uninstall this library LibMainMenu 1!
You must do some small adjustments to your addon's txt and lua files.
The new global library variable LibMainMenu -> LibMainMenu2 and the ## DependsOn: needs a change in your manifest txt file:

Change your txt file:
Remove:
## (Optional)DependsOn: LibMainMenu

Add:
## (Optional)DependsOn: LibMainMenu-2.0>=40400


Change your lua files:
All LibMainMenu references need to be changed to LibMainMenu2 references!

e.g. Remove:
Local LMM = LibMainMenu

e.g. Add:
Local LMM = LibMainMenu2

Last edited by Baertram : 04/12/21 at 12:03 PM.
Report comment to moderator  
Reply With Quote
Unread 01/27/21, 01:27 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4903
File comments: 5974
Uploads: 78
Re: differences?

Originally Posted by sMuggle
What are the differences, are both, or can either replace the other?

https://www.esoui.com/downloads/info...nMenu-2.0.html
Well I'd start to read their descriptions and check the screenshots and then you'll notice (or should at least ) they are different and cannot be replaced by each other. Else it would have been done.

LibMainMenu also adds a complete new scene with tab integration (the right hand rectangle shown for "Superstar" on the screenshot here). LibMainMenu2 only adds the icon to the main menu at the top.
Last edited by Baertram : 01/27/21 at 01:28 PM.
Report comment to moderator  
Reply With Quote
Unread 01/27/21, 11:52 AM  
sMuggle

Forum posts: 6
File comments: 124
Uploads: 0
differences?

What are the differences, are both, or can either replace the other?

https://www.esoui.com/downloads/info...nMenu-2.0.html
Report comment to moderator  
Reply With Quote
Unread 10/11/20, 08:15 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4903
File comments: 5974
Uploads: 78
Attention:
With version 9 LibMainMenu will NOT support LibStub anymore! Switch your addon code to the global variable LibMainMenu (please read the description).
Last edited by Baertram : 11/02/20 at 07:09 AM.
Report comment to moderator  
Reply With Quote
Unread 12/06/19, 08:42 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4903
File comments: 5974
Uploads: 78
Originally Posted by Mitsarugi
could you make a demo file for people to build on? please
The description pretty sums up all.
Or check addons like pChat, WishList, Superstar for live demos.
Report comment to moderator  
Reply With Quote
Unread 10/27/16, 05:34 PM  
Mitsarugi
 
Mitsarugi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 225
Uploads: 12
could you make a demo file for people to build on? please
Report comment to moderator  
Reply With Quote
Unread 03/09/16, 03:18 PM  
JohnnyKing94
 
JohnnyKing94's Avatar

Forum posts: 45
File comments: 6
Uploads: 0
I'd like to have this library reborn... i alread saw a LibMainMenu 2.0 but it doesn't have all the functions already present here
Report comment to moderator  
Reply With Quote
Unread 05/15/15, 03:46 AM  
JohnnyKing94
 
JohnnyKing94's Avatar

Forum posts: 45
File comments: 6
Uploads: 0
Originally Posted by votan
Originally Posted by JohnnyKing94
I tried to use this library and the scene works, all except the chance to add the button on the menu... then i saw your code and this part was commented, why?
See QuadroTony's comment. While using the lib in SuperStar Ayantir trapped into what I describe here.
The crone market does not like custom code in MAIN_MENU.
First, are there no alternatives to have a button in the MenuCategoryBar???
Second, how to correctly scale the scenes?? When i set a custom scale in the videosettings, all the scene get fu*ed up, are there any ways to fix it?
Report comment to moderator  
Reply With Quote
Unread 05/15/15, 02:23 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by JohnnyKing94
I tried to use this library and the scene works, all except the chance to add the button on the menu... then i saw your code and this part was commented, why?
See QuadroTony's comment. While using the lib in SuperStar Ayantir trapped into what I describe here.
The crone market does not like custom code in MAIN_MENU.
Last edited by votan : 05/15/15 at 02:25 AM.
Report comment to moderator  
Reply With Quote
Unread 05/15/15, 02:07 AM  
JohnnyKing94
 
JohnnyKing94's Avatar

Forum posts: 45
File comments: 6
Uploads: 0
I tried to use this library and the scene works, all except the chance to add the button on the menu... then i saw your code and this part was commented, why?
Report comment to moderator  
Reply With Quote
Unread 03/30/15, 11:05 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
LMM has been updated and don't interfere anymore in MAIN_MENU, but just emulates it.
I've tested with 1 addon and another fake addon, all is fine now
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: