Mapshot

by palats

Generates a zoomable render of the whole map.

Utilities
3 days ago
1.0 - 2.0
4.81K

Changelog

Version: 0.0.26
Date: 2024.11.17
  Bug:
    - Remove cloudis when rendering. This works only when using CLI, not from in-game `/mapshot`.
Version: 0.0.25
Date: 2024.11.14
  Bug:
    - Fix static per-shot index.html, which has been broken when fixing encoding issues.
Version: 0.0.24
Date: 2024.11.02
  Bug:
    - Fix encoding issue with save names containing spaces or square brackets.
Version: 0.0.23
Date: 2024.10.24
  Bug:
    - Fix for API changes in Space Age - some methods have moved from LuaGameScript class to
      LuaHelpers  and LuaBootstrap
Version: 0.0.22
Date: 2024.04.15
  Bug:
    - Do not crash when no player is yet connected.
Version: 0.0.21
Date: 2024.02.17
  Features:
    - Add version information about game & mods in mapshot.json.
Version: 0.0.20
Date: 2024.01.13
  Features:
    - Added min jpg quality when tile has no entities. When 0 value is used, tile is skipped.
Version: 0.0.19
Date: 2023.10.02
  UI:
    - Make the Map viewer UI a Progressive Web Apps (PWA).
Version: 0.0.18
Date: 2023.09.24
  UX:
    - Improve log message giving the impression the work was done while it is still running.
Version: 0.0.17
Date: 2022.12.17
  Rendering/bug:
    - Fix `surface` setting: it is now possible to select which surfaces to render (was a no-op).
Version: 0.0.16
Date: 2022.11.20
  CLI:
    - For `render` command, ignore Factorio exit code if the rendering was done.
Version: 0.0.15
Date: 2022.10.15
  Bugs:
    - Removed usage of flag `disable-prototype-history`, as it seems to not exists anymore.
Version: 0.0.14
Date: 2021.10.17
  Features:
    - Support exporting Game surface beside nauvis; useful for Space Exploration mod and others.
  Rendering:
    - When requesting to render only chunks with entities (default behavior), fallback to all
      available chunks if no entities are found.
  UI:
    - Selection of which game surface to display; shows `nauvis` by default.
  Internal:
    - Large change in mapshot.json format. The viewer is still backward compatible, but
      old viewers will not be able to load new renders.
    - Internal name of the subdirectories with the tile has changed to support multiple
      surfaces to be rendered.
Version: 0.0.13
Date: 2021.07.01
  CLI:
    - Make it possible to run `serve` without a Factorio install.
  UI:
    - Better support for train stop names with mods
  Internal:
    - Clean up of progress logging
Version: 0.0.12
Date: 2021.04.15
  UI:
    - Show the position of all players.
Version: 0.0.11
Date: 2021.02.07
  UI:
    - Static link to the latest version of a save.
    - Show available mapshots per save & chronological order.
    - Listing of available mapshots is now dynamic, which will open for more options.
  Bugs:
    - Reduced occurrence of vertical/horizontal lines visible between tiles.
Version: 0.0.10
Date: 2020.12.24
  Settings:
    - `prefix` is now considered a directory name. A slash is added automatically if needed.
  Factorio:
    - Bumped to 1.1, though there is no change between 1.0 and 1.1 impacting Mapshot.
Version: 0.0.9
Date: 2020.11.07
  UI:
    - URL reflect the current view (position, zoom, layers), allowing to share specific positions
      of the map.
    - A button to zoom to a selected region (boxzoom).
    - A slider to select zoom level.
    - More precise zoom levels.
Version: 0.0.8
Date: 2020.11.01
  Generated content:
    - Re-organized to be caching friendly.
    - Cleaner subdirectories to more easily update the latest shot of a given save.
    - Favicon added.
    - Documentation of generated content.
  CLI:
    - Add more directories where to find Factorio.
    - Have `dev` command always show Factorio output.
    - `dev` command serves content from npm build output for simpler dev cycle.
    - `serve` command uses built-in html/javascript instead of the one generated from Factorio.
  Bugs:
    - Fix tilemax/tilemin when they would generate out-of-bound zoom values.
  Internal:
    - Frontend is now generated, which will allow for imports & typescript.
    - Frontend can contains more files; might allow for icons later.
Version: 0.0.7
Date: 2020.09.30
  Bug:
    - Fix breakage when no tags / train stations are present (https://github.com/Palats/mapshot/issues/1).
Version: 0.0.6
Date: 2020.09.27
  Features:
    - Generate layer with train stations.
    - Generate layer with chart tags (aka, map labels).
Version: 0.0.5
Date: 2020.09.27
  Features:
    - Built-in HTTP server with listing of available mapshots, refreshing as new one are created.
    - Windows build.
    - Untested MacOS build.
  CLI:
    - Do not look for Steam version as it does not integrate well with auto launcher.
    - Improve detection of generation completion.
    - Windows: fixed paths.
    - Windows: do not close the console when run from explorer.
    - Windows: when launch from explorer with no args, run in `serve` mode as a sane default.
  Internal:
    - `go generate` runs properly on Windows.
    - Build script for releases.
Version: 0.0.4
Date: 2020.09.20
  Features:
    - Capture automatically only the base by default. This avoids generating lots of useless tiles.
    - Host freely accessible example of generated output.
  UI:
    - Control for showing/hiding layers. For now, used for hiding debug info.
Version: 0.0.3
Date: 2020.09.20
  Fixes:
    - Naming of the output from the mod command was ignoring the parameter.
  CLI:
    - Added a "mapshot dev" to run Factorio with the mod setup for a dev workflow.
    - Choice of work directory if desired.
  Internal:
    - Split commands implementations.
    - Moved mod code to its own subdirectory, and reworked generator location.
Version: 0.0.2
Date: 2020.09.14
  Features:
    - CLI to automatically create mapshot without impacting saves (incl. achievements).
  Fixes:
    - Fixed mod command registration (it was not registered in some cases).
    - Changed default max details to something prettier (and still not too slow).
  Internal:
    - Added a command line tool.
    - Moved tooling to Go.
Version: 0.0.1
Date: 2020.09.05
  Info:
    - Initial release