Ticket #457 (new defect)
Default crashlog location is bad
|Reported by:||Philip||Owned by:|
|Priority:||If Time Permits||Milestone:||Backlog|
By default (before it has called psSetLogDir), the game tries to write crashlog.txt into the current directory, which is typically the system directory. When the game is installed in a read-only directory, and an error occurs during the startup process, that causes obvious problems. The original error report is lost and replaced by the can't-write-crashlog.txt error report, which isn't very helpful.
On Linux, maybe it'd be best to detect any errors writing crashlog.txt and then just dump the original error to stdout instead, because people are likely to see it there. On Windows maybe it should ignore crashlog-writing-errors and just display the normal dialog box for the original error. Or something else.