[Feature Request] lib/mods/xml.lua - Write to XML files.
Posted: Thu Mar 26, 2009 5:53 am
Elv I have found that your XML library module is invaluable. Nearly all my configuration data now exists in XML files.
There is one thing that I would like it to do though. To easily be able to write to the files as well with set (mutator) functions.
Reason I would like this is I think I have figured out how the findPatternInProcess function works from reading your posts on 1.0, and I would like to have the memory offsets once located be saved in a XML config file.
I know that you can save them in a lua file easily like you have done with the ROM bot.
But I do see a need for being able to write to the XML files as well.
Or is it relatively simple to write XML files with the LuaExpat library and no wrapper functions need to be created?
There is one thing that I would like it to do though. To easily be able to write to the files as well with set (mutator) functions.
Reason I would like this is I think I have figured out how the findPatternInProcess function works from reading your posts on 1.0, and I would like to have the memory offsets once located be saved in a XML config file.
I know that you can save them in a lua file easily like you have done with the ROM bot.
But I do see a need for being able to write to the XML files as well.
Or is it relatively simple to write XML files with the LuaExpat library and no wrapper functions need to be created?