Jump to content
ZLOFENIX Games

Launch Diablo II Resurrected through Shortcut


Recommended Posts

Is it possible to launch Zclient and Diablo directly through a shortcut, cmd, bat file, or a command line? without dragging the exe? 

The reason is that I use a game launcher to organize my games (with controller) and I would like to be able to launch Diablo directly through zclient

Edited by lyndongaming
Link to post
Share on other sites

UPDATE guys: I was able to make a batch file to do exactly this

Quote

@echo off
start ZClient.exe
:sleep
ping 127.0.0.1 -n 15 -w 1000 > NUL
ZClient.exe "D:\Games\Diablo II Resurrected\D2R.exe"
:sleep
ping 127.0.0.1 -n 5 -w 1000 > NUL
ZClient.exe "D:\Games\Diablo II Resurrected\D2R.exe"
ping 127.0.0.1 -n 5 -w 1000 > NUL
ZClient.exe "D:\Games\Diablo II Resurrected\D2R.exe"
ping 127.0.0.1 -n 5 -w 1000 > NUL
ZClient.exe "D:\Games\Diablo II Resurrected\D2R.exe"
exit

Obviously replace the directory with yours, and make sure to place the bat file the same folder as ZClient.exe

It runs ZClient.exe alone first then waits for 15 seconds for you to autologin. after 15 seconds it will try to do the "drag and drop" maneuver to run D2R.exe, it checks for it three times at 5 second intervals just to be sure, then closes itself. If your computer is too slow to open Zclient or login, you can extend the delay. for example 1000 seconds = ping 127.0.0.1 -n 1000 -w 1000 > NUL 

Edited by lyndongaming
Link to post
Share on other sites
Set ProcessName=zclient.exe
TaskList /FI "ImageName EQ %ProcessName%" 2>nul|Find /I "%ProcessName%">nul||(
start zclient.exe
timeout /T 7
start zclient.exe "E:\GAMES\Diablo2Resurrected\D2R.exe"
)
else (
start zclient.exe "E:\GAMES\Diablo2Resurrected\D2R.exe"
)

 

Link to post
Share on other sites
On 10/9/2021 at 1:31 AM, ZLOFENIX said:

Bat file not needed some days already, if runned from shortcut zclient-game - game will be launched after zclient login.

Thanks! I also used auto-hotkey to run game from Steam. However, steam-overlay is not working so I cannot use my steam controller, is there a way to enable steam overlay?

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...