Page 1 of 1
Strange problem compiling scripts on Windows XP
Posted: Mon Feb 28, 2005 5:42 pm
by Interceptor6
I'm having an odd dilemma: whenever I compile a script for D3 on XP, no hud messages and can be displayed. I just get a 'message not found' error in the game. I already know how to setup Dallas and EGCS (done it twice on win98 and 2k), but is there something extra that must be done to set it up for windows XP? Has anyone else encountered this problem before too? Not being able to show a hud message is really limiting me. All other script functions work properly in game, and the 'gcc -v' version readout works in the dos prompt. I'm using D3 1.4, D3sdk1.4 and D3editA (Atan). Any ideas?
Also: Pardon any odd spelling errors if there are any, my keyboard isnt working properly.
Posted: Tue Mar 01, 2005 7:09 am
by Boo
Just checking the obvious, but have you created the message in the message list?
Posted: Tue Mar 01, 2005 10:30 am
by Sapphire Wolf
Mine works
Posted: Tue Mar 01, 2005 5:26 pm
by Robo
As does mine.
Posted: Fri Mar 04, 2005 1:54 am
by Interceptor6
Of course i made the message in the list. Been working with this thing for years now
But I figured it out though. Apparently, my level filename was too short (3 letters long). I lengthened the name, and now it works just fine. Strange...
Posted: Sat Jun 04, 2005 11:39 am
by Fusion
Ok, Pardon the 3 months later post....
That being said, I am having probs w/my scripting in XP. It just won't do it. I got the SDK and a virtualgcc installed, but I am getting hung up w/ the Autoexec.bat file string...
Is there anyone out there that can solve this?
Fus
Posted: Sun Jun 05, 2005 8:07 am
by Boo
The autoexec.bat thing never worked for me. When I tried it, the computer had to ask for the location of win.ini every startup o_0
I used the 2nd method where you modify some enviornment variable or something. (been awhile since I did it, so I can't remember too well)
Posted: Sun Jun 05, 2005 3:25 pm
by Robo
Myself and Fusion tried to get this working yesterday with no luck. I've set this thing up dozens of times without a problem, but his PC doesn't seem to want to do it.
We used the environment variable method.
Posted: Sun Jun 05, 2005 3:40 pm
by Fusion
Robo,
If you wanna try to do this again, I do have a little Win 98 box (They do have a Autoexec.bat file in there somewhere, right?)
ICQ me and we can try... I'd have to remove my Game Box and setup my Win box to do it tho. (KVM switch only supports 2 Boxes ata time.)
Fus
Posted: Sun Jun 05, 2005 10:47 pm
by Kyouryuu
If you're using an NT kernel (read: Windows XP, Windows 2000, and Windows NT), you'll need to use the Environmental Variable method. Simply put, NT doesn't use or have AUTOEXEC.BAT.
Posted: Sun Jun 05, 2005 11:48 pm
by Duper
Kyouryuu wrote:Simply put, NT doesn't use or have AUTOEXEC.BAT.
yea.. that's what I couldn't figure out. lol only windows with DOS used that.
Posted: Mon Jun 06, 2005 10:43 am
by Otherone
Create a batch file that calls vcvars32.bat then runs the d3 executable.
Code: Select all
REM Sample using VC++ compiler and my paths...
call "D:\Program Files\Microsoft Visual Studio\VC93\bin\vcvars32.bat"
start "D:\d3edit\d3editbeta.exe"
Then use a shortcut to that batch file to launch d3edit. Much easier than entering all those environment variables manually.
Posted: Mon Jun 06, 2005 1:04 pm
by Robo
You only need to enter one variable...
Mine is "D:/EGCS-1.1.2/bin"
Simple as that. But it didn't work for him. Fusion, I'll get in touch.