File with version
Closed this issue · 2 comments
comedinha commented
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"
asamy commented
You should make a pull request.
Also, how about just making a folder in materials for each version?