Skip to content

Commit

Permalink
Add cfg file option for MoP, update example config and readme for rel…
Browse files Browse the repository at this point in the history
…ease 516.
  • Loading branch information
bolrog committed May 16, 2021
1 parent 66ed512 commit 47605bc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
D2DX is a Glide-wrapper and mod that makes the classic Diablo II/LoD run well on modern PCs, while honoring the original look and feel of the game.
Play in a window or in fullscreen, glitch-free, with or without enhancements like widescreen, true high framerate and anti-aliasing.

Version 0.99.512c
Version 0.99.516

## Features
- Turns the game into a well behaved DirectX 11 title on Windows 10 (also 7, 8 and 8.1).
Expand Down Expand Up @@ -82,9 +82,12 @@ D2DX uses the following third party libraries:

D2DX is free software, but if you enjoy the project and want to buy me a coffee, [click here](https://commerce.coinbase.com/checkout/13ed8fc7-d7f3-428c-b834-ab7bd6501db7).


## Recent release history

### 0.99.516
- High FPS (motion prediction) is now default enabled on supported game versions (1.12, 1.13c, 1.13d and 1.14d).
- Fix crash when trying to host TCP/IP game.

### 0.99.512c
- Add "frameless" window option in cfg file, for hiding the window frame.
- Fix corrupt graphics in low lighting detail mode.
Expand Down
22 changes: 10 additions & 12 deletions d2dx-defaults.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,18 @@ frameless=false # if true, the window frame (caption bar etc) will be re
[game]
size=[-1,-1] # if [-1,-1] d2dx will decide a suitable game size, otherwise will use the size given here

[experimental]
testmop=false # if true, enables "high fps" mode


#
# Opt-outs from default D2DX behavior
#
[optouts]
noclipcursor=false # if true, will not lock the mouse cursor to the game window
nofpsfix=false # if true, will not apply the basic fps fix (precludes high fps support)
noresmod=false # if true, will not apply the built-in D2HD resolution mod (precludes widescreen support)
nowide=false # if true, will not choose a widescreen resolution (if noresmod is true, this does nothing)
nologo=false # if true, will not display the D2DX logo on the title screen
novsync=false # if true, will not use vertical sync
noaa=false # if true, will not apply anti-aliasing to jagged edges
nocompatmodefix=false # if true, will not block the use of "Windows XP compatibility mode"
notitlechange=false # if true, will not change the window title text
noclipcursor=false # if true, will not lock the mouse cursor to the game window
nofpsfix=false # if true, will not apply the basic fps fix (precludes high fps support)
noresmod=false # if true, will not apply the built-in D2HD resolution mod (precludes widescreen support)
nowide=false # if true, will not choose a widescreen resolution (if noresmod is true, this does nothing)
nologo=false # if true, will not display the D2DX logo on the title screen
novsync=false # if true, will not use vertical sync
noaa=false # if true, will not apply anti-aliasing to jagged edges
nocompatmodefix=false # if true, will not block the use of "Windows XP compatibility mode"
notitlechange=false # if true, will not change the window title text
nomotionprediction=false # if true, will not run the game graphics at high fps
1 change: 1 addition & 0 deletions src/d2dx/Options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ void Options::ApplyCfg(
READ_OPTOUTS_FLAG(OptionsFlag::NoAntiAliasing, "noaa");
READ_OPTOUTS_FLAG(OptionsFlag::NoCompatModeFix, "nocompatmodefix");
READ_OPTOUTS_FLAG(OptionsFlag::NoTitleChange, "notitlechange");
READ_OPTOUTS_FLAG(OptionsFlag::NoMotionPrediction, "nomotionprediction");

#undef READ_OPTOUTS_FLAG
}
Expand Down

1 comment on commit 47605bc

@pairofdocs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

### 0.99.516      
- High FPS (motion prediction) is now default enabled on supported game versions (1.12, 1.13c, 1.13d and 1.14d).
- Fix crash when trying to host TCP/IP game.

🎉

Please sign in to comment.