A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »Command Prompt?

Author Topic: Command Prompt? (18 messages, Page 1 of 1)
Moderators: Dennis

Jose A137
Joined: Aug 23, 2011

Spartan A137 reporting for duty.


Posted: Aug 24, 2011 09:52 AM    Msg. 1 of 18       
How do you get the command prompt? I'm not quite sure which command prompt is, but it is explained in this video:

http://www.youtube.com/watch?v=ubHdDgVCERQ

If anyone knows, I would appreciate it.


Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007


Posted: Aug 24, 2011 10:43 AM    Msg. 2 of 18       
copy the one in system32 and paste it to halo ce root directory.


Jaz
Joined: Mar 21, 2010

[Insert sarcastic comment here]


Posted: Aug 25, 2011 02:17 PM    Msg. 3 of 18       
Doesn't it need to be renamed to tool?


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: Aug 28, 2011 04:57 PM    Msg. 4 of 18       
Blind leading the blind. Please ignore the above posts^


Command prompt is part of windows. On your computer you should open up your Halo Custom Edition older, hold down shift and right click. Then click on "open command window here". You can also make a shortcut to cmd.exe in the system32 folder and change the "start in" folder to your Halo Custom Edition folder.


GoldeNTacO
Joined: Sep 27, 2009

Stout Shako for 2 Refined


Posted: Aug 28, 2011 05:23 PM    Msg. 5 of 18       
Quote: --- Original message by: chrisk123999
Blind leading the blind. Please ignore the above posts^


Command prompt is part of windows. On your computer you should open up your Halo Custom Edition older, hold down shift and right click. Then click on "open command window here". You can also make a shortcut to cmd.exe in the system32 folder and change the "start in" folder to your Halo Custom Edition folder.
Or you could just copy CMD.exe from System32 into your CE folder like everyone else said. Accomplishes the same thing, really.


Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007


Posted: Aug 28, 2011 06:04 PM    Msg. 6 of 18       
Quote: --- Original message by: chrisk123999
Blind leading the blind. Please ignore the above posts^


Command prompt is part of windows. On your computer you should open up your Halo Custom Edition older, hold down shift and right click. Then click on "open command window here". You can also make a shortcut to cmd.exe in the system32 folder and change the "start in" folder to your Halo Custom Edition folder.

I am not at all wrong in what i said, and neither is that master cheef guy.
You attitude stinks.
Edited by Maniac1000 on Aug 28, 2011 at 06:04 PM


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: Aug 28, 2011 06:53 PM    Msg. 7 of 18       
Their is doing it the right way, and doing it the lazy way.


Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007


Posted: Aug 28, 2011 07:06 PM    Msg. 8 of 18       
What is wrong with doing it the way i said?


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: Aug 28, 2011 07:13 PM    Msg. 9 of 18       
296 KB of hard drive space apparently. However it's the theory that is wrong.


Jose A137
Joined: Aug 23, 2011

Spartan A137 reporting for duty.


Posted: Sep 7, 2011 02:02 AM    Msg. 10 of 18       
Quote: --- Original message by: chrisk123999
Blind leading the blind. Please ignore the above posts^


Command prompt is part of windows. On your computer you should open up your Halo Custom Edition older, hold down shift and right click. Then click on "open command window here". You can also make a shortcut to cmd.exe in the system32 folder and change the "start in" folder to your Halo Custom Edition folder.


Thank you :) This helped alot!


Masters1337
Joined: Mar 5, 2006

halonaminator's unfortunate idol


Posted: Sep 7, 2011 02:22 AM    Msg. 11 of 18       
What's amazing is for many years I just opened up command prompt and did CD C:\....\Halo custom edition -_-.


doompig444
Joined: Mar 22, 2010

MorniŽ alantiŽ


Posted: Sep 7, 2011 04:04 AM    Msg. 12 of 18       
Quote: --- Original message by: Masters1337
What's amazing is for many years I just opened up command prompt and did CD C:\....\Halo custom edition -_-.


