I'm the person developing/maintaing SkyProc and one of the issues I've had reported is that old patcher log files are not cleaned up when the patcher is run through MO. SkyProc creates a number of log files when a patcher is run but when a patcher starts it will attempt to delete all the old log files by calling the java File.delete() function on them. When run through MO patchers often do not delete the old log files. I've done some testing and it seems there is some very odd behavior when deleting files. Sometimes they are not deleted, sometimes they are apparently deleted after the new logs are written resulting in no logs at all existing, and sometimes it works fine. Running the same patcher multiple times in a row with the same mods active and the same settings has given all three results when testing this.
Is there a correct way to delete files so that it is fully compatible with MO?
Question
Dienes
I'm the person developing/maintaing SkyProc and one of the issues I've had reported is that old patcher log files are not cleaned up when the patcher is run through MO. SkyProc creates a number of log files when a patcher is run but when a patcher starts it will attempt to delete all the old log files by calling the java File.delete() function on them. When run through MO patchers often do not delete the old log files. I've done some testing and it seems there is some very odd behavior when deleting files. Sometimes they are not deleted, sometimes they are apparently deleted after the new logs are written resulting in no logs at all existing, and sometimes it works fine. Running the same patcher multiple times in a row with the same mods active and the same settings has given all three results when testing this.
Is there a correct way to delete files so that it is fully compatible with MO?
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now