Overview
fCavEX uses compile-time video settings defined insource/graphics/gfx_settings.h. These settings must be configured before building the game and require recompilation to take effect.
Configuration File
All video settings are located in:source/graphics/gfx_settings.h:1-57:
Available Settings
GFX_CLOUDS
Type: Toggle defineDefault: Enabled
Platforms: Wii, PC Controls whether 3D clouds are rendered.
Impact
Impact
- Enabled: 3D clouds are rendered in the sky
- Disabled: No clouds are rendered, slight performance improvement
GFX_DOUBLESIDED
Type: Toggle defineDefault: Enabled
Platforms: Wii, PC Controls rendering of blocks with double-sided faces like tall grass and sugar cane.
Impact
Impact
- Enabled: Blocks like tall grass, sugar cane, flowers, and saplings are rendered
- Disabled: These blocks will not be rendered (backfaces culled)
GFX_FANCY_LIQUIDS
Type: Toggle defineDefault: Enabled
Platforms: Wii, PC Controls liquid rendering quality and transparency.
Impact
Impact
- Enabled: Liquids (water, lava) are transparent and animated
- Disabled: Liquids are opaque and not animated, underwater blocks only render when player is underwater
GFX_GUI_SCALE
Type: Integer valueDefault:
2Minimum:
1Platforms: Wii, PC Controls the size of the game interface (HUD, menus, inventory).
Recommended Values
Recommended Values
- 640x480 resolution:
2(default) - 320x240 resolution:
1 - Higher resolutions:
3or4
GFX_PC_WINDOW_WIDTH
Type: Integer valueDefault:
640Platforms: PC only Sets the default window width for the PC version.
GFX_PC_WINDOW_HEIGHT
Type: Integer valueDefault:
400Platforms: PC only Sets the default window height for the PC version.
Lower resolutions can greatly improve performance on low-end GPUs. Consider 320x240 for integrated graphics.
GFX_WIREFRAME
Type: Toggle defineDefault: Disabled
Platforms: PC only Renders all polygons as wireframes (debugging feature).
Editing Settings
Modify settings
To enable a setting, ensure the line is uncommented:To disable a setting, comment it out:For numeric settings, change the value:
Performance Presets
Maximum Performance (Wii)
Optimized for best framerate on Wii hardware:Balanced (Wii)
Good performance with most visual features:Maximum Quality (PC)
Full visual features for capable hardware:Low-End PC
Optimized for integrated graphics:Future Plans
From the source comments:Runtime video settings may be added in a future version, which would eliminate the need for recompilation when changing settings.
Troubleshooting
Settings not applying
Ensure you’ve cleaned the build directory before rebuilding:Poor performance after enabling features
Try this configuration for better FPS:GUI too small or too large
AdjustGFX_GUI_SCALE based on your resolution:
- 320x240: Use
1 - 640x480: Use
2 - 1280x720: Use
3 - 1920x1080: Use
4