Version 44 (modified by Langbart, 3 years ago) ( diff )

First update - Improve readability and the highlighting of important information by using wiki processors.

Frequently Asked Questions (FAQ)

(Last updated: Fall '21)

Troubleshooting

NOTE: If the problem remains ask for help either on the forum or via IRC #0ad, the game is maintained by volunteers who do all sorts of tasks, be patient.

General

Issue

possible Solution

Crash when starting the game

Do you have any antivirus software running? Try disabling it or add an exception for 0AD.

Crash when starting a match

Try to disable Post-processing in the game options, while leaving Prefer GLSL on.

Game does not render correctly/
Rainbow colors

See this forum thread Game does not render correctly (22/Feb/21).

No replay files are generated

Do you have any antivirus software running? Try disabling it temporarily or add an exception for 0AD.

Errors are displayed/
Game crashes on startup

(1) Try to disable all mods not compatible with the new version via the Mod Selection page.
(2) If you cannot access the Mod Selection page, you should locate your user.cfg file (see wiki/GameDataPaths) and either delete it or search for mod.enabledmods. Replace this line with mod.enabledmods = "mod public".
No image "enablemods_user_cfg.jpg" attached to FAQ

How do I increase or decrease the user interface?

Add gui.scale = "1.2" to your user.cfg file (see wiki/GameDataPaths), you can increase or decrease this number if you like, this will likely become an option with A26.
No image "user_cfg.jpg" attached to FAQ

Where do I find my replays, save files and configuration files (e.g user.cfg)?

See wiki/GameDataPaths

Game is lagging

Yes, this is a common problem with the game. It will lag on most machines it is actually CPU bound, not your GPU. Try playing on smaller maps and limit the population to 600-800 units on the entire map.
Rendering, simulation (e.g. gathering / attacking) and pathfinder all contribute to the lag. If you have more units, more things need to be drawn which affects rendering, more things to calculate for unit activity affects simulation, larger map sizes cause longer paths which affects the pathfinder.

NOTE: Multiplayer games are calculated on all computers simultaneously, with the slowest PC determining the game speed. If your computer is a bit outdated, you should reduce the graphics settings to a minimum. This might make the game faster for everyone.

Wiki/GamePerformance summarizes the problems, that need to be solved, to improve performance.

Frame rate - CPU and GPU workload

(1) Every frame that is calculated by the GPU is "prepared" by the CPU, one of them will limit your frame rate (FPS). When you select graphics effects, you create additional workloads for your GPU and CPU, causing your framerate to drop. Current PCs are mostly CPU limited in 0 A.D. because the game is not yet multi-threaded. That means they usually only use 1 core. Since graphics effects mostly affect the GPU, you can (on newer PCs) choose the higher graphics effects without sacrificing performance.
(2) Heating up the hardware leads to thermal throttling of the hardware. This effect is especially known for mobile PCs. If the hardware gets too hot, it throttles its performance until the hardware cools down again. Therefore, a limited but constant frame rate is usually better than a frame rate that fluctuates due to thermal throttling.
(3) VSync will also limit the framerate to the framerate of the monitor (I estimate 60 frames/Herz).
See forum thread - Recommended FPS Throttling? (16/Dec/20)

When hosting a game, the PC/laptop can barely cope with the required technical prerequisites, leading to game lag.

A way to ease the load on the PC/laptop is:
(1) Host a game, but let the host PC/laptop be a spectator.
(2) When the match starts, turn all graphics settings on the PC/laptop to a minimum, then choose one of the player's perspective. The idea is that normal observer/overload perspective allows you to see every detail on the map, which increases load. If you switch to a player's perspective, the PC/laptop only needs rendering what that player can see. This would only require the PC/laptop to render a small portion of the map, hence the load is smaller. Even better: Add an unassigned player and switch to that perspective. The unassigned player will never explore or expand, so its field of view would be limited to just the starting civic centre.
Related forum thread - Is it possible to run 0 A.D. in a "server-mode"? Or otherwise consuming less resources when only hosting? (20/Apr/21)

Optimal GFX settings

To achieve an optimal balance between nice graphics effects and enough performance for a smooth game, consider this in 0 A.D. gfx settings:
(1) Enable GLSL
(2) Enable FXAA (no impact) and MSAA (little impact on performance, except for very weak GPUs)
(3) Enable water transparency
(4) Disable other water effects (reflection, refractions)
(5) Disable shadows
Related forum thread - Find optimal gfx/ game settings? (1/Jun/21)

Platform-Specific

Issue

possible Solution

↓ macOS ↓

0 A.D. cannot be opened because the developer cannot be verified.

The reason for this message is that 0 A.D. would need to be signed with a developer AppleID, which costs an annual subscription. At the moment, this problem can be bypassed for the installation by right-clicking and clicking Open.

Related forum thread - MacOS Catalina requires notarization (4/Jun/19)

↓ Linux ↓

Game does not capture the left ctrl key press.

The left ctrl problem seems to be a result of the show cursor functionality of gnome-tweak.
Related forum thread - Crash on map selection and hotkey problem (19/Jul/21)

↓ Windows ↓

Game crashes on startup.

Maybe the wrong GPU is simply being used. This Youtube video might help you solve the problem:
How to set NVIDIA as default graphics card for Windows 10 computers and laptops - 2021 Tutorial (21/Apr/20).
Related forum thread - Alpha 25 could not start (8/Aug/21).

Multiplayer

Issue

possible Solution

My friend cannot join my game and I cannot join their game.

Firewall:
Try disabling it or add an exception for 0AD.
Related forum thread: How open ports for 0AD multiplayer match? (8/Mar/19)

Router:
If you forward the port, everyone will be able to join you. If you use STUN when hosting, probably many but not everyone will be able to join you. If you can't join someone else's game, there's nothing you can do about it other than informing the host that he should port forward or host your own game.

Failed to connect to the server. UDP port 20595 not being forwarded.

This error message is almost always caused by an incorrect network configuration on the host side, not by a bug in the game. Please ensure that the host has the UDP port 20595 forwarded at their router to their private IP address.

How to do port forwarding?

Port forwarding is a way to make a computer on your network accessible to computers on the Internet, even though they are behind a firewall/router. This is commonly used when playing games or downloading files. If you have forwarded a port in the router settings, it is referred to as an open port. 0 A.D. uses the port 20595 by default.
Related wiki article with links to some router manuals: wiki/Manual_SettingUpAGame#Settingupyournetwork

Registering for the Game Lobby does not work:

- "Certificate expired"
- "The stream has been closed by the server"
- "An I/O error occurred
"

Try to disable TLS via Settings => Options => Lobby
No image "lobby_tls.jpg" attached to FAQ

NOTE: There is a limit to the number of accounts you can submit per hour; if it doesn't work, try again later.

"Authentication Failed"

This message usually appears, when you have got a typo in your password or username. If you are sure your password is correct, you could create a forum account and contact user1.

I forgot my Game Lobby password.

Resetting is currently not possible via the user interface, you would need to create an account on the forum and contact user1.

The multiplayer lobby is empty.

You are probably using an older version of the game, see play0ad.com/download for the latest version.

How to play online?

Go to Multiplayer --> Game Lobby --> Create a new account, then you should see this page, now you can join a game or set one up yourself via Host Game.
No image "Game_Lobby.jpg" attached to FAQ

How to play via LAN?

See this forum thread with detailed instructions - Multiplayer on LAN (16/Jan/17).

Attachments (25)

Note: See TracWiki for help on using the wiki.