Jump to content
  • 0

Can Not Copy Resource / The system cannot find the path specified


ravenRpg38

Question

  • Answers 191
  • Created
  • Last Reply

Top Posters For This Question

Recommended Posts

  • 0
41 minutes ago, sheson said:

Since I do not really use Windows or Windows Defender I can not help well with exact instructions how to check its real time log. So I am just going by google results for example like 
https://superuser.com/questions/1126881/how-to-find-specifics-of-what-defender-detected-in-real-time-protection

"In the console tree, expand Applications and Services Logs, then Microsoft, then Windows, then Windows Defender."

As comparison try this:

Open the load order in xEdit. Start the Asset Browser script with CTRL+F3. Type in the file of the texture to copy, e.g. snow01_n.dds or stockadewood01_n.dds, then right-click it in the results and select save as from the first "container" (data or a BSA file)  listed.

I did as you suggested in xEdit, both files copied successfully into my Overwrite folder.  In the case of stockadewood01 there is one instance (of four) of it that is hidden.  The wining texture is in the Noble Skyrim texture pack. 

 

Edit: here is the debug output from MO2 for the most recent TextGen attempt.  I stopped at snow this time.

usvfs-2022-03-06_16-51-25.7z

Edited by cajeffreys
added a file
Link to comment
Share on other sites

  • 0
12 minutes ago, cajeffreys said:

I did as you suggested in xEdit, both files copied successfully into my Overwrite folder.  In the case of stockadewood01 there is one instance (of four) of it that is hidden.  The wining texture is in the Noble Skyrim texture pack. 

That seems to verify the textures exist and can be read and the error message from the OS is about not letting the program write to the destination path as in the previous cases.

Link to comment
Share on other sites

  • 0
16 minutes ago, sheson said:

That seems to verify the textures exist and can be read and the error message from the OS is about not letting the program write to the destination path as in the previous cases.

I edited my previous post with the latest MO2 log.  Again I completely turned off Windows Defender before running TextGen so it wouldn't interfere.  I don't believe there are any other security programs that come with Win10?

Link to comment
Share on other sites

  • 0
54 minutes ago, cajeffreys said:

I edited my previous post with the latest MO2 log.  Again I completely turned off Windows Defender before running TextGen so it wouldn't interfere.  I don't believe there are any other security programs that come with Win10?

What is the texture path and filename the OS denies?
Check the event log for any events around the time stamp.

I can not really tell you what else would make the OS on your PC deny access.

Link to comment
Share on other sites

  • 0
12 minutes ago, sheson said:

What is the texture path and filename the OS denies?
Check the event log for any events around the time stamp.

I believe these are the relevant entries in the MO2 output for your first question.

11:54:37.840 <19424:23160> [D] hook_GetFileAttributesW [lpFileName=G:\SteamLibrary2\steamapps\common\Skyrim Special Edition\Data\textures\landscape\Snow01.dds] [reroute.fileName()=G:\ModOrganizer\SkyrimSE\mods\Cathedral Snow and Glaciers (YALO T4R and RS)\textures\landscape\snow01.dds] [res=20] [originalError=2] [fixedError=2]
11:54:37.840 <19424:23160> [D] hook_GetFileAttributesW [lpFileName=\??\G:\SteamLibrary2\steamapps\common\Skyrim Special Edition\Data\textures\landscape\Snow01.dds] [reroute.fileName()=G:\ModOrganizer\SkyrimSE\mods\Cathedral Snow and Glaciers (YALO T4R and RS)\textures\landscape\snow01.dds] [res=20] [originalError=2] [fixedError=2]
11:54:37.840 <19424:23160> [D] ntdll_mess_NtCreateFile [inPathW=\??\G:\SteamLibrary2\steamapps\common\Skyrim Special Edition\Data\textures\landscape\Snow01.dds] [rerouter.fileName()=G:\ModOrganizer\SkyrimSE\mods\Cathedral Snow and Glaciers (YALO T4R and RS)\textures\landscape\snow01.dds] [DesiredAccess=80100080] [originalDisposition=1] [CreateDisposition=1] [FileAttributes=80] [res=0] [*FileHandle=00000000000028E4] [rerouter.originalError()=2] [rerouter.error()=2]

 

As you see in the first snip there is nothing in the logs for Windows Defender.  Since it's not running, I would expect that.

I did find this warning in the System entries and noticed that it keeps appearing in the logs around the same time as I've been running TextGen.  It doesn't occur earlier in the logs either, ie not in the middle of the night.  I'm not quite sure what to make of the message but it does seem to imply that certain actions might be blocked?

 

Capture.PNG

Capture2.PNG

