Home   Help Search Login Register  

Author Topic: Command line options  (Read 1791 times)

0 Members and 1 Guest are viewing this topic.

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Command line options
« on: 29 Sep 2003, 08:41:36 »
Hello,

i am sure there is a tutoriual for the command line option of OFP. But i can not find it. Please help.
I mean.

e.g. operationflashpoint.exe /mod="mymod" /skipstart /onlyp3 ....

I am looking for a tutorial which explains all the "/mod="mymod" /skipstart /onlyp3" options behind the start command.

Greetings
Kuro  

Offline rhysduk

  • Former Staff
  • ****
Re:Command line options
« Reply #1 on: 29 Sep 2003, 23:46:03 »
 :o Hi Kuro

Would u mind explaining to me what you are talking about - maybe i could help you then - or maybe not

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Kaliyuga

  • Guest
Re:Command line options
« Reply #2 on: 30 Sep 2003, 00:08:07 »
 He's talking about all those little commands you can add to your .exe file or desktop shortcut to start OFP

like the one I use most looks like:


"C:\Program Files\Codemasters\OperationFlashpoint\FLASHPOINT192BETA.EXE" -nosplash -mod=hisky


it allows you to remove the "splash screens" at startup ... or run a modfolder such as the Hisky pack  ;)


Quote
skipstart /onlyp3

those two I've never seen before ;)

to my knowledge there isn't any tutorial on that ....  at least that I've come across...

:cheers:
« Last Edit: 30 Sep 2003, 00:09:08 by Kaliyuga »

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Re:Command line options
« Reply #3 on: 30 Sep 2003, 05:33:43 »
Thanks,

sorry my examples "skipstart /onlyp3"  were not actual commands line options. I just want to give an fictive example to explain what i am talking of.

In OFP Lauchner you have a not of nice possibilities, my idea was that these choices are done by command lines options.

Greetings
Kuro

Offline rhysduk

  • Former Staff
  • ****
Re:Command line options
« Reply #4 on: 30 Sep 2003, 20:15:42 »
Oh shit - nice one...

So all i have to do to make one like you have (Kaliyuga) is create a desktop Icon for OFP with the TARGET OPTION as :-

"C:\Program Files\Codemasters\OperationFlashpoint\FLASHPOINT192BETA.EXE" -nosplash

Correct or not ?

May i ask why u have a game in your Program File Folder of oyur HDD ?

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Command line options
« Reply #5 on: 30 Sep 2003, 20:24:38 »
Quote
May i ask why u have a game in your Program File Folder of oyur HDD ?

That's because the intall proggy suggests that folder
by default, and i didn't either care about changing the
default install-path => my OFP is also in Program Files folder,
as it's for most of the OFP comunity i guess.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Kaliyuga

  • Guest
Re:Command line options
« Reply #6 on: 30 Sep 2003, 21:04:51 »
 yep if you  add   -nosplash  to the end of your target  you won't have to sit through those screens at start up ;)


 And like Chris said.. the folder I have my game installed in is the Default one when you run the setup/install program ;)

:cheers:


Offline rhysduk

  • Former Staff
  • ****
Re:Command line options
« Reply #7 on: 01 Oct 2003, 23:30:17 »
Cool  :D Thanks guys... Much appreciated ;D

Sorry if you thought i was poking my nose in  :-[

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Command line options
« Reply #8 on: 02 Oct 2003, 20:47:45 »
I did a little search around the net, but could only find some pieces of parameters. Just like the ones listed here; -nosplash -mod .. and those. Also the parameters used with dedicated servers came out strong.

I guess it would be possible to compile a listing of all these but there isn't one already made as far as I know of.
Not all is lost.

Offline rhysduk

  • Former Staff
  • ****
Re:Command line options
« Reply #9 on: 02 Oct 2003, 23:40:34 »
So:- i am understanding that :-

1. ---- -nosplash makes the game load without the credits, copyright stuff at the beginning... Instead of changing the target int eh desktop icon properties bar you can use the one allready made in CHOFPSE ....

2. ----- -mod..... what does this one do guys ? Something to do wiht addons maybe ?

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Kaliyuga

  • Guest
Re:Command line options
« Reply #10 on: 03 Oct 2003, 03:40:52 »
 Modfolders my man.....

you can place a folder in your:

C:\Program Files\Codemasters\OperationFlashpoint

directory   containing a certain set off addons

 for example you make a bunch of folders:  

BAS

Desert

Snow

WW2

Nam

Throw the addons into those folders instead of your addons folder..

then if you want to run OFP with your addons folder and those addons loaded you have a shortcut for each one

"C:\Program Files\Codemasters\OperationFlashpoint\FLASHPOINT192BETA.EXE" -mod=BAS

all these commands can stack as well so you can have something like

FLASHPOINT192BETA.EXE"   -nosplash -mod=BAS  -mod=Desert -mod=Nam

as long as there is a space between each command

:cheers:

Korax

  • Guest
Re:Command line options
« Reply #11 on: 03 Oct 2003, 04:14:15 »
Well, as a matter of fact, there is a tutorial in the editors section just about this called
Speed up Loading / Command Line Args
it doesnt seem to have an author but here's the command lines it lists:

List of Command Line Arguments
IMPORTANT : All of these must include the dash at the beginning.


-window
This runs the demo in a window vs full screen.


-nosplash
This eliminates the intro screens at the beginning of the demo. Really speeds it up so you can test your missions faster.


-twomon
Allows you to support two monitors. Got verification it works in Win2000. Not sure about WinME yet.


-dx
Not sure. I didn't notice anything different


-noland
This didn't seem to do anything for me


-nodmusic
No digital music? Didn't seem to do anything since the music still played.


-nosound
Turns the sound levels all the way to 0. You need to manually reset the levels in the demo's option screen if you use this argument.


-piii
Pentium III? This didn't seem to do anything for me.


-tl
Made all the game textures a bland single color and the 3d model shapes were funky. Drak reckons it turns on hardware texture and lightning.


-notex
No textures. This eliminated all textures in the game.


-benchmark
I didn't see any difference with this.


-logfiles
This was interesting. It creates a subdirectory called "Files Used" and it contains a log file that corresponds to each pbo file in the DTA subdirectory. Each logfile lists the files from the corresponding pbo file that are actually used.

Offline Kurayami

  • Members
  • *
Re:Command line options
« Reply #12 on: 04 Oct 2003, 02:21:03 »
-twomon
Allows you to support two monitors. Got verification it works in Win2000. Not sure about WinME yet.
This works very poorly, which really dissapoints me. OFP would be great if I could use both of my monitors. With this enabled, the aspect ratio is all messed up - everything in-game appears too wide. It appears that the game just takes the scene and stretches it to twice its normal width.  :(

Offline rhysduk

  • Former Staff
  • ****
Re:Command line options
« Reply #13 on: 05 Oct 2003, 23:29:58 »
 :o Thanks Kaliyuga :o

Much appreciated for that little introduction on that. Thanks a lot..

@ The other posters...

Thanks boys but i have all i need know ;D

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Re:Command line options
« Reply #14 on: 06 Oct 2003, 06:35:16 »
Hello Kurayami,

i think this can help you with the Problem of two screens. Could you test it.

http://www.theavonlady.org/theofpfaq/sp/fov.htm

Greetings
Kuro