Development:Configuring FEX

From FEX-Emu Wiki
Revision as of 18:07, 9 December 2021 by Sonicadvance1 (talk | contribs) (Created page with "== FEXConfig configuration == '''To be filled''' * File-> Load Default Options ** Only do this one time to fill the default Config.json ** File-> Save to save this to .fex-emu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FEXConfig configuration

To be filled

  • File-> Load Default Options
    • Only do this one time to fill the default Config.json
    • File-> Save to save this to .fex-emu/Config.json
  • File-> Open Default
    • Opens the .fex-emu/Config.json file

Manual Configuration

The FEX main configuration file lives at $HOME/.fex-emu/Config.json

  • or $XDG_CONFIG_HOME/.fex-emu/Config.json if you use XDG).

This is a JSON file that holds all of our settings. The basic structure is as follows:

 {
     "Config": {
           "Threads": "0",
           "MaxInst": "500",
           "RootFS": "Ubuntu_21_10"
     }
 }

There are a fair number of configuration options to tinker with. You can see a full suite of configuration option in the FEX man pages.

  • man FEX - To see the options
    • Under the ENVIRONMENT section there is each option's ENVIRONMENT override
    • Additionally each option has a "JSON key" name that shows the Key inside of the Config.json file
    • Every option is a string inside of the config and will be reinterpreted to their programmatic type at load