It turns out OpenFL PreForm 2.3.3 does actually support virtual printers for the Form 1, Form 1+ and Form 2, which allows dumping a print’s .flp files to a local directory.
It is unfortunately disabled in the public build, but it is relatively simple to enable by editing PreForm.exe in a hex editor.
Notes:
- This is specifically for the OpenFL 2.3.3 release of PreForm for Windows, found on the OpenFL GitHub page
- Make a backup of PreForm.exe! exe files are extremely sensitive to edits, and if done incorrectly PreForm will crash when opened. If that happens, delete the edited PreForm.exe and replace it with your backup copy with the same name! Alternatively, reinstalling PreForm should overwrite the broken copy
- Close PreForm if it is open
- Navigate to the installation directory for OpenFL PreForm 2.3.3
- Make a backup copy of PreForm.exe if you haven’t already!
- Open the original PreForm.exe in a hex editor of your choosing
- Navigate to 0x342C00. Edit the second byte[*] from
01to00so that the first 8 bytes change like so:B8 01 00 00 00 C3 8D 76(before)B8 00 00 00 00 C3 8D 76(after)- If you do not see those bytes, you are probably editing the wrong version of PreForm or navigated to the wrong address. If so, stop and do not edit the file
- [*] For context, the second byte holds the value returned by the function
Common::BuildType::isPublic, which for PreForm 2.3.3 must be0/falsein order for virtual printers and other debug features to be enabled
- Save and close the file in your hex editor
If done correctly, PreForm should now include a “Debug” tab in the menu bar as well as three virtual printers.
If it did not work or you wish to revert this change, restore the backup copy you made of PreForm.exe, or alternatively reinstall the software from the link found on the OpenFL GitHub page.