It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I have developed a simple savegame utility for this game. The code and instructions are below. The code is in C#. The interface consists of a simple winform with four buttons. I used VS2022 to design and compile it.

The code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Collections;

namespace WHQuest2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
//Get the current directory
string origine = Directory.GetCurrentDirectory();
//Define the "copy to" directory
if (!Directory.Exists(origine + "\\Backup\\"))
{
Directory.CreateDirectory(origine + "\\Backup\\");
}
if (!Directory.Exists(origine + "\\Début\\"))
{
Directory.CreateDirectory(origine + "\\Début\\");
}
}

private void button1_Click(object sender, EventArgs e)
{
string origine = Directory.GetCurrentDirectory();
//Where to copy the files
string destination = origine + "\\Backup\\";
//Define what files to copy
var files = new DirectoryInfo(origine).GetFiles("*.txt");

//Copy the text files
foreach (FileInfo file in files)
{
file.CopyTo(destination + file.Name,true);
}
//Copy the .xml files
files = new DirectoryInfo(origine).GetFiles("*.xml");
//Copier les fichiers html
foreach (FileInfo file in files)
{
file.CopyTo(destination + file.Name, true);
}
return;
}

private void button2_Click(object sender, EventArgs e)
{
//Define where to restore the backup files
string destination = Directory.GetCurrentDirectory();
//Define where the backup file are
string origine = destination + "\\Backup\\";
if (Directory.Exists(origine))
{
string[] files = Directory.GetFiles(origine);

// Copy the files. Overwrite if they already exist.
foreach (string s in files)
{
// Use static Path methods to extract only the file name from the path.
var fileName = Path.GetFileName(s);
var destFile = Path.Combine(destination, fileName);
File.Copy(s, destFile, true);
}
}
else
{
MessageBox.Show("Le répertoire de sauvegarde n'existe pas. Cliquez sur OK pour terminer");
}
return;
}

private void button3_Click(object sender, EventArgs e)
{
string origine = Directory.GetCurrentDirectory();
//Where to copy the files
string réserve = origine + "\\Début\\";
//Define the files to copy
var files = new DirectoryInfo(origine).GetFiles("*.txt");

//Copy the .txt files
foreach (FileInfo file in files)
{
file.CopyTo(réserve + file.Name, true);
}
//Copy the .xml files
files = new DirectoryInfo(origine).GetFiles("*.xml");
foreach (FileInfo file in files)
{
file.CopyTo(réserve + file.Name, true);
}
return;
}

private void button4_Click(object sender, EventArgs e)
{
//Define where to copy the files
string destination = Directory.GetCurrentDirectory();
//Define the backup directory
string origine = destination + "\\Début\\";
if (Directory.Exists(origine))
{
string[] files = Directory.GetFiles(origine);

// Copy the files and overwrite destination files if they already exist.
foreach (string s in files)
{
// Use static Path methods to extract only the file name from the path.
var fileName = Path.GetFileName(s);
var destFile = Path.Combine(destination, fileName);
File.Copy(s, destFile, true);
}
}
else
{
MessageBox.Show("Le répertoire de réserve n'existe pas. Cliquez sur OK pour terminer");
}
return;
}
}
}

The instructions:
1. What each button does:
- Button 1: Save the turn in tactical mode
- Button 2: Restores the last saved turn to allow doing it again.
- Button 3: Save the game at the beginning of the quest in tactical mode.
- Button 4: Restores the game at the beginning of the quest in tactical mode.

2. How to use:
- The savegame utility executable (WHQuest2.exe) must be in the savegame directory (C:\Users\"Your pc name"\Appdata\LocalLow\Perchang\WHQ2)
- Start the savegame utility. Top right button is button 1, bottom right is button 2, top left is button 3 and bottom left is button 4
- Start WHQ2
- Once in tactical mode after selecting a quest, Alt-Tab to the desktop and click on buttons 1 and 3
- Alt-Tab back to WHQ2
- Alt-Tab to the savegame utility and click button 1 when your satisfied of a move and at the start the next turn
- Alt-Tab back to WHQ2
- If you want to restart a turn in tactical mode first quit the game to the main screen and then Alt-Tab to the desktop and click button 2
- Alt-Tab back to WHQ2 and load the current saved game. You will now be at the beginning of the previous turn.
- If you wish to restart the whole quest, quit the game to the main screen, Alt-Tab to the savegame utility and click on button 4.
- Alt-Tab back to WHQ2 and load the current saved game. You will now be at the beginning of the quest in tactical mode regardless of how far
you had progressed in the quest.

3. This savegame utility works only within a selected quest and on the tactical screen. NEVER USE IT ON THE WORLD MAP!!!IF YOU DO YOU WILL LOOSE ALL SAVED PROGRESS AND WILL NEED TO RE-INSTALL THE GAME.

4. Use at your own risk.
Attachments:
Post edited August 03, 2022 by procyoniv