Jump to content

Recommended Posts

Posted (edited)
  On 12/16/2021 at 7:39 AM, sheson said:

Does xLODGen not start in SSE game mode or does it not output the LOD files to F:\xLODGen\SSELODGen_Output when starting from the short cut?

You should be using a proper mod manager like MO2. Especially if not knowing basic computer things like command line parameters.

 https://www.bleepingcomputer.com/tutorials/understanding-command-line-arguments-and-how-to-use-them/

Expand  

Thanks!! xLODGen starts perfectly in SSE game mod but I have not tried outputting the files yet because my understanding is that if the output folder is not specified correctly then xLODGen by default will output to SSE’s game folder which is not good/ is irreversible. :( Do I have that right?

Thank you for the tip about MO2, I use a mod manager but haven’t transitioned to MO2 yet because of my longer mod list.

Edited by dzee349
Posted
  On 12/16/2021 at 10:35 AM, dzee349 said:

Thanks!! xLODGen starts perfectly in SSE game mod but I have not tried outputting the files yet because my understanding is that if the output folder is not specified correctly then xLODGen by default will output to SSE’s game folder which is not good/ is irreversible. :( Do I have that right?

Thank you for the tip about MO2, I use a mod manager but haven’t transitioned to MO2 yet because of my longer mod list.

Expand  

Correct, generating into the default game folder will replace loose files in case they exist already.

Once you start generating LOD, the message window will print line(s) where it outputs the files.

Posted
  On 2/17/2018 at 10:22 AM, sheson said:

This is a beta of a never version of FNVLODGen (and the other listed games) and eventually this update will make it to the official Nexus pages of FNVLODGen (and the others).

 

Instead of using pre-made LOD mods, you can use this to create (hi-res) terrain meshes/textures for the current load order yourself.

 

xLODGen is generally easier to use and much quicker than GECK/CK/Oscape and can produce much, (even way too much) higher quality results.

Expand  

Is this still the case?

Is it still in "Beta" version? 

as a side note, if it matters, I have no issues generating my LOD using xLODGen, and it generates LOD much faster than the FNVLODGen on Nexus, for reasons unbeknownst to me. 

But that page has not been updated in a long time, and was posted (05 June 2018) after this thread (February 16, 2018) in the forum, so I'm wondering if there are any plans for this version.

Posted
  On 12/16/2021 at 10:41 AM, VeritableCactus said:

Is this still the case?

Is it still in "Beta" version? 

as a side note, if it matters, I have no issues generating my LOD using xLODGen, and it generates LOD much faster than the FNVLODGen on Nexus, for reasons unbeknownst to me. 

But that page has not been updated in a long time, and was posted (05 June 2018) after this thread (February 16, 2018) in the forum, so I'm wondering if there are any plans for this version.

Expand  

The page has last been updated when I posted the link to xLODGen beta 85  download archive a month ago.

Posted
  On 12/16/2021 at 11:03 AM, sheson said:

The page has last been updated when I posted the link to xLODGen beta 85  download archive a month ago.

Expand  

Oh, alright. So this as of now is the newest version? 

I didn't know since the first page has only one date, and that dates back to when I reckon this thread was first created. Thought each update would be noted by the website.

 

Thanks for the response, also great work.

Posted
  On 12/16/2021 at 6:45 PM, VeritableCactus said:

Oh, alright. So this as of now is the newest version? 

I didn't know since the first page has only one date, and that dates back to when I reckon this thread was first created. Thought each update would be noted by the website.

 

Thanks for the response, also great work.

Expand  

The first post always links to the latest beta.

  • 4 weeks later...
Posted (edited)

i get a consistent CTD in game after i rendered terrain LOD with the extremely experimental version of xLODGen 4.14 for FO4.

The only logfile i have on this crash is from Buffout 4;
E:\Repos\f4se\Buffout4\src\Warnings\CreateTexture2DWarning.cpp(60): [critical] A call to ID3D11Device::CreateTexture2D failed with error code 0x80070057. This will crash the game.

If i remove the textures created for the terrain by putting them temporarily in a separate folder the game doesn't know the game starts fine with the rendered LODChunks from the terrain, ofcourse without the new textures.

Also, the object LOD doesn't use the texture files specified in the lod material and lod meshes that are referred to by my esp file.
the regular version of FO4Editx64 renamed to FO4LODGenx64 does use those specified textures correctly.
But it can't do terrain ofcourse.

Also, the ability to choose plugins that you want to enable/disable in the regular xEdit is very convenient too.
having to do that all in a mod manager before you open up xLODGen is a drag, especially since i use a very rudimentary mod manager, cause all the fancy ones are more a nuisance cause they have badly written mod install routines, so i always install mods by hand, that way i'm sure files get placed in the right directories.
The downside is that the simple mod manager doesn't have mod profiles you can enable/disable.
So if you could implement that (enable/disable plugins on load), that would be cool.

But right now, the extremely experimental version sadly doesn't produce a workable result for me.
It doesn't read the loose texturefiles and materials for objects and treelod (3d treelod) it looks like, it looks like it gets the stuff needed only from the ba2 files.
the regular version uses the loose files first.
So i'll still have to use CK for terrain i guess.

Edited by Marcurios
Posted
  On 1/7/2022 at 10:43 PM, Marcurios said:

i get a consistent CTD in game after i rendered terrain LOD with the extremely experimental version of xLODGen 4.14 for FO4.

The only logfile i have on this crash is from Buffout 4;
E:\Repos\f4se\Buffout4\src\Warnings\CreateTexture2DWarning.cpp(60): [critical] A call to ID3D11Device::CreateTexture2D failed with error code 0x80070057. This will crash the game.

If i remove the textures created for the terrain by putting them temporarily in a separate folder the game doesn't know the game starts fine with the rendered LODChunks from the terrain, ofcourse without the new textures.

Also, the object LOD doesn't use the texture files specified in the lod material and lod meshes that are referred to by my esp file.
the regular version of FO4Editx64 renamed to FO4LODGenx64 does use those specified textures correctly.
But it can't do terrain ofcourse.

Also, the ability to choose plugins that you want to enable/disable in the regular xEdit is very convenient too.
having to do that all in a mod manager before you open up xLODGen is a drag, especially since i use a very rudimentary mod manager, cause all the fancy ones are more a nuisance cause they have badly written mod install routines, so i always install mods by hand, that way i'm sure files get placed in the right directories.
The downside is that the simple mod manager doesn't have mod profiles you can enable/disable.
So if you could implement that (enable/disable plugins on load), that would be cool.

But right now, the extremely experimental version sadly doesn't produce a workable result for me.
It doesn't read the loose texturefiles and materials for objects and treelod (3d treelod) it looks like, it looks like it gets the stuff needed only from the ba2 files.
the regular version uses the loose files first.
So i'll still have to use CK for terrain i guess.

Expand  

Provide logs, instructions and examples how to reproduce a problem.

To select plugins,  start the tool in Edit mode, e.g. rename to xEdit.exe or use -edit command line. Then start LOD generation via right click, Other, Generate LOD.

Upload a simple example plugin/mod that can be use to reproduce and troubleshoot the problem with the LOD material/LOD Meshes not being used.
What exact version is the regular version?

xEdit/xLODGen loads from BA2 and loose files just like the game. Loose files always win. If a loose file isn't used, it is typically because it doesn't exist at the exact same path. Maybe the OS, antivir or something else interferes with the scanning of files and folders. AFAIK the code in xEdit that loads BA2 and loose files hasn't changed between versions.

If the generated texture cause CTD, then its probably because of an unsupported compression format. Use the default settings for them.
xLODGen generates the textures in 888 format and then uses TexConv to convert them. Maybe the OS, anti or something else interferes in the process of saving/converting files.
 Isolate a texture with binary search and upload it.

Posted (edited)

I'm having an issue running xLODGen through MO2. I have the 64-bit exe chosen. My arguments line is -sse -o:”D:\Games\SkyrimModding\Tools\xLODGen\Output\". I disable real-time protection during the whole LOD process. I've also ensured that I have the right windows framework, and have tried restarting my pc.

However, when I launch through MO2, it does all the background loading tasks, says "Background Loader: Finished" and then stops. There's a little popup window that tells me to "Wait a few minutes," and its progress bar either finishes very quickly or stops at about 30%. It disappears, and then nothing else happens. The version of lodgen that I got from Nexus is working fine, but the latest beta as of yesterday never produces the settings window that lets me continue with the lodgen.

I'm sure I'm missing something foolish, but I'd appreciate help! Thanks!

Edit: Okay, I seem to have fixed the issue, as per the rules of the universe. I removed the output folder from my arguments line and simply told it to write directly to an empty mod that I created, and now the Options screen appears without issue. Ah, technology.

Edited by katubug
Posted
  On 1/8/2022 at 3:40 PM, katubug said:

I'm having an issue running xLODGen through MO2. I have the 64-bit exe chosen. My arguments line is -sse -o:”D:\Games\SkyrimModding\Tools\xLODGen\Output\". I disable real-time protection during the whole LOD process. I've also ensured that I have the right windows framework, and have tried restarting my pc.

However, when I launch through MO2, it does all the background loading tasks, says "Background Loader: Finished" and then stops. There's a little popup window that tells me to "Wait a few minutes," and its progress bar either finishes very quickly or stops at about 30%. It disappears, and then nothing else happens. The version of lodgen that I got from Nexus is working fine, but the latest beta as of yesterday never produces the settings window that lets me continue with the lodgen.

I'm sure I'm missing something foolish, but I'd appreciate help! Thanks!

Edit: Okay, I seem to have fixed the issue, as per the rules of the universe. I removed the output folder from my arguments line and simply told it to write directly to an empty mod that I created, and now the Options screen appears without issue. Ah, technology.

Expand  

The first double quote of the command line you posted is not actually a straight double quote but a curly one.

” should be "

That can happen if copy pasting stuff from websites that have braindead WYSIWYG Editors automatically "pretty" up stuff.

Always set a dedicated output folder outside of Steam, game and mod manager folders.

Posted (edited)

Thanks for taking the time to reply..

The xLodgen log is too big for the allowed filesize, its almost 5 mb.
It is full of texconv errors like these;
01:00]       0: VID:10DE, PID:2484 - NVIDIA GeForce RTX 3070
[01:00]       1: VID:1414, PID:008C - Microsoft Basic Render Driver
[01:00] Error: Executing Texconv failure 00000001: "E:\Games\Steam\steamapps\common\Fallout 4\Edit Scripts\Texconvx64.exe" -nologo -y -aw 256 -sepalpha  -f DXT1 -bc d -o "e:\games\steam\steamapps\common\fallout 4\data\textures\terrain\commonwealth" -flist "C:\Users\Marcus\AppData\Local\Temp\FO4Edit\Texconv_Commonwealth_112_0.txt"
[01:00] e:\games\steam\steamapps\common\fallout 4\data\textures\terrain\commonwealth\commonwealth.4.92.-68_msn.dds
[01:01] Invalid value specified with -f (DXT1)
[01:01] Microsoft (R) DirectX Texture Converter (DirectXTex version)
[01:01] Copyright (C) Microsoft Corp. All rights reserved.
[01:01] Usage: texconv <options> <files>

Maybe 1/3 of all texture converts have this error, the rest renders ok it looks like.
link to the file in my onedrive; https://1drv.ms/t/s!AnB6a-bT8xxukAP_xvDO2fj4ThmM?e=tJvsCG

With the suggested procedure to load plugins with the xLODGen version it's not possible to generate terrain lod, only object lod.

There definitely seems to be a difference in how the program loads texturefiles depending on how you use it.
If you use it as FO4Editx64 it renders object lod with loose textures fine, and you can select plugins, but it can't render terrain lod.

if used as FO4LODGenx64, you have the option to render terrain lod, and you can't select plugins,
but if used like this without the option to render terrain lod it doesn't load the loose files for my trees (3d object lod).
It even loads completely different incorrect files for the objectlod atlas without changing anything when it comes to referenced files and where they are.
So with terrain lod option enabled it renders unusable terrain dds files that make the game crash, and if you delete the terrain dds files and terrain chunks so you only have the objectlodatlas textures and the objectlod meshes left, they (textureatlas, not meshes) are completely wrong as well.
Cause it does something weird with the objectlod atlas file, it takes the wrong messed up textures from i don't know where, but not from the specified referenced textures in the
lod meshes and their material. (see screenshots)


I have a exception in my antivirus for my gamefolders, so they don't get scanned by the realtime scanner.
And both programs are in my Fallout dir, so none of the two are being handled by antivirus program.
I also checked the programs set up in windows , there is no security settings on them, they have full privileges.
The only thing i haven't done is set them to run as admin, should i perhaps do that ?
Otherwise i can't imagine Windows messing with them programs, since all other programs i install work perfectly fine.
And if i say the regular xEdit, i mean the version this xLODGen is based on, so 4.04 (i said 4.14 in my earlier comment, but i ment 4.04 ofcourse)

Also, I did use the default setting for the textures, right out of the box, tried multiple times with the default settings.

I don't think i made any stupid mistakes here (but you never know, not saying i'm 100% certain about that), cause i rendered LOD for FO3 and FNV hundreds of times when i made WFO, so i do know what to do when it comes to referring to textures from nif files, the only difference here is that there is a material added in FO4 that has a reference to the used textures as well, and it is referenced from within the meshes itself. I used the material with the name unchanged so i didn't have to change the path in the mesh, and also used the same name for the texture, only used them as loose files to override whats in the ba2 file of the Treesredux.esp mod that i wanted to change the leafcolor from.
I also unpacked the meshes and lod meshes to see what the mod author did, but it doesn't matter if i keep tehm in the ba2 file only or also place them as loose files, i already tried that.
I actually tried a bunch of stuff, so i already rendered terrain lod and/or object lod for atleast 30 times now, with the same result no matter what i do.
I'm going to go over all my files once again to see if i did make some mistake somewhere just to be certain.
Otherwise i'll probably forego terrain LOD alltogether.
xEdit mode renders fine object lod, everything correct, xLodgen mode does not looks like, and also refuses to render usable terrain textures, meshes are ok it seems.