This lololol.


bobbysoon
Joined: Feb 1, 2007


Posted: Sep 7, 2011 09:37 AM    Msg. 13 of 18       
I make batch files, with 3 lines: cd "c:\program files\etc. ce folder", tool etc., pause. They can be run from anywhere with a simple doubleclick. To set up a new one, I copy and edit an old one.
I also made a visual basic script called test.vbs that builds the cache file. If tool succeeds (map was modified), it runs halo. If not, it opens debug.txt


xXThePlague1Xx
Joined: Sep 2, 2011


Posted: Sep 7, 2011 11:07 AM    Msg. 14 of 18       
Um guys you do know that you all are doing it the hard way, well maybe except for "bobbysoon".

Anyway the easy way is to create a batch script in your halo ce directory, IE: right click, create new txt (text) file, rename to tool.bat or whatever as long as you've got .bat as the extension, then right click again and click edit, and type these three lines: Line1: tool.exe Line2: CMD.exe Line3: exit, Click save.

by this method you can create a shortcut to it from anywhere, and every time you start it up it gives you a list of commands to use with tool.

Oh and just in case, you will still have to type in the commands in the prompt, this just makes it a little easier.


Masters1337
Joined: Mar 5, 2006

halonaminator's unfortunate idol


Posted: Sep 7, 2011 06:51 PM    Msg. 15 of 18       
.bats are pointless if you have an error when compiling though, since they close when they're done. That vbs thing is real cool though.


Dennis

Joined: Jan 27, 2005

"We are made of starstuff.Ē ― Carl Sagan


Posted: Sep 7, 2011 11:06 PM    Msg. 16 of 18       
Quote: --- Original message by: Masters1337
.bats are pointless if you have an error when compiling though, since they close when they're done. That vbs thing is real cool though.


test.bat

::do something
dir c:\
:: now to pause the display
pause


bobbysoon
Joined: Feb 1, 2007


Posted: Sep 8, 2011 12:40 AM    Msg. 17 of 18       
Quote: --- Original message by: Masters1337
... That vbs thing is real cool though.
It saves time. Here it is - change the Orange parts to your scenario tagpath. Currently, it's at levels\test\test.scenario.
Set objFS = CreateObject( "Scripting.FileSystemObject" )

tc="tool.exe build-cache-file levels\test\test"
fMap="C:\Program Files\Microsoft Games\Halo Custom Edition\maps\test.map"
hcew="haloce.exe -window -console"
hce="haloce.exe -console"

If objFS.FileExists(fMap) Then
Set oFile = objFS.GetFile(fMap)
t1 = oFile.DateLastModified
End If

Dim wShell
Set wShell = WScript.CreateObject("WScript.Shell")
wShell.CurrentDirectory = "C:\Program Files\Microsoft Games\Halo Custom Edition"

Dim objResult
objResult = wShell.Run(tc, 1, true)


If objFS.FileExists(fMap) Then
Set oFile = objFS.GetFile(fMap)
t2 = oFile.DateLastModified
If 0 <> DateDiff("s", t1, t2 ) Then
objResult = wShell.Run(hcew, 1, true)
Else
objResult = wShell.Run("notepad debug.txt", 1, true)
End If
Else
If objFS.FileExists(fMap) Then
objResult = wShell.Run(hcew, 1, true)
Else
objResult = wShell.Run("notepad debug.txt", 1, true)
End If
End If


xXThePlague1Xx
Joined: Sep 2, 2011


Posted: Sep 8, 2011 10:04 AM    Msg. 18 of 18       
Yes like Dennis said just add a pause to the end.

unfortunately I forgot to add that in my post sry all. :(

edit: very nice .vbs script btw.
Edited by xXThePlague1Xx on Sep 8, 2011 at 10:04 AM

 

 
Previous Older Thread    Next newer Thread







Time: Sun September 22, 2019 11:05 AM 203 ms.
A Halo Maps Website