lyndongaming 0 Posted October 1, 2021 Share Posted October 1, 2021 (edited) 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 October 1, 2021 by lyndongaming 0 Quote Link to post Share on other sites
lyndongaming 0 Posted October 1, 2021 Author Share Posted October 1, 2021 (edited) 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 October 1, 2021 by lyndongaming 0 Quote Link to post Share on other sites
kobgye 1 Posted October 2, 2021 Share Posted October 2, 2021 good job bro! I will try it! Thank you! 1 Quote Link to post Share on other sites
ZLOFENIX 3809 Posted October 3, 2021 Share Posted October 3, 2021 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" ) 0 Quote Link to post Share on other sites
C0pper 0 Posted October 8, 2021 Share Posted October 8, 2021 This is what i was trying to figure out, @ZLOFENIX Thank you for you help! 0 Quote Link to post Share on other sites
ZLOFENIX 3809 Posted October 8, 2021 Share Posted October 8, 2021 Bat file not needed some days already, if runned from shortcut zclient-game - game will be launched after zclient login. 1 Quote Link to post Share on other sites
lyndongaming 0 Posted October 16, 2021 Author Share Posted October 16, 2021 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? 0 Quote Link to post Share on other sites
ZLOFENIX 3809 Posted October 17, 2021 Share Posted October 17, 2021 Dunno, i dont know how it work. 0 Quote Link to post Share on other sites
rakantoh 0 Posted October 30, 2021 Share Posted October 30, 2021 Can you explain me better how to create the direct shorcut for zclient with diablo? i tried {"game path\zclient.exe" -d2r} but the zclient show me the error "run cmd failed 2". thanks. 0 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.