Forum Thread
  Posts  
Quake III Coding (Forums : Coding & Scripting : Quake III Coding) Locked
Thread Options
MajinSlu
MajinSlu (awesome)
Apr 25 2003 Anchor

All the tutorials for getting started say to configure MSVC by opening the "autoexec.bet" and adding things to it. Where is this file, and how do I add things to it? One tutorial said where it was for Windows 95/98, but I'm on XP, so that doesn't help much.

--

User Posted Image

Apr 25 2003 Anchor

Um, I really doubt Windows XP uses an autoexec.bat file. If it did, it would probably crash on it.

--

User Posted Image

Tei
Tei Enginecoder
Apr 25 2003 Anchor

At w2k right-click my pc, option->advance->enviroment vars->...

something similar

PsychoFarmer
PsychoFarmer modDB King
Apr 25 2003 Anchor

autoexec exits on xp, but is not used (i believe its atually just a blank file)

i think its been blank since me too

--

___________________________
Today seems like a good day to burn a bridge or two
I am the freakiest man in the world!!!!
I beg to differ, on the contrary, I agree with every word that you say

User Posted Image

Apr 25 2003 Anchor

You don't have to use autoexec.bat to configure MSVC++ though. I never had to, and I'm using 98!

--

User Posted Image

PsychoFarmer
PsychoFarmer modDB King
Apr 25 2003 Anchor

i wouldnt think that you would... autoexec is for, *gasp!* automatically executing files on startup!!! which isnt needed past me

--

___________________________
Today seems like a good day to burn a bridge or two
I am the freakiest man in the world!!!!
I beg to differ, on the contrary, I agree with every word that you say

User Posted Image

Apr 25 2003 Anchor

Not only that. It also sets all the environment variables at startup.

--

User Posted Image

PsychoFarmer
PsychoFarmer modDB King
Apr 25 2003 Anchor

some of them... most of those are set by other files, like system.ini, and so on, and so forth

xp and system.ini, win.ini. config.sys, and autoexec.bat
only system.ini and win.ini have anything in them though... to view ur startup type file, type sysedit under run

- Edited By PsychoFarmer On Fri 25th, Apr 2003 @ 7:32:27pm

--

___________________________
Today seems like a good day to burn a bridge or two
I am the freakiest man in the world!!!!
I beg to differ, on the contrary, I agree with every word that you say

User Posted Image

Apr 25 2003 Anchor

Not the important ones! Not BLASTER! :D I used to have lots of fun reading the BLASTER variable in old DOS programs...

--

User Posted Image

PsychoFarmer
PsychoFarmer modDB King
Apr 25 2003 Anchor

true, but thats stuck in system.ini now... i think

--

___________________________
Today seems like a good day to burn a bridge or two
I am the freakiest man in the world!!!!
I beg to differ, on the contrary, I agree with every word that you say

User Posted Image

MajinSlu
MajinSlu (awesome)
Apr 26 2003 Anchor

So then is anyone here using XP? I can't create .qvm's becuase it says I'm supposed to configure the autoexec.bat in order to do that. The tutorial I'm getting this from is Code 3 Arena's.

<http://www.planetquake.com/code3arena.com/tutorials/tutorial2.shtml>

If I'm not supposed to use the autoexec, then how do I create .qvm's?

- Edited By MajinSlu On Sat 26th, Apr 2003 @ 1:49:39am

leilei
leilei The person who doesn't like anything
Apr 27 2003 Anchor

Don't do XP then.

--

<  insert subject games here  >

Apr 27 2003 Anchor

do it on a diff op system

--

STILL BAD, STILL BALLIN'
User Posted Image
User Posted Image

leilei
leilei The person who doesn't like anything
Apr 27 2003 Anchor

Do .NET

--

<  insert subject games here  >

PsychoFarmer
PsychoFarmer modDB King
Apr 27 2003 Anchor

95, wheeeee

--

___________________________
Today seems like a good day to burn a bridge or two
I am the freakiest man in the world!!!!
I beg to differ, on the contrary, I agree with every word that you say

User Posted Image

Apr 27 2003 Anchor

that tutorial is horribly out of date

right-click my computer

goto the advanced tab, click enviroment variables at the bottom

In the system variables box find the variable Path, double click it

at the very end of the string there, add the path to your bin_ directory

like this

;c:/quake3sdk/bin_nt

you need the semicolon in the front...

- Edited By Sevensins On Mon 28th, Apr 2003 @ 12:33:48am