Link to comment
Share on other sites

  • 0
15 minutes ago, cajeffreys said:

I believe these are the relevant entries in the MO2 output for your first question.

11:54:37.840 <19424:23160> [D] hook_GetFileAttributesW [lpFileName=G:\SteamLibrary2\steamapps\common\Skyrim Special Edition\Data\textures\landscape\Snow01.dds] [reroute.fileName()=G:\ModOrganizer\SkyrimSE\mods\Cathedral Snow and Glaciers (YALO T4R and RS)\textures\landscape\snow01.dds] [res=20] [originalError=2] [fixedError=2]
11:54:37.840 <19424:23160> [D] hook_GetFileAttributesW [lpFileName=\??\G:\SteamLibrary2\steamapps\common\Skyrim Special Edition\Data\textures\landscape\Snow01.dds] [reroute.fileName()=G:\ModOrganizer\SkyrimSE\mods\Cathedral Snow and Glaciers (YALO T4R and RS)\textures\landscape\snow01.dds] [res=20] [originalError=2] [fixedError=2]
11:54:37.840 <19424:23160> [D] ntdll_mess_NtCreateFile [inPathW=\??\G:\SteamLibrary2\steamapps\common\Skyrim Special Edition\Data\textures\landscape\Snow01.dds] [rerouter.fileName()=G:\ModOrganizer\SkyrimSE\mods\Cathedral Snow and Glaciers (YALO T4R and RS)\textures\landscape\snow01.dds] [DesiredAccess=80100080] [originalDisposition=1] [CreateDisposition=1] [FileAttributes=80] [res=0] [*FileHandle=00000000000028E4] [rerouter.originalError()=2] [rerouter.error()=2]

 

As you see in the first snip there is nothing in the logs for Windows Defender.  Since it's not running, I would expect that.

I did find this warning in the System entries and noticed that it keeps appearing in the logs around the same time as I've been running TextGen.  It doesn't occur earlier in the logs either, ie not in the middle of the night.  I'm not quite sure what to make of the message but it does seem to imply that certain actions might be blocked?

Those look like successful querying/reads. The entries of interest would be the unsuccessful writes.

Only check the stitched object LOD option for tests, since it seems both the rendered object LOD and billboards seem fine.

You could, as a test, start TexGen directly from Windows Explorer and not from MO2, see how it deals with the vanilla game files and without MO2 hooking the OS file functions.

The COM event is most likely not related.

Link to comment
Share on other sites

  • 0
46 minutes ago, sheson said:

Those look like successful querying/reads. The entries of interest would be the unsuccessful writes.

Only check the stitched object LOD option for tests, since it seems both the rendered object LOD and billboards seem fine.

You could, as a test, start TexGen directly from Windows Explorer and not from MO2, see how it deals with the vanilla game files and without MO2 hooking the OS file functions.

The COM event is most likely not related.

Test successful,  I unchecked the rendered object box and ran TexGen directly on the vanilla game files.  It was successful.  So the issue seems to be something with MO2's mod files.  Any ideas on how to track it down?  Also, I forgot to turn off Windows Defender this time and it didn't matter any so I think we can rule out any security program issues.

Link to comment
Share on other sites

  • 0
52 minutes ago, cajeffreys said:

Test successful,  I unchecked the rendered object box and ran TexGen directly on the vanilla game files.  It was successful.  So the issue seems to be something with MO2's mod files.  Any ideas on how to track it down?  Also, I forgot to turn off Windows Defender this time and it didn't matter any so I think we can rule out any security program issues.

What happens if you only generate the stitched object LOD textures starting from MO2.

I wouldn't be so sure about Windows Defender being always fine. It seems it does what it like in the last year based on the reports.

Link to comment
Share on other sites

  • 0
1 hour ago, sheson said:

What happens if you only generate the stitched object LOD textures starting from MO2.

I wouldn't be so sure about Windows Defender being always fine. It seems it does what it like in the last year based on the reports.

You are correct, I can generate just the rendered objects successfully.  When I try to generate the stitched objects it fails at snow01_n again.  I examined the texture in xEdit again and copied it successfully.  Any idea what I can try next? 

Also you said in one of the posts above to not use any 3rd part billboards for DynDOLOD, does that mean we should get rid of any LOD files that said they were for DynDOLOD?  This one for instance: (temp) Skyrim Remastered - Glaciers and Ice LODs for DynDOLOD

 

Capture3.PNG

Edited by cajeffreys
3rd party files question
Link to comment
Share on other sites

  • 0
1 hour ago, cajeffreys said:

You are correct, I can generate just the rendered objects successfully.  When I try to generate the stitched objects it fails at snow01_n again.  I examined the texture in xEdit again and copied it successfully.  Any idea what I can try next? 

Also you said in one of the posts above to not use any 3rd part billboards for DynDOLOD, does that mean we should get rid of any LOD files that said they were for DynDOLOD?  This one for instance: (temp) Skyrim Remastered - Glaciers and Ice LODs for DynDOLOD

 

Capture3.PNG

So it generates all stitched object LOD texture if started directly and it fails if starting it with MO2.

For a test you might want to install the mod Cathedral Snow and Glaciers (YALO T4R and RS) that contains the texture manually into the data folder. If the file is loose just copy that one file, other wise the plugin and BSA. Doublecheck the textures\landscape\snow01_n.dds it tries to copy is really coming from that mod.

If it still works directly with that texture, then maybe install the latest MO2 beta/alpha from its discord. Test the latest 2.4.5 Alpha2 first and if there is no change the 2.5.0 Alpha 1 from the #dev-builds channel.

Billboards are textures and text for tree LOD that are only in textures\terrain\LODGen\ subfolders. See https://dyndolod.info/Help/Tree-Grass-LOD-Billboards

Skyrim Remastered - Glaciers and Ice LODs for DynDOLOD is fine.

Link to comment
Share on other sites

  • 0
5 hours ago, sheson said:

So it generates all stitched object LOD texture if started directly and it fails if starting it with MO2.

For a test you might want to install the mod Cathedral Snow and Glaciers (YALO T4R and RS) that contains the texture manually into the data folder. If the file is loose just copy that one file, other wise the plugin and BSA. Doublecheck the textures\landscape\snow01_n.dds it tries to copy is really coming from that mod.

If it still works directly with that texture, then maybe install the latest MO2 beta/alpha from its discord. Test the latest 2.4.5 Alpha2 first and if there is no change the 2.5.0 Alpha 1 from the #dev-builds channel.

Billboards are textures and text for tree LOD that are only in textures\terrain\LODGen\ subfolders. See https://dyndolod.info/Help/Tree-Grass-LOD-Billboards

Skyrim Remastered - Glaciers and Ice LODs for DynDOLOD is fine.

I give, after I resolve one thing another pops up.  All I need is texture files right? So if I compile all of my texture mods in the main Skyrim file I can just run TextGen and DynLOD directly on it and call it a day.

Link to comment
Share on other sites

  • 0
On 3/7/2022 at 3:20 AM, cajeffreys said:

I give, after I resolve one thing another pops up.  All I need is texture files right? So if I compile all of my texture mods in the main Skyrim file I can just run TextGen and DynLOD directly on it and call it a day.

Stitched object LOD generation uses textures only.

Without all mods/plugins active it may not generate or update all stitched textures.  It won't solve the real issue, however.

Link to comment
Share on other sites

  • 0
20 minutes ago, sheson said:

Stitched object LOD generation uses textures only.

Without all mods/plugins active it may not generate or update all stitched textures.  It won't solve the real issue, either.

Alright I get what your saying.  I tried hiding all the iterations of the textures that were causing problems and that sorta worked (making it use the vanilla textures), however then it did this and I have no clue how to work around this.  Is it normal to want to copy one texture into another different but related one?  Also I'm now using MO2 2.4.5 Alpha 2.  It didn't help.

Capture5.thumb.PNG.06662e0713984541c55f81993cff9894.PNG

Link to comment
Share on other sites

  • 0
33 minutes ago, cajeffreys said:

Alright I get what your saying.  I tried hiding all the iterations of the textures that were causing problems and that sorta worked (making it use the vanilla textures), however then it did this and I have no clue how to work around this.  Is it normal to want to copy one texture into another different but related one?  Also I'm now using MO2 2.4.5 Alpha 2.  It didn't help.

Capture5.thumb.PNG.06662e0713984541c55f81993cff9894.PNG

Use the "copy message to clipboard" link and post the text instead.
Upload log and debug log instead of screenshots.

The reason for the error seems to be same issue. Are you saying this error happened without MO2?

Whatever the source and destination files, it is fully intentional.

Have you ever tried to booting into safe mode?

Are you sure windows defender or whatever other antivir is not silently enabled again?

Link to comment
Share on other sites

  • 0

The additional help says that this might be due to another program blocking the write, but that doesn't make much sense - as you can see this isn't the first file that was copied. It's most of the way through the texgen generation. Additionally, I successfully ran texgen last night before deciding to add a few more mods (and I suppose most notably, downgrading from AE to SE). Does anyone know what might be going on here?

image.thumb.png.e414c3238b168d23ffdd5a484bc06079.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.