Skip to main content

A shared game night with an AI companion over a simulated radio: play old text adventures together. Runs the game natively; Linux only.

Project description

cabin-fever-x86-core

The native, Linux-only runtime for Cabin Fever x86: the game server, AI companion, Z-machine interpreter, web radio, and text client.

This package is intended for Linux users who want to run the services directly, expose the web client to a LAN, customize the configuration, or develop Cabin Fever itself. It builds jericho and its frotz fork from source, so a C toolchain is required and other operating systems are not supported.

For a self-contained installation on Linux, macOS, or Windows, use the sandboxed cabin-fever-x86 launcher instead. It runs this package inside a QEMU VM, keeping the memory-unsafe interpreter and downloaded game files off the host.

Native installation

Cabin Fever x86 Core requires Linux, Python 3.12 or newer, and standard C build tools. On Debian or Ubuntu, for example:

sudo apt-get install build-essential python3-dev
python3 -m venv .venv
source .venv/bin/activate
pip install cabin-fever-x86-core

Set the API keys used by the default configuration:

export OPENAI_API_KEY=...
export ELEVENLABS_API_KEY=...

An ElevenLabs key is optional if you only need text interaction. For full configuration options, start from config.example.yaml and save it as config.yaml in the directory where you run the commands, or pass its location with --config.

Running the services

Start the game server:

cf86-server

Then start one of the clients in another terminal:

cf86-web   # browser-based radio at http://127.0.0.1:8000
# or
cf86-text  # terminal-based text client

Each command accepts --help. The server and clients can be run on different Linux machines by setting their interfaces, hosts, and ports in config.yaml or with command-line options. For example, to expose only the web frontend on the local network:

cf86-web --web-host 0.0.0.0

Review your firewall and network trust before binding a service beyond localhost.

Z-machine games

When cf86-server runs directly, it looks for .z3.z8 game files in data/games/ relative to its working directory. If that directory contains nothing playable, the server downloads the z-machine-games archive and unpacks only the 57 games in its jericho-game-suite folder.

Add other games by copying them into data/games/ before starting the server. Only use game files you have the right to run.

Development

The repository is a uv-managed workspace. On Linux or WSL:

git clone https://github.com/afourney/cabin-fever-x86.git
cd cabin-fever-x86
uv venv --python 3.12
uv sync --all-packages
cp config.example.yaml config.yaml

Then run the native entry points from the repository root:

uv run cf86-server
uv run cf86-web
# or: uv run cf86-text

See the repository README for the complete project setup.

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

cabin_fever_x86_core-0.0.1a4.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cabin_fever_x86_core-0.0.1a4-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file cabin_fever_x86_core-0.0.1a4.tar.gz.

File metadata

  • Download URL: cabin_fever_x86_core-0.0.1a4.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cabin_fever_x86_core-0.0.1a4.tar.gz
Algorithm Hash digest
SHA256 60fd19ff0f1908a3a2f7796a37ae540b8f64bf05a168f7b89fe7d1964cd1e9b2
MD5 e2bec9be9c65350f216bdbdd40ea485f
BLAKE2b-256 ef99c7b9f9a4a3639b51bf2719a7ea7581c140f3f8ff28af2a6a8657bac7a6fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for cabin_fever_x86_core-0.0.1a4.tar.gz:

Publisher: release-core.yml on afourney/cabin-fever-x86

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cabin_fever_x86_core-0.0.1a4-py3-none-any.whl.

File metadata

File hashes

Hashes for cabin_fever_x86_core-0.0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 ed7bcbe40beaf81b74f8ca9ad4b9fe0d81321a9f36838bd94288b57d5d39e7ba
MD5 274bfdc8485bd64dcaa4c2d77c7cc6a6
BLAKE2b-256 96c0f60af7bad49b2e7cd3ab3299a9c277dd199f1e66bd29f25805557aa1f2ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for cabin_fever_x86_core-0.0.1a4-py3-none-any.whl:

Publisher: release-core.yml on afourney/cabin-fever-x86

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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