I took file structure and large part of the prepare.ahk from Edijs' DiabloII test. Needs Diablo demo installation which is freely available online. Also needs convert.exe (from ImageMagick) in the same folder as helper_functions.ahk and that exe needs vcomp100.dll. Convert is attached.
Test passes on Win2k3 SP2 and on WinXP SP3. ReactOS fails the last test because "fc" does not exist and is required. Please review.