[NEED HELP] D2Ex2-master Build solution error

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

User avatar
flamingfury69
Posts: 40
Joined: Wed Nov 28, 2018 10:16 am
Vietnam

[NEED HELP] D2Ex2-master Build solution error

Post by flamingfury69 » Wed Nov 28, 2018 10:55 am

Hello guys, I'm trying to debug the project D2Ex2 but I got a problem

Code: Select all

Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB3073	The command "sed -i -r 's/^(.*) ([0-9]*)$/echo "\1" \$((\2+1))/ge' F:\Diablo II - Lord of Destruction\Build.h
tasklist | grep -q Game.exe && taskkill /f /im Game.exe
EXIT 0
:VCEnd" exited with code 255.	D2Ex2	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	123	
I'm build is on 1.10f diablo 2 version and I already copy any files on the directory folder to diablo 2 folder.
But after debugging error, it's showed up in the game folder this folder:
Image
Include 1 folder
Image
and 1 log file

Code: Select all

  'sed' is not recognized as an internal or external command,
  operable program or batch file.
  'grep' is not recognized as an internal or external command,
  operable program or batch file.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: The command "sed -i -r 's/^(.*) ([0-9]*)$/echo "\1" \$((\2+1))/ge' F:\Diablo II - Lord of Destruction\Build.h
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: tasklist | grep -q Game.exe && taskkill /f /im Game.exe
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: EXIT 0
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: :VCEnd" exited with code 255.
If I change to release 1.10b then the 1.10b release folder apprear in game folder
This is the log file

Code: Select all

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140_xp\Toolset.targets(36,5): warning MSB8003: Could not find WindowsSdkDir_71A variable from the registry.  TargetFrameworkVersion or PlatformToolset may be set to an invalid version number.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(366,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry.  TargetFrameworkVersion or PlatformToolset may be set to an invalid version number.
  stdafx.cpp
f:\diablo ii - lord of destruction\stdAfx.h(70): fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory
Thanks you guys.

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
South Africa

Hand-picked

Re: [NEED HELP] D2Ex2-master Build solution error

Post by Necrolis » Wed Nov 28, 2018 3:41 pm

D2Ex is for 1.11b and 1.13c/d, its not even going to run on 1.10.
And by the looks of the errors you need to install some command line tools from cygwin (sed & grep) and install the Windows 7.1A SDK (which for you is likely the winxp compat toolset in VS).
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
thaison
Junior Member
Paladin
Posts: 108
Joined: Fri Apr 03, 2015 11:59 am
Location: Viet Nam
Vietnam

Re: [NEED HELP] D2Ex2-master Build solution error

Post by thaison » Thu Nov 29, 2018 1:07 am

I was surprised to meet again Vietnamese :D

User avatar
flamingfury69
Posts: 40
Joined: Wed Nov 28, 2018 10:16 am
Vietnam

Re: [NEED HELP] D2Ex2-master Build solution error

Post by flamingfury69 » Thu Nov 29, 2018 1:26 pm

Necrolis wrote:
Wed Nov 28, 2018 3:41 pm
D2Ex is for 1.11b and 1.13c/d, its not even going to run on 1.10.
And by the looks of the errors you need to install some command line tools from cygwin (sed & grep) and install the Windows 7.1A SDK (which for you is likely the winxp compat toolset in VS).
Thanks dude !
thaison wrote:
Thu Nov 29, 2018 1:07 am
I was surprised to meet again Vietnamese :D
Haha me too

Return to “Code Editing”