Jump to content

Recommended Posts

Posted

Yes, no need.. However, there never is a need to generate LOD because of a new version. Only generate it there was a change in the load order that affects terrain LOD or a visible problem that needs to be fixed.

Thanks, good to know.

Posted

Hello, I am running into an odd issue in which SSELODGen appears to refuse to run due to "illegal characters in path," but as far as I can tell, this is not the case.

 

To quickly summarize:

I am running xLODGen beta 36 with xEdit 4.01 through MO2 v2.1.6.  I have SSEEdit.exe located at:

‪C:\Games\ModdingTools\xEdit\SSEEdit\SSEEdit.exe

and I have xLODGen.exe located at

C:\Games\ModdingTools\xLODGen\xLODGen.exe

Within MO2, I have the Binary set to the aforementioned xLODGen.exe, with the argument:

-sse -o:"D:\SSExLODGenOutput\"

I am using the Tucoguide as a reference (https://www.nexusmods.com/skyrimspecialedition/mods/10694) and for instructions on installation. When I run xLODGen through MO2, I select all of the BGS worlds (base game+DLC) and Falskaar. I use the setting suggested by the aforementioned Tucoguide.

 

A few seconds after selecting "Generate" I am greeted with an error popup that reads:

"LODGen process error, exit code E0434352."

 

The log from the note that the background loader has finished until this error can be seen below:

[00:09] Background Loader: finished
[Tamriel] Generating LOD
[Tamriel] Gathering CELL and LAND records.
[Tamriel] Land height: -27000, Water height: -14000, Scanned: 16385 CELL records, Found: 16384 LAND records for area [-64,-64] to [63,63]
[Tamriel] LODsettings: Level 4 to 32 stride 256 from -96,-96 to 0,0
[Tamriel] Exporting terrain mesh data for LODGen to C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen_Terrain_Tamriel.bin
[Tamriel] No options file found: C:\Games\ModdingTools\xLODGen\Edit Scripts\SSELODGen_Skyrim_Tamriel_Options.txt
[Tamriel] Saving LODGen data: C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen_Terrain_Tamriel.txt
[Tamriel] Running "C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen.exe" "C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen_Terrain_Tamriel.txt"
============================================================
Skyrim Object LOD Generator 2.5.2.0
Created by Ehamloptiran and Zilav
Updated by Sheson
 
Log started at 4:57:54 PM
 
Unhandled Exception: System.ArgumentException: Illegal characters in path.
   at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
   at LODGenerator.Common.Utils.GetFullPathWithEndingSlashes(String input)
   at LODGeneratorCMD.Program.Main(String[] args)
LOD Generator: finished (you can close this application now)
 
I can provide the full log at request.
I am not sure what error I am running into here. There are no spaces nor any illegal characters that I can find in any of the file paths. I am not sure what exit code E0434352 indicates, nor do I know how to go about finding out. I would appreciate any help or suggestions anyone might be able to provide. 
Posted

 

Hello, I am running into an odd issue in which SSELODGen appears to refuse to run due to "illegal characters in path," but as far as I can tell, this is not the case.

 

To quickly summarize:

I am running xLODGen beta 36 with xEdit 4.01 through MO2 v2.1.6.  I have SSEEdit.exe located at:

‪C:\Games\ModdingTools\xEdit\SSEEdit\SSEEdit.exe

and I have xLODGen.exe located at

C:\Games\ModdingTools\xLODGen\xLODGen.exe

Within MO2, I have the Binary set to the aforementioned xLODGen.exe, with the argument:

-sse -o:"D:\SSExLODGenOutput\"

I am using the Tucoguide as a reference (https://www.nexusmods.com/skyrimspecialedition/mods/10694) and for instructions on installation. When I run xLODGen through MO2, I select all of the BGS worlds (base game+DLC) and Falskaar. I use the setting suggested by the aforementioned Tucoguide.

 

A few seconds after selecting "Generate" I am greeted with an error popup that reads:

"LODGen process error, exit code E0434352."

 

The log from the note that the background loader has finished until this error can be seen below:

[00:09] Background Loader: finished
[Tamriel] Generating LOD
[Tamriel] Gathering CELL and LAND records.
[Tamriel] Land height: -27000, Water height: -14000, Scanned: 16385 CELL records, Found: 16384 LAND records for area [-64,-64] to [63,63]
[Tamriel] LODsettings: Level 4 to 32 stride 256 from -96,-96 to 0,0
[Tamriel] Exporting terrain mesh data for LODGen to C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen_Terrain_Tamriel.bin
[Tamriel] No options file found: C:\Games\ModdingTools\xLODGen\Edit Scripts\SSELODGen_Skyrim_Tamriel_Options.txt
[Tamriel] Saving LODGen data: C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen_Terrain_Tamriel.txt
[Tamriel] Running "C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen.exe" "C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen_Terrain_Tamriel.txt"
============================================================
Skyrim Object LOD Generator 2.5.2.0
Created by Ehamloptiran and Zilav
Updated by Sheson
 
Log started at 4:57:54 PM
 
Unhandled Exception: System.ArgumentException: Illegal characters in path.
   at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
   at LODGenerator.Common.Utils.GetFullPathWithEndingSlashes(String input)
   at LODGeneratorCMD.Program.Main(String[] args)
LOD Generator: finished (you can close this application now)
 
I can provide the full log at request.
I am not sure what error I am running into here. There are no spaces nor any illegal characters that I can find in any of the file paths. I am not sure what exit code E0434352 indicates, nor do I know how to go about finding out. I would appreciate any help or suggestions anyone might be able to provide. 

 

Post the full log.

Posted

Pastebin link to log: https://pastebin.com/iDTzNd8A

Note: This is only one of the runs in the log, but they should all be identical, so that should not matter.

I'll add as well that I am running on Windows 10, with the most recent public update. 

Let me know if you need any further information.

Can you also please upload/pastebin  C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen_Terrain_Tamriel.txt

Posted

 

 

GameMode=TERRAINSSE
Worldspace=Tamriel
CellSW=-96 -96
MaxLevel=32
TerrainData=C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen_Terrain_Tamriel.bin
IgnoreWater=False
LandHeight=-27000
WaterHeight=-14000
ProtectCellBorders=False
QualityLOD4=5
MaxVertsLOD4=32767
WaterDeltaLOD4=-1
QualityLOD8=10
MaxVertsLOD8=32767
WaterDeltaLOD8=0
QualityLOD16=10
MaxVertsLOD16=32767
WaterDeltaLOD16=0
QualityLOD32=15
MaxVertsLOD32=32767
WaterDeltaLOD32=550
Skirts=256
PathOutput=?D:\SSExLODGenOutput\meshes\terrain\Tamriel

 

 

Posted

 

 

GameMode=TERRAINSSE
Worldspace=Tamriel
CellSW=-96 -96
MaxLevel=32
TerrainData=C:\Games\ModdingTools\xLODGen\Edit Scripts\LODGen_Terrain_Tamriel.bin
IgnoreWater=False
LandHeight=-27000
WaterHeight=-14000
ProtectCellBorders=False
QualityLOD4=5
MaxVertsLOD4=32767
WaterDeltaLOD4=-1
QualityLOD8=10
MaxVertsLOD8=32767
WaterDeltaLOD8=0
QualityLOD16=10
MaxVertsLOD16=32767
WaterDeltaLOD16=0
QualityLOD32=15
MaxVertsLOD32=32767
WaterDeltaLOD32=550
Skirts=256
PathOutput=?D:\SSExLODGenOutput\meshes\terrain\Tamriel

 

 

 

There it is: The ? in front of the output path. It most likely gets picked up as part of the -sse -o:"D:\SSExLODGenOutput\" argument. Make sure the double quotes at the beginning and end are straight ones. It is also possible there is an invisible character code right before the D:\ from copy pasting. Maybe just retype the entire argument.

Posted

I went to backspace, and there was indeed an invisible character there, probably from copy-pasting. I won't know if the process was a success or not for a few minutes, but it is at least running. If I do not post again, you can assume that this resolved my issues. Thanks.

Posted

I ran xLODGen and ran into an error. I thought maybe it was my fault because I was doing other tasks, while it ran in the background. I ran it again, and ran into an error again.

 

After about 20 minutes, I get an error popup with error message:

"LODGen process error, exit code E0434352."

 

In the logger, I see a few issues:

Error optimizing unseen triangles for LOD level 32

Unhandled Exception: System.ObjectDisposedException: Cannot access a closed file.

 

I have included the full log in the following pastebin file(s):

Part 1: https://pastebin.com/KUF95nBE

Part 2: https://pastebin.com/6D6jvpVv

Part 3: https://pastebin.com/r8DtJVHQ

 

I am not sure how close to completion xLODGen was able to reach before running into this error, but it did seem to produce a majority of the expected files. I am not sure if this error will cause any significant issues, but I figured I should post the log since this software is in beta.

Posted

I ran xLODGen and ran into an error. I thought maybe it was my fault because I was doing other tasks, while it ran in the background. I ran it again, and ran into an error again.

 

After about 20 minutes, I get an error popup with error message:

"LODGen process error, exit code E0434352."

 

In the logger, I see a few issues:

Error optimizing unseen triangles for LOD level 32

Unhandled Exception: System.ObjectDisposedException: Cannot access a closed file.

 

I have included the full log in the following pastebin file(s):

Part 1: https://pastebin.com/KUF95nBE

Part 2: https://pastebin.com/6D6jvpVv

Part 3: https://pastebin.com/r8DtJVHQ

 

I am not sure how close to completion xLODGen was able to reach before running into this error, but it did seem to produce a majority of the expected files. I am not sure if this error will cause any significant issues, but I figured I should post the log since this software is in beta.

 

Error optimizing unseen triangles for LOD level 32
Set Optimize Unseen for LOD level 32 to off or use x64 version
 
Try what the message suggests. Use the x64 version. It needs more memory do the calculations. Things go wrong after that.
Posted

Terrain normal maps (_N) have any effect? I dont see different between 256 and 2048...

From the readme:

 

Normal Size - texture resolution in pixels. See hints for native resolutions per LOD level. Higher resolutions are just a resize - see the hint message for the size that is native to the data (typically 256x256 for LOD4, 512x512 for LOD8 etc.), but can be useful because of compression and when baking normal-maps. Remember that each increase in resolution quadruples the resources and times needed to generate the textures. Higher than 1024 will start to take some serious time.

 

https://forum.step-project.com/topic/13451-xlodgen-terrain-lod-beta-for-fnv-fo3-fo4-fo4vr-tes5-sse-tes5vr/page-10?do=findComment&comment=221279

Posted (edited)

I ran into some weird issues while trying to create LOD for Fallout 4 using version 36. While xLODGenx64 was running and generating texture files, I noticed several warnings about an error reading a few normal maps, 5 different normals to be specific. After xLODGen had finished I checked the log and tracked down the mods that provided the 5 normal maps in question and temporarily removed those 5 files to see if xLODGen would then run without warnings. To my surprise however, I got a whole boatload of new warnings about normal map reading errors from files that I didn't get any warnings from before and the program grinded to a halt while throwing whole pages of errors, forcing me to kill it with the task manager.

 

Putting the 5 files that originally caused warnings back into their respective mods didn't reverse the situation though, when I ran xLODGen afterwards it still gave me tons of errors about the other normal maps that ran fine the first time... Since all my mods are packed into BA2 archives I also tried to extract the 5 normals in question to see if having them loaded as loose files would have any effect, but that didn't change the situation either.

Any idea why removing the 5 files that initially caused errors suddenly created a lot more and causes the program to hang up?

 

Also, where does xLODGen save its settings? I want to reset it to its default settings but simply deleting all the files and reinstalling it doesn't reset my manuall settings.

Edited by El_Rizzo

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.