Planet Descent

Development => Descent Development => Topic started by: (LL)Atan on June 04, 2009, 07:27:27 AM

Title: Run D3 from Quicktest with command line
Post by: (LL)Atan on June 04, 2009, 07:27:27 AM
I was asked if it is possible to run D3 including command line parameter via Quicktest.
Yes it is. Just a few steps are necessary:
In D3Edit open the Quicktest/Hog Editor Bar (Toolbar Q)
Rightclick onto that Dialog(bar). Note that you must hit the Dialog, not any of it's Buttons etc.
You will get the option menu and there choose : Options :)
A new Dialog will come up with many options. The first Edit-Line is for your command line.
Here you enter your params and close the Dialog again.
This should work next time you run D3 via QT.
Just two examples:
You own a widescreen possible you would like to run D3 with:
-width 1920 -height 1200 -aspect 1.6
or something like that:
-framecap 0 -playermessages -nooutdoorfog -nointro -nomusic -nooutragelogo -nosparkles -pilot (LL)Atan -datacheck -width 1280 -height 1024 -aspect 1.25

Please tell me if this command-line-thing will work for you.

The reason why I edit my post see below.
Title: Re: Run D3 from Quicktest with command line
Post by: D2Disciple on June 04, 2009, 07:55:18 AM
I'd test it, but I feel ashamed to admit that I really don't know what Quicktest is. Could you explain, please? I'm interested.
Title: Re: Run D3 from Quicktest with command line
Post by: (LL)Atan on June 04, 2009, 09:55:25 AM
So were should I start?
First of all it belongs to the Descent3 Editor D3Edit.
I don't know if you are using this tool, but if you are building for D3 you should know this part out of D3Edit. It's (and much more) like the mission manager from Devil or DMB2. You can collect all needed files for a D3 mission, like the level(s), briefings, musics, customs, scripts, pictures and so on and generate the D3hog file (mn3) . Or you can extract from this file. One of the features of Quicktest is what the name is saying, you can test-run your D3 level(s) directly from the Editor (D3Edit) a second after you collect your mission.
I hope this very little explanation about may help. Otherwise feel free to ask ahead.

Sorry if I didn't used a precise enough topic that this post belongs to D3.
Title: Re: Run D3 from Quicktest with command line
Post by: D2Disciple on June 04, 2009, 10:07:32 AM
Oh, right! I gotcha now. I used it a couple of times when I *attempted* to build D3 levels.

Nice work! That's been needed for quite some time.  ;)
Title: Re: Run D3 from Quicktest with command line
Post by: -<WillyP>- on June 04, 2009, 02:19:03 PM
D2: Here's my tut (http://www.prepare4descent.net/descentiapedia/QuickTest) on setting up D3Edit and using Quicktest.

Thanks, Atan... With your permission, I'll add this new info to the tut.
Title: Re: Run D3 from Quicktest with command line
Post by: (LL)Atan on June 05, 2009, 12:44:24 AM
WillyP
No problem, feel free.
Title: Re: Run D3 from Quicktest with command line
Post by: -<WillyP>- on June 05, 2009, 05:27:43 PM
-width 1920 -height 1200 und -aspect 1.6

"und" ? ? ?
Title: Re: Run D3 from Quicktest with command line
Post by: Ronin RedFox on June 05, 2009, 06:04:33 PM
I think he has german D3?  ???
Title: Re: Run D3 from Quicktest with command line
Post by: -<WillyP>- on June 05, 2009, 06:38:05 PM
Yes, but do you put "and" in the middle of a command line?
Title: Re: Run D3 from Quicktest with command line
Post by: D2Disciple on June 05, 2009, 07:17:03 PM
I don't think that using "and" between two command line parameters does anything (except possibly nullify the parameter it comes after, if the game doesn't recognize it due to the "and"). Typo, perhaps?
Title: Re: Run D3 from Quicktest with command line
Post by: (LL)Atan on June 05, 2009, 11:43:37 PM
Shame on me :)
This 'und' was part of a sentence. Just remove it.
I'll edit this in the first post now.
See example two, all params start with '-'

How do you possible say in your language about : 'Holy cow' ? or 'sh** happens'?
Anyhow, sorry for this fault!
Title: Re: Run D3 from Quicktest with command line
Post by: -<WillyP>- on June 06, 2009, 04:21:48 AM
Hey, no problem... I was pretty sure und = and. I had already removed it from the Descentiapedia article.

Und as you say, $h!t happens!  ;)
Title: Re: Run D3 from Quicktest with command line
Post by: PyroJockey on June 06, 2009, 10:24:36 AM
Scheiße?
Title: Re: Run D3 from Quicktest with command line
Post by: -<WillyP>- on June 06, 2009, 05:36:23 PM
Scheiße happens?
Title: Re: Run D3 from Quicktest with command line
Post by: Ronin RedFox on June 06, 2009, 08:56:23 PM
Scheiße happens?

Ja.  ;)
Title: Re: Run D3 from Quicktest with command line
Post by: (LL)Atan on June 06, 2009, 11:32:39 PM
No, not really correct, just a word for a word...
You can't get the real meaning of a sentence just by translating one word.
But I don't think that we should try to do some lessons here, please remember what area this is, and let's focus to the topic again, if you can :)
Title: Re: Run D3 from Quicktest with command line
Post by: -<WillyP>- on June 07, 2009, 05:16:59 AM
 :-[


Sorry, Planet descent has a tradition of rapid topic derailment. And we are trying hard to maintain that tradition here... ;) We've been known derail a topic in the first post.  :o

Anyway, I always assumed when using Quicktest you would still get the command line from D3, and never really gave it much thought. Do you use this feature to change your command line when test flying or does Quicktest bypass the command line?
Title: Re: Run D3 from Quicktest with command line
Post by: (LL)Atan on June 07, 2009, 09:19:10 AM
Quote
Sorry, Planet descent has a tradition of rapid topic derailment. And we are trying hard to maintain that tradition here... We've been known derail a topic in the first post.
Well, I would prefer a place like 'Mess Hall' to make 'jokes or nonsense'. Not this Dev one here. If you may look back over the scene for the last 10-15 years you'll see why this might be an important fact.

You normally start your D3 with a click on the icon? What comes up? The launcher.
This one contains your command line if any. But if you test run D3 via Quicktest there is no launcher. You would run D3 without any command. This is the reason to enter the command line in Quicktest.
Title: Re: Run D3 from Quicktest with command line
Post by: D2Disciple on June 08, 2009, 05:25:02 AM
My apologies, Atan.  ;)

I tend to derail threads quite a bit, myself (probably a very bad example from a moderator).  :-\ We just... Tend to do that here, but we will make a greater effort to keep things on track in the more important areas of the forums, such as the development and technical forums.  ;)