iiMouseMind is a C# library supporting the modification of files relating to Lionheart - Legacy of the Crusader, the 2003 RPG game developed by Reflexive Entertainment. The library supports:
| Name | Read | Write | Comment |
|---|---|---|---|
| BIK | ✗ | ✗ | |
| CAN | ✗ | ✗ | Plain text |
| CHARACTERATTRIBUTE | ✗ | ✗ | Plain text |
| CHARACTERSLOTTYPE | ✗ | ✗ | Plain text |
| DAMAGEHITORMISS | ✗ | ✗ | Plain text |
| DAMAGETYPE | ✗ | ✗ | Plain text |
| DERIVEDCHARACTERATTRIBUTE | ✗ | ✗ | Plain text |
| DIALOGTREE | ✗ | ✗ | Plain text |
| DIFICULTY | ✗ | ✗ | Plain text |
| DOC | ✗ | ✗ | |
| FACTION | ✗ | ✗ | Plain text |
| FOO | ✗ | ✗ | Plain text |
| FRM16 | ✔ | ✗ | |
| GR2 | ✗ | ✗ | |
| INTERACTIONSPECIFIERTYPE | ✗ | ✗ | Plain text |
| INVENTORYADDITION | ✗ | ✗ | Plain text |
| INTENTORYITEM | ✗ | ✗ | Plain text |
| JWINDOWSKIN | ✗ | ✗ | Plain text |
| MLD16 | ✗ | ✗ | |
| MELEEDUALWIELD | ✗ | ✗ | Plain text |
| MELEESKILL | ✗ | ✗ | Plain text |
| OBJECT | ✗ | ✗ | Plain text |
| OGG | ✗ | ✗ | |
| PERK | ✗ | ✗ | Plain text |
| RACE | ✗ | ✗ | Plain text |
| RDS | ✗ | ✗ | Plain text |
| SEQ16 | ✗ | ✗ | |
| SKILL | ✗ | ✗ | Plain text |
| STY | ✗ | ✗ | Plain text |
| TRAIT | ✗ | ✗ | Plain text |
| TTF | ✗ | ✗ | |
| TXT | ✗ | ✗ | Plain text |
| WAV | ✗ | ✗ | |
| WAY | ✗ | ✗ | |
| XLS | ✗ | ✗ | |
| ZAX | ✗ | ✗ | Plain text |
| ZGT | ✗ | ✗ | Plain text |
Instantiate the relevant class and call the Process method passing the filename.
var frmProcessor = new Frm16Processor();
foreach (var file in Directory.GetFiles(@"D:\Games\Lionheart-LegacyOfTheCrusader\data\", "*.frm16", SearchOption.AllDirectories))
{
var images = frmProcessor.Process(file);
foreach (var image in images)
{
var outputPath = Path.Combine(@"D:\data\lionheart", Path.GetFileNameWithoutExtension(file) + ".png");
image.SaveAsPng(outputPath);
}
}To clone and run this application, you'll need Git and .NET installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/btigi/iiMouseMind
# Go into the repository
$ cd src
# Build the app
$ dotnet build
iiMouseMind is licenced under the MIT License. Full licence details are available in licence.md