Strange problem compiling scripts on Windows XP

For Descent, Descent II and Descent3 level editing and modification assistance.
Post Reply
User avatar
Interceptor6
DBB Ace
DBB Ace
Posts: 138
Joined: Sat Mar 01, 2003 3:01 am
Location: baton rouge, LA, USA

Strange problem compiling scripts on Windows XP

Post 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.
User avatar
Boo
DBB Ace
DBB Ace
Posts: 413
Joined: Mon Feb 09, 2004 3:01 am

Post by Boo »

Just checking the obvious, but have you created the message in the message list?
User avatar
Sapphire Wolf
DBB Admiral
DBB Admiral
Posts: 1463
Joined: Mon Nov 24, 2003 3:01 am
Location: Nope.avi , gender: male
Contact:

Post by Sapphire Wolf »

Mine works
User avatar
Robo
DBB Admiral
DBB Admiral
Posts: 1217
Joined: Sat Aug 17, 2002 2:01 am
Location: Lancashire, United Kingdom
Contact:

Post by Robo »

As does mine.
User avatar
Interceptor6
DBB Ace
DBB Ace
Posts: 138
Joined: Sat Mar 01, 2003 3:01 am
Location: baton rouge, LA, USA

Post by Interceptor6 »

Of course i made the message in the list. Been working with this thing for years now :P

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...
User avatar
Fusion
DBB Ace
DBB Ace
Posts: 379
Joined: Sun Sep 07, 2003 2:01 am
Location: Valdez System, Underverse; 7 Stars, Azeroth

Post 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... :x :? Is there anyone out there that can solve this?

Fus
User avatar
Boo
DBB Ace
DBB Ace
Posts: 413
Joined: Mon Feb 09, 2004 3:01 am

Post 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)
User avatar
Robo
DBB Admiral
DBB Admiral
Posts: 1217
Joined: Sat Aug 17, 2002 2:01 am
Location: Lancashire, United Kingdom
Contact:

Post 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.
User avatar
Fusion
DBB Ace
DBB Ace
Posts: 379
Joined: Sun Sep 07, 2003 2:01 am
Location: Valdez System, Underverse; 7 Stars, Azeroth

Post 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
User avatar
Kyouryuu
DBB Alumni
DBB Alumni
Posts: 5775
Joined: Fri Apr 30, 1999 2:01 am
Location: Isla Nublar
Contact:

Post 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.
User avatar
Duper
DBB Master
DBB Master
Posts: 9214
Joined: Thu Nov 22, 2001 3:01 am
Location: Beaverton, Oregon USA

Post 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.
Otherone
DBB Alumni
DBB Alumni
Posts: 393
Joined: Wed Jan 20, 1999 3:01 am
Location: Who knows?
Contact:

Post 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.
User avatar
Robo
DBB Admiral
DBB Admiral
Posts: 1217
Joined: Sat Aug 17, 2002 2:01 am
Location: Lancashire, United Kingdom
Contact:

Post 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.
Post Reply