--

Sevensins
the 45th platoon

PsychoFarmer
PsychoFarmer modDB King
Apr 27 2003 Anchor

that would also work :paranoid:

--

___________________________
Today seems like a good day to burn a bridge or two
I am the freakiest man in the world!!!!
I beg to differ, on the contrary, I agree with every word that you say

User Posted Image

Apr 28 2003 Anchor

Err.. why compile with MSVC if you want QVMs?

If you want to compile to QVM then use the batch files that came with the source (game.bat, cgame.bat, etc.) Strictly speaking MSVC is not required but it's handy because it has features that help when coding (like find in files and the tabbing): theoretically it is possible to make all the coding changes for your mod simply using notepad and the batch files.

Apr 28 2003 Anchor

Commodus wrote: Strictly speaking MSVC is not required but it's handy because it has features that help when coding (like find in files and the tabbing): theoretically it is possible to make all the coding changes for your mod simply using notepad and the batch files.


:rolleyes:

Being able to debug in realtime, watch variables, etc. greatly out way the "features" you have mentioned above.

Yes, I think he may have gotten qvm compiling confused with the MSVC compiling (dlls) stuff. He'll need to do the above for the qvm batch files to work...

--

Sevensins
the 45th platoon

MajinSlu
MajinSlu (awesome)
Apr 28 2003 Anchor

Okay so my System Variables path now says:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:/quake3sdk/bin_nt

It still doesn't create the qvm's for me. I edited the ui class for the menu, and when I doulbe click on ui.bat in the quake3/source/ui directory, nothing seems to happen. It just flashes a dos prompt too fast for me to read. Why isn't it making the qvm's?

- Edited By MajinSlu On Mon 28th, Apr 2003 @ 4:55:50pm

--

User Posted Image

Apr 28 2003 Anchor

MajinSlu wrote: Okay so my System Variables path now says:

%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;c:/quake3sdk/bin_nt

It still doesn't create the qvm's for me. I edited the ui class for the menu, and when I doulbe click on ui.bat in the quake3/source/ui directory, nothing seems to happen. It just flashes a dos prompt too fast for me to read. Why isn't it making the qvm's?

- Edited By MajinSlu On Mon 28th, Apr 2003 @ 4:55:50pm


First off, make sure you've rebooted since you made that change...and that your sdk and bin directory are at the place you put in the path O_o (I only say that cuz you put exactly what I gave as an example...)

then:

start->run

type cmd and hit ok

go to the ui dir, run the bat file from there

from what you said, there is probablly an error...

- Edited By Sevensins On Tue 29th, Apr 2003 @ 1:01:24am

--

Sevensins
the 45th platoon

PsychoFarmer
PsychoFarmer modDB King
Apr 29 2003 Anchor

i didnt know that cmd brought up command prompt... i always just typed in command... always useful to know

--

___________________________
Today seems like a good day to burn a bridge or two
I am the freakiest man in the world!!!!
I beg to differ, on the contrary, I agree with every word that you say

User Posted Image

MajinSlu
MajinSlu (awesome)
Apr 30 2003 Anchor

Okay, so I corrected the path in the System Variable. I restarted my computer, ran the dos prompt, and typed:

C:/quake3/source/ui/ui

I'm fairly sure I did that correctly, but I don't see a .qvm as a result. Is there another step to getting the qvm after this? Here's what the dos prompt said if it helps:

C:/Documents and Settings/comp>C:/quake3/source/ui/ui

C:/Documents and Settings/comp>mkdir vm

C:/Documents and Settings/comp>cd vm

C:/Documents and Settings/comp>call ../compile ../ui_main.c '../compile' is not recongnized as an internal or exernal command, operable program or batch file.

C:/Documents and Settings/comp>cd ..


- Edited By MajinSlu On Wed 30th, Apr 2003 @ 3:43:17pm

--

User Posted Image

Apr 30 2003 Anchor

are you using the orignal SDK from Id? It has some problems....can't remember what, its been so long...but

try this SDK

Homepage.hispeed.ch(debugged).zip

--

Sevensins
the 45th platoon

MajinSlu
MajinSlu (awesome)
Apr 30 2003 Anchor

THANK YOU!! Those new SDK files are exactly what I needed. I can finally make and use qvms. I made everything on the menus blue instead of red. :)

THANKS AGAIN!!

- Edited By MajinSlu On Wed 30th, Apr 2003 @ 8:40:35pm

--

User Posted Image

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.