local srcpath = config.source_dir local respath = srcpath .. '/server/res' local paths = { 'server/scripts/?.lua', 'core/scripts/?.lua', 'dependencies/lunit/?.lua' } for idx, path in pairs(paths) do package.path = srcpath .. '/' .. path .. ';' .. package.path end read_xml(respath..'/config-arda.xml', respath..'/catalog-arda.xml') require "init"