maybe there is something wrong with the format of my terrain textures ?
I think i made them al BC5 and BC7 if i'm not mistaken, i'd have to check that..

 

ObjectlodAtlas example in LODGen mode.jpg

ObjectlodAtlas example in xEdit mode.jpg

Edited by Marcurios
clarified some things and added some
Posted
  On 1/8/2022 at 4:19 PM, Marcurios said:

The xLodgen log is too big for the allowed filesize, its almost 5 mb.
It is full of texconv errors like these;
01:00]       0: VID:10DE, PID:2484 - NVIDIA GeForce RTX 3070
[01:00]       1: VID:1414, PID:008C - Microsoft Basic Render Driver
[01:00] Error: Executing Texconv failure 00000001: "E:\Games\Steam\steamapps\common\Fallout 4\Edit Scripts\Texconvx64.exe" -nologo -y -aw 256 -sepalpha  -f DXT1 -bc d -o "e:\games\steam\steamapps\common\fallout 4\data\textures\terrain\commonwealth" -flist "C:\Users\Marcus\AppData\Local\Temp\FO4Edit\Texconv_Commonwealth_112_0.txt"
[01:00] e:\games\steam\steamapps\common\fallout 4\data\textures\terrain\commonwealth\commonwealth.4.92.-68_msn.dds
[01:01] Invalid value specified with -f (DXT1)
[01:01] Microsoft (R) DirectX Texture Converter (DirectXTex version)
[01:01] Copyright (C) Microsoft Corp. All rights reserved.
[01:01] Usage: texconv <options> <files>

