This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A tool to convert OpenTibia maps to https://github.com/peonso/opentibia_sprite_pack | |
// by Peonso | |
// dependencies NodeJS and https://github.com/Inconcessus/OTBM2JSON | |
// node --max-old-space-size=4096 convert.js | |
var start = Date.now(); | |
const otbm2json = require("./OTBM2JSON/otbm2json"); | |
const OLD_MUDWALLS = [356,357,358,359,360,361,362,363,364,365,366,367,371,372,373,374,375,376,377,378,379,380,381,382]; | |
const OLD_MUDTILE = 351; |