Skip to main content

Display battle maps for TTRPGs on a secondary tv

Project description

PyPI - Version Tests Mypy Ruff

Battle Map TV

Display battle maps for TTRPGs on a secondary tv.

For GM's with little time or who improvise their sessions.

This Python application aims to do one thing: quickly show an image on your secondary screen, in the right size and with a 1-inch grid.

screenshot

Features

  • Works natively on Linux, macOS and Windows.
  • Doesn't use a browser.
  • Works offline, no subscription or anything, fully open source.
  • Two windows:
    • one on the TV with your map and grid on it
    • one on your GM laptop with controls
  • Import local image files to display on the tv.
  • Scale, pan and rotate the image.
  • Store the physical size of your screen to enable grid and autoscaling.
  • Overlay a 1-inch grid.
  • Automatically detect the grid in an image and scale to 1 inch.
  • Save settings so images load like you had them last time.
  • Prepare up to four images in slots in the UI.
  • Overlay a fire effect on your map.

Quickstart

This assumes you have Python installed. Probably you also want to create a virtual environment.

python -m pip install battle-map-tv
python -m battle_map_tv

Drag the TV window to your TV and make it fullscreen.

Then drag an image from a local folder and drop it in the GM window.

There are two text boxes to enter the dimensions of your secondary screen in milimeters. This is needed to display a grid overlay and autoscale the image to 1 inch.

You can drag the image to pan and zoom with your mouse scroll wheel, or use the slider in the GM window.

Close the application by closing both windows.

Technical

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

battle_map_tv-0.1.0.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

battle_map_tv-0.1.0-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file battle_map_tv-0.1.0.tar.gz.

File metadata

  • Download URL: battle_map_tv-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for battle_map_tv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a811b5134e3d3cc730fc390b287eca3a3137a3daf6a5c1d4ecf8c197307b9c72
MD5 d9cdc9de127c83a521c5b231d6c43eb2
BLAKE2b-256 88f76882f9f9a61c3f809b5e0c67f252f98604b356595f4ed2df7042a5a84a7d

See more details on using hashes here.

File details

Details for the file battle_map_tv-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for battle_map_tv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4825f1d6a92b10032888e78340dba8a407741d1c2818b3fef018f6e6cea0b40
MD5 81429d880c21d2e35a1243f151de2077
BLAKE2b-256 f7806a28928c477d39e71098bbcdc1c5cce453cd074a61505100442b7a461bc4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page