# ============================================================================
# DUNE LEGACY - CONFIGURATION FILE TEMPLATE
# ============================================================================
#
# *** THIS IS A TEMPLATE FILE ***
# This file serves as a template for creating your personal configuration.
# The game will automatically copy this to your user directory on first run.
#
# YOUR PERSONAL CONFIG FILE LOCATION:
#   Windows: C:\Users\<username>\AppData\Roaming\dunelegacy\Dune Legacy.ini
#   Linux:   ~/.config/dunelegacy/Dune Legacy.ini
#   macOS:   ~/Library/Application Support/dunelegacy/Dune Legacy.ini
#
# This template file is located in:
#   Windows: <game_install_dir>\config\Dune Legacy.ini
#   Linux:   <game_install_dir>/config/Dune Legacy.ini
#   macOS:   Dune Legacy.app/Contents/Resources/config/Dune Legacy.ini
#
# To reset your settings, delete your personal config file and restart the game.
#
# ============================================================================

[General]
Play Intro = false          # Play the intro when starting the game?
Player Name = Player        # The name of the player
Language = en               # en = English, fr = French, de = German, es = Spanish
Scroll Speed = 50           # Amount to scroll the map when the cursor is near the screen border
Show Tutorial Hints = true  # Show tutorial hints during the game

[Video]
# Minimum resolution is 640x480
Width = 640
Height = 480
Physical Width = 640
Physical Height = 480
Fullscreen = true
FrameLimit = true            # Enable VSync for smooth, tear-free rendering.
Preferred Zoom Level = 1    # 0 = no zooming, 1 = 2x, 2 = 3x
Scaler = ScaleHD            # Scaler to use: ScaleHD = apply manual drawn mask to upscale, Scale2x = smooth edges, ScaleNN = nearest neighbour
RotateUnitGraphics = false  # Freely rotate unit graphics, e.g. carryall graphics

[Audio]
# There are three different possibilities to play music:
#  adl       - Use the Dune 2 music as used on e.g. SoundBlaster16 cards
#  xmi       - Play the xmi files of Dune 2. Sounds more midi-like
#  directory - Play music from the "music" directory inside your game directory
#              The "music" directory should contain 5 subdirectories: attack, intro, peace, win, lose
#              Put any mp3, ogg or mid file there and it will be played in the particular situation
Music Type = adl
Play Music = true
Music Volume = 64           # Volume between 0 and 128
Play SFX = true
SFX Volume = 64             # Volume between 0 and 128
Play Credits SFX = true     # Play sound when credits change (harvester deliveries, spending credits)

[Network]
ServerPort = 28747
MetaServer = https://dunelegacy.com/metaserver/metaserver.php

[AI]
Campaign AI = CampaignAIPlayer

[Game Options]
Game Speed = 16                         # The default speed of the game: 32 = very slow, 8 = very fast, 16 = default
Concrete Required = true                # If true building on bare rock will result in 50% structure health penalty
Structures Degrade On Concrete = true   # If true structures will degrade on power shortage even if built on concrete
Fog of War = false                      # If true explored terrain will become foggy when no unit or structure is next to it
Start with Explored Map = false         # If true the complete map is unhidden at the beginning of the game
Instant Build = false                   # If true the building of structures and units does not take any time
Only One Palace = false                 # If true, only one palace can be build per house
Rocket-Turrets Need Power = false       # If true, rocket turrets are dysfunctional on power shortage
Sandworms Respawn = false               # If true, killed sandworms respawn after some time
Killed Sandworms Drop Spice = false     # If true, killed sandworms drop some spice
Manual Carryall Drops = false           # If true, player can request carryall to transport units
Maximum Number of Units Override = 0    # Override the maximum number of units each house is allowed to build (-1 = use map default, 0 = unlimited, >0 = specific limit)
Maximum Number of Harvesters Override = -1  # Override the maximum number of harvesters each house is allowed to build (-1 = use map size defaults from ObjectData.ini, >=0 = specific limit)

