Niels-NTG / FTLAV

FTL: Faster Than Light Adventure Visualiser
MIT License
21 stars 2 forks source link
data-visualization dataviz ftl processing savegame tool videogames

FTLAV

FTL: Faster Than Light Adventure Visualiser

With this tool you can record and visualise your unique adventures in the videogame FTL: Faster Than Light. It’s a nice way to archive spectacular FTL sessions for posterity. It can also be a powerful tool for analysing and optimising your play style.

Here’s an example of a full FTL game from beginning to end:

Usage

Before you do anything make sure you have FTL: Faster Than Light installed and downloaded the latest version of FTLAV from the releases page. This application is powered by Java, meaning that it can run on any operation system (Mac OS X, Windows, Linux, etc.) that supports Java 7 or higher. It’s designed to work with any up-to-data version of FTL for Mac/Linux/Windows, no matter if you bought it from Steam, GOG, ftlgame.com or some other place. It’s possible for modded versions of FTL to work with FTLAV, but it might not work for you.

Start FTL: Faster Than Light; start a new game or continue an existing one. Now start FTLAV. If it's your first time it will ask where your FTL data is located. After this, click Open and select the file continue.sav. This file contains all information regarding your current run.

If the selected file is valid you will be presented with a second window showing an empty graph. In the main window you can select the types of data you want to display in this graph. You can toggle these on or off at any time without losing any data. Please note that when toggling changes won’t show up instantly, only when the current gamestate is updated.

Play FTL as you would normally do, with FTLAV running in the background. The graph will update automatically each time you reach a safe point in the game, usually just after an encounter or when exiting a store. It’s also possible to trigger an update by quitting FTL, but this may produce unreliable results.

If you get a game-over by either loosing or winning the game, FTL will delete continue.sav. FTLAV won’t be able to track any new data and will respond with a “File Not Found” error. This is perfectly normal. You can still save your graph as an image by pressing the Export image button. This will save the graph as two PNG images, one with a transparant background and one without, at the current resolution of the graph window. Additionally it’s possible to export a detailed table with information on each possible data point for each visited beacon. This is done by clicking the Export data button. This will save all data as a CSV-file. This can be read by pretty much any spreadsheet application. This can be used to for example maintain an Excel document containing data from all runs with a particular type of ship. With CSV being such a flexible format you might have very different ideas on what to do with your FTL data. If so, share your creations with the community, and please don’t forget to mention FTLAV. If you’re using Apple Numbers you might want to convert the file using this script so Numbers can parse it correctly.

Here’s an example of a CSV-file generated by FTLAV. The image below was captured during the same session.

It’s possible to track data from games that are already ongoing. It’s however not possible to look into the past from the moment you’ve started tracking. This also means that if you quit FTLAV, all data from before the current beacon will be lost. You can however open and close FTL at any moment without using any graph data.

Roadmap

Version 3 (Someday)

Version 2 (27 september 2015) [latest release]

download

Version 1 (13 September 2015)

Contribute

If you have ideas, suggestions, problems or encountered a bug, please let me know, preferably by filing an issue at this GitHub repository.

If you want to delve into the code you will probably need some knowledge of Processing (Java library responsible for the rendering of the graph) or/and Java (UI, data-parsing and basically everything else). For the Java part you can look at Vhati’s version of FTL Profile Editor, of which a large part of the code of this project is based. Use Maven to compile the source code.