Skip to content

Formidable Mod Loader V0.1.1

Choose a tag to compare

@roiniti roiniti released this 23 Dec 23:00
623055d

Modloader changes:

-Now should support armeabi-v7a and x86 (not tested)
-Now doesn't require the android:debuggable="true" to work
-Now source directory can be specified with "source-dir":"folder" in modinfo.json if not provided modloader will search for main file in ./luacode
-Now the modloader only loads the main.lua file (maybe i'll add a optional entry where you can specify the main file)
-Introducing the Formidable API (name subject to changes), a set of lua functions to help you in your code development

Formidable API changes:

-Added the global function printMgr(content) equivalent to pg.TipsMgr.GetInstance():ShowTips(content)
Usage:
printMgr("content")
the game should print content like pg.Tips...
-Added the global function include, now you can control what code you want to be loaded and when inside your lua code,
code that is included with include is loaded on global context so you dont need to include it again (you can think the
include function as a execute function for lua files)
Usage:

include-me.lua:

	function printHelloWorld()
		printMgr("Hello World!")
	end

main.lua:

	include("ExampleMod/src/include-me.lua")
	printHelloWorld()

The game sould print Hello World!

You can lookup my BetterFPSControl mod for the usage of include
You can install it manually, the azur lane autopatcher will be released on the next version