Skip to content

LunaCore 0.15.0

Latest

Choose a tag to compare

@STBrian STBrian released this 22 Feb 03:52

Changelog:

  • Fixed items not being changed correctly when modifying an inventory slot's item
  • Fixed deadlock/crash when failed to execute a script loaded from network
  • Added new submodule Game.Resources. Currently it only has one function: reloadLocale
  • Added Core.System.get3DSliderState
  • Improvements in Async system
  • Renamed Async.create to Async.run
  • Async.create now is used to create a new async task that can be connected to events
  • Added the ability for scripts to add menu entries by using the submodule Core.Menu:
    • getMenuFolder: Will return the root folder where scripts can add folders or entries
      • The returned folder can use the following methods:
      • newEntry: To create a new menu entry. When selected, it will execute the provided callback
      • newFolder: To create a new subfolder that is returned and can use the same methods as its parent
    • showMessageBox: Will show a message box in the menu
    • showAskMessageBox: Similar to message box but with user input that is returned as boolean
    • isOpen: May be useful in some cases to know if the menu is open
  • Additions to the Graphics API:
    • Added primitive objects that can be created with Core.Graphics.newRect | newLabel; that are more optimized to be drawn on screen while the game is still running
    • These objects can be added/removed for being drawn on screen with the functions Core.Graphics.add | remove
    • Both objects have the following methods:
      • setVisible: To hide/show it
      • setScreens: To choose on which screens to be drawn on
      • setPosition: Where to draw it
      • setColor: Set main color of the object
      • destroy: Release/destroy reference. It also removes any other reference to the object if it was added to being drawn
    • Check the API to know more about specific methods
  • Game debug info, warnings and errors will be logged in the log file. This can be helpful in some game crashes
  • Added back the strings for Exception type in the crash report; as well Game, Core and Plugin state strings
  • Added more info about the plugin in the About section
  • Removed crash screen. Now the luma display error function is used
  • Improvements to the logging system
  • Other fixes to improve stability and potential memory leaks

How to install

  • Download the LunaCore.3gx file and move the file to the folder "/luma/plugins/<TitleId>/" of your sdcard
  • If you want the default LunaCore's menu layout, download LunaCoreAssets.zip and unzip it in the root folder of your sd card

Known bugs

High: May break scripts or crash the game
Mid: Can break scripts logic or have unwanted behavior and be pretty annoying
Low: Doesn't break scripts logic but can have unwanted behavior

  • Mid: On some consoles the plugin may not detect the buttons ZL and ZR. This does not affect the game, only the scripting system
  • Mid: Sometimes present. Although it's less common, it is possible that when using this plugin the ZL and ZR buttons are not detected by the game and it may be necessary to restart the console or enable InputRedirection in Rosalina Menu