Maybe 1/3 of all texture converts have this error, the rest renders ok it looks like.

With the suggested procedure to load plugins with the xLODGen version it's not possible to generate terrain lod, only object lod.

There is definitely a difference in how the program loads texturefiles depending on how you use it.
If you use it as FO4Editx64 it renders object lod with loose textures fine, and you can select plugins, but it can't render terrain lod.

if used as FO4LODGenx64, you have the option to render terrain lod, and you can't select plugins,
but if used like this without the option to render terrain lod it doesn't load the loose files for my trees (3d object lod).
It even loads completely different incorrect files for the objectlod atlas without changing anything when it comes to referenced files and where they are.
So with terrain lod option enabled it renders unusable terrain dds files that make the game crash, and if you delete the terrain dds files and terrain chunks so you only have the objectlodatlas textures and the objectlod meshes left, they are completely wrong as well.
Cause it does something weird with the objectlod atlas file, it takes the wrong messed up textures from i don't know where, but not from the specified referenced textures in the
lod meshes and their material. (see screenshots)


I have a exception in my antivirus for my gamefolders, so they don't get scanned by the realtime scanner.
And both programs are in my Fallout dir, so none of the two is being handled by antivirus program.
I also checked the programs set up in windows , there is no security settings on them, they have full privileges.
The only thing i haven't done is set them to run as admin, should i perhaps do that ?
Otherwise i can't imagine Windows messing with them programs, since all other programs i install work perfectly fine.
And if i say the regular xEdit, i mean the version this xLODGen is based on, so 4.04 (i said 4.14 in my earlier comment, but i ment 4.04 ofcourse)

