This code can be used for any distro mentioned in the title to use the items.xml to build a lua table which then can be parsed from lua, this also parses the otb file to build custom pallets in the RME of course you will need to make adjustments.
C++ code
http://pastebin.com/EzdKPKAx
I have not included the items.lua but you can create it by setting the useXML and constructTable in config, these enums must be set elsewhere as booleans.
C++ code
http://pastebin.com/EzdKPKAx
I have not included the items.lua but you can create it by setting the useXML and constructTable in config, these enums must be set elsewhere as booleans.