0 A.D.

From PCGamingWiki, the wiki about fixing PC games
This game is currently undergoing alpha testing and development - information here may change frequently and could be outdated or irrelevant.
0 A.D.
0 A.D. cover
Developers
Wildfire Games
Engines
Pyrogenesis
Release dates
Windows Early access
macOS (OS X) Early access
Linux Early access
0 A.D. at Wikipedia

Key points

Free and open source
Game settings have not been implemented yet, but you can edit config files to change certain settings

General information

Official Website
Wildfire Forums

Availability[edit]

Source DRM Notes Keys OS
Developer website
DRM-free
Windows
macOS (OS X)
Linux

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows %APPDATA%\0ad
macOS (OS X)
Linux $XDG_CONFIG_HOME/0ad/
This game follows the XDG Base Directory Specification on Linux.

Save game data location[edit]

System Location
Windows %USERPROFILE%\Documents\My Games\0ad
macOS (OS X) ~/Library/Application\ Support/0ad/
Linux $XDG_DATA_HOME/0ad/

Video settings[edit]

Widescreen resolution[edit]

0 A.D. runs at the desktop resolution by default. Either method below will change this.
Change resolution in shortcut (Windows only)[citation needed]
  1. Go to the shortcut properties.
  2. Add the resolution to the end with -xres= and -yres=, e.g. for 1280x720 use -xres=1280 -yres=720.
Change resolution in local.cfg (all platforms)[citation needed]
  1. Go to the configuration file(s) location.
  2. Make a text file called local.cfg (if it does not exist already).
  3. Add the following lines, replacing 1280x720 with the resolution you want:
    xres = 1280
    yres = 720
  4. Save your changes.

Field of view (FOV)[edit]

Create local.cfg[1]
  1. Go to the configuration file(s) location.
  2. Make a text file called local.cfg (if it does not exist already).
  3. Insert the line view.fov = #, where # is your FOV in degrees
  4. Save the file and boot up the game

General settings[edit]

Every option can be set in the text-file local.cfg. Just create local.cfg in the appropriate folder and insert the key=value pairs you want to set. For details where to place local.cfg, see Game data

OpenGL[edit]

You can enable advanced OpenGL rendering features by setting some variables in local.cfg. Enabling those might need a better GPU than those specified under minimal system requirements.

Feature local.cfg entry
GLSL Shader (both cfg entries needed)
preferglsl = true
gentangents = true
Smooth LOS interpolation (needs GLSL Shader)
smoothlos = true
High quality shader (needs GLSL Shader)
materialmgr.quality = 10.0
High quality water rendering (needs GLSL Shader)
waternormals = true
waterrealdepth = true
waterfoam = true
watercoastalwaves = true
waterrefraction = true
waterreflection = true
watershadows = true

Input settings[edit]

Keyboard and mouse Native Notes
Remapping
See Remapping.
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Some settings available in default.cfg, usability unknown

Remapping[edit]

Add this (or just some parts) to local.cfg and edit the entries to suit your needs. Everything after a Semicolon (;) is a comment. A single action can be assigned to multiple keys by separating them with a comma.

Key combinations can be specified using this syntax: <Key1>+<Key2>+<Key3>

; > SYSTEM SETTINGS
hotkey.exit = "Alt+F4", "Ctrl+Break", "Super+Q" ; Exit to desktop
hotkey.leave = Escape                       ; End current game or Exit
hotkey.pause = Pause                        ; Pause/unpause game
hotkey.screenshot = F2                      ; Take PNG screenshot
hotkey.bigscreenshot = "Shift+F2"           ; Take large BMP screenshot
hotkey.togglefullscreen = "Alt+Return"      ; Toggle fullscreen/windowed mode
hotkey.screenshot.watermark = "Alt+K"       ; Toggle product/company watermark for official screenshots
hotkey.wireframe = "Alt+W"                  ; Toggle wireframe mode
hotkey.silhouettes = "Alt+S"                ; Toggle unit silhouettes
hotkey.showsky = "Alt+Z"                    ; Toggle sky

