sheson Posted February 15, 2018 Posted February 15, 2018 This is a beta of [FNV|FO3|FO4|FO4VR|TES5|SSE|TES5VR|ENDERAL|ENDERALSE]LODGen with terrain LOD meshes and textures generation. This is for experienced mod authors and users that know how to use xEdit, xLODGen or DynDOLOD already. Installation and Setup Download xLODGen beta 128 - based on xEdit 4.1.6. See the xEdit Discord #xlodgen-builds channel for changelog. Unzip into a dedicated folder outside of any Steam, game or mod manager folders or special Windows folders like Program Files, Users, Desktop, Documents, Downloads etc. Rename xLODGenx64.exe to [game mode]LODGenx64.exe (TES5LODGenx64.exe for example) or start with command line parameter -fnv, -fo3, -fo4, -fo4vr, -tes5, tes5vr, -sse, -enderal, -enderalse Use -o:"c:\OutputPath\" command line parameter to change where files are generated to, default is the game folder. Then install output as a mod. Do not generate into any game, any mod manager folders or special Windows folder like Program Files x86, Users, Desktop, Documents, Downloads etc. If a mod manager is used, refer to its manual how to add tools and their command line arguments. Otherwise use a windows shortcut. If required, use command line arguments to set the paths to certain directories and files. For example: -m:"c:\Users\[USERNAME]\Documents\My Games\Skyrim Special Edition GOG\" -p:"c:\Users\[USERNAME]\AppData\Local\Skyrim Special Edition GOG\plugins.txt" -d:"c:\GOG Games\Skyrim Special Edition GOG\Data\" or -m:"c:\Users\[USERNAME]\Documents\My Games\Skyrim Special Edition MS\" -p:"%localappdata%\Packages\BethesdaSoftworks.SkyrimSE-PC_3275kfvn8vcwc\LocalCache\Local\Skyrim Special Edition MS\Plugins.txt" -d:"c:\Program Files\ModifiableWindowsApps\Skyrim Special Edition (PC)\Data\" Requirements Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 - Required by LODGen.exe/LODGenx64.exe and Texconv.exe/Texconvx64.exe. Get matching platform x86/x64 depending on which xLODGen.exe (x86) or xLODGenx64.exe (x64) is used. RTFM and Share Results See the included Skyrim-Occlusion-Readme.txt for a brief explanation of the Skyrim TVDT Occlusion data generation. Read the hints that are shown when the mouse pointer rests on a setting. Ask specific questions or give feedback in the dedicated Skyrim TVDT - Occlusion Data thread. See the included Terrain-LOD-Readme.txt for a brief explanation of the settings for terrain LOD generation. Read the hints that are shown when the mouse pointer rests on a setting. Ask specific questions about terrain LOD in this thread for a more in-depth explanation if required and share feedback (with screenshots) about results or problems. These tools generate LOD meshes and textures "exactly" like CK, but not like the meshes and textures which are shipping with the games (they are often manually edited). However, these tools provide more options and higher resolutions (use the x64 version if there are memory errors because you believe you require 4k or higher) and can be updated to add more useful features and options. I did some testing in the different games, but finding the best combinations of options and settings requires lots of testing and are a matter of personal opinion and which game is used, the load order, mods, even different worldspaces probably. That means, I am only able to give generic guidelines and hints to send you off to find and test for yourself and share your results. My main interested is that generations works correctly and without problems for now. This beta is about testing and reporting problems. Check out the thread xLODGen Terrain Settings Compare. Also refer to any modding guide which has a list of relevant mods close to your load order. The object and tree LOD generation is the same as the current versions of xEdit / xLODGen. Refer to their respective descriptions and explanations. Obviously, users of Skryim/Enderal/Skyrim SE/Skyrim VR/EnderalSE continue to use the easier and more comprehensive DynDOLOD for drastically improved object and tree LOD generation and only use xLODGen for terrain LOD (and maybe Occlusion) generation. See https://dyndolod.info/Help/xLODGen for terrain LOD generation instructions. First Time Here are suggestion to start without going crazy and that should be quick enough to generate: Set quality of meshes for LOD4 to 5 and then +5 for each next level. Or just set levels 8/16/32 to 10. Check protect cell borders (yes it fixes the ugly terrain drops at outer cell borders that still exist in Fallout 4). Use the max vertices setting only if you want to hard limit max file size. In Skyrim Special Edition or Skyrim VR, if you notice terrain briefly flickering when new areas are loading in, set [Display] bEnableLandFade=0 in Skyrim.INI Set Optimize Unseen to off for LOD4 for first generation. Start experimenting with a value of 550 with a quality setting of 10 or lower for LOD32 (used for map) and compare coastlines and file size to other settings. To quickly generate terrain LOD meshes just for the map, check only terrain LOD Meshes, check the Specific Chunk checkbox and set drop down to 32. Leave SW fields empty for complete map or set SW cell coordinates to same values as a *.btr filename to test a specific area with lots of water, river etc. Set texture sizes to 512 for a start. Larger sizes and large world spaces will take a considerable time (like 15 to 30 minutes or more easily). Each higher resolution means quadruple the work. Use DXT1 for diffuse and 565 (DXT1 if on Windows 7) for normal maps. If generating for Skyrim Special Edition and VRAM is not of concern use BC7. Uncheck mipmaps, raise steepness and Bake normal maps. For now, leave the Brightness, Contrast and Gamma at 0 and 1.0 respectively. It seems that only Skyrim CK and Skyrim SE CK are manipulating the intensity of the textures to adjust for the noise.dds and the god awful "improved" snow shader of Skyrim SE (just turn that thing off, really). If textures seem too dark in the game, brighten the noise.dds instead or vice versa. That way you can get perfectly matching LOD textures that look just like the textures in the loaded cells. For Skyrim a good average color of the noise texture seems to be around #C0. See below for a couple noise texture downloads. If you want to test larger texture sizes, use the chunk option to limit the number of textures that need to be generated. For example, check [x] Specific chunk, leave the drop down empty and set WS to the lower left cell coordinate of an 32x32 area, like 0, 0. It will then generate all textures up to 31,31. Not all worldspaces have their origin at 0,0 so you will have to check already generated meshes/texture filenames for their lower left coordinates. Questions and Feedback Obliviously anything related to terrain LOD should be posted in this thread. Upload the [FNV|FO3|FO4|FO4VR|TES5|SSE|TES5VR|ENDERAL|ENDERALSE]LODGen_log.txt that is saved in the same folder were xLODGenx64.exe is after the tool is closed. Posts related to Occlusion should be made here. Recommended Optionals TES5-Terrain-Tamriel.esm (Mega), SSE-Terrain-Tamriel.esm (Mega) TES5-Terrain-Tamriel-Extend.esm (Mega), SSE-Terrain-Tamriel-Extend.esm (Mega) - These extend the sea of ghost further to the north (see screenshots) SSE-Terrain-Tamriel-Full-Extend.esm (Mega) - Entire map from -96,-96 to 95,96 with northern ocean extension. Useful for mod authors. Only use one at a time. Put in game data folder obviously. Adds back terrain for Skyrim (Tamriel worldspace) at the outer edges so there is no missing terrain meshes/textures when generating terrain LOD for Skyrim. Load as early with lowest priority as possible, so that any other plugins overwriting or adding land records or cells with the same coordinates take precedence. Only required to be loaded when generating terrain LOD. No harm done when loaded in-game but typically the player can not get close to these areas. There are no effects outside the far away added cells. Noise Single color flat noise, Adjusted vanilla noise, HD Terrain Noise Texture SE Examples for Skyrim. Install to game folder like any other texture mod. The noise texture is applied in-game on top of terrain LOD textures, so no effect for LOD generation. Only the red channel is used in case the textures is not a grey channel format. MipMaps are ignored. The textures is tiled 3x3 per LOD quad, e.g. for LOD level 4, the noise texture is repeated 3 times to cover 4 cells, for LOD level 8, the noise texture is repeated 3 times to cover 8 cells and so on. Test-Terrain-Tamriel.7z For testing terrain LOD distances. Plain color terrain LOD textures for Tamriel with coordinates for every LOD quad. Green for LOD 4, yellow for LOD8, blue for LOD 16 and red for LOD 32. 5 1 1
sheson Posted February 16, 2018 Author Posted February 16, 2018 (edited) If anyone encounters an error like Error creating textures for quad [X,Y] One or more errors occurred delete the mentioned texture file (and its normal *_n.dds/*_msn.dds sibling). Restart xLODGen turn off meshes and then generate textures with the same settings again. xLODGen will skip already existing files if possible and just generate the ones it has to do in order to create the LOD levels that include the missing texture files from the output path. If the error seems reproducible, replace xLODGen.exe and xLODGenx64.exe with this slower version and see if the error message is more detailed. If the error is reproducable, test if turning off mipmaps, steepnees, baking normal-maps clears it up. Edited February 16, 2018 by sheson 1
alt3rn1ty Posted February 16, 2018 Posted February 16, 2018 Hell, I only just started trying out the plugin resources for this FO4LODGen, and now there is another evolution of the project Just to clarify, I am guessing those plugin resources at the above link will not be necessary here, for FO4 ? (Just started a new game so losing those would not be a problem, I can easily start again after their removal if necessary). And for those of us using DynDOLOD 2.36 beta 7, we would use this new SSELODGen beta 2 prior to DynDOLOD ?
sheson Posted February 16, 2018 Author Posted February 16, 2018 (edited) This is an update for xLODgen.exe, including FO4LODGen.exe from the other thread. So all instructions, resources etc. for object LOD (and tree LOD if game has it) still apply. If you want to update an existing FO4LODGen installation for example, just copy all files and overwrite anything older, then rename xLODGen.exe and xLODGenx64.exe to FO4LODGen.exe and FO4LODGenx64.exe. Fallout 4 Commonwealth data seemed to match the required areas in order to generate terrain LOD meshes and textures without gaps. It is OK if terrain data is cut from the master files, as long as the existing cells cover the stepping of the highest LOD levels (In case of Skryim vanilla terrain LOD for Tamriel was generated from -96,-96 to 96,96, but data in the master file only exists for -57,-43 to 61,51. In order to have no gabs, I restored data to nearest multiple of 32, e.g -64,-64 to 64,64. The terrain LOD past that area will always use vanilla files.) There is probably no use to generate terrain LOD for SanctuaryHillsWorld unless your name is Ryan Salvatore and you are using CK64 for Fallout 4. You can generate terrain LOD at any time independently of object and tree LOD, they have no connection to each whatsoever. Just make sure to not check the object and tree LOD generation in xLODGen if you use DynDOLOD. Edited February 16, 2018 by sheson 2
alt3rn1ty Posted February 16, 2018 Posted February 16, 2018 (edited) My first run, enabled Terrain, enabled baking normals, but left all settings at defaults for the first run through .. https://www.dropbox.com/s/8060oc4alynosxl/alt3rn1ty%201st%20run%20FO4Edit_log.7z?dl=0 No errors, I was using all of the resources plugins from the other FO4Edit topic Active Mod Files:00 Fallout4.esm01 DLCRobot.esm02 DLCworkshop01.esm03 DLCCoast.esm04 DLCWorkshop02.esm05 DLCWorkshop03.esm06 DLCNukaWorld.esm07 Unofficial Fallout 4 Patch.esp [Version 2.0.3]08 FlaconOil HD ReTexture_Performance Pack_Part_1.esp09 FlaconOil HD ReTexture_Performance Pack_Part_2.esp0A FAR.esp0B FO4LODGen.esp0C FO4LODGen-DLCCoast.esp0D FO4LODGen-HighTrees.esp0E FO4LODGen-DLCCoast-WindTurbines.esp0F FO4LODGen-DLCNukaWorld.esp10 FO4LODGen-DLCWorkshop03.esp11 FO4LODGen-FullModelLOD.esp12 CBBE.esp13 Bashed Patch, 0.esp Its looking good Sheson :) Doing a run with Protect Cell borders on next, I think your choice of defaults for all of the settings is a good setup. Edited February 16, 2018 by alt3rn1ty
RoyBatty Posted February 16, 2018 Posted February 16, 2018 (edited) A note for Fallout 3/TTW modders. Dirt02 and Asphalt01 were completely deleted from the game, so they show up as NULL landscape textures if you turn simple records off in xEdit. Today it was discovered that burntground01 still has it's static record but the texture itself is missing. The GECK replaces these with the default texture which is dirt01, however when you delete a texture from a quad it will not remove it entirely and make a NULL entry instead. Edited February 16, 2018 by RoyBatty
RoyBatty Posted February 16, 2018 Posted February 16, 2018 For some reason I can only edit my post once to correct errors... it's DirtWasteland01 for default texture not Dirt01
sheson Posted February 16, 2018 Author Posted February 16, 2018 A note for Fallout 3/TTW modders. Dirt02 and Asphalt01 were completely deleted from the game, so they show up as NULL landscape textures if you turn simple records off in xEdit. Today it was discovered that burntground01 still has it's static record but the texture itself is missing. The GECK replaces these with the default texture which is dirt01, however when you delete a texture from a quad it will not remove it entirely and make a NULL entry instead. xLODGen beta 4 will still print a message about the missing texture, but instead of ignoring the layer, use the default texture.
alt3rn1ty Posted February 16, 2018 Posted February 16, 2018 (edited) Think I found a small hiccup I have extracted xLODGen into its own folder away from games etc as suggested, and then my personal take from there was to right click on xLODGen.exe, and choose Send to Desktop to create an Icon, giving it the switches in icon properties for the appropriate game mode and output folder desired .. Then do the same again for another game. So both FO4 and SSE have their own FO4LODGen and SSELODGen icons on the desktop. The first run I did produced the log I uploaded, which was named LODGen_Log.txtSubsequent runs have given new logs for FO4 and SSE .. .. But they are named with FO4Edit_log.txt and SSEEdit_log.txt respectively. Should they be named FO4LODGen_log.txt and SSELODGen_Log.txt instead ? Edit : Grabbing beta 4 Edited February 16, 2018 by alt3rn1ty
sheson Posted February 17, 2018 Author Posted February 17, 2018 Think I found a small hiccup I have extracted xLODGen into its own folder away from games etc as suggested, and then my personal take from there was to right click on xLODGen.exe, and choose Send to Desktop to create an Icon, giving it the switches in icon properties for the appropriate game mode and output folder desired .. Then do the same again for another game. So both FO4 and SSE have their own FO4LODGen and SSELODGen icons on the desktop. The first run I did produced the log I uploaded, which was named LODGen_Log.txt Subsequent runs have given new logs for FO4 and SSE .. .. But they are named with FO4Edit_log.txt and SSEEdit_log.txt respectively. Should they be named FO4LODGen_log.txt and SSELODGen_Log.txt instead ? Edit : Grabbing beta 4 The log file name is hardcoded like this into xEdit and xLODGen is just a renamed xEdit (instead of using -lodgen command line parameter). There maybe a reason the tool mode is not used for the log filename. That is a question for Zilav. 1
Genius384 Posted February 17, 2018 Posted February 17, 2018 A note for Fallout 3/TTW modders. Dirt02 and Asphalt01 were completely deleted from the game, so they show up as NULL landscape textures if you turn simple records off in xEdit. Today it was discovered that burntground01 still has it's static record but the texture itself is missing. The GECK replaces these with the default texture which is dirt01, however when you delete a texture from a quad it will not remove it entirely and make a NULL entry instead.Thanks... So this is an addition to FNVLODgen? Does this mod replace https://www.nexusmods.com/newvegas/mods/63139? Great work sheson as usual. Always moving this community forward.
sheson Posted February 17, 2018 Author Posted February 17, 2018 (edited) Thanks... So this is an addition to FNVLODgen? Does this mod replace https://www.nexusmods.com/newvegas/mods/63139? Great work sheson as usual. Always moving this community forward. 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. Edited February 17, 2018 by sheson
alt3rn1ty Posted February 17, 2018 Posted February 17, 2018 (edited) Just got to say that Protect Cell Borders is a godsend, for Skyrim SE I have been using Skyland textures, Simply Bigger Trees, plus Verdant Grass with the latter fading just before the distant grass noise texture kicks in. Unfortunately those occasional land miss matches were the only fly in the ointment we couldn't do anything about before so kind of got used to turning a blind eye to them .. .. NO MORE! :D Facing South from Whiterun you can usually see a couple of them, not anymore Edit : No errors for SSE. Edited February 17, 2018 by alt3rn1ty
sheson Posted February 17, 2018 Author Posted February 17, 2018 Just got to say that Protect Cell Borders is a godsend, for Skyrim SE I have been using Skyland textures, Simply Bigger Trees, plus Verdant Grass with the latter fading just before the distant grass noise texture kicks in. Unfortunately those occasional land miss matches were the only fly in the ointment we couldn't do anything about before so kind of got used to turning a blind eye to them .. .. NO MORE! :D Facing South from Whiterun you can usually see a couple of them, not anymore The sad part is, that this "problem" still exists in Fallout 4 and its CK, too.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now