Legend of Grimrock Guide

Hacking the Halls of Fire secret using xdotool [Linux ONLY] for Legend of Grimrock

Hacking the Halls of Fire secret using xdotool [Linux ONLY]

Overview

Are you having difficulty getting the Sword of Nex from the secret in the Halls of Fire on level 6? Here’s how to get the secret to open without all the rage-inducing falling down pits. All you need is a little bit of Linux know-how.

What You Will Need

What you will need:

  • xdotool[www.semicomplete.com]
  • a sleep command that understands that “0.5s” means “half a second”
  • any terminal emulator
  • any window manager where the window focus is switched by clicking
  • mouse and keyboard

xdotool is a program to feed X Windows fake keyboard and mouse input. Install xdotool on Ubuntu using the following command:

sudo apt-get install xdotool

The Setup

First, make sure everybody in your group is moving at normal speed.

Second, navigate to the first button in Halls of Fire on Level 6:

Open a new file in your favorite editor. Type this, save it and set it executable:

#!/bin/sh DELAY=0.5s DELAY_TURN=0.25s click() { xdotool mousedown 1 xdotool mouseup 1 # no delay needed } delay() { sleep $DELAY } delayt() { sleep $DELAY_TURN } a() { xdotool type a delay } w() { xdotool type w delay } s() { xdotool type s delay } d() { xdotool type d delay } e() { xdotool type e delayt } q() { xdotool type q delayt } # }}} # part 1: getting you to the key platform near button #4 (and SAFE) click;a;w;w;q;w;w;w click;a;a;w;w;e;e;a;a click;e;s;a click;d read -p ‘Press enter when you are ready for part 2’ # part 2: pressing button #5 and opening the secret (and SAFE) click;a;w;w;q;w;w;w click;a;a;w;w;e;e;a;a click;e;s;a click;s;a;s;a;a;w;a;w;w;e;w;w;a;e;a;a click;s;e;e

Part 1: Grabbing the key and torch

Open your terminal window and place it next to your Legend of Grimrock window, place your mouse over the button, then execute the script. Do not touch anything until after you stop moving.


Congratulations you’re at the key. Now you have an enemy to fight (or escape from).

Part 2: Opening the secret

It’s vitally important you take the torch next to the key.

When you have grabbed the key and taken the torch, go back to the first button place your mouse over the button, and press enter in your terminal. Again, don’t touch anything while moving. You will stop moving on solid ground just in front of the opening secret.

Happy hacking!

SteamSolo.com