Jump to content
  • 0

Windows: A call to an OS function failed


Question

Posted

Running DynDOLOD at the end of STEP 2.10.0 install. Getting the error named in the title of this post. I run everything as administrator and have added everything to anti-virus exlcusion list. not sure what is causing this.

 

(cannot upload the full log as it is to big)

log.txt

Recommended Posts

  • 0
Posted

Unrelated, but remove SkyFalls/Mills for best visuals and performance.

 

From the DynDOLOD Standalone archive copy the content of the 'DynDOLOD' folder, which contains the files DynDOLOD.exe, TexGen.exe, DynDOLOD_QuickStart.html and the sub folders 'Docs' and 'Edit Scripts' with all their content into a new 'DynDOLOD' folder outside of special OS folders like 'Programs Files' or 'Program Files (x86)', the SteamApps or game folders and Mod Organizers virtual file structure. Do not mix with old versions or xEdit installation.

 

DynDOLOD is a tool. It does not belong to steam or any game folders.

 

 

 

 

This is the error 

 

Error: Could not create pipe

"C:\Games\Steam\steamapps\common\Skyrim\Utilities\DynDOLOD\Edit Scripts\Texconvx64.exe" -nologo -y -f DXT1 -bcdither -o "C:\Games\Steam\steamapps\common\Skyrim\Utilities\DynDOLOD\DynDOLOD_Output\Textures\DynDOLOD\LOD" "C:\Games\Steam\steamapps\common\Skyrim\Utilities\DynDOLOD\DynDOLOD_Output\Textures\DynDOLOD\LOD\DynDOLOD_DLC2SolstheimWorld_n.dds"

 

Something seems to prevent access. Could be UAC or antivirus.

 

Check what happens when you manually run the command 

 

"C:\Games\Steam\steamapps\common\Skyrim\Utilities\DynDOLOD\Edit Scripts\Texconvx64.exe" -nologo -y -f DXT1 -bcdither -o "C:\Games\Steam\steamapps\common\Skyrim\Utilities\DynDOLOD\DynDOLOD_Output\Textures\DynDOLOD\LOD" "C:\Games\Steam\steamapps\common\Skyrim\Utilities\DynDOLOD\DynDOLOD_Output\Textures\DynDOLOD\LOD\DynDOLOD_DLC2SolstheimWorld_n.dds"

 
on a Command Prompt.
  • +1 1
  • 0
Posted

Moving DynDOLOD outside the skyrim folder solved the issue. Thanks. I missed that small detail and thought having it outside program files was good enough. Although now I'm running into another issue. In the screenshot attached, when the "Generate Tree LOD" option is ticked, I get incredibly long load times, as well as a very low framerate. When the option is unticked, it takes much less time to load, and my framerate is much better. Do you have any idea what is causing this?

post-7954-0-96116400-1554934417_thumb.png

  • 0
Posted

Tree LOD causing long load times doesn't really make much sense - unless maybe the atlas texture is really huge. Check dimensions of textures\terrain\tamriel\trees\tamrieltreelod.dds, maybe shrink it with an image tool.

 

Otherwise, truncate the log to the last generation log and then paste it to pastbin or upload it to a file service.

  • 0
Posted

I ran DynDOLOD again resetting everything to default, and also selecting the "Generate Tree LOD" option and it loaded fine with no FPS issues. no idea what was causing that. thanks for your help.

  • 0
Posted

Hey there,

 

I've been trying a good few hours to solve this problem and I won't be surprised if it's something simple, I'm pretty new to modding and have searched the forums for help I couldn't really find something but I apologize if I missed something. I've looked for any billboards I'm missing and moved mods around but I don't understand what the problem is I keep getting the error:

 

[00:00:23.638]    <Error: Could not execute "D:\New folder (3)\DynDOLOD\Edit Scripts\Texconv.exe" -nologo -y -sepalpha  -f DXT1 -bcdither -o "D:\New folder (3)\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees" "D:\New folder (3)\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds">
[00:00:23.710]    [Tamriel] Trees LOD generation error: A call to an OS function failed
[00:00:23.751]    [00:20]  
[00:00:23.751]    [00:20] Exception in unit userscript line 254: [Tamriel] Trees LOD generation error: A call to an OS function failed

 

I apologize again if its simple or something I overlooked  

 

 

DynDOLOD_TES5_log.zip

  • 0
Posted

A call to an OS function failed. The OS or antivirus is probably preventing access.

 

Check what happens if you run the command in a windows command prompt.

 

"D:\New folder (3)\DynDOLOD\Edit Scripts\Texconv.exe" -nologo -y -sepalpha -f DXT1 -bcdither -o "D:\New folder (3)\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees" "D:\New folder (3)\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds"

 

If that works then DynDOLOD itself maybe blocked, or it might have to the game being installed into "Program Files x86" or MO Organizer into "Desktop" or the "(3)" in the path.

  • 0
Posted

After changing some things such as moving DynDOLOD, removing the 3 and putting Mod Organizer in a new location nothing changed and when running the command in a command prompt assuming I did it correctly it came up with this:

 

C:\Users\Ryan> C:\DynDOLOD\Edit Scripts\Texconv.exe" -nologo -y -sepalpha  -f DXT1 -bcdither -o "C:\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees" "C:\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds
'C:\DynDOLOD\Edit' is not recognized as an internal or external command,
operable program or batch file.

 

I also made sure antivirus wasn't affecting it so I'm not too sure what to do or what i may have missed

  • 0
Posted (edited)

The test command is missing the leading and last "
 
It should be 
 
"C:\DynDOLOD\Edit Scripts\Texconv.exe" -nologo -y -sepalpha  -f DXT1 -bcdither -o "C:\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees" "C:\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds"
 
 
Each path needs to quoted separately

Edited by sheson
  • 0
Posted

sorry about that I did it with the " and got this:

 

C:\Users\Ryan>cmd"C:\DynDOLOD\Edit Scripts\Texconvx64.exe" -nologo -y -sepalpha  -f DXT1 -bcdither -o "C:\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees" "C:\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds"
The filename, directory name, or volume label syntax is incorrect.

 

Is this correct or have I done it wrong again, sorry for making this difficult

  • 0
Posted

This is the command line to copy and paste into the Windows command prompt window:

 

"C:\DynDOLOD\Edit Scripts\Texconv.exe" -nologo -y -sepalpha  -f DXT1 -bcdither -o "C:\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees" "C:\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds"

 

You have an extraneous cmd that should not be there - assuming that C:\Users\Ryan> is the prompt itself.

  • 0
Posted

That means that command worked without error.

 

Do you still see the 'A call to an OS function failed" error when running DynDOLOD now with all the updated paths/folders?

  • 0
Posted
Save C:\DynDOLOD\DynDOLOD_Output\Textures\DynDOLOD\LOD\DynDOLOD_Tamriel.dds


Exception in unit userscript line 345: System Error.  Code: 2.

The system cannot find the file specified

 

The "file" the system cannot find is most likely TexConv.exe (otherwise the message would be a long the lines of TexConv returned an error)

 

It seems that the OS or a third party program like antivirus is still interfering with access.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

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