CHIRPVERSE FOR LINUX
====================

To play: open Chirpverse from your app menu, or run ./play.sh from this folder (the first run adds it to the menu).
Nothing else needs installing: the game brings its own .NET.

- On a desktop it opens in its own window, with no terminal. Closing the window stops the game.
- The window needs WebKitGTK 4.1, which most desktops have. If yours doesn't, play.sh says so and runs the game
  the old way instead (below). To get the window:
    Ubuntu, Debian, Mint:  sudo apt install libwebkit2gtk-4.1-0
    Fedora:                sudo dnf install webkit2gtk4.1
- The old way (no WebKitGTK, no desktop, or ./play.sh --browser): the game runs in a terminal (Ctrl+C, or closing
  the terminal, stops it) and opens in a Chrome, Chromium, Edge, Brave or Vivaldi window, otherwise in your usual
  browser, at http://chirpverse.localhost:5283
- If the window stays blank (it can on some NVIDIA setups), run ./play.sh --browser instead.
- The log is in ~/.local/share/Chirpverse/logs/chirpverse.log.
- The first time, the game asks to download its built-in AI (a few GB, sized to your graphics card):
  use the Download button at the bottom of the game screen.
- Your worlds are saved in ~/.local/share/Chirpverse, not in this folder, so updates never touch them.

What it needs:
- 64-bit Linux (x86_64) with glibc 2.39 or newer: Ubuntu 24.04+, Debian 13+, Fedora 40+, Linux Mint 22+ or similar.
- For the AI to use your graphics card: the card's Vulkan driver (NVIDIA's own driver, or Mesa for AMD).
  Without it the AI runs on the processor instead, which is much slower.
  On Ubuntu/Debian:  sudo apt install mesa-vulkan-drivers libvulkan1
- Graphics cards are found through nvidia-smi (NVIDIA) or the amdgpu driver (AMD).

Updates: every time you start it, it checks the update site (the address is in update-source.txt)
and installs a newer version if there is one. If the update site can't be reached, it starts the
version you have.

Friends on your network can join multiplayer worlds on port 5283. If your PC runs a firewall
(ufw, firewalld), allow that port on your home network, e.g.  sudo ufw allow 5283/tcp