Also, I did use the default setting for the textures, right out of the box, tried multiple times with the default settings.

ObjectlodAtlas example in LODGen mode.jpg

ObjectlodAtlas example in xEdit mode.jpg

Expand  

See my signature about using a paste or a file service for uploading log files.
If there are errors in the log, it should be no surprise things are not working as expected...

As explained on the first post, unpack xLODGen into a dedicated, empty new folder outside of Steam, Game and special Windows folders like Program Files x86. 

Use the latest xLODGen terrain LOD beta 85 from the first post. It is based on 4.1.4 Extremely Experimental.

It seems the Texconv.exe that ships with the xLODGen archive got replaced. Do not replace single files or tools from the archive. When unpacking always unpack into a new empty folder. Use 7zip to unpack. Make sure there are no files from other versions.

Since Texconv is also used when reading textures, it possible that the troubles of not using/loading certain textures is automatically solved  as well.

Always set a dedicated output folder with -o that is outside of Steam, game and mod manager folders as explained on the first post.

Starting xLODGen terrain LOD beta in edit mode can generate terrain LOD without any problem. Enable simple records in the options first as indicated by the message in case they are disabled. After a restart, right click on the plugin that adds the worldspace you want to generate LOD for, select Other, then select Generate LOD.

The log prints a list of loaded archives and which data folder is used. Verify that these things are what is expected.

