Skip to main content
Home
DynDOLOD - Dynamic Distant Objects LOD
Finally I can see my house from here!
Support me on Ko-fi

LODGen

LODGen is a command line tool that generates terrain LOD and object LOD meshes. Not to be confused with xLODGen, which is a tool mode of xEdit, which makes use of LODGen to generate object LOD meshes or terrain LOD meshes.

It requires a recent version of Microsoft Visual C++ Redistributable packages for Visual Studio 2015, 2017, 2019 and 2022 to be installed. In case the Redistributable is missing or outdated, typical error messages are LODGen returned error 259

In case LODGen failed to generate object LOD for one or more worlds, check the log messages window (click OK, then click Check log) or the saved DynDOLOD log. Typically the log message show which worlds failed and which specific LODGen log file to check for additional information about the error. These messages look like:

<Error: LODGenx64.exe failed to generate object LOD for [WORLDSPACE]. Check C:\DynDOLOD\Logs\LODGen_[GAME MODE]_[WORLDSPACE]_log.txt>

The log files are in ..\DynDOLOD\Logs\LODGen_[GAME MODE]_[WORLDSPACE]_log.txt.

  • Ensure that Windows User Access Control (UAC), antivir or other third party programs do not prevent execution or read/write access.
  • Do not change the load order while LODGen is running.
  • Do not replace LODGen with other versions.
Code
Explanation
259
Install latest Visual C++ Redistributable
Install/Update/Repair Microsoft Visual C++ Redistributable packages for Visual Studio 2015, 2017, 2019 and 2022
25B
Error accessing
There is a problem reading the mentioned *.NIF. Try to reinstall the file or mod from its download archive. Run the *.NIF through Cathedral Assets Optimizer. If the file opens without error in NifSkope, make a post on the official DynDOLOD support forum and upload the *.NIF or provide a link to the mod etc.
25D
Error writing
Do not generate into the game's data, any mod manager or special Windows folder like Program Files x86. Could be UAC, anti vir or other 3rd party programs blocking access. Also check there is enough space left on the disk.
280
Out of memory
Use the x64 version or try less demanding settings
28F
Error processing grass data *.CGID
Delete the *.CGID file. Load the game, open console and type "cow Tamriel x y" without the quotes and the values for x and y from the *.CGID filename to load directly into the cell. No Objects In Grass should then generate the file anew, which hopefully can then be read next time LODGen is run to generate LOD.

If the problem persist, search for the error message first or make a post to the official DynDOLOD support forum.

If there is no LODGen_[GAME MODE]_[WORLDSPACE]_log.txt or it does not contain a useful error message, start DynDOLOD in expert mode, select the desired worldspace and click Execute LODGen. Bring the LODGen command prompt window to the front to see if it prints more details to the console. If that does not give more detail, check the Windows Event Viewer for additional messages from the .NET Runtime.