All Projects → Inconcessus → OTBM2JSON

Inconcessus / OTBM2JSON

Licence: MIT license
OTBM2JSON - A generic framework for programmatic modification of OTBM files.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to OTBM2JSON

OpenCoreMMO
Open-source MMORPG server emulator written in C#
Stars: ✭ 157 (+273.81%)
Mutual labels:  opentibia, tibia
OTMapGen
Uses random noise to generate realistic OTBM terrain with auto-bordering.
Stars: ✭ 29 (-30.95%)
Mutual labels:  tibia, otbm
otclientv8
Clean, ready to use version of OTClientV8 - Alternative, highly optimized Tibia client
Stars: ✭ 201 (+378.57%)
Mutual labels:  tibia
myaac
A free and open-source Automatic Account Creator (AAC) written in PHP
Stars: ✭ 94 (+123.81%)
Mutual labels:  opentibia
electro
A free and open-source Automatic Account Creator (AAC) written in Javascript Stack;
Stars: ✭ 20 (-52.38%)
Mutual labels:  opentibia
otservbr-global-archived
Archived, read-only repository. New repository: https://github.com/opentibiabr/otservbr-global
Stars: ✭ 340 (+709.52%)
Mutual labels:  opentibia
tibia-map-data
🔰 Fully explored Tibia maps in a human-readable format.
Stars: ✭ 61 (+45.24%)
Mutual labels:  tibia
Tibia-Wireshark-Plugin
Former development Repo for the now merged Tibia Wireshark Dissector
Stars: ✭ 17 (-59.52%)
Mutual labels:  tibia
exevo-pan
Exevo Pan is a better experience for Tibia Char Bazaar.
Stars: ✭ 73 (+73.81%)
Mutual labels:  tibia
pytibia
🤖 Fastest Tibia PixelBot. A great bot for Auto, Cavebot, Healing, Macro, Refill and Targeting! (Ready To Global)
Stars: ✭ 120 (+185.71%)
Mutual labels:  tibia
tibiawiki-sql
Python script that generates a SQLite database from TibiaWiki articles
Stars: ✭ 19 (-54.76%)
Mutual labels:  tibia
NabBot
Discord bot for Tibia servers
Stars: ✭ 51 (+21.43%)
Mutual labels:  tibia

OTBM2JSON

NodeJS library for programmatically modifying Open Tibia Binary Mapping files. This framework reads .otbm files and parses them to an intermediary JSON format. This JSON structure can be changed programatically to make generic modifications. Once a change has been committed to the structure, it can be encoded back to an .otbm file.

JSON Structure

The structure of the intermediary JSON format read from and to .otbm can be seen in the example OTBM.json.

Usage

Import the library in your script:

const otbm2json = require("./otbm2json.js");

The library provides two functions for reading and writing OTBM:

data = otbm2json.read(filename);

** Modify the data object here **

otbm2json.write(filename, data);

For an example see below.

Example

An example script examples/example.js is provided. This script uses the examples/void.otbm (8x8 void area) in this repository and replaces all void tiles with chessboard tiles and writes the result to examples/chess.otbm.

Version

Current version 0.2.0. This is a work in progress.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].