Browser-based system map viewer for the Freelancer mod Discovery.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
textures
utils
v48841
v48842
v48851
v48852
v48853
v48854
v48860
v48861
v48911
v48912
v48921
v48922
v49011
v49012
v49015
v49016
v49021
v49022
v490252
v49100
Monthly.report.20160121-20160220.pdf
README.md
SiriusMap.jpg
blue_space_with_planets_by_darkdissolution-updCont.jpg
devindex_05022016_1.html
devindex_07022016_1.html
favicon.ico
favicon.png
index.html
jquery.auto-complete.css
jquery.auto-complete.min.js
jquery.qtip.min.css
jquery.qtip.min.js
jquery.tooltipster.min.js
mapObject.json
multiUniverseDevFile.html
nnwall.jpg
special_systems.txt
tooltipster.css
user_guide.md

README.md

Navmap

A browser-based map viewer for the Freelancer mod Discovery. This also works for vanilla Freelancer, but there is currently no public release of the map available for that (yet). Extra usage instructions for in-game map control may be found here.

A complete change and issue log from before this project was moved to a GitHub repo may be found in this DiscoveryGC forum thread.

Updating instructions

  • Create new data folder in the root directory of this repo (or somewhere else accessible, these are the v4XXXX folders)
  • Generate infocards.txt using FLInfocardIE, located in the /utils folder.
    • Open the program, point it at your FL directory, click "Load", then "Export" and select the folder from step 1 as your destination directory
    • replace "\r\n\r\n" with "\r\n"
    • replace "\r\nNAME\r\n" with "\r\n"
    • replace "\r\nINFOCARD\r\n" with "\r\n"
    • remove "\r\n" from start of file
  • Copy special_systems.txt into the folder from step 1 from the previous version
    • This file defines the house of each system using the prefix (IW, BW, etc.) in front of their full name. This is the closest Discovery has to a house definition file, unfortunately, and it's not kept up-to-date either - it frequently requires manual modification.
  • Copy DATA/MISSIONS/mbases.ini into the folder from step 1
  • Copy DATA/INTERFACE/infocardmap.ini into the folder from step 1
  • Copy DATA/SOLAR/solararch.ini into the folder from step 1
  • Copy the contents of the IONCROSS folder from the Freelancer root directory into the folder from step 1
  • Create a folder named "solar" in the folder from step 1
  • Create a folder named "asteroids" in the folder from the previous step (so you should have the version directory, solar underneath that, and asteroids underneath that)
    • Copy the DATA/SOLAR/ASTEROIDS folder (minus MODELS, if you wish - the map doesn't use it) into this folder
  • Create a folder named "universe" in the folder from step 1
  • Create a folder named "systems" in the folder from the previous step (so you should have the version directory, universe underneath that, and systems underneath that)
    • Copy the DATA/UNIVERSE/SYSTEMS folder (minus BASE_INTERIORS, if you wish - the map doesn't use it) into this folder
  • Copy DATA/UNIVERSE/universe.ini into the universe folder
  • Copy DATA/UNIVERSE/multiuniverse.ini into the universe folder
  • Run FL_Path_Generator.jar on your Freelancer installation, for good measure
  • Copy DATA/UNIVERSE/shortest_illegal_path.ini into the universe folder
  • Copy DATA/UNIVERSE/shortest_legal_path.ini into the universe folder
  • Copy DATA/UNIVERSE/systems_shortest_path.ini into the universe folder
  • Depending on your web server and/or file system, you may need to lowercase absolutely everything; this can be done using the Metamorphose2 tool in the /utils folder on Windows (pick all files in the directory created in step 1 recursively, and in the renamer add a modifications operation with Change case: lowercase, then Go - do this again non-recursively on the contents of the universe/systems directory), or your favorite command line tool or whatnot.
  • Check if the OORP systems array in index.html needs updating
    • This thing really needs a per-version config file.
  • Update the data folder path at the top of index.html to point the map script at your new data folder

Regarding texture data: These are extracted using UTF Image Exporter, then bulk converted to from txm to jpg using IrFanView, and afterwards recursively and renamed counting up from 01.jpg using Metamorphose2 to ensure that there's at least one texture available from each .txm file (namely, 01.jpg, since they may be stored using any filename inside the .txm file and the navmap has no idea what they might be named in advance, so it simply expects there to be a file named "01.jpg" inside the folder for each txm file).