; > CAMERA SETTINGS
hotkey.camera.reset = "H"                                   ; Reset camera rotation to default.
hotkey.camera.follow = "F"                                  ; Follow the first unit in the selection
hotkey.camera.zoom.in = Plus, Equals, NumPlus               ; Zoom camera in (continuous control)
hotkey.camera.zoom.out = Minus, NumMinus                    ; Zoom camera out (continuous control)
hotkey.camera.zoom.wheel.in = WheelUp                       ; Zoom camera in (stepped control)
hotkey.camera.zoom.wheel.out = WheelDown                    ; Zoom camera out (stepped control)
hotkey.camera.rotate.up = "Ctrl+UpArrow", "Ctrl+W"          ; Rotate camera to look upwards
hotkey.camera.rotate.down = "Ctrl+DownArrow", "Ctrl+S"      ; Rotate camera to look downwards
hotkey.camera.rotate.cw = "Ctrl+LeftArrow", "Ctrl+A", Q     ; Rotate camera clockwise around terrain
hotkey.camera.rotate.ccw = "Ctrl+RightArrow", "Ctrl+D", E   ; Rotate camera anticlockwise around terrain
hotkey.camera.rotate.wheel.cw = "Shift+WheelUp", MouseX1    ; Rotate camera clockwise around terrain (stepped control)
hotkey.camera.rotate.wheel.ccw = "Shift+WheelDown", MouseX2 ; Rotate camera anticlockwise around terrain (stepped control)
hotkey.camera.pan = MouseMiddle, ForwardSlash               ; Enable scrolling by moving mouse
hotkey.camera.left = A, LeftArrow                           ; Scroll or rotate left
hotkey.camera.right = D, RightArrow                         ; Scroll or rotate right
hotkey.camera.up = W, UpArrow                               ; Scroll or rotate up/forwards
hotkey.camera.down = S, DownArrow                           ; Scroll or rotate down/backwards
hotkey.camera.scroll.speed.increase = "Ctrl+Shift+S"        ; Increase scroll speed
hotkey.camera.scroll.speed.decrease = "Ctrl+Alt+S"          ; Decrease scroll speed
hotkey.camera.rotate.speed.increase = "Ctrl+Shift+R"        ; Increase rotation speed
hotkey.camera.rotate.speed.decrease = "Ctrl+Alt+R"          ; Decrease rotation speed
hotkey.camera.zoom.speed.increase = "Ctrl+Shift+Z"          ; Increase zoom speed
hotkey.camera.zoom.speed.decrease = "Ctrl+Alt+Z"            ; Decrease zoom speed

; > CONSOLE SETTINGS
hotkey.console.toggle = BackQuote, F9       ; Open/close console

; > CLIPBOARD CONTROLS
hotkey.copy = "Ctrl+C"              ; Copy to clipboard
hotkey.paste = "Ctrl+V"             ; Paste from clipboard
hotkey.cut = "Ctrl+X"               ; Cut selected text and copy to the clipboard

; > ENTITY SELECTION
hotkey.selection.add = Shift                ; Add units to selection
hotkey.selection.milonly = Alt              ; Add only military units to selection
hotkey.selection.remove = Ctrl              ; Remove units from selection
hotkey.selection.idleworker = Period        ; Select next idle worker
hotkey.selection.idlewarrior = Comma        ; Select next idle warrior
hotkey.selection.offscreen = Alt            ; Include offscreen units in selection
hotkey.selection.group.select.0 = 0
hotkey.selection.group.save.0 = "Ctrl+0"
hotkey.selection.group.add.0 = "Shift+0"
hotkey.selection.group.select.1 = 1
hotkey.selection.group.save.1 = "Ctrl+1"
hotkey.selection.group.add.1 = "Shift+1"
hotkey.selection.group.select.2 = 2
hotkey.selection.group.save.2 = "Ctrl+2"
hotkey.selection.group.add.2 = "Shift+2"
hotkey.selection.group.select.3 = 3
hotkey.selection.group.save.3 = "Ctrl+3"
hotkey.selection.group.add.3 = "Shift+3"
hotkey.selection.group.select.4 = 4
hotkey.selection.group.save.4 = "Ctrl+4"
hotkey.selection.group.add.4 = "Shift+4"
hotkey.selection.group.select.5 = 5
hotkey.selection.group.save.5 = "Ctrl+5"
hotkey.selection.group.add.5 = "Shift+5"
hotkey.selection.group.select.6 = 6
hotkey.selection.group.save.6 = "Ctrl+6"
hotkey.selection.group.add.6 = "Shift+6"
hotkey.selection.group.select.7 = 7
hotkey.selection.group.save.7 = "Ctrl+7"
hotkey.selection.group.add.7 = "Shift+7"
hotkey.selection.group.select.8 = 8
hotkey.selection.group.save.8 = "Ctrl+8"
hotkey.selection.group.add.8 = "Shift+8"
hotkey.selection.group.select.9 = 9
hotkey.selection.group.save.9 = "Ctrl+9"
hotkey.selection.group.add.9 = "Shift+9"

; > SESSION CONTROLS
hotkey.session.kill = Delete                ; Destroy selected units
hotkey.session.attack = "Ctrl+Alt"          ; Modifier to force attack instead of another action
hotkey.session.garrison = Ctrl              ; Modifier to garrison when clicking on building
hotkey.session.attackmove = Ctrl            ; Modifier to attackmove when clicking on a point
hotkey.session.queue = Shift                ; Modifier to queue unit orders instead of replacing
hotkey.session.batchtrain = Shift           ; Modifier to train units in batches
hotkey.session.massbarter = Shift           ; Modifier to barter bunch of resources
hotkey.session.masstribute = Shift          ; Modifier to tribute bunch of resources
hotkey.session.unloadtype = Shift           ; Modifier to unload all units of type
hotkey.session.deselectgroup = Ctrl         ; Modifier to deselect units when clicking group icon, instead of selecting
hotkey.session.rotate.cw = RightBracket     ; Rotate building placement preview clockwise
hotkey.session.rotate.ccw = LeftBracket     ; Rotate building placement preview anticlockwise
hotkey.timewarp.fastforward = Space         ; If timewarp mode enabled, speed up the game
hotkey.timewarp.rewind = Backspace          ; If timewarp mode enabled, go back to earlier point in the game

; > UNIT TRAINING
hotkey.session.queueunit.1 = "Z"            ; add first unit type to queue
hotkey.session.queueunit.2 = "X"            ; add second unit type to queue
hotkey.session.queueunit.3 = "C"            ; add third unit type to queue
hotkey.session.queueunit.4 = "V"            ; add fourth unit type to queue
hotkey.session.queueunit.5 = "B"            ; add fivth unit type to queue
hotkey.session.queueunit.6 = "N"            ; add sixth unit type to queue
hotkey.session.queueunit.7 = "M"            ; add seventh unit type to queue

; > OVERLAY KEYS
hotkey.fps.toggle = "Alt+F"                  ; Toggle frame counter
hotkey.session.devcommands.toggle = "Alt+D"  ; Toggle developer commands panel
hotkey.session.gui.toggle = "Alt+G"          ; Toggle visibility of session GUI
hotkey.menu.toggle = "F10"                   ; Toggle in-game menu
hotkey.timeelapsedcounter.toggle = "F12"     ; Toggle time elapsed counter
hotkey.session.showstatusbars = Tab          ; Toggle display of status bars

; > HOTKEYS ONLY
hotkey.chat = Return                        ; Toggle chat window
hotkey.teamchat = "T"                       ; Toggle chat window in team chat mode

; > GUI TEXTBOX HOTKEYS
hotkey.text.delete.left = "Ctrl+Backspace"    ; Delete word to the left of cursor
hotkey.text.delete.right = "Ctrl+Del"         ; Delete word to the right of cursor
hotkey.text.move.left = "Ctrl+LeftArrow"      ; Move cursor to start of word to the left of cursor
hotkey.text.move.right = "Ctrl+RightArrow"    ; Move cursor to start of word to the right of cursor

; > PROFILER
hotkey.profile.toggle = "F11"               ; Enable/disable real-time profiler
hotkey.profile.save = "Shift+F11"           ; Save current profiler data to logs/profile.txt
hotkey.profile2.enable = "F11"              ; Enable HTTP/GPU modes for new profiler

; > QUICKSAVE
hotkey.quicksave = "Shift+F5"
hotkey.quickload = "Shift+F8"

Audio settings[edit]

Audio options Native Notes
Separate volume controls
Surround sound
Subtitles
Closed captions
Mute on focus lost

Network[edit]

Multiplayer types

Type Native Players Notes
LAN play
6 This is based on the highest map limit in Alpha 21. Higher limits may be possible.
Online play
6 This is based on the highest map limit in Alpha 21. Higher limits may be possible.

Connection types

Ports

Protocol Port(s) and/or port range(s)
UDP (outbound) 20595

Other information[edit]

API[edit]

Technical specs Supported Notes
64-bit executable

System requirements[edit]

Windows
Minimum
Operating system (OS) 2000, XP, Vista, 7, 8
Processor (CPU) 1 GHz Intel or x86 compatible
System memory (RAM) 512 MB
Hard disk drive (HDD)
Video card (GPU) AMD Radeon 9000
Nvidia GeForce 3
128 MB of VRAM
OpenGL 1.3 compatible
macOS (OS X)
Minimum
Operating system (OS) 10.5
Processor (CPU) 2006 or later Intel-based Mac
System memory (RAM)
Hard disk drive (HDD)
Linux
Minimum
Operating system (OS)
Processor (CPU) 1 GHz Intel or x86 compatible
System memory (RAM) 512 MB
Hard disk drive (HDD)
Video card (GPU) AMD Radeon 9000
Nvidia GeForce 3
128 MB of VRAM
OpenGL 1.3 compatible
All versions require a screen resolution of at least 1024x768

References

  1. PCGamingWiki Article for 0 A.D. - Wildfire Games Forums