Skip to content

singnet/AIRIS-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIRIS Client - User Guide

This guide provides step-by-step instructions for setting up and running the AIRIS Client, a Minecraft-based AI tool. Follow the instructions for either Windows or Linux based on your operating system.

Table of Contents


Requirements

  1. Minecraft: Ensure Minecraft Fabric version 1.20.1 is installed.
  2. Python 3.10: Download from Python Downloads.
  3. CurseForge: Install from CurseForge.

Minecraft Setup

Launch CurseForge, search and install for:

  • Vereya Mod (required)
  • Fabric API

AIRIS Client Setup

Windows Instructions

Binary setup (Easy)

  1. Download AIRIS exe files AIRIS-all and extract it in clean folder
  2. Prepare Minecraft: Launch Minecraft and create a single-player game with cheats enabled.
  3. Run start_client.bat for running AIRIS and then start_visual.bat for visualisation tool
  4. Expand minecraft window and enjoy

Manual setup

  1. Open Terminal in the Repository Folder: Navigate to the AIRIS Client folder in a terminal.
  2. Create a Virtual Environment:
    python -m venv venv
  3. Activate the Virtual Environment:
    .\venv\Scripts\activate
  4. Install Dependencies:
    python -m pip install -r requirements.txt
  5. Prepare Minecraft: Launch Minecraft and create a single-player game with cheats enabled.
  6. Run AIRIS Client:
    python minecraft_client.py --agent agent1qt05zd2vflz4vrytdyr2agz2775gv9e5hz99h06tq4uz6lv8fzq3k2dumzs

Visualization Tool for Windows

  1. Download the Visualization Tool: AIRIS Visual Tool
  2. Extract Files: Unzip into the AIRIS client directory.
  3. Run Visualization: After starting the AIRIS client, open main.exe in the client folder.
  4. Navigate: Use your mouse and keyboard to adjust the view if the AIRIS agent isn’t immediately visible.

Linux Instructions

  1. Open Terminal in the Repository Folder.
  2. Create a Virtual Environment:
    python -m venv venv
  3. Activate the Virtual Environment:
    source venv/bin/activate
  4. Install Dependencies:
    pip install -r requirements.txt
  5. Prepare Minecraft: Launch Minecraft and create a single-player game with cheats enabled.
  6. Run AIRIS Client:
    python minecraft_client.py --agent agent1qt05zd2vflz4vrytdyr2agz2775gv9e5hz99h06tq4uz6lv8fzq3k2dumzs

Visualization Tool for Linux

  1. Clone the Visualization Tool Repository:
    git clone https://github.com/berickcook/MinecraftEye.git
  2. Install Dependencies:
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    pip install -r MinecraftEye/requirements.txt
  3. Edit Paths in scene.py: Adjust lines 63-65 in scene.py to use the full paths for your setup. Also, confirm the client script points to the visual tool script correctly.
  4. Run Visualization Tool:
    python MinecraftEye/main.py
  5. Navigate: Use your mouse and keyboard to adjust the view if the AIRIS agent isn’t immediately visible.

Important Notes

  • Exiting: Use Ctrl+C in your shell to safely stop the AIRIS client.
  • Reconnect Option: Use the --restore key to restore previous session of AIRIS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages