Problem Can't change Orbiter.cfg

blane

Deep Space Operator
Joined
Oct 14, 2008
Messages
429
Reaction score
0
Points
0
Location
Kadath
I tried to change the Orbiter.cfg (namely adding MFDMapVersion = 0 for HiRes-Maps) but everytime I load a scenario, Orbiter.cfg is re-written to the original one. Thus I can't change anything in there.

Any idea what would cause this?
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Is your Orbiter located in "Program Files (x86)"?
 

blane

Deep Space Operator
Joined
Oct 14, 2008
Messages
429
Reaction score
0
Points
0
Location
Kadath
No, Orbiter is installed in a custom directory on my D: drive.
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
  • Are you the owner of the Orbiter folder and Orbiter.cfg file?

  • Are you running Orbiter as Administrator?

  • Make sure Orbiter isn't running when you edit the file.

  • If you run Orbiter as Administrator, do you edit the Orbiter.cfg file as Administrator, too?

  • Make sure there is no Orbiter.cfg somewhere in: "%HOMEDRIVE%%HOMEPATH%\AppData\Local\VirtualStore".
 

blane

Deep Space Operator
Joined
Oct 14, 2008
Messages
429
Reaction score
0
Points
0
Location
Kadath
I checked all and none of it could be the reason. I have admistrator rights and there is no Orbiter.cfg in my personal AppData folders.

Furthermore, I can edit the Orbiter.cfg in my orbiter root directory. (Orbiter is not running). Then I start Orbiter and nothing changes. But as soon as I load a scenario, no matter which one, it will rewrite the Orbiter.cfg to whatever it was before. When I reload it in my text editor, any lines added before are gone again :(
 

dbeachy1

O-F Administrator
Administrator
Orbiter Contributor
Addon Developer
Donator
Beta Tester
Joined
Jan 14, 2008
Messages
9,218
Reaction score
1,566
Points
203
Location
VA
Website
alteaaerospace.com
Preferred Pronouns
he/him
orbiter.cfg is always read and then rewritten by the Orbiter core when it launches (it saves the state of the settings in the launchpad). Therefore you normally should not edit that file directly. :)
 

blane

Deep Space Operator
Joined
Oct 14, 2008
Messages
429
Reaction score
0
Points
0
Location
Kadath
I see. However, I only wanted to do that cause it was suggested in this thread:

http://www.orbiter-forum.com/showthread.php?t=16321&highlight=MFDMapVersion

On how to change to HiRes maps in MapMFD (and Aerobrake). I found a dirty workaround by simply making Orbiter-cfg RO after doing the changes. However, as you pointed out, Launchpad settings won't be saved. Also, it's obviously not an ideal solution.

Is there any other ways to use custom maps in Aerobrake and MapMFD in 2010?
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Can you add to Orbiter.cfg the line (Reference):
Code:
EchoAllParams = TRUE
And check whether Orbiter removes that line, too?
 

blane

Deep Space Operator
Joined
Oct 14, 2008
Messages
429
Reaction score
0
Points
0
Location
Kadath
Nice. That did the trick! :)

After changing that, it added a whole bunch of parameters and "MFDMapVersion = 0" now remains in the file. Thanks a lot! :thumbup:
 
Top