Board index FlightGear Development New features

FG 1.0/2.4 portability?

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

FG 1.0/2.4 portability?

Postby rico001 » Fri Jul 15, 2011 4:18 pm

Version 1.0 of fightgear is easy to make portable, I think. You simply use a batch file instead of fgrun. I made a slimmed down portable version of FG1.0 if anyone wants to host it? I couldn't get the Boeing 787a wingtrails to work. It is handy for troubleshooting purposes or quick install...

[url=https://sourceforge.net/projects/flightgear1-win32-portable/[/url]
now on sourceforge, not updated with below,yet.
The hidden roaming user appdata that exists might conflict with it, for example I wasn't able to use the 'v' after I had also installed a 2.4 git version

Changes to binary files :
Code: Select all
Added mulicore support in rendering of properties.xml – line 101  <multithreading-mode>AutomaticSelection</multithreading-mode>  (probably not needed)

Installed with OpenAL
Put all the bin and win32 files in the flightgear dir
removed bin & win32 directories
Took AI scenarios out of AI directory
Removed fgrun.exe
Removed unins000.dat
Removed unins000.exe
Removed js_demo.exe
Removed fgadmin.exe
Removed OpenALwEAX-11.exe (OpenAL EAX installer)
Removed scenery batch file and put that Scenery directory in with the rest in the Flightgear dir.
Took out pdf in docs directory
Left in Aircraft and folders:
c172
c172p
787
Generic
Instruments
Instruments-3d
UIUC – For lighter then air aircraft only (not necessary)
pa24-250 (added for 787)  Added dme.ac from SenecaII fixes wing error
pa28-161 (added for 787)  Added dme.ac from SenecaII  fixes wing error
Batch file Begin -------------
fgfs.exe --fg-root=data --fg-scenery=data\Scenery --aircraft="787-ANA" --airport=KSFO --control=joystick --disable-random-objects --disable-specular-highlight --prop:/sim/frame-rate-throttle-hz=120 --prop:/sim/hud/draw-fps=1 --disable-ai-models --timeofday=noon
pause
REM for multiplayer
REM http://wiki.flightgear.org/index.php/Howto:_Multiplayer
REM --multiplay=out,10,server.ip.address,5000
REM --callsign=anything
Batch file End -------------
Add GPL and OpenAL License in docs folder
Last edited by rico001 on Mon Sep 17, 2018 11:34 pm, edited 1 time in total.
rico001
 
Posts: 65
Joined: Wed Oct 17, 2007 6:14 pm

Re: FG 1.0/2.4 portability?

Postby openflight » Wed Nov 06, 2013 12:04 am

Hi
just saw your post, is this still available?

Wait: 1 sec
This file does not exist, the access to the following file is limited or it has been removed due to infringement of copyright.
openflight
 
Posts: 350
Joined: Fri Sep 16, 2011 11:14 am
Version: 1.0
OS: Lubuntu 16.04LTS

Re: FG 1.0/2.4 portability?

Postby rico001 » Wed Nov 06, 2013 7:17 pm

Someone could upload it to a more permanent place
rico001
 
Posts: 65
Joined: Wed Oct 17, 2007 6:14 pm

Re: FG 1.0/2.4 portability?

Postby Bjoern » Wed Nov 06, 2013 10:44 pm

Unless I've missed something: FG is quite portable, as long as you reassign the paths to the executable and FGdata folder in the launcher after having moved the folder(s).
Bjoern
 
Posts: 448
Joined: Fri Jan 06, 2012 10:00 pm
Location: TXL or so
Version: Next
OS: ArchLinux, Win 10

Re: FG 1.0/2.4 portability?

Postby Hooray » Mon Nov 11, 2013 5:18 pm

it is generally portable, but not as much as originally - simply due to the number of dependencies, DLLs/DSOs, configuration files and $FG_ROOT obviously.
The configuration/navdata cache being increasingly important - however, it would require only 5 lines of code to allow fg-home to be configurable via a CLI argument (if it isn't already...), so that you could even keep everything on a USB stick
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11475
Joined: Tue Mar 25, 2008 8:40 am


Return to New features

Who is online

Users browsing this forum: No registered users and 2 guests