If in Edit mode, use the Asset Browser (CTRL+F3) to enter filenames into the filer field to see which containers are found. The first container listed is the one winning. It is "data" for loose files.

If the Asset Browser behaves the same for the different versions, provide an example plugin and/or the steps how to reproduce the claim xEdit/xLODGen loads archives and/or loose files differently now compared to older versions.

Posted

OK, i feel completely stupid now, cause i did RTFM, but when it said install in a different directory i thought to myself, that shouldnt make such a big difference.
But when it comes to rendering correct terrain, it obviously does...sigh..banging head against wall..

Thanks for your help Sheson, sorry to take your time needlesly..
 

Posted (edited)

Everything renders OK now, but i have a question, did you ever get shimmering lights on object lod after you rendered it ?

Cause the trees look OK, but at certain angles i get all dancing white lights on the trees, flickering like crazy, i never seen this before in any modded game.
i can't even begin to guess at what is causeing it too. I had working objectlod before without this phenomenon.

You have any idea what it is and how to get it fixed ?

It's not z-fighting, i know what that looks like and how to alleviate that.
I't looks like bloom flashes, but it happens on dark objects (tree canopies) only, so that's not what bloom does, still, it looks like bloom flashing on and off rapidly.

Edited by Marcurios
Posted
  On 1/8/2022 at 10:10 PM, Marcurios said:

Everything renders OK now, but i have a question, did you ever get shimmering lights on object lod after you rendered it ?

Cause the trees look OK, but at certain angles i get all dancing white lights on the trees, flickering like crazy, i never seen this before in any modded game.
i can't even begin to guess at what is causeing it too. I had working objectlod before without this phenomenon.

You have any idea what it is and how to get it fixed ?

It's not z-fighting, i know what that looks like and how to alleviate that.
I't looks like bloom flashes, but it happens on dark objects (tree canopies) only, so that's not what bloom does, still, it looks like bloom flashing on and off rapidly.

Expand  

Does this happen with vanilla trees and only vanilla LOD resources and no mods, especially no ENB and/or lighting mods?

Sounds a bit like missing/wrong  _s.dds texture for the LOD asset.

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.