Giter Club home page Giter Club logo

d2x-xl's Introduction

D2X-XL-ar

D2X-XL with stability, compatibility and build fixes.

Download latest Windows build

d2x-xl-1.18.74-ar8.zip

Changes

Stability

  • Disable OpenMP, network and sound threads
  • Fix various out of bounds access
  • Fix various unintialized memory access
  • Fix memory leak with FindFileFirst

Game play

  • Restore bot / powerup collision if Collision model set to standard
  • Restore GuideBot flare fire behaviour
  • Fix level 12 boss not spewing on energy hits
  • Fire primary in same frame
  • GuideBot pathing fixes
  • Various AI fixes
  • No extra transparency if image quality is low

Setup

  • Run without d2x-xl files
  • Set default brightness to standard
  • Use energy spark texture if effect bitmap missing
  • Load vanilla/Rebirth D2 save games

Build/platform

  • Fix cmake build
  • Fix Windows build with cmake/autotools/gcc
  • Fix build with newer gcc versions
  • Use unpatched SDL on Windows
  • Fix midi on Win64
  • Fix Fx volume on Linux
  • Fix warnings
  • Disable structure packing except for network structs
  • Print warnings/errors to console on Linux

How to build

d2x-xl requires the following libraries: SDL 1.2, SDL-mixer 1.2, SDL-net 1.2, GLEW and libcurl.

Install packages for Debian/Ubuntu:

apt install build-essential cmake libsdl1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libglew-dev libcurl3-dev

Install packages for MSYS2 (Windows):

pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-SDL mingw64/mingw-w64-x86_64-SDL_image mingw64/mingw-w64-x86_64-SDL_mixer mingw64/mingw-w64-x86_64-SDL_net mingw64/mingw-w64-x86_64-glew

Configure build in subdirectory build:

cmake -B build

Compile:

cmake --build build

Run:

build/d2x-xl -datadir /path/to/xl/or/d2/files

If you specify a path to the D2 files (.hog, .pig, .ham, etc.) it will copy the files into a data/ subdirectory and create a few more subdirectories.

To make all options work you need the d2x-xl data files: d2x-xl-data-1.18.64.7z

d2x-xl's People

Contributors

arbruijn 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.