ID:2310136
 

Problem description:
I'm writing a script that will among other things compile and copy the resulting .int, .rsc, and .dmb files to a different directory where a world is being hosted through DreamDaemon. When trying to copy the binaries, the .int and .dmb work fine but the .rsc fails with the following runtime (Java):
java.nio.file.FileSystemException: The process cannot access the file because it is being used by another process.
How can I copy over the .rsc file so that when the world reboots it will be using the new files?
I assume it has something to do with the .dyn and .lk files but I can't search the forums without getting a 504 error.
It stays in constant change, has no way, I believe it is in HD, but the interaction is in real time, not everything is in the ram