Overlord: Raising Hell Trainer 1.0.0
by Gutwormy
====================================

An in-game trainer for Overlord: Raising Hell (single-player), for both
the Overlord campaign and the Raising Hell campaign.
Press Insert in the game to open it. There is no extra program to run.


WHAT YOU NEED
-------------
- Overlord: Raising Hell, Steam version (Steam build 1172640, the current
  one). Other versions (retail discs, other stores) are not supported:
  the trainer then keeps every switch off.
- Windows 10 or 11 (64-bit).
- No other mod that uses dinput8.dll (for example an ASI loader).


HOW TO INSTALL
--------------
1. Close the game.

2. Open the game's folder: right-click the game in your Steam Library,
   then choose Manage > Browse local files.
   You are in the right place if you can see Overlord.exe.

3. Copy everything from this download into that folder:
       dinput8.dll
       OverlordTrainer   (folder)
   If Windows asks whether to replace files, choose Yes.

4. Start the game, load a save, and press Insert.

Updating from an older version: do the same and replace the files.


FEATURES (default keys)
-----------------------
The game uses F1-F12 for spells, so the trainer uses Insert and the
number pad (NumLock must be on for the number pad keys).

Insert  Open or close the trainer (the game pauses while it is open)
Num 1   God Mode                - the Overlord takes no damage
Num 2   Unlimited Minion Health - your minions take no damage
Num 3   Unlimited Mana          - mana stays full
Num 4   Instant Kill            - any hit from you, your minions or your
                                  spells kills an enemy
Num 5   Unlimited Minions       - horde limit raised to 100
Num 6   Unlimited Life Force    - the tower's brown, red, green and blue
                                  life force held at 999
Num 7   Player Speed            - the Overlord moves at the slider's speed
                                  (0.5x to 3.0x)

In the panel (no key by default):
- Free Forging: forging costs no gold, even with an empty treasury
- Corruption: holds the Overlord's corruption at the slider value
  (0 to 100%); his look and the tower's corruption choices follow
- Edit Gold: type an amount (up to 9,999,999) and press Apply
- Spawn Minions: Brown, Red, Green or Blue - 5 minions appear at the
  Overlord and join your horde
- Unlock All (click twice to confirm):
    Gear    - the Steel, Durium and Arcanium smelters, and in Raising
              Hell the forge plans for its unique items
    Spells  - all four spell schools at levels 1, 2 and the top level
              that matches your corruption
    Minions - red, green and blue minions unlocked, every colour at its
              top level
    Dungeon - every creature type and challenge in the tower Dungeon
    Tower   - the tower shop: both mistresses' banners and tower blocks,
              your mistress's private quarters and all three minion
              upgrades can be bought, whatever your story progress (you
              still pay the gold)
- Teleport: Save remembers where the Overlord stands, Load puts him back
  there (same map), Tower takes you back to the Netherworld tower

Hover the mouse over a feature name for a short explanation.
To change a key, click its key box in the panel and press the new key
(Esc cancels). "Hotkeys: On/Off" at the top switches the feature keys off;
Insert always works. Switches start off each time the game starts. Keys
and the sliders are saved in OverlordTrainer\OverlordTrainer.ini.


GOOD TO KNOW
------------
- Back up your saves first. Edit Gold, Corruption, Unlock All and the
  minions from Unlimited Life Force and Spawn Minions are saved with your
  game. Saves: Documents\Overlord
- Corruption: switching it off gives back your own corruption, plus any
  you earned meanwhile. The game autosaves at every map change, so saving
  or quitting while it is on keeps the held value in that save.
- Unlimited Minions is never saved: switching it off puts your own horde
  limit back.
- Unlimited Life Force also fills colours the story has not unlocked yet,
  ready for when you unlock them. It does not unlock the colours.
- God Mode stops damage, but falls into pits or lava and scripted deaths
  still happen.
- Instant Kill never harms your own minions or the mistress. Characters
  the game itself makes unbeatable still take no damage.
- If a story scene waits for one of your minions to die, switch
  Unlimited Minion Health off for a moment.
- Spawn Minions works past the horde limit. A colour is greyed where the
  game has not loaded those minions.
- Minion levels: the tower's minion upgrades and some story rewards add
  levels. Past a colour's top level the game would send out its weakest
  minions, so the trainer keeps every colour at most at its top level.
- Unlock All -> Tower: the shop opens once your first mistress has
  joined. Each tower block shows the last version you bought. With
  Velvet, the tower takes Rose's first items off sale at every visit;
  press Tower again to put them back.
- Teleport -> Tower works from any area outside story scenes and boss
  fights. Best used between quests: leaving a quest half way can leave
  its scripted set-up half done.
- Cheats can unlock Steam achievements early.


HOW TO UNINSTALL
----------------
Close the game, then delete these two from the game's folder:
    dinput8.dll and OverlordTrainer (the whole folder)
The trainer does not change any game files.


TROUBLESHOOTING
---------------
- Insert does nothing: check that dinput8.dll and the OverlordTrainer
  folder are both next to Overlord.exe.
- The number pad keys do nothing: switch NumLock on.
- "New game version": this trainer knows only Steam build 1172640, so on
  any other version the switches stay off.
- A d3d9.dll in the game folder (ReShade, DXVK and similar tools) or
  playing through Proton: the trainer may not open. Remove the other
  tool to use the trainer.
- Antivirus removed a file: this is a false positive. Add the game folder
  as an exception and copy the file again. The trainer does not connect
  to the internet and only runs inside the game.
- When reporting a problem, include OverlordTrainer.log from the
  OverlordTrainer folder.


CREDITS
-------
Overlord: Raising Hell Trainer by Gutwormy.
Uses Dear ImGui (MIT licence) and MinHook (BSD 2-Clause licence);
their licences are below.


LICENCES
--------
Dear ImGui

The MIT License (MIT)

Copyright (c) 2014-2026 Omar Cornut

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


MinHook

MinHook - The Minimalistic API Hooking Library for x64/x86
Copyright (C) 2009-2017 Tsuda Kageyu.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

================================================================================
Portions of this software are Copyright (c) 2008-2009, Vyacheslav Patkov.
================================================================================
Hacker Disassembler Engine 32 C
Copyright (c) 2008-2009, Vyacheslav Patkov.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-------------------------------------------------------------------------------
Hacker Disassembler Engine 64 C
Copyright (c) 2008-2009, Vyacheslav Patkov.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
