Results 1 to 9 of 9

Thread: MOHAA Config files explained

  1. #1
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default MOHAA Config files explained

    Please read the attached files with the word document. It's worth the read!
    Attached Files Attached Files
    Last edited by James; April 22nd, 2020 at 04:41 PM. Reason: Updated files

  2. #2
    Developer Todesengel's Avatar
    Join Date
    Dec 2013
    Location
    St. Louis, Missouri, USA
    Posts
    276

    Default

    James - THANK YOU. Very Well Done!!!!

  3. #3
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    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.

  4. #4

    Default

    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:

    Code:
    default.cfg
    menu.cfg
    newconfig.cfg
    configs/unnamedsoldier.cfg
    localized.cfg
    autoexec.cfg
    you can check it by running mohaa using this command line:

    Code:
    MOHAA.exe +set developer 1 +set logfile 2 +set viewlog 1
    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"

  5. #5
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    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

  6. #6

    Default

    Quote Originally Posted by James View Post
    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.
    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

    Quote Originally Posted by James View Post
    By the way, it also loads a "custom.cfg" after localized.cfg
    The "custom.cfg" is executed from the default "autoexec.cfg", so is not really a "default" .cfg

  7. #7

    Default

    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.

  8. #8

    Default

    Quote Originally Posted by arkantos View Post
    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?
    I don't see the difference either. I don't even think mohaa has support for 64 bits textures. the maximum should be 32

    Quote Originally Posted by arkantos View Post
    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?
    r_picmip_sky and r_picmip_models are valid commands on Spearhead and Breakthrough only

  9. #9
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •