Closed comedinha closed 11 years ago
On start up put a file loads with version... Exemple: tibia1010.dat (so will allow changing versions to edit different maps.."
VERSION = 870 -- Most important for loading Tibia files correctly. OTB_FILE = "/data/materials/items"..VERSION..".otb" XML_FILE = "/data/materials/items"..VERSION..".xml" MON_FILE = "/data/materials/monster"..VERSION.."/monsters.xml" NPC_FOLDER = "/data/materials/npc"..VERSION.."" OTBM_FILE = "/data/materials/map.otbm" DAT_FILE = "/data/materials/Tibia"..VERSION..".dat" SPR_FILE = "/data/materials/Tibia"..VERSION..".spr"
You should make a pull request.
Also, how about just making a folder in materials for each version?
https://github.com/allanference/forgottenmapeditor/pull/23
On start up put a file loads with version... Exemple: tibia1010.dat (so will allow changing versions to edit different maps.."