fappaz / tibia-7.7-db-gui

My personal GUI for the Tibia 7.7 database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

My personal GUI for the Tibia 7.7 database.

Also, my first project with Next.js + Material-UI 5.

Features

  • Tables for the most important item types, containing relevant attributes (including related quests!)

Requirements

  • Node 16 or higher

How to run

  • Get yourself the server dump of the leaked Tibia 7.7 server
  • Download and install the Tibia 7.7 client (it must be this exact version)
  • Move the following files to specific folders in this project:
    • C:\Program Files (x86)\Tibia\Tibia.dat to api/dat
    • C:\Program Files (x86)\Tibia\Tibia.spr to api/sprites
    • The leaked-server/mon directory to api/creatures
    • The leaked-server/dat/monster.db directory to api/creatures
    • The leaked-server/origmap directory to api/origmap
    • The leaked-server/npc directory to api/npcs
    • leaked-server/dat/objects.srv to api/objects
  • Go to each of the target folders above and run node parse.js. This will parse the original files to a friendly format that this project will understand
  • Go to ./database then run node parse.js. This will generate the following files:
    • creatures.json
    • npcs.json
    • objects.json
    • quests.json
    • spells.json
  • Still inside ./database, run node generateSprites.js. This will generate the following:
    • gifs from all sprites into the ./public/images/sprites folder
    • pngs of one frame from each gif above
  • Go to the root folder of this project and run npm run dev
  • Open the link provided in the terminal log then navigate to one of the pages in the routes (e.g.: http://localhost:3000/map)

About

My personal GUI for the Tibia 7.7 database.

License:MIT License


Languages

Language:JavaScript 100.0%Language:CSS 0.0%