Instructions for setting up Doppelgangers to play without internet

The game is designed to run on the website. However, you may also play this downloadable version. To do that:

1. Transfer all files and folders except for the DOLAN folder to a single directory.

2. Download the chatscript chatbot (not an LLM, it runs on low end machines) from https://github.com/ChatScript/ChatScript

3. After chatscript is installed, go to the rawdata folder in your chatscript directory (chatscript-master/rawdata). Place the Dolan folder and its contents in this rawdata folder.

4. In chatscript-master/binaries, run chatscript.exe port=1024 interface=127.0.0.1. Open up another command prompt, go to the same folder and run chatscript.exe client=localhost:1024. This runs the chatbot on a local server. You don't need to be connected to the internet.

5. Use the command :build dolan to compile the chatbot while running the client in the localhost. Do this only the first time you play.

6. Through cmd prompt, go to your game folder and run node websocketproxy.js.

7. If you want the LLM enabled, download the free player2 client from https://player2.game/ This is optional. 

8. Go into the game html folder. Move doppelgangeroffline.html to the main game folder.

9. Run doppelgangeroffline.html