PortableApps.com wins big in the 2009 Community Choice Awards and hits 100 million app downloads!
Flightgear Development Question![]() Submitted by Simeon on October 28, 2009 - 2:29pm
Hi all A while back I gave Flightgear a shot, liked it and tried making a portable version. I know its a huge package but I'd like it anyhow Thanks! ( categories: )
|




Move
You can move it back and forth the way we do with registry entries.
Sometimes, the impossible can become possible, if you're awesome!
right
I just like the redirect better
I think its safer/better/faster.
But if there is no other way of doing it I will move them.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
FG_HOME
Just for the record, I looked in their CVS repository and it seems like you should be able to override it with the environment variable FG_HOME. (I told Simeon in IRC.)
Christian, developer, moderator
too bad
Doesnt work.
I run a program called fgrun.exe before. Its a tool where you can set choose Airplanes and such using in a grafical program so there is no need to do it using the commandline.
My guess is that this is causing it. I have to look further into this.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Process Explorer
Once the executable which matters is running, open up Process Explorer and have a look at its image, the Environment tab - it'll tell you what the program's environment is at the moment.
By my look at the code APPDATA should have worked - it does
:: getenv("APPDATA")rather than the special ShGetFolderLocation on CSIDL_APPDATA thing - so I'm not entirely surprised that FG_HOME isn't working.Christian, developer, moderator
oh
yes. Appdata is set the right way. But the fgrun.exe shows a file in which your airports are stored. That file is problem I think. Changing that path is my next objective
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate