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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cabin_fever_x86_core-0.0.1a3.tar.gz.
File metadata
- Download URL: cabin_fever_x86_core-0.0.1a3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f80de470ed86a216d465d3f3af78f6ec1971785991ad105ff81d4a3693af9f33
|
|
| MD5 |
4ea8c3c3cebc4b214757b15a1cda67e5
|
|
| BLAKE2b-256 |
f3d1ecaeac158d0a255d1220370ced415f594bf15549ab581387c441ea28db64
|
Provenance
The following attestation bundles were made for cabin_fever_x86_core-0.0.1a3.tar.gz:
Publisher:
release-core.yml on afourney/cabin-fever-x86
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cabin_fever_x86_core-0.0.1a3.tar.gz -
Subject digest:
f80de470ed86a216d465d3f3af78f6ec1971785991ad105ff81d4a3693af9f33 - Sigstore transparency entry: 2310499325
- Sigstore integration time:
-
Permalink:
afourney/cabin-fever-x86@22e30957f8589241020b6d4b64ec8914dc0bd72c -
Branch / Tag:
refs/tags/core-v0.0.1a3 - Owner: https://github.com/afourney
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-core.yml@22e30957f8589241020b6d4b64ec8914dc0bd72c -
Trigger Event:
push
-
Statement type:
File details
Details for the file cabin_fever_x86_core-0.0.1a3-py3-none-any.whl.
File metadata
- Download URL: cabin_fever_x86_core-0.0.1a3-py3-none-any.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdbac93173351589cd9ac6df549236c2045a3cf34b19a0a6fee932e76501efe2
|
|
| MD5 |
574f070d14ab5e042e28c60ae0bdc355
|
|
| BLAKE2b-256 |
52270a391635ff13d46d16a12e793902efcf433300b6ab11653e3875134245de
|
Provenance
The following attestation bundles were made for cabin_fever_x86_core-0.0.1a3-py3-none-any.whl:
Publisher:
release-core.yml on afourney/cabin-fever-x86
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cabin_fever_x86_core-0.0.1a3-py3-none-any.whl -
Subject digest:
fdbac93173351589cd9ac6df549236c2045a3cf34b19a0a6fee932e76501efe2 - Sigstore transparency entry: 2310499331
- Sigstore integration time:
-
Permalink:
afourney/cabin-fever-x86@22e30957f8589241020b6d4b64ec8914dc0bd72c -
Branch / Tag:
refs/tags/core-v0.0.1a3 - Owner: https://github.com/afourney
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-core.yml@22e30957f8589241020b6d4b64ec8914dc0bd72c -
Trigger Event:
push
-
Statement type: