I first made the updated portraits in photoshop into the "PortraitTemplate.bmp" file that comes with the converter script. This .bmp is actually prepared with an indexed color palette, ordered the way it should be to incorrectly get the colors into Dungeon Master later.
But since I had copy/pasted and downscaled the original portraits into the image (to overpaint them) I had accidentally broke the "indexed color" mode and made the file RGB. Luckily I was able to copy my final portrait into another copy of "PortraitTemplate.bmp". This reordered the colors used in my pixels so it matched the correct index.
But when I saved the result Photoshop now save the BMP into an incorrect 584 bytes which seems like an old enough problem that suggests Adobe will never fix it, and make Photoshop incompatible with the VBS script.
After a few attempts with modifying Photoshop, and testing various other software, including getting ChatGPT to update the .vbs script, or even make a file converter I downloaded and installed GIMP from which could read the Photoshop BMP and export them "without color information". This finally made them the expected 582 bytes.
But the VBS script output 0 byte files. I do not know why but it just refused to work in my Windows 10 installation. So eventually I copied the portraits in to a WM Ware Windows 98se environment where I could use the .VBS export script and convert them into DM CMP files. I also learned later that I also had to name the BMP files correctly with " - " between name and surname (like SYRA - CHILD OF NATURE.BMP) before I exported the files to CMP.
Now I booted my virtual Amiga (WinUAE with vanilla Workbench v3.1 and WHDLoad) where I could start WHDLoad Dungeon Master v2.0 and make new game save file with all four characters I intended resurrected. I then had to quit WHDLoad (num *) to properly save the WHDLoad memory to harddrive.
But when I tried to load it into the editor from WHDLoad Chaos Strikes Back v1.21 it turns out Dungeon Master v2.0 save the game into a file on the harddrive while the WHDLoad Chaos Strikes Back relies on virtual disk images. At least it was easy enough to mount the file "disk.3" as an ADF file into WinUAE, then copy the save file and the custom portraits into the disk in my Workbench environment.
I could finally start the (English) Editor in Workbench, added the portrait to all 4 characters, and saved the game as a Dungeon Master save. First time doing this I broke the whole disk. It turns out I had to properly quit the editor, and WHDLoad, and reset the Amiga before I could successfully copy the DMGAME.DAT file from the disk back into the harddrive (into the Dungeon Master WHDLoad v2.0 data folder), where it finally loaded.


