Might & Magic X: Legacy Wiki
Advertisement

The game is written in C# using the graphics engine Unity3D. At the moment, the main assembly does not obfuscate, allowing without any difficulty to study their code and make changes. In addition, modmakers will be able to edit the data describing the game objects and events, allowing you to add new items to the game, characters, change the AI monsters and more.

Engine modification[]

All libraries written in C#, are located in the following path:
Might & Magic X - Legacy\Might and Magic X Legacy_Data\Managed

These files contain the basic logic of the game:

  • FileIconDllLegacy.Core.dll
  • FileIconDllLegacy.Framework.dll
  • FileIconDllLegacy.Game.dll

You can explore them using any of the existing programs, such as: dotPeek, ILSpy, .NET Reflector or ILDasm (for aesthetes). They also allow to decompile the library, make changes and re-build. In addition, you can write a program to inject code using FileIconDllMono.Cecil.dll.

The request was sent to the technical support with a request for access to the original source code. We are waiting for a response. But the likelihood of a favorable outcome is unlikely, so any research in the most convenient way to recompile the libraries are welcome!

Resources modification[]

Games resources are located in the following path:
Might & Magic X - Legacy\Might and Magic X Legacy_Data\StreamingAssets

  • FileIconTxtconfig.txt - configuration file, defining the various factors and parameters such as the length of the day, the rate of flow of time, costs and damage multipliers...
  • FileIconXmlCreditsData.xml - credits, appear in the game, containing a list of the developers of the project.
  • FileIconTxtoptionSettings.txt - game settings, such as play speed, the graphics options, etc.


FileIconFolderru, FileIconFolderen, FileIconFolderjp, include localization files FileIconXmlloca.xml, containing the texts of the game for the respective language locales. All localized content in the game refers to the constant of the files. More details about the format of the file and localization in general, see the appropriate article.

FileIconFolderMaps contain files that describe the game locations. Edit them manually is not recommended, but the format of, for example, to write your own editor, you can read here: Mods: Locations.

FileIconFolderres contain game archives, used engine. They comprise texture, patterns, animations, sounds, scripts, etc.

FileIconFolderDialog contain dialog files, snapped to the NPC.

FileIconFolderVideos contain movies and subtitles.

FileIconFolderStaticData contains CSV-tables describing the characteristics of game objects.

Articles[]

Advertisement