80. Files
Note that file locations can be overridden using command line options. See Command Line Options for more information.
File paths will differ if using one of the portable scripts (Portable Execution).
Tip
You can open all file locations from the main menu Tools
-> Files and Directories.
80.1. Important Files to Backup
You can simply create a copy of the Settings Directory ABarthel
to have a full backup of all configuration options,
databases, the logbook, userpoints, aircraft trail and more.
Most important files are: Configuration (little_navmap.ini
), Aircraft Trails (little_navmap.track
),
Userpoints Database (little_navmap_userdata.sqlite
in little_navmap_db
)
and the Logbook Database (little_navmap_logbook.sqlite
in little_navmap_db
).
All other files can be re-generated from the simulator scenery library or are only temporary storage.
80.2. File Backups
Little Navmap creates a copy of the most important files on startup and keeps up to three additional
backup files: ..._backup.sqlite
to ..._backup.sqlite.2
, for example. You can copy these files
back to the original if you did something wrong.
This applies to the files for Userpoints Database, Logbook Database and Aircraft Trails.
Furthermore, Little Navmap creates backups of important files when starting an updated version to avoid accidental data loss.
These files end with ..._update-backup.1
to ..._update-backup.3
.
80.3. Logs
Log files of Little Navmap are stored in the directories:
Windows:
C:\Users\YOURUSERNAME\AppData\Local\Temp\abarthel-little_navmap.log
or%temp%\abarthel-little_navmap.log
.Linux:
/tmp/abarthel-little_navmap.log
macOS:
/var/folders/RANDOMIZED_DIRECTORY_NAME/abarthel-little_navmap.log
Use the command below on the macOS terminal to find the log file and open it in Text Edit. Save the file to another place from where you can attach it to an email.open -a TextEdit $(find /private/var/folders/ -name abarthel-little_navmap.log 2>/dev/null)
The Little Navmap keeps up to two log files and rotates these if
the file size of 10 MB is exceeded. So you may find up to two log files abarthel-little_navmap.log
and abarthel-little_navmap.log.1
.
Send the log file abarthel-little_navmap.log
if you like to report
an error. All two are needed in some cases but sending the first is often sufficient.
Note
Please compress log and other files before sending them by email.
80.4. Settings Directory
This is the main directory where all settings, trails, databases and more are stored.
These are:
Windows:
C:\Users\YOURUSERNAME\AppData\Roaming\ABarthel
or%appdata%\ABarthel
macOS:
/Users/YOURUSERNAME/.config/ABarthel
or$HOME/.config/ABarthel
Linux:
/home/YOURUSERNAME/.config/ABarthel
or$HOME/.config/ABarthel
80.4.1. Configuration
Configuration files ending with .ini
use the Windows-INI style that has groups in square
brackets and key=value
lines. See here for more information
about this type of configuration files.
little_navmap.ini
: INI style configuration file. Text file. Can be opened with Open Configuration File.little_navmap.history
: The map position history. This is a binary file which cannot be opened in text editors.little_navmap.lnmpln
: Temporary flight plan file in LNMPLN format (XML/text). This is used to reload changed flight plans without manual save.
Three more configuration files are created for customization of colors and styles:
little_navmap_fusionstyle.ini
: INI style configuration file for customizing the GUI colors of the styleFusion
.little_navmap_nightstyle.ini
: As above but for the styleDark
.little_navmap_mapstyle.ini
: INI style configuration file. Text file. Used for customization of the map display.
See Customize for more information.
Note
Note that Little Navmap might reset these files when being updated, but only after creating backup files. This is usually mentioned in the change log.
80.4.2. Aircraft Trails
Aircraft trails are stored in separate files in the Settings Directory directory:
little_navmap.track
: The main user aircraft trail shown on the map. Binary file. This trail can be exported as a GPX using Export Flight Plan and Trail as GPX in the menuFile
.little_navmap.logbooktrack
andlittle_navmap_profile.track
are temporary files for saving trails.
80.4.3. Crash Reports
Crash or issue reports are stored in the Settings Directory directory in the sub-directory crashreports
.
These are normal Zip files containing the most important configuration, flight plan and other files needed to reproduce a crash.
An issue report can be created manually by a user by clicking Create Issue Report in the menu Tools
. Crash reports are automatically collected after Little Navmap detects an unclean shutdown. See also Crash Report and Issue Report.
little_navmap_crashreport.zip
: Automatically generated crash report after detecting an unclean shutdown from the last session. Follow the instructions in the dialog window if you wish to send the report. Click on the blue links to open files or web pages.little_navmap_issuereport.zip
: Manually created issue report by using Create Issue Report in the menuTools
.little_navmap_stacktrace.txt
: More detailed information about crash location in the source code. Not available on all platforms.
80.4.4. Databases
Aircraft trails are stored in the sub-directory little_navmap_db
below the Settings Directory directory.
All the databases are SQLite files which can be viewed with e.g. DB Browser for SQLite if you’re interested in relational databases.
The directory can be opened with Show Database Files.
Warning
Do not modify, move, rename or delete databases while Little Navmap is running.
Do not let the Navigraph FMS Database Manager update databases while Little Navmap is running. Little Navmap might crash, the update might fail or remain incomplete.
80.4.4.1. Scenery Library Databases
The number of files depends on which simulators you have installed and which scenery libraries you have loaded.
The files are:
little_navmap_.sqlite
: An empty dummy database. Can be ignored.little_navmap_fsx.sqlite
: Flight Simulator Xlittle_navmap_fsxse.sqlite
: Flight Simulator - Steam Editionlittle_navmap_p3dv4.sqlite
: Prepar3D v4little_navmap_p3dv5.sqlite
: Prepar3D v5little_navmap_p3dv6.sqlite
: Prepar3D v6little_navmap_msfs.sqlite
: Microsoft Flight Simulator 2020little_navmap_xp11.sqlite
: X-Plane 11little_navmap_xp12.sqlite
: X-Plane 12little_navmap_navigraph.sqlite
: Navigraph navigation database. Can be either the included database or an update installed by the Navigraph FMS Data Manager.
80.4.4.2. Userpoints Database
The file little_navmap_userdata.sqlite
contains the user defined
waypoints.
Little Navmap creates a copy on startup and keeps up to three additional
backup files: little_navmap_userdata_backup.sqlite
to
little_navmap_userdata_backup.sqlite.2
. You can copy these files
back to the original database little_navmap_userdata.sqlite
if you
did something wrong.
Tip
Open this directory in your file manager using Show Database Files select the
userpoint database and hit Ctrl+C
(copy file) and Ctrl+V
(paste file).
This will add a copy of the database which will be named little_navmap_userdata (1).sqlite
or similar.
This is the fastest way to create a backup.
You can apply the same to the Logbook Database files.
80.4.4.3. User Airspaces Database
The file little_navmap_userairspace.sqlite
contains the user defined
airspaces read by using Load User Airspaces.
It is backed up in the same way as the userpoints.
80.4.4.4. Logbook Database
The file little_navmap_logbook.sqlite
is used to store logbook
entries.
Little Navmap creates copies on startup and keeps up to two additional backup files for the user defined waypoints as described above.
80.4.4.5. Other Database Files
Additional files like
little_navmap_compiling.sqlite
,little_navmap_compiling.sqlite-journal
,little_navmap_temp.sqlite
,little_navmap_temp.sqlite-journal
,little_navmap_onlinedata.sqlite
orlittle_navmap_onlinedata.sqlite-journal
are used by temporary processes like the database compilation or online network data. These can be ignored.
80.5. Disk Cache
The disk cache that is used to store all the downloaded online map tile images can be found here:
Windows:
C:\Users\YOURUSERNAME\AppData\Local\.marble\data\maps\earth
or%localappdata%\.marble
macOS:
/Users/YOURUSERNAME/.local/share/marble/maps/earth
or$HOME/.local/share/marble/maps/earth
Linux:
/home/YOURUSERNAME/.local/share/marble/maps/earth
or$HOME/.local/share/marble/maps/earth
The cache directory earth
contains one directory for each installed map theme.
You can open the cache directory from menu item Tools
-> Files and Directories
-> Show Map Cache
You can delete the cache manually to save space if Little Navmap is not running.
Cache size can be changed on page Map Display in options.
Each map theme has a folder in this directory where its tile images are stored.
A short name is used which corresponds to the related map theme.
This is mapboxuser
for the theme MapBox User
or openstreetmap
for the theme OpenStreetMap
, for example.
Delete the related directory to clear the cache.
80.7. Aircraft Performance File Format
LNMPERF files are files containing aircraft performance files using the format specific to Little Navmap. They are in XML text format and can only be interpreted by Little Navmap.
See XML (Wikipedia) for more information about this type of configuration files.
The XML schema for validation can be found here: lnmperf.xsd.
Order of elements does not matter. Missing elements will be logged as warning except optional ones.
<?xml version="1.0" encoding="UTF-8"?>
<LittleNavmap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://www.littlenavmap.org/schema/lnmperf.xsd">
<AircraftPerf>
<!-- ====== Header with metadata ====== -->
<Header>
<CreationDate>2020-11-16T22:43:35</CreationDate>
<FileVersion>1.0</FileVersion>
<ProgramName>Little Navmap</ProgramName>
<ProgramVersion>2.6.4.beta</ProgramVersion>
<Documentation>https://www.littlenavmap.org/lnmperf.html</Documentation>
</Header>
<!-- ====== Options ====== -->
<Options>
<Name>Epic E1000 G1000 Edition</Name> <!-- Aircraft name - free text -->
<AircraftType>EPIC</AircraftType> <!-- Aircraft ICAO type which is matched to simulator aircraft ICAO type -->
<Description>Climb: 80% torque, 1600 RPM, 160 KIAS, max ITT 760°
Cruise: FL260-FL280, 1400 RPM, adjust torque to 55 GPH fuel flow, max ITT 760°
Descent: Idle, 250 KIAS
https://www.littlenavmap.org</Description> <!-- Remarks as entered in user interface tab Remarks. -->
<FuelAsVolume>0</FuelAsVolume> <!-- 0: Used fuel unit is lbs. 1: Used fuel unit is gal. -->
<JetFuel>1</JetFuel> <!-- Indicator for fuel type needed when switching between
units in user interface.
Also checked for simulator aircraft. -->
</Options>
<!-- ====== Performance data. All values are either lbs or gallons depending on FuelAsVolume.
Speed is always TAS. Vertical speed is always ft/min. Fuel flow measure in unit per hour. ====== -->
<Perf>
<ContingencyFuelPercent>5.0</ContingencyFuelPercent>
<ExtraFuelLbsGal>0.000</ExtraFuelLbsGal>
<MinRunwayLengthFt>1600.000</MinRunwayLengthFt>
<ReserveFuelLbsGal>500.000</ReserveFuelLbsGal>
<RunwayType>SOFT</RunwayType> <!-- Either HARD (hard only), SOFT (hard and soft),
WATER (water only) or WATERLAND (equals to either WATER or SOFT) for amphib -->
<TaxiFuelLbsGal>20.000</TaxiFuelLbsGal>
<UsableFuelLbsGal>1900.000</UsableFuelLbsGal>
<Alternate>
<FuelFlowLbsGalPerHour>361.000</FuelFlowLbsGalPerHour>
<SpeedKtsTAS>302.000</SpeedKtsTAS>
</Alternate>
<Climb>
<FuelFlowLbsGalPerHour>464.807</FuelFlowLbsGalPerHour>
<SpeedKtsTAS>185.220</SpeedKtsTAS>
<VertSpeedFtPerMin>2479.589</VertSpeedFtPerMin>
</Climb>
<Cruise>
<FuelFlowLbsGalPerHour>361.000</FuelFlowLbsGalPerHour>
<SpeedKtsTAS>302.000</SpeedKtsTAS>
</Cruise>
<Descent>
<FuelFlowLbsGalPerHour>222.000</FuelFlowLbsGalPerHour>
<SpeedKtsTAS>201.000</SpeedKtsTAS>
<VertSpeedFtPerMin>2000.000</VertSpeedFtPerMin>
</Descent>
</Perf>
</AircraftPerf>
</LittleNavmap>