Please read the attached files with the word document. It's worth the read!
Please read the attached files with the word document. It's worth the read!
Last edited by James; April 22nd, 2020 at 04:41 PM. Reason: Updated files
James - THANK YOU. Very Well Done!!!!
No problem, It wasn't an "earth shattering" discovery, but I think a lot of people never really understood how it worked, and given the circumstance with my gamma issue, I took more time to dig deep with the config files and came across this. Thought I'd share the knowledge.
Actually The config.csv file is a "read-only" file and it's only used by the Configure.exe program. MOHAA doesn't read the config.csv file
Configure.exe will read the values of the config.csv file and based on your hadware will create the newconfig.cfg
MOHAA will read the newconfig.cfg as soon as is launched, even before the unnamedsoldier.cfg
This are all the .cfg files that are automatically loaded by MOHAA in the following order:
you can check it by running mohaa using this command line:Code:default.cfg menu.cfg newconfig.cfg configs/unnamedsoldier.cfg localized.cfg autoexec.cfg
Something curious about the default.cfg is if you have an empty default.cfg in your main, or is missing, your game won't load at all. and it will show this error in the console "Couldn't load default.cfg"Code:MOHAA.exe +set developer 1 +set logfile 2 +set viewlog 1
Oh that's good to know. Thanks for the input.
Do you have any thoughts one what information is stored in each of those cfg files?
Because I don't see a default.cfg, menu.cfg, localized.cfg.
By the way, it also loads a "custom.cfg" after localzed.cfg
Some of they are inside the Pak0
This is what I concluded about those default .cfg files after taking a look
default.cfg Creates the default keybinds menu.cfg Stores the cvars used by the menus (.urc files) newconfig.cfg Video Settings generated by Configure.exe configs/unnamedsoldier.cfg Player config localized.cfg Stores subtitle cvars (this file exist only Spearhead and Breakthrough) autoexec.cfg execute custom binds and commands
The "custom.cfg" is executed from the default "autoexec.cfg", so is not really a "default" .cfg
Last edited by Zappa; April 25th, 2020 at 09:05 PM.
I've noticed you set the r_texturebits 64 and r_colorbits 64
Do you notice any difference? I tried changing mine and dont see any difference from 16 to 32 to 64. Is this happening just for me?
And on some other post I saw commands like r_picmip_sky and r_picmip_models, but those commands don't exist on my game. Is this just for me?
Last edited by arkantos; April 25th, 2020 at 06:40 AM.
Well I've been playing around with different variables in MOHAA because for some reason I am having trouble adjusting my Gamma in game.
When I was playing with the variables; setting the texture and colorbits to 32 made it darker, but setting it to 64 made it lighter for me. Don't ask me how, but that's my gamma fix.