Colobot Forum - International Colobot Community
[split] Refactoring colobot.ini - Printable Version

+- Colobot Forum - International Colobot Community (https://colobot.info/forum)
+-- Forum: [Archive] New forum (2015-2019) (https://colobot.info/forum/forumdisplay.php?fid=76)
+--- Forum: Colobot: Gold Edition Development (https://colobot.info/forum/forumdisplay.php?fid=62)
+---- Forum: Game Engine & General Talk (https://colobot.info/forum/forumdisplay.php?fid=63)
+---- Thread: [split] Refactoring colobot.ini (/showthread.php?tid=661)



[split] Refactoring colobot.ini - RaptorParkowsky - 09-19-2015

And also:
Quote:13:48:50 tomaszkax86: I think this should be changed at some point to [Setup] Language=xx
++
I guess a little refactoring of colobot.ini contents would be helpful before 0.1.7 release.


RE: Select translation? - tomaszkax86 - 09-19-2015

We could use some hidden developer mode where we could change all colobot.ini settings and possibly more in-game mechanics.


RE: Select translation? - RaptorParkowsky - 09-19-2015

(09-19-2015, 07:46 PM)Schocker Wrote: .ini documention
That's something that I mentioned some time ago somewhere. The game should creating colobot.ini file with embeded documentation about some options. Here's an example how it can look:
Code:
; Example/reference configuration for running the game with DirectX 9 HW rendering, with higher quality settings
; that may affect framerate noticably or not run at all on lower end systems (especially with integrated graphics)
; Copy this file to the game installation directory and rename it to trespasser.ini
;
; see reference file doc\trespasser.ini for description and additional configuration parameters
;--------
[General]
;--------
;TimestampScreenshots=True
;EnableQuickSaveKey=True
;EnableDualStow=True
TryIncompleteInstall=True
;--------
[Display]
;--------
ScreenBitDepth=32
; if necessary adjust this to match the refresh rate of your display (+1 to give it a small margin)
MaxFramerate=61
;-----------
[DisplayDX9]
;-----------
UseDX9=True
MultiSamplingLevel=16
;EnableVSync=False
;LimitGpuCommandBuffer=1
Enable10bitDisplay=True
ScaleModeMenus=2
WaterRefraction=True
ATOCMode=1
;------
[Sound]
;------
NoSavegameSysSettings=True
MixerFrequency=44100
;------------
[SoundOpenAL]
;------------
UseAL=True
Device=Generic Software
;DisableEAX=True
;-------
[Memory]
;-------
SysMemSizeD3D=8192
MemSizeD3D=350
TexPoolSizeD3D=24000
MaxTerrainMem=30000
MaxTerrainDynaShadowMem=24000
ExtraTerrainNodes=10
;ForceManagedMemD3D=True
;-------
[Render]
;-------
32bitHardwareTextures=True
;FOV=75.0
CacheMinDist=250.0
MaxCullDistance=1500.0
MinCullDistance=100.0
MinCullDistanceShadow=30.0
ObjectCullDistScale=5.0
ObjectCullDistScaleShadow=1.25
CachedObjectCullDistScale=10.0
MinObjectCullDist=200.0
MinObjectCullDistShadow=30.0
MinCachedObjectCullDist=700.0
MinTerrainNodeEvalDist=35
ForceMaxObjectDetail=True
TexFilterD3D=16
ForceNoBlendTrans=True
;-----------------
[MaxQualityParams]
;-----------------
MinSubdivison=8
AltMinSubdivision=16
DetailReductionScale=12.0
CullDistScale=12.0
CullShadowDistScale=4.0
WaterResScale=3.0
TerrainTexelScale=3.0
TerrainDistanceScale=3.0
PixelTolAdj=0.25
ResolutionScale=2.0



RE: Select translation? - tomangelo - 09-19-2015

Maybe we should move this discussion about colobot.ini file to another thread?

Done. -Schocker

ty m8

Also, some of the lines aren't generated automaticaly, which generate some error messages in logs. So the game could generate documentation of these options and every missing line too, with default values.