Jump to content

Photo

Fallout 4 Optimization and Performance Systems Explained

precombines occlusion previs roombounds portals preculling

  • Please log in to reply
529 replies to this topic

#521
VIitS

VIitS

    Resident poster

  • Premium Member
  • 2,940 posts

 Anyway ... I was wondering if mods that let you work in build mode out of the original workshop boundaries, (not using a scraping mod) just using vanilla and scrapping stuff like trees and logs that you can normally scrap in the settlement ... break precombines?

 I don't know of any that break precombineds, but as a result they don't enable scrapping of things that are part of a precombined mesh. You can use the bUseCombinedObjects=0 ini edit to globally break precombineds so you can scrap anything, but that is risky since
- you will now be able to scrap the walls of interior cells

- it doesn't break previs (occlusion culling), so scrapping large objects like buildings, privet hedges, trailers, etc... will result in occlusion bugs. bUsePreCulledObjects=0 will disable previs and fix that issue, but it will even further worsen the performance impact, and for some interior cells it will introduce occlusion bugs (even when nothing is scrapped) as some interiors have really bad room bounds and portals (old occlusion system used in previous games, re-enabled when previs is disabled).

 

If you want to enable scrapping everywhere that is safe, I recommend Geth7n's mod. For compatibility, it would probably be best to place his plugin mod at the top of your load order, and use the xEdit script to apply the edits to any CELLs overridden by other mods (that way, any mods relying on edits to the CELL record would still work). 



#522
WapperJaw

WapperJaw

    Enthusiast

  • Members
  • PipPip
  • 168 posts

 

 Anyway ... I was wondering if mods that let you work in build mode out of the original workshop boundaries, (not using a scraping mod) just using vanilla and scrapping stuff like trees and logs that you can normally scrap in the settlement ... break precombines?

 I don't know of any that break precombineds, but as a result they don't enable scrapping of things that are part of a precombined mesh. You can use the bUseCombinedObjects=0 ini edit to globally break precombineds so you can scrap anything, but that is risky since
- you will now be able to scrap the walls of interior cells

- it doesn't break previs (occlusion culling), so scrapping large objects like buildings, privet hedges, trailers, etc... will result in occlusion bugs. bUsePreCulledObjects=0 will disable previs and fix that issue, but it will even further worsen the performance impact, and for some interior cells it will introduce occlusion bugs (even when nothing is scrapped) as some interiors have really bad room bounds and portals (old occlusion system used in previous games, re-enabled when previs is disabled).

 

If you want to enable scrapping everywhere that is safe, I recommend Geth7n's mod. For compatibility, it would probably be best to place his plugin mod at the top of your load order, and use the xEdit script to apply the edits to any CELLs overridden by other mods (that way, any mods relying on edits to the CELL record would still work). 

Sorry it took so long to get back. Building new computer system. 

 

Anyway Thanks ... I don't think the actual mod breaks Precombines. But if a player works outside the settlement and scraps stuff was what I was concerned about. My thinking is it does not break Precombines since you can scrap items normally ...  that is not using a scraping mod or editing the .ini file (keeping it bUseCombinedObjects=1). Just wanted to make sure ... 



#523
tk421storm1

tk421storm1

    Newbie

  • Premium Member
  • 10 posts

 

For anyone curious about the process of building precombines and previs for large mod lists, here is a sneak peek of some of the scripts I use.
 

 

Hey Searge!

 

Clearly you're doing what I've been longing to do forever, fix up the recombines in my modded Fallout. I've begun following your instructions as provided, however I seem to be missing a few of the plugins you reference. Where do you get/create AutoPreCalc.esp, CombinedObjects.esp, PreVis.esp - are these files necessary to complete your process?

 

Thanks!

-Mike



#524
SeargeDP

SeargeDP

    Stranger

  • Premium Member
  • 6 posts

 

Hey Searge!

 

Clearly you're doing what I've been longing to do forever, fix up the recombines in my modded Fallout. I've begun following your instructions as provided, however I seem to be missing a few of the plugins you reference. Where do you get/create AutoPreCalc.esp, CombinedObjects.esp, PreVis.esp - are these files necessary to complete your process?

 

Thanks!

-Mike

 

AutoPreCalc.esp is an empty esp that I created, it has the ESM flag set and references all all previous esm/esp files in correct load order. An early step in my process is to run one of the scripts that copies the CELL records from the mod you are processing into this one and it's also the esp file that the batch files pass as parameter to CK to process. So it's basically the working file of the whole process.

 

The other two (CombinedObjects.esp, PreVis.esp) are the esp files that CK creates after either the precombine step or the previs step. They contain (incomplete) records of the CELLs that were processed and I included xedit scripts that handle the process of copying the important bits back from these esp files into the working file AutoPreCalc.esp

 

Hope that helps and answers the questions you had about the process.



#525
vegawagon350

vegawagon350

    Enthusiast

  • Premium Member
  • 132 posts

tl:dr: Apologies for Necroing this thread. I'll try to keep it short and/or use Spoiler tags to hide the tedious bits.

 

What I wanted to do: Use command line tool to generate precombined Meshes and visibility for multiple mods that edit the same exterior cells (see mod list at bottom)

 

What I Got: 1. Use command line tool to generate precombined Meshes and visibility for an individual mod +DLC+UFo4P (See method 1 Spoiler)

                    2. A Modified RRTV/Trosski method to get what I wanted (See Method 2 spoiler)

 

CK Preparation and SPECS:

I have applied the Serge Hex fix and/or am using CK Fixes 1.6.3 (I have tried CMD line with both fixes applied then each on their own with similar results). 

Windows 10

Intel i9-9900KF

64GB DDR4 3600OC

GTX 1080 8GB

 

Results Summary:

Using BenReirimanu's / Serge's method of command line precombines I have not been successful at generating a "Merged" style of Previs that works in game and successfully merges all the edited statics from several mods that edit the same exterior cell. However, using the commmand line I have successfully made single mod precombines. The only method thus far that I have had luck with is using an altered RRTV/Trosski method to add all the mods (see modlist spoiler below) to one precombine. I assume it's my methodology or that the Command line has some inherent limitations that the CK GUI does not when it comes to adding multiple mod edits to an exterior cell to previsibines esp.

 

METHOD 1 BenReirimanu/Serge CMD Line

Spoiler

 

Results: Merged Patch style Previs generation has culling issues 'blinking world objects' in every exterior cell where two or more different mods edit those cell (interior cells seem unaffected probably because no conflicts).

 

 

METHOD 2 RRTV /Trosski (adjusted)

Spoiler

 

RESULTS: This method is tedious and takes an entire day if you are doing a lot of cells, however in game it loads all the mods edits and rebuilds the previs/precombines in one file.

 

Mods I used to build precombines (some are merges of other mods) and my load order for those mods - All have been cleaned in xEdit and some have repaired navmeshes (they was deleted)

Spoiler

Edited by vegawagon350, 10 January 2022 - 10:56 PM.


#526
muucow

muucow

    Regular

  • Members
  • PipPip
  • 63 posts

Best necro I have ever done. :)

Good news everyone! But before those I want to give all participants of this thread big thanks and a warm hug! I also want to give SeargeDP extremely moist, manly kiss to cheek. Without your tools I could not accomplish what I have done.

And good news are, that here is a guide to use specific set of tools to create your own PreVisibines for all official masters (including DLC), to a mod or multiple mods at once.

https://www.nexusmod...out4/mods/59024



#527
ikillyou233

ikillyou233

    Enthusiast

  • Premium Member
  • 204 posts

Can anyone confirm if these are the offsets and hex values to change for the steam version of the CK patched with steamless (default values in the v3.1.0.0 release)?

0x34746D: B9 01 00 00 00 => B9 00 00 00 00

0xDCAC76: B9 01 00 00 00 => B9 00 00 00 00

(same hex values as what SeargeDP has posted in earlier posts, but the offsets are shifted down).



#528
BenRierimanu

BenRierimanu

    Faithful poster

  • Premium Member
  • 1,090 posts

tl:dr: Apologies for Necroing this thread. I'll try to keep it short and/or use Spoiler tags to hide the tedious bits.

 

What I wanted to do: Use command line tool to generate precombined Meshes and visibility for multiple mods that edit the same exterior cells (see mod list at bottom)

 

What I Got: 1. Use command line tool to generate precombined Meshes and visibility for an individual mod +DLC+UFo4P (See method 1 Spoiler)

                    2. A Modified RRTV/Trosski method to get what I wanted (See Method 2 spoiler)

 

CK Preparation and SPECS:

I have applied the Serge Hex fix and/or am using CK Fixes 1.6.3 (I have tried CMD line with both fixes applied then each on their own with similar results). 

Windows 10

Intel i9-9900KF

64GB DDR4 3600OC

GTX 1080 8GB

 

Results Summary:

Using BenReirimanu's / Serge's method of command line precombines I have not been successful at generating a "Merged" style of Previs that works in game and successfully merges all the edited statics from several mods that edit the same exterior cell. However, using the commmand line I have successfully made single mod precombines. The only method thus far that I have had luck with is using an altered RRTV/Trosski method to add all the mods (see modlist spoiler below) to one precombine. I assume it's my methodology or that the Command line has some inherent limitations that the CK GUI does not when it comes to adding multiple mod edits to an exterior cell to previsibines esp.

 

METHOD 1 BenReirimanu/Serge CMD Line

Spoiler

 

Results: Merged Patch style Previs generation has culling issues 'blinking world objects' in every exterior cell where two or more different mods edit those cell (interior cells seem unaffected probably because no conflicts).

 

 

METHOD 2 RRTV /Trosski (adjusted)

Spoiler

 

RESULTS: This method is tedious and takes an entire day if you are doing a lot of cells, however in game it loads all the mods edits and rebuilds the previs/precombines in one file.

 

Mods I used to build precombines (some are merges of other mods) and my load order for those mods - All have been cleaned in xEdit and some have repaired navmeshes (they was deleted)

Spoiler

Did you ever get clean builds working?



#529
perchik71

perchik71

    Enthusiast

  • Members
  • PipPip
  • 236 posts

Can anyone confirm if these are the offsets and hex values to change for the steam version of the CK patched with steamless (default values in the v3.1.0.0 release)?

0x34746D: B9 01 00 00 00 => B9 00 00 00 00

0xDCAC76: B9 01 00 00 00 => B9 00 00 00 00

(same hex values as what SeargeDP has posted in earlier posts, but the offsets are shifted down).

It's in the fixes.

However, the fixes will not allow you to load such a number of data.


Edited by perchik71, 21 May 2022 - 07:20 AM.


#530
krrptd

krrptd

    Old hand

  • Premium Member
  • 716 posts

tl:dr: Apologies for Necroing this thread. I'll try to keep it short and/or use Spoiler tags to hide the tedious bits.

 

What I wanted to do: Use command line tool to generate precombined Meshes and visibility for multiple mods that edit the same exterior cells (see mod list at bottom)

 

What I Got: 1. Use command line tool to generate precombined Meshes and visibility for an individual mod +DLC+UFo4P (See method 1 Spoiler)

                    2. A Modified RRTV/Trosski method to get what I wanted (See Method 2 spoiler)

 

CK Preparation and SPECS:

I have applied the Serge Hex fix and/or am using CK Fixes 1.6.3 (I have tried CMD line with both fixes applied then each on their own with similar results). 

Windows 10

Intel i9-9900KF

64GB DDR4 3600OC

GTX 1080 8GB

 

Results Summary:

Using BenReirimanu's / Serge's method of command line precombines I have not been successful at generating a "Merged" style of Previs that works in game and successfully merges all the edited statics from several mods that edit the same exterior cell. However, using the commmand line I have successfully made single mod precombines. The only method thus far that I have had luck with is using an altered RRTV/Trosski method to add all the mods (see modlist spoiler below) to one precombine. I assume it's my methodology or that the Command line has some inherent limitations that the CK GUI does not when it comes to adding multiple mod edits to an exterior cell to previsibines esp.

 

METHOD 1 BenReirimanu/Serge CMD Line

Spoiler

 

Results: Merged Patch style Previs generation has culling issues 'blinking world objects' in every exterior cell where two or more different mods edit those cell (interior cells seem unaffected probably because no conflicts).

 

 

METHOD 2 RRTV /Trosski (adjusted)

Spoiler

 

RESULTS: This method is tedious and takes an entire day if you are doing a lot of cells, however in game it loads all the mods edits and rebuilds the previs/precombines in one file.

 

Mods I used to build precombines (some are merges of other mods) and my load order for those mods - All have been cleaned in xEdit and some have repaired navmeshes (they was deleted)

Spoiler

All I can say: it takes a few tries. I am using the cmd line, same as BenRierimanu, with success, for all changes various mods apply to interiors and exteriors. This includes a big overhaul, and 2 other big add-on mods. But it failed miserably the first 10 attempts, before I got it right and avoided all tiny mistakes that prove to be disastrous. 







Also tagged with one or more of these keywords: precombines, occlusion, previs, roombounds, portals, preculling

IPB skins by Skinbox
Page loaded in: 1.215 seconds