Code Monkey home page Code Monkey logo

d3pp's Introduction

D3PP

discord

The D3classic server, ported to C++.

Porting it for better maintainability and for fun.

Roadmap

  • Port the primary server functionality (See issue #1)
  • First pass refactor
  • Bring up to date with latest CPE (In Progress)
  • Second pass refactor
  • Bring in lesser used features if requested

Not slated to port

Currently, there are a few parts of the existing D3 server that I'm not planning to port. Those are:

  • Map Overview Images
  • Multi-Language support
  • Building text from a font .png file
  • External C/C++ Plugins

If you would like those reach out to let me know, and of course Pull Requests are welcome if you would like to contribute.

Compiling on Windows

  1. Install VSCode, msys2 (x64)
  2. Install the winpthread library (pacman -S mingw-w64-clang-x86_64-libwinpthread-git)
  3. Install the dev zlib library (pacman -S zlib-devel)
  4. Install the CMake Library (pacman -S mingw-w64-x86_64-cmake)
  5. Install the Lua Library (pacman -S mingw-w64-x86_64-lua)
  6. Add msys mingw64 to your PATH.
  7. Open VSCode, install the CMake Tools and C++ Plugins.
  8. Open the command pallet (ctrl+shift-p), go to preferences: open settings.json, and enter the following (replacing for your path if different);
    "cmake.cmakePath": "C:\\msys64\\mingw64\\bin\\cmake.exe",
    "cmake.mingwSearchDirs": ["C:\\msys64\\mingw64\\bin"],
    "cmake.generator": "MinGW Makefiles",
  1. Restart VS code
  2. Clone the repo and open it
  3. Configure your C++ kits to GCC/Mingw32 (may require a manual scan)
  4. Press the build button!

Compiling on Windows (MSVC)

  1. Make sure you have Visual Studio with C++ Make tools installed
  2. Install vcpkg (instructions here)
  3. install the requisite libraries (vcpkg install Lua , vcpkg install SQLite3, vcpkg install zlib) 3a. If you are using 64 bit builds, add :x64-windows to the end (vcpkg install SQLite3:x64-windows)
  4. Clone the repo and open visual studio. Use the open folder option to open the folder.
  5. CMake should auto-detect and autoconfigure, and you should be good to go!

Compling on Linux

These instructions used on Fedora

  1. install your distros build-essential files
  2. clone the repo and open it up in terminal
  3. mkdir build && cd build
  4. cmake ../
  5. make

d3pp's People

Contributors

umby24 avatar tgun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.