Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
module:xtrnmenu [2021/02/03 20:40] – updates for v3 mlong | module:xtrnmenu [2021/02/13 13:08] (current) – [External Program Menu] Pluralize digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
For any issues, contact mlong on IRC, dove-net at mlong@INREALM or innerrealmbbs.us | For any issues, contact mlong on IRC, dove-net at mlong@INREALM or innerrealmbbs.us | ||
Line 5: | Line 5: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | The Custom External Menu Mod lets you define any number of custom external menus and have those menus link to other custom external menus, external section menus, external programs, or custom commands. You can also choose alpha-numeric inputs for the menu items (except Q), and sort several ways. In addition, you can fully customize the look of each menu and menu item. The mod also supports | + | The XtrnMenu |
+ | * define any number of custom external menus and have those menus link to other custom external menus, external section menus, external programs, or custom commands | ||
+ | * choose alpha-numeric inputs for the menu items (except Q), and sort several ways | ||
+ | * fully customize the look of each menu and menu item | ||
+ | * use keyboard arrow nav, mouse, esc, etc. with lightbar | ||
+ | * track launches and time and use this to power web stats as well as special menus | ||
+ | * search for any for door | ||
+ | * have a favorites menu that the user manages | ||
+ | * provide | ||
+ | * use built in commands for feedback, mail, chat, text files, file area, etc. | ||
===== Installation ===== | ===== Installation ===== | ||
- | - Get the latest files from the git repo | + | 1. Get the latest files from the git repo |
- | | + | |
+ | 2. Set the Loadable Module to ' | ||
-/ | -/ | ||
-Choose System | -Choose System | ||
Line 17: | Line 28: | ||
-Enter " | -Enter " | ||
-NOTE: If you ever want to switch back to stock, switch it to " | -NOTE: If you ever want to switch back to stock, switch it to " | ||
- | - Now you will need to create your menus. | + | 3. Now you will need to create your menus. |
- Run "/ | - Run "/ | ||
- The first time you run it, it will create the main menu (a custom menu with the id of ' | - The first time you run it, it will create the main menu (a custom menu with the id of ' | ||
- Click on Edit Items and start adding your items to the main menu. Select the target type first (custom menu, standard built-in section menu, external program, special menu, or custom command) and then you can choose the actual target (where it points to). You can escape back to the start screen to add more custom menus | - Click on Edit Items and start adding your items to the main menu. Select the target type first (custom menu, standard built-in section menu, external program, special menu, or custom command) and then you can choose the actual target (where it points to). You can escape back to the start screen to add more custom menus | ||
- When you are done, press ESC to exit and save the config. This creates a file called / | - When you are done, press ESC to exit and save the config. This creates a file called / | ||
- | - To use game stats, special menus, and favorites, you will need to enable JSON service. Add this to our ctrl/ | + | 4. To use game stats, special menus, and favorites, you will need to enable JSON service. Add this to our ctrl/ |
< | < | ||
[xtrnmenu] | [xtrnmenu] | ||
dir=../ | dir=../ | ||
</ | </ | ||
- | - If you would like to use the web interface, copy the files from xtrn/ | + | Then add this to modopts.ini under [xtrn_sec]: |
+ | < | ||
+ | eval_before_exec=js.exec(" | ||
+ | eval_after_exec=js.exec(" | ||
+ | </ | ||
+ | 5. If you would like to use the web interface, copy the files from xtrn/ | ||
You also need to modify the stock 003-games.xjs or you will have two Games menus: | You also need to modify the stock 003-games.xjs or you will have two Games menus: | ||
< | < | ||
Line 37: | Line 53: | ||
This mod will not affect any shells that create their own external menus, most notably lbshell (Deuce' | This mod will not affect any shells that create their own external menus, most notably lbshell (Deuce' | ||
+ | The mod does not handle scrolling. You need to ensure that you do not have more menu items or external programs in a section than can be displayed in one screen (with header/ | ||
===== xtrnmenucfg.js ===== | ===== xtrnmenucfg.js ===== | ||
Line 212: | Line 229: | ||
=== Single Item Appearance Options === | === Single Item Appearance Options === | ||
- | To change the look of a single item inside of a menu, create it within the [xtrnmenu: | + | To change the look of a single item inside of a menu, create it within the [xtrnmenu: |
< | < | ||
- | [xtrnmenu:genre] | + | [xtrnmenu:wordgame] |
- | multicolumn_fmt: | + | boggle-multicolumn_fmt: |
- | singlecolumn_fmt: | + | boggle-singlecolumn_fmt: |
- | lord-multicolumn_fmt: \1n\1g[\1h%2s\1n\1g] \1g%-32.32s \1h | + | boggle-multicolumn_fmt_inverse: \1n\1w[\1r\1h%2s\1n\1w] [test] \x015\1w%-25.25s \1h |
- | lord-singlecolumn_fmt: \1n\1g[\1h%2s\1n\1g] \1g%-32.32s \1h | + | boggle-singlecolumn_fmt_inverse: \1n\1w[\1r\1h%2s\1n\1w] [test] \x015\1w%-25.25s \1h |
</ | </ | ||