furnace
furnace copied to clipboard
[Suggestion] Error feedback for command line usage on Windows
I believe that users of most software should not have to constantly glance at the source code/documentation to be able to learn how to use it or know what they're doing incorrectly to be able to accomplish a certain task. Furnace, in command line mode, does not do this at the moment (on Windows 10, anyway).
To help remedy this issue, I believe that Furnace should have some sort of error feedback upon a crash or user error (like JSIDPlay2 for example), and some sort of built-in command line documentation for the various command line parameters that Furnace currently has.
Another thing that I think may be needed is to show you when Furnace is running in the background (eg, playing a song in console mode), perhaps how JSIDPlay2 does it (it gives you some song stats and a runtime counter, and you can ctrl+c it in that state as well). This may also solve the issue that you have to do taskkill /f /im furnace.exe (or your operating system's equivalent) to stop the music in command line mode, where it would be a lot easier to let the user kill Furnace by doing ctrl+c.
edit: After a quick glance at the source code, it appears that Furnace does indeed have some printfs lying around for command line feedback, but these do not appear to print at all on Windows.
MessageBox in logE
The reason why is console mode absent on Windows is because Furnace is built in the Windows subsystem, which prevents the appearance of a console when launched from the explorer, but also prevents command-line usage/console attachment.
Is there a way to get these messages to show up on the command line for Windows users as well?
The reason why is console mode absent on Windows is because Furnace is built in the Windows...
Console mode is present and works fine, except for the error/debug info logging into the command prompt.
The reason why is console mode absent on Windows is because Furnace is built in the Windows...
Console mode is present and works fine, except for the error/debug info logging into the command prompt.
I meant console output. Sorry for the lack of clarification.
Partially done! Furnace initialization failures (e.g. UI couldn't start, unable to load file, etc.) are now reported using MessageBox().