Script error log
- KelvinShadewing
- Posts: 12
- Joined: 12 Mar 2015, 14:24
- Contact:
Script error log
I've noticed there doesn't seem to be any log files anywhere. Is there any chance we could get a log for script errors when loading plugins? It would be nice to know which ones don't work and why (if the cause can be identified) so that I can work on fixing them to run in OpenMW.
Re: Script error log
Scripts aren't compiled or run on loading by default. Therefore there is nothing to log.
You can force compilation of scripts on startup by using the --script-all switch. Using --script-verbose will provide more detailed reports. See ./openmw --help for more details.
You can force compilation of scripts on startup by using the --script-all switch. Using --script-verbose will provide more detailed reports. See ./openmw --help for more details.
- KelvinShadewing
- Posts: 12
- Joined: 12 Mar 2015, 14:24
- Contact:
Re: Script error log
By switches, you mean command line arguments, right?
[EDIT]
OK, the console output shows me what scripts are failing, but I can't copy it for review or anything, so I have to leave OMW running or take a ton of screenshots. Can we at least have the output print to a text file?
[EDIT]
OK, the console output shows me what scripts are failing, but I can't copy it for review or anything, so I have to leave OMW running or take a ton of screenshots. Can we at least have the output print to a text file?
- DestinedToDie
- Posts: 1181
- Joined: 29 Jun 2015, 09:08
Re: Script error log
Can't you already check if a script fails in Open-CS? It even tells you what line failed.
Re: Script error log
Why? I am sure the console on any system would allow that; even the crappy Windows console.OK, the console output shows me what scripts are failing, but I can't copy it for review or anything,
Anyway, you could just redirect output to a file.
-
- Posts: 180
- Joined: 14 Jan 2013, 03:57
Re: Script error log
I was going to suggest thisZini wrote:Anyway, you could just redirect output to a file.