airbreather / StepperUpper

Some tools for making STEP happen.
MIT License
9 stars 2 forks source link

Directories not being properly overwritten #44

Open lacqui opened 6 years ago

lacqui commented 6 years ago

When patch mods are being installed over original modules, the patch isn't actually happening. For example:

Vivid Landscapes SMIM compatibility patch

should overwrite files from

Vivid Landscapes Tundra Moss Revised.

However, it's not overwriting due to the file already existing .

IOException - destDirName already exists.

airbreather commented 6 years ago

Running StepperUpper 2.0.0.0 with the latest STEP Core + STEP Extended XML files at the time of writing, ModOrganizer\mods\Vivid Landscapes - Tundra Moss Revised - yellow 1k 1.4\meshes\landscape\rocks\rockpilem02tundra.nif is identical to the SMIM-patched file.

I hope you're just seeing the first-chance exception in the debugger and freaking out, because if you're actually seeing the process run to completion normally without replacing that file like it should, then what that actually means is that there's a race condition, and the WaitFor isn't actually waiting like it should, which would be a lot harder to debug.

lacqui commented 6 years ago

It's the debugger. I enabled all exceptions and hit panicked tunnel vision. Coding before coffee - not even once.

On Wed, Sep 27, 2017, 10:31 Joe Amenta notifications@github.com wrote:

Running StepperUpper 2.0.0 with the latest STEP Core + STEP Extended XML files at the time of writing, ModOrganizer\mods\Vivid Landscapes - Tundra Moss Revised - yellow 1k 1.4\meshes\landscape\rocks\rockpilem02tundra.nif is identical to the SMIM-patched file.

I hope you're just seeing the first-chance exception in the debugger and freaking out, because if you're actually seeing the process run to completion normally without replacing that file like it should, then what that actually means is that there's a race condition, and the WaitFor isn't actually waiting like it should, which would be a lot harder to debug.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/airbreather/StepperUpper/issues/44#issuecomment-332495296, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG1t46etP9sxIHSK2QR16y7o3LG2eJYks5smjV3gaJpZM4PjnBE .