[Bug] configuration conflict between different versions of hedgewars (with and without "video recording")

1 reply [Last post]
vasya
User offline. Last seen 6 years 33 weeks ago. Offline
Joined: 2015-12-22
Posts: 1

Steps to reproduce:

* have a configuration file ~/.hedgewars/settings.ini with an explicit "[binds] record=R" entry. It may come from older versions of hedewars (they had all binds explicit), or may be created using a client that supports video recording.
* start hedgewars client that was compiled without video recording.
* try to bind any action to "Keyboard: R" button.
* try to use "R" in game. It does not do anything.

Explanation:
Video recording was disabled when compiling the client, so the client does not have any graphical user interface section for "record" action. The binding still exists though and prevents "R" button from being used for other purposes (this is an experimental fact).

Hack to fix the problem:
* delete "binds.record" entry from ~/.hedgewars/settings.ini
* delete "binds.record" entry from ~/.hedgewars/Teams/myTeam.ini

Expected behavior:
* for clients that were compiled without "video recording", do not read "binds.record" configuration at all.

Wuzzy
Wuzzy's picture
User offline. Last seen 3 weeks 5 days ago. Offline
Joined: 2012-06-20
Posts: 1301

This bug no longer occours in the development version.

The bugfix is visible in the alpha versions for 0.9.23.

Hi, I am a Hedgewars developer. Smile

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]