works with h2.exe (softwaremode)