Skip to content

Instantly share code, notes, and snippets.

@Yamakuzure
Last active May 1, 2021 08:42
Show Gist options
  • Save Yamakuzure/da85a5b6140b07c3a145fd4ecff416c2 to your computer and use it in GitHub Desktop.
Save Yamakuzure/da85a5b6140b07c3a145fd4ecff416c2 to your computer and use it in GitHub Desktop.
Mass Effect 1 BioEngini.ini edited patch for high details and shadows
# Note: The diff is highly edited and will not apply like that. A guide is in the works
diff --git a/Config/BioEngine.ini b/Config/BioEngine.ini
index bde89c4..c6be9cd 100644
--- a/Config/BioEngine.ini
+++ b/Config/BioEngine.ini
@@ -52,7 +51,7 @@ TerrainMaterialMaxTextureCount=16
BeginUPTryCount=200000
bStaticDecalsEnabled=True
bDynamicDecalsEnabled=True
-bForceStaticTerrain=False
+bForceStaticTerrain=True
bUsePixelShaderComplexity=True
bUseAdditiveComplexity=True
MaxPixelShaderAdditiveComplexityCount=300.000000
@@ -73,16 +72,18 @@ ThumbnailParticleSystemPostProcessName=EngineMaterials.DefaultThumbnailPostProce
ThumbnailMaterialPostProcessName=EngineMaterials.DefaultThumbnailPostProcess
bOnScreenKismetWarnings=TRUE
bEnableKismetLogging=FALSE
-AllowShadowVolumes=FALSE
+AllowShadowVolumes=TRUE
ShadowVolumeLightRadiusThreshold=1000
ShadowVolumePrimitiveScreenSpacePercentageThreshold=0.25
bEnableVSMShadows=False
bEnableBranchingPCFShadows=True
-ShadowFilterRadius=2
-DepthBias=.03
+ShadowFilterRadius=5.0
+DepthBias=0.027583
+MinPreShadowResolution=16
MinShadowResolution=32
-MaxShadowResolution=512
-ModShadowFadeDistanceExponent=.2
+MaxShadowResolution=4096
+ShadowFadeResolution=128
+ModShadowFadeDistanceExponent=0.0
CameraRotationThreshold=20.0
CameraTranslationThreshold=4000
PrimitiveProbablyVisibleTime=8.0
@@ -134,6 +135,14 @@ VisColorationMaterialUnloadedName=
BioTranslucentVolumeMaterialName=
DefaultOnlineSubsystemName=
DynamicCoverMeshComponentName=
+bAllowBetterModulatedShadows=True
+bAllowHardwareShadowFiltering=True
+bAllowWholeSceneDominantShadows=True
+bEnableForegroundSelfShadowing=True
+bEnableForegroundShadowsOnWorld=True
+bEnableTranslucentHairPass=True
+bUsePostProcessEffects=True
+maxwholescenedominantshadowresolution=4096
LightComplexityColors=(B=0,G=0,R=0,A=1)
LightComplexityColors=(B=0,G=255,R=0,A=1)
LightComplexityColors=(B=0,G=191,R=63,A=1)
@@ -160,14 +168,15 @@ LocalPlayerClassName=Engine.LocalPlayer
bUseSound=True
bUseMusicSound=True
bUseBackgroundLevelStreaming=True
-bSubtitlesEnabled=True
-bSubtitlesForcedOff=False
-bForceStaticTerrain=False
+bSubtitlesEnabled=False
+bSubtitlesForcedOff=True
+bForceStaticTerrain=True
DisplayLazyLoadErrors=True
bForceCPUSkinning=False
bOnScreenKismetWarnings=True
bEnableKismetLogging=False
-bAllowMatureLanguage=False
+bAllowMatureLanguage=True
+AllowShadowVolumes=True
bEnableVSMShadows=False
bRenderTerrainCollisionAsOverlay=False
bDisablePhysXHardwareSupport=False
@@ -179,11 +188,13 @@ DefaultUIScenePostProcessName=EngineMaterials.DefaultUIPostProcess
TimeBetweenPurgingPendingKillObjects=60.000000
ScoutClassName=BIOC_Base.BioScout
MeshLODRange=0.000000
-ShadowFilterRadius=2.000000
-DepthBias=0.030000
+ShadowFilterRadius=5.000000
+DepthBias=0.027583
+MinPreShadowResolution=16
MinShadowResolution=32
-MaxShadowResolution=512
-ModShadowFadeDistanceExponent=0.200000
+MaxShadowResolution=4096
+ShadowFadeResolution=128
+ModShadowFadeDistanceExponent=0.000000
CameraRotationThreshold=20.000000
CameraTranslationThreshold=4000.000000
CameraFOVThreshold=15.000000
@@ -194,6 +205,13 @@ ShadowVolumePrimitiveScreenSpacePercentageThreshold=0.250000
BeginUPTryCount=200000
nGamerProfileSaveSize=1048576
GesturePriorityToUpdate=0
+bAllowBetterModulatedShadows=True
+bAllowHardwareShadowFiltering=True
+bAllowWholeSceneDominantShadows=True
+bEnableForegroundSelfShadowing=True
+bEnableForegroundShadowsOnWorld=True
+bEnableTranslucentHairPass=True
+maxwholescenedominantshadowresolution=4096
DefaultPackagesToLoadPerMap=BIOC_WorldResources
DefaultPackagesToLoadPerMap=BIOC_VehicleResources
PackagesToExcludePerMap=(MapName="BIOA_STA00",PackagesToExclude=("BIOC_WorldResources","BIOC_VehicleResources"))
@@ -250,7 +266,7 @@ NxRigidBodyCmpInitialTimeStep=0.02
NxFluidCmpInitialTimeStep=0.02
NxClothCmpInitialTimeStep=0.02
NxSoftBodyCmpInitialTimeStep=0.02
-NxPrimarySceneHW=False
+NxPrimarySceneHW=True
//Package=DefaultUISkin
//Package=EngineMaterials
//Package=EditorMaterials
@@ -556,10 +571,12 @@ DynamicLights=TRUE
DynamicShadows=TRUE
LightEnvironmentShadows=TRUE
CompositeDynamicLights=FALSE
-ShadowFilterQualityBias=0
+ShadowFilterQualityBias=20
DirectionalLightMaps=TRUE
-MotionBlur=TRUE
+LightShafts=TRUE
+MotionBlur=FALSE
DepthOfField=TRUE
+RadialBlur=TRUE
Bloom=TRUE
QualityBloom=TRUE
SpeedTreeLeaves=TRUE
@@ -567,70 +584,103 @@ SpeedTreeFronds=TRUE
OnlyStreamInTextures=FALSE
LensFlares=TRUE
FloatingPointRenderTargets=TRUE
-Trilinear=FALSE
-SkeletalMEshLODBias=0
-ParticleLODBias=0
-DetailMode=2
-ShadowFilterQualityBias=0
-MaxAnisotropy=4
+Trilinear=TRUE
+SkeletalMEshLODBias=-1
+ParticleLODBias=-1
+DetailMode=5
+ShadowFilterQualityBias=20
+MaxAnisotropy=16
+MaxMultisamples=8
ScreenPercentage=100
-
+AmbientOcclusion=TRUE
+Distortion=TRUE
+FilteredDistortion=TRUE
+FogVolumes=TRUE
+EnableHighPolyChars=TRUE
+MaxCharacterCinematicLightingPasses=9
+EnableLightEnvSHLights=TRUE
+SHSecondaryLighting=TRUE
+AllowSubsurfaceScattering=True
+AllowImageReflections=True
+AllowImageReflectionShadowing=True
+bAllowSeparateTranslucency=True
+bAllowPostprocessAA=False
+bAllowPostprocessMLAA=False
+bAllowHighQualityMaterials=True
+bAllowWeatherEffect=True
+bAllowPostProcess=True
+bAllowFracturedDamage=True
+ballowlightshafts=True
+DisableHWShadowMaps=True
[TextureStreaming]
-PoolSize=140
+PoolSize=2048
HysteresisLimit=30
-DropMipLevelsLimit=24
-StopIncreasingLimit=18
+DropMipLevelsLimit=40
+StopIncreasingLimit=30
StopStreamingLimit=12
-FudgeFactorIncreaseRateOfChange=0.5
-FudgeFactorDecreaseRateOfChange=-0.4
+MinFudgeFactor=0.5
+FudgeFactorIncreaseRateOfChange=0.3
+FudgeFactorDecreaseRateOfChange=-0.2
MinRequestedMipsToConsider=11
-MinTimeToGuaranteeMinMipCount=2
-MaxTimeToGuaranteeMinMipCount=12
+MinTimeToGuaranteeMinMipCount=0
+MaxTimeToGuaranteeMinMipCount=0
StaticTextureStreamingDistance=1
-
+LoadMapTimeLimit=2
+LightmapStreamingFactor=0.02
+ShadowmapStreamingFactor=0.02
+MaxLightmapRadius=9000
+TextureFileCacheBulkDataAlignment=1
+AllowStreamingLightmaps=TRUE
+UsePriorityStreaming=TRUE
+bAllowSwitchingStreamingSystem=TRUE
+UseDynamicStreaming=TRUE
+bEnableAsyncDefrag=FALSE
+bEnableAsyncReallocation=FALSE
+MaxDefragRelocations=256
+MaxDefragDownShift=128
+UseTextureFileCache=TRUE
+//bEnableAsyncReallocation=FALSE
[TextureLODSettings]
-//TEXTUREGROUP_Character=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-//TEXTUREGROUP_CharacterNormalMap=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-//TEXTUREGROUP_Effects=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-TEXTUREGROUP_LightAndShadowMap=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-TEXTUREGROUP_RenderTarget=(MinLODSize=1,MaxLODSize=4096,LODBias=0)
-//TEXTUREGROUP_Skybox=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-//TEXTUREGROUP_UI=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-//TEXTUREGROUP_Vehicle=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-//TEXTUREGROUP_VehicleNormalMap=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-//TEXTUREGROUP_Weapon=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-//TEXTUREGROUP_WeaponNormalMap=(MinLODSize=256,MaxLODSize=4096,LODBias=0)
-TEXTUREGROUP_World=(MinLODSize=16,MaxLODSize=4096,LODBias=2)
-TEXTUREGROUP_WorldNormalMap=(MinLODSize=16,MaxLODSize=4096,LODBias=2)
-TEXTUREGROUP_AmbientLightMap=(MinLODSize=32,MaxLODSize=512,LODBias=0)
-TEXTUREGROUP_Character_Diff=(MinLODSize=32,MaxLODSize=512,LODBias=0)
-TEXTUREGROUP_Character_Norm=(MinLODSize=32,MaxLODSize=512,LODBias=0)
-TEXTUREGROUP_Character_Spec=(MinLODSize=32,MaxLODSize=256,LODBias=0)
-TEXTUREGROUP_Environment_512=(MinLODSize=32,MaxLODSize=512,LODBias=0)
-TEXTUREGROUP_Environment_256=(MinLODSize=32,MaxLODSize=256,LODBias=0)
-TEXTUREGROUP_Environment_128=(MinLODSize=32,MaxLODSize=128,LODBias=0)
-TEXTUREGROUP_Environment_64=(MinLODSize=32,MaxLODSize=64,LODBias=0)
-TEXTUREGROUP_VFX_512=(MinLODSize=8,MaxLODSize=512,LODBias=0)
-TEXTUREGROUP_VFX_256=(MinLODSize=8,MaxLODSize=256,LODBias=0)
-TEXTUREGROUP_VFX_128=(MinLODSize=8,MaxLODSize=128,LODBias=0)
-TEXTUREGROUP_VFX_64=(MinLODSize=8,MaxLODSize=64,LODBias=0)
-TEXTUREGROUP_GUI=(MinLODSize=8,MaxLODSize=1024,LODBias=0)
-TEXTUREGROUP_Environment_1024=(MinLODSize=32,MaxLODSize=1024,LODBias=0)
-TEXTUREGROUP_VFX_1024=(MinLODSize=8,MaxLODSize=1024,LODBias=0)
-TEXTUREGROUP_APL_128=(MinLODSize=32,MaxLODSize=128,LODBias=0)
-TEXTUREGROUP_APL_256=(MinLODSize=32,MaxLODSize=256,LODBias=0)
-TEXTUREGROUP_APL_512=(MinLODSize=32,MaxLODSize=512,LODBias=0)
-TEXTUREGROUP_APL_1024=(MinLODSize=32,MaxLODSize=1024,LODBias=0)
-TEXTUREGROUP_Character_1024=(MinLODSize=32,MaxLODSize=1024,LODBias=0)
-TEXTUREGROUP_Promotional=(MinLODSize=32,MaxLODSize=2048,LODBias=0)
-
+//TEXTUREGROUP_Character=(MinLODSize=256,MaxLODSize=4096,LODBias=-1)
+//TEXTUREGROUP_CharacterNormalMap=(MinLODSize=256,MaxLODSize=4096,LODBias=-1)
+//TEXTUREGROUP_Effects=(MinLODSize=256,MaxLODSize=4096,LODBias=-1)
+TEXTUREGROUP_LightAndShadowMap=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_RenderTarget=(MinLODSize=1,MaxLODSize=4096,LODBias=-1)
+TEXTUREGROUP_Skybox=(MinLODSize=4096,MaxLODSize=4096,LODBias=-1)
+//TEXTUREGROUP_UI=(MinLODSize=256,MaxLODSize=4096,LODBias=-1)
+//TEXTUREGROUP_Vehicle=(MinLODSize=256,MaxLODSize=4096,LODBias=-1)
+//TEXTUREGROUP_VehicleNormalMap=(MinLODSize=256,MaxLODSize=4096,LODBias=-1)
+TEXTUREGROUP_Weapon=(MinLODSize=4096,MaxLODSize=4096,LODBias=-1)
+TEXTUREGROUP_WeaponNormalMap=(MinLODSize=4096,MaxLODSize=4096,LODBias=-1)
+TEXTUREGROUP_World=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_WorldNormalMap=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_AmbientLightMap=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Character_Diff=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Character_Norm=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Character_Spec=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Environment_512=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Environment_256=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Environment_128=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Environment_64=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_VFX_512=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_VFX_256=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_VFX_128=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_VFX_64=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_GUI=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Environment_1024=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_VFX_1024=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_APL_128=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_APL_256=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_APL_512=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_APL_1024=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Character_1024=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
+TEXTUREGROUP_Promotional=(MinLODSize=1024,MaxLODSize=4096,LODBias=0)
[StreamByURL]
PostLoadPause=6.0
-
[Editor.EditorEngine]
LocalPlayerClassName=Editor.EditorPlayer
bUseSound=True
-bSubtitlesEnabled=True
+bSubtitlesEnabled=False
GridEnabled=True
SnapScaleEnabled=True
ScaleGridSize=5
@@ -720,6 +768,8 @@ GlobalDataStoreClasses=Engine.UIDataStore_Gamma
[DevOptions.Shaders]
AutoReloadChangedShaders=True
+bAllowMultiThreadedShaderCompile=True
+ThreadedShaderCompileThreshold=4
[StatNotifyProviders]
XmlStatNotifyProvider=false
@@ -866,11 +899,11 @@ FilterOut=EditorTips.int
BioIni=QA
[D3DDrv.D3DRenderDevice]
-MaxTranslucencyLayers=2
-MaxTextureSize=2048
+MaxTranslucencyLayers=4
+MaxTextureSize=4096
DisableHWShadowMaps=True
BIOPixelShaderVersion=ps_3_0
-BIOVertexShaderVersion=vs_2_0
+BIOVertexShaderVersion=vs_3_0
[DavidTestSection]
DavidTestKey=DavidTestValue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment