This MA2 plugin lets you retrieve the original image or video files from UserImage pool - which is otherwise a non-existent feature of native MA2 software. This is done by exporting the image to XML file then reverting the data stored in XML to binary.
Usage:
Alternatively, you can run the plugin using the command line, and you can provide the ID of the image to export, or a range to export, for example:
Plugin "Recover Image" 15
or
Plugin "Recover Image" "20 Thru 30"
Known image extensions: webp, png, jpg, gif, tiff, bmp
Known video extensions: webm, mov, mp4, avi, mpg
If the file type is not supported, file will still be exported but extension will not be added to the file.
Before exporting, the desired drive can be selected. The files will be saved to gma2/bitmaps directory of the selected drive.
Changelog: 2023.09.23. v1.1 Bug fixed: Plugin did not start in older versions. 2025.01.20. v1.2 Added: can now specify which image to export in command line Added: can now export multiple images (through command line only) Improved: less wait time for files Improved: removing unnecessary blab from end of file name 2025.01.21. v1.3 Added: Select drive before exporting. Now it's possible to export to USB sticks. Tested on consoles too. Changed: Now exporting files into bitmaps directory