ShikyoKira / Project-New-Reign---Nemesis-Main

Animation Behavior Patching Tool
GNU General Public License v3.0
465 stars 183 forks source link

ERROR (6002): An exception has occured while patching #333

Open Zxperiment opened 4 years ago

Zxperiment commented 4 years ago

Checking engine version Engine is up to date Version Code: 1054-1959

Initializing behavior generation

Mod Checked 1: nemesis Mod Checked 2: dscgo

Mod installed: CriticalHit Mod installed: FlowerGirlsSE Mod installed: FNISSexyMove Mod installed: XPMSE Mod installed: Nemesis PCEA

PCEA Mod: 0Dser_Animations

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately File: Alternate Animation Message: copy_file: Access is denied.: "Papyrus Compiler\backup scripts\Actor.psc", "Papyrus Compiler\scripts\Actor.psc"

Failed to generate behavior

ShikyoKira commented 4 years ago

are you running Nemesis as admin? is this error consistent 100% all the time?

nahmercy commented 4 years ago

Ran into the same problem. I also ran the engine in admin mode and nothing changes. However, this occurs when I ran it from MO2. When I ran it outside of MO2 with no mods, the patching works. Here's my logs:

Checking engine version Engine is up to date Version Code: 9291-4678

Initializing behavior generation

Mod Checked 1: nemesis

Mod installed: ImmersiveAnimatedLooting Mod installed: XPMSE

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately File: Alternate Animation Message: copy_file: The filename, directory name, or volume label syntax is incorrect.: "Papyrus Compiler\backup scripts\Actor.psc", "Papyrus Compiler\scripts\Actor.psc"

Failed to generate behavior

Zxperiment commented 4 years ago

Sorry for the late comment was out of town. I can run it as admin but it will not have any of my mods so it will work fine. it seems to only happen from running it as a executable in mo2. I have to redo my mods anyway so if it comes up again after ill post again.

ShikyoKira commented 4 years ago

Ran into the same problem. I also ran the engine in admin mode and nothing changes. However, this occurs when I ran it from MO2. When I ran it outside of MO2 with no mods, the patching works. Here's my logs

No no, different issue. The message is obviously different

Sorry for the late comment was out of town. I can run it as admin but it will not have any of my mods so it will work fine. it seems to only happen from running it as a executable in mo2. I have to redo my mods anyway so if it comes up again after ill post again.

I have received reports latest version of MO2 is causing some issues. My testers have confirmed to me that reverting back to older version fixes their issue. I'm not sure if its related but do give that a try as well

The-Black-Stag commented 4 years ago

Got the same problem, first time using Nemesis and it's not going too great lmao.

Checking engine version Engine is up to date Version Code: 9954-7285

Initializing behavior generation

Mod Checked 1: nemesis Mod Checked 2: dscgo

Mod installed: XPMSE

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately File: Alternate Animation Message: boost::filesystem::copy_file: Access is denied: "Papyrus Compiler\backup scripts\Actor.psc", "Papyrus Compiler\scripts\Actor.psc"

Failed to generate behavior

Not sure what to do here. I can't run it in admin from MO, and running it manually mean there will be no mods to tick.

Edit: Found the problem. I manually installed Nemesis by dragging and dropping into my data folder, and then tried to open it using MO's functionality. You have to commit one way or the other. If your game is managed by MO, use MO to manage Nemesis as well as using it to launch it. Might fix any issues for those who are having the same problem.

GlCap commented 3 years ago

Same error using MO2, installed with MO, Skyrim SE version

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately File: None Message: boost::filesystem::copy_file

bluesquares01 commented 3 years ago

this is the problem I'm getting as well, have any of you found a fix for this?

Checking engine version Engine is up to date Version Code: 2143-4678

Initializing behavior generation

Mod Checked 1: nemesis Mod Checked 2: tkuc Mod Checked 3: itmuse

Mod installed: XPMSE ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately File: None Message: copy_file: The system cannot find the path specified.

Failed to generate behavior

reaperschild commented 3 years ago

PCEA Mod: 0Dser_Animations

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately File: PCEA Animation Message: copy_file: The system cannot find the path specified.: "alternate animation\nemesis pcea.script", "C:\Users\under\AppData\Local\Nemesis\Nemesis_PCEA_Core.psc"

Same issue.. it seems random it varies between error 6002 and 6001

bluesquares01 commented 3 years ago

The problem I had with mine was my anti virus, I had to turn off my real time protection and then it worked I don't know if the same would work for any of you.

VeganFire commented 3 years ago

Thanks, bluesquares01. That actually worked, but it's far from ideal that we need to turn off our antivirus to get Nemesis to run properly.

FabioFusimoto commented 3 years ago

If disabling the Antivirus is too extreme, you can exclude the folder Nemesis runs at from the real time protection. Doing so for Windows Defender solved my problem. You can follow Microsoft's guide to replicate said exclusion

Dcaster10 commented 3 years ago

I have been getting this error as well. Was working fine for me the other day. Now I am getting this message all the time

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately | File: Alternate Animation | Message: copy_file: The system cannot find the path specified.: "Papyrus Compiler\backup scripts\TESV_Papyrus_Flags.flg", "Papyrus Compiler\scripts\TESV_Papyrus_Flags.flg"

I tried disabling the anti-virus protection but that didn't work. Hoping someone can offer any other suggestions.

edit: tried again and getting a different message, same error code

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately | File: Alternate Animation | Message: copy_file: The system cannot find the path specified.: "alternate animation\alternate animation.script", "C:\Users\1XXX\AppData\Local\Nemesis\Nemesis_AA_Core.psc"

Edit: I read to disable Windows Security Real-Time Protection and it actually worked.

Sayrax23 commented 3 years ago

The problem I had with mine was my anti virus, I had to turn off my real time protection and then it worked I don't know if the same would work for any of you.

Friend, it really worked thank you)

FabioFusimoto commented 3 years ago

@Dcaster10 As far as I know, ...\AppData\... is a Windows protected directory (just like ...\ProgramFiles\...), which is known to cause issues with mods. I'd highly advised against installing Skyrim on system protected folders, because unexpected stuff happens (and your case might be an example).

ShadesofDawn commented 3 years ago

Recently tried to update a mod list with TUDM and when I run I get a few variations on the same error message.

Checking engine version Engine is up to date Version Code: 4956-6305

Initializing behavior generation

Mod Checked 1: nemesis Mod Checked 2: dsmove Mod Checked 3: flinch Mod Checked 4: jpbo Mod Checked 5: msdf Mod Checked 6: tudm

Mod installed: XPMSE

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately File: None Message: copy_file: The system cannot find the path specified.: "alternate animation\FNBE.pex", "C:\steam\steamapps\common\Skyrim Special Edition\data\scripts\FNIS.pex"

Failed to generate behavior

5AGE77 commented 3 years ago

Just ticked NEMISIS PCEU after disabling it and I don't get this error message hope this helps.

Marcos3g commented 3 years ago

I had the problem and turned off real-time protection and it worked.

Pedaltothemetal commented 2 years ago

IDK why but a comment previously posted also works, without disabling my antivirus nor adding folder exceptions (idk how in windows 11). I turned the compatibility mode in the executable for nemesis to "windows 7" and now It Just Works™

vanpunch commented 2 years ago

I also had this problem, setting Nemesis to run in 'Windows 7" compatibility mode worked for me.

arluke commented 2 years ago

Can also confirm running this as Windows 8 Compatibility worked for me to solve this issue. Currently on Windows 10 build 21H2 managing and running through MO2 v2.4.4.

343GuiltySpark-04 commented 2 years ago

ok, I feel I should note that it did fix it for me however you should never turn off real-time protection globally, instead you should add an exclusion.

Berzerkernox commented 2 years ago

I have been getting this error as well. Was working fine for me the other day. Now I am getting this message all the time

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately | File: Alternate Animation | Message: copy_file: The system cannot find the path specified.: "Papyrus Compiler\backup scripts\TESV_Papyrus_Flags.flg", "Papyrus Compiler\scripts\TESV_Papyrus_Flags.flg"

I tried disabling the anti-virus protection but that didn't work. Hoping someone can offer any other suggestions.

edit: tried again and getting a different message, same error code

ERROR(6002): An exception has occured while patching. Report to Nemesis' author immediately | File: Alternate Animation | Message: copy_file: The system cannot find the path specified.: "alternate animation\alternate animation.script", "C:\Users\1XXX\AppData\Local\Nemesis\Nemesis_AA_Core.psc"

Edit: I read to disable Windows Security Real-Time Protection and it actually worked.

I only have this happen when I have my VPN on. I turned it off and problem went away.

silmshady1984 commented 10 months ago

i have the same problem ,after that i run Nemesis in COMPATIBILITY windows 8 ,and then solved.