-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
90 additions
and
29 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# D2X-XL-ar | ||
|
||
[D2X-XL](https://www.descent2.de) with stability, compatibility and build fixes. | ||
|
||
## Download current Windows build | ||
|
||
[d2x-xl-1.18.74-ar3.zip](https://github.com/arbruijn/d2x-xl/releases/download/v1.18.74-ar3/d2x-xl-1.18.74-ar3.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 | ||
|
||
#### Setup | ||
|
||
- Run without d2x-xl files | ||
- Set default brightness to standard | ||
- Use energy spark texture if effect bitmap missing | ||
|
||
#### 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](https://www.descent2.de/files/d2x-xl-data-1.18.64.7z) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,9 @@ | |
define([D2X_MAJOR],1) | ||
define([D2X_MINOR],18) | ||
define([D2X_MICRO],74) | ||
define([D2X_VARIANT],ar3) | ||
|
||
AC_INIT(d2x-xl,[D2X_MAJOR.D2X_MINOR.D2X_MICRO],[[email protected]]) | ||
AC_INIT(d2x-xl,[D2X_MAJOR.D2X_MINOR.D2X_MICRO-D2X_VARIANT],[[email protected]]) | ||
AC_PREREQ(2.52) | ||
|
||
AC_CANONICAL_BUILD | ||
|
@@ -22,6 +23,7 @@ AM_CONFIG_HEADER(conf.h) | |
AC_DEFINE_UNQUOTED(D2XMAJOR,D2X_MAJOR,[d2x major version]) | ||
AC_DEFINE_UNQUOTED(D2XMINOR,D2X_MINOR,[d2x minor version]) | ||
AC_DEFINE_UNQUOTED(D2XMICRO,D2X_MICRO,[d2x micro version]) | ||
AC_DEFINE_UNQUOTED(D2XVARIANT,"D2X_VARIANT",[d2x variant]) | ||
|
||
AM_MAINTAINER_MODE | ||
|
||
|
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
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