Comments (13)
Can confirm the following URL points to latest release.
https://github.com/bolrog/d2dx/releases/latest/download/d2dx.zip
For the laziest of lazies I whipped up a windows batch file which downloads latest release using curl :
d2dx_downloader_v1_win32.zip
from d2dx.
Personally I go to https://github.com/bolrog/d2dx/releases/ and check release notes, then download.
Edit : There doesn't seem to be a way to do a quick Curl command to download latest D2DX release because they're named after the version number which changes each time.
Were they all named d2dx.zip I think the direct link would always have been https://github.com/bolrog/d2dx/releases/latest/download/d2dx.zip
from d2dx.
A good suggestion, I should name the zip consistently at a minimum.
from d2dx.
Release 505 onward will omit the version nr in the zip name.
from d2dx.
Made a script that can be ran with powershell.
-Download and update the wrapper into the right directory
and then launch it
Thanks again !
from d2dx.
I modified your script to use $env:TEMP+'\d2dx.zip'
as temp directory which is less likely to fail (on my computer c:\temp
didn't exist and script failed) and made a second Registry-based script which is useful if Diablo II was properly installed.
Oh and I removed the line which auto-launches the game because executable shortcuts exist for a reason.
Edit : Should be good now ;
D2DX Update Wrapper (Manual Path & Registry) v0.2.zip
Further Edit (Version 0.3 does things slightly cleanlier and puts documentation and licenses inside d2dx-addendum inside Diablo II folder) :
D2DX Update Wrapper (Manual Path & Registry) v0.3.zip
from d2dx.
I modified your script to use
$env:TEMP+'\d2dx.zip'
as temp directory which is less likely to fail (on my computerc:\temp
didn't exist and script failed) and made a second Registry-based script which is useful if Diablo II was properly installed.
Oh and I removed the line which auto-launches the game because executable shortcuts exist for a reason.Edit : Should be good now ;
D2DX Update Wrapper (Manual Path & Registry) v0.2.zipFurther Edit (Version 0.3 does things slightly cleanlier and puts documentation and licenses inside d2dx-addendum inside Diablo II folder) :
D2DX Update Wrapper (Manual Path & Registry) v0.3.zip
That is just magnificent! I really like that. That Will help me to be able to be on the latest and greatest all the time :) Thanks mate !
from d2dx.
You should have the script do a compare hash to see if the file is different indicating a new version and alert the user if there is a change.
Get the file hashes
$hashSrc = Get-FileHash $file -Algorithm "SHA256"
$hashDest = Get-FileHash $file2 -Algorithm "SHA256"
Compare the hashes & note this in the log
If ($hashSrc.Hash -ne $hashDest.Hash)
{
Add-Content -Path $cLogFile -Value " Source File Hash: $hashSrc does not
equal Existing Destination File Hash: $hashDest the files are NOT EQUAL."
}
from d2dx.
I am writing a script which does file hashes, it is moderately verbose and prints hash results in Powershell prompt.
from d2dx.
D2DX Automated Updater v0.5a.zip (Typo Fix)
from d2dx.
Fantastic, thanks!
from d2dx.
I think an updater like this should exist as a separate repo, as GitHub issues is not exactly the best place to post automated updating systems where it can get lost in a crowd of bug reports or feature requests.
from d2dx.
You might be right @IAmTrial, I was just not confident enough it would be useful so I posted it for the small handful of people who found it a pain to update.
from d2dx.
Related Issues (20)
- Tile loading issues HOT 14
- Very High CPU Usage when in game and D2DX window not in focus HOT 2
- 854 x 480 resolution support HOT 2
- Fatal Error
- Nearest-neightbor scaling option
- Cannot get the game w/D2DX to run in 16:9 or beyond the 800x600 vanilla resolutions
- Glide3x.dll is non-existent? HOT 1
- The game crashes a few seconds after loading a character
- UNHANDLED EXCEPTION: ACCESS_Violation (c0000005) when running with d2dx glide3x.dll HOT 1
- 1068x600 as a Default resolution?
- Unable to run on Linux/Wine HOT 2
- Window mode size option
- [1.13c]In full screen mode, conflict with d2hackmap, can not use ctrl+left quick access items
- Instant crash on startup
- Can't find "glide3x.dll"
- D2dx widescreen not working
- Running in Linux with WINE HOT 1
- D2dx + BH and HD mods
- Wrong setting name HOT 1
- Black And White Cutscenes! HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d2dx.