Opened 11 months ago
Last modified 11 months ago
#13614 new defect
RISC OS Scumm 2.6.0 abuses user choices
|Reported by:||gerph||Owned by:|
|Priority:||normal||Component:||Port: RISC OS|
The 2.6.0 stable version of ScummVM abuses the Choices directory for its debug output.
The line in question is in
Set Alias$Run_ScummVM Run <Obey$Dir>.scummvm %%*0 ><Choices$Write>.ScummVM.stdout 2><Choices$Write>.ScummVM.stderr
Choices should be used for configuration information, not for diagnostics. If you have diagnostics you should write them to Scrap$Dir at the very least. Using
<Choices$Write> would be akin to writing to
/etc/scummvm/stderr on a unix system, or possibly
$XDG_CONFIG/ScummVM/stderr which hopefully you can see makes the decision to use
Choices$Write clearly wrong.
Change History (1)
comment:1 by , 11 months ago
|Component:||--Unset-- → Port: RISC OS|
I'd prefer to leave this as is - RISC OS doesn't have a standardised location for storing log files, and keeping it alongside the configuration file and save files ensures that it can easily be found by the user in the event of a crash. This is consistent with the Windows port's behaviour, which writes the logs to the Application Data folder instead of to the system temporary folder.
Is there precedence for keeping log files in !Scrap? If there is, I might change my mind on this.