Hi, All!
Is there a way to code an Action Plugin with Lua and XML without make a dirty palliative hack in the "_notification_messages.lua" file (or any other core file that can be overwrited by a update)?![]()
Professional Software Development Tools
Hi, All!
Is there a way to code an Action Plugin with Lua and XML without make a dirty palliative hack in the "_notification_messages.lua" file (or any other core file that can be overwrited by a update)?![]()
not possible, (yet) ..
i can see a way to make a tool that can convert lua/xml type plugins into fully qualified .lmd Action Plugins .. and im supprized no-ones done this already!!
its pretty simple really, some one makes a shell .lmd that reads the lua script and the xml file which can be embedded into the .lmd by a external tool (just read to the end of the file and add the data there, adding the file size at the last 4 bytes of the appended text so the lmd knows how much text to read and just use some internal string functions in the lmd to read and process the text, send the xml to the "irPlg_GetPluginActionXML" and run the script to register the functions in "irPlg_Action_RegisterActions" and you have a Action plugin conversion tool
i may take up the task when i get home
i have a similar project that will compile pure Lua and XML into a LMD
i thought , if i create a compiler for myself to compile lua and xml in to a LMD
and include it to project when you need it
this will be very helpful keep frequently used lua functions in a LMD action plugin
actually if i thought it only myself i can build it with VS
but i want to share it with you too
so this project is not finished yet but very close to finish
maybe i can finish it within this week ,
That would be so amazing! Then we would have some more protection on our source. Compiling Lua as using the same method string.dump uses? and then embed it in the lmd? nice. Encrypting it would be nice aswell though.
@reteset, thats good to hear, i would like to see your approach to the situation
i have also been working on this app and im supprized how little work it took, just a few small things to tweek and its almost ready (plugins may require the Window.Close hack on windows vista!)
heres the UI
i love codeing but i hate UI design and it shows, lolCode:My GUI looks much better
yes, the app generates the LMD and then writes the formatted data at the end of the file (im working on encrypting that!), add 4 bytes for a long value to store the size of the text thats been added so the lmd knows where to seek to (reading itsself) and process the formatted text sending the right variable to the right function for AMS to display data and add the actionswill you compile all in one LMD ..?
the only drawback is you can not change the name of the .lmd, this has no effect on the display of your plugin in AMS but the name (APM.lmd) has to rename intact or the plugin will fail, other than that it works like any other action plugin
scrap that, i just fixed itthe only drawback is you can not change the name of the .lmd, this has no effect on the display of your plugin in AMS but the name (APM.lmd) has to rename intact or the plugin will fail,now plugins will be completely custom and unique (apart from a small "generated with bla bla " notice)
Woah it's amazing how you guys came up with this so fast, nice !![]()
It is a good competetion
Here is a output plugin from my application
it is a standalone LMD
it is well programmed and stable
it does not extract anything to HDD ,all in the memory
you can rename plugin it is no problem
you do not need to make something for Vista
it can work on all windows versions including Windows 7
also compatible with 64 Bits OSs
TestPlugin.rar contains the output plugin
Source.rar contains *.lua and *.xml Files i used when compiling
Last edited by reteset; 06-23-2009 at 04:10 PM.
well, i think yours beats mine, when can we have it, lol
*drewl* Woah nice work! I'm feeling like a little 8 year old on Christmas right now hehe