a2qlinux 0.6.0__tar.gz → 0.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/CHANGELOG.md +19 -0
  2. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/PKG-INFO +1 -1
  3. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/_version.py +2 -2
  4. a2qlinux-0.7.0/a2qlinux/bin/questlog_ctl.exe +0 -0
  5. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/bin/wpcap.dll +0 -0
  6. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/diagnose.py +72 -4
  7. a2qlinux-0.7.0/a2qlinux/open_folders.py +123 -0
  8. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/setup_desktop.py +19 -2
  9. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/bridge/build.sh +2 -2
  10. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/bridge/questlog_ctl.c +121 -1
  11. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/docs/ARCHITECTURE.md +118 -7
  12. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/docs/INSTALL.md +8 -3
  13. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/docs/RELEASE.md +8 -2
  14. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/docs/TROUBLESHOOTING.md +10 -2
  15. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/docs/USING.md +47 -0
  16. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_diagnose.py +54 -0
  17. a2qlinux-0.7.0/tests/test_open_folders.py +167 -0
  18. a2qlinux-0.6.0/a2qlinux/bin/questlog_ctl.exe +0 -0
  19. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/.gitignore +0 -0
  20. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/LICENSE +0 -0
  21. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/README.md +0 -0
  22. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/__init__.py +0 -0
  23. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/config.py +0 -0
  24. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/desktop.py +0 -0
  25. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/kde_overlays.py +0 -0
  26. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/launcher.py +0 -0
  27. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/pcap_bridge.py +0 -0
  28. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/steam.py +0 -0
  29. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/tray.py +0 -0
  30. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/a2qlinux/update.py +0 -0
  31. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/bridge/tests/bridge_client_test.c +0 -0
  32. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/bridge/tests/zorder_guard_test.c +0 -0
  33. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/bridge/wpcap_bridge.c +0 -0
  34. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/docs/README.md +0 -0
  35. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/docs/UPDATING.md +0 -0
  36. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/pyproject.toml +0 -0
  37. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/__init__.py +0 -0
  38. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_config.py +0 -0
  39. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_desktop.py +0 -0
  40. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_kde_overlays.py +0 -0
  41. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_launcher.py +0 -0
  42. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_pcap_bridge.py +0 -0
  43. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_replay_stream.py +0 -0
  44. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_setup_desktop.py +0 -0
  45. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_steam.py +0 -0
  46. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_update.py +0 -0
  47. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tests/test_version.py +0 -0
  48. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tools/__init__.py +0 -0
  49. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tools/pcap2questlog.py +0 -0
  50. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tools/replay_stream.py +0 -0
  51. {a2qlinux-0.6.0 → a2qlinux-0.7.0}/tools/tcp_owner_probe.c +0 -0
@@ -3,6 +3,25 @@
3
3
  What changed for players, release by release. Technical details are in
4
4
  `docs/ARCHITECTURE.md`.
5
5
 
6
+ ## [0.7.0] — 2026-11-13
7
+
8
+ ### Changed
9
+ - After updating, run `a2qlinux-setup` once and answer yes to its
10
+ question about Questlog's Open Folder buttons; without that step they
11
+ keep showing Wine's error (see Fixed below).
12
+ - `a2qlinux --diagnose` (and so the problem report) also names the
13
+ distribution, the kernel, the desktop with its version, Wayland or X11,
14
+ and the Proton the game last ran with, so a report shows on which
15
+ system a problem happened.
16
+
17
+ ### Fixed
18
+ - Questlog's **Open Folder** buttons (for example the recordings in the
19
+ Combat Meter) open the folder in the desktop's file manager instead of
20
+ showing "There is no Windows program configured to open this type of
21
+ file". `a2qlinux-setup` explains the fix and asks first; it adds one
22
+ entry to the game's Proton environment, and
23
+ `a2qlinux-setup --no-open-folders` takes it back out.
24
+
6
25
  ## [0.6.0] — 2026-11-12
7
26
 
8
27
  ### Changed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: a2qlinux
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: Questlog Desktop (AION 2 damage meter) on Linux under Proton, with live game traffic.
5
5
  Project-URL: homepage, https://github.com/raman78/A2Qlinux
6
6
  Project-URL: repository, https://github.com/raman78/A2Qlinux
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.6.0'
22
- __version_tuple__ = version_tuple = (0, 6, 0)
21
+ __version__ = version = '0.7.0'
22
+ __version_tuple__ = version_tuple = (0, 7, 0)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -3,14 +3,18 @@
3
3
  Read only: it changes nothing, so it is safe at any time, the game running or
4
4
  not. Each check gives one line: fine, a note, or a problem with what to do.
5
5
 
6
- 1. A2Qlinux's version, the settings file, Questlog's folder and version.
6
+ 1. A2Qlinux's version, the system (distribution, kernel, desktop and its
7
+ session type), the settings file, Questlog's folder and version.
7
8
  2. The checks a2qlinux-setup makes: programs, capture permission, the tray
8
9
  icon, the Windows parts (the same functions, a2qlinux.setup_desktop).
9
- 3. Steam: a native installation, the game's prefix, our wpcap.dll in it.
10
+ 3. Steam: a native installation, the game's prefix, the Proton that last
11
+ ran it, our wpcap.dll in it.
10
12
  4. AION 2's Steam launch option, read from each Steam account's
11
13
  localconfig.vdf, and whether it ever ran (steam_launch.log).
12
14
  5. What runs now: the launcher, Questlog (fed by the bridge or not), the game.
13
15
  6. On KDE Plasma 6, whether the KDE overlays are set up.
16
+ 7. Whether the game's prefix has a command for Questlog's Open Folder
17
+ buttons, read from its system.reg (no Wine is started).
14
18
 
15
19
  With --report it also writes a report file: the diagnosis and the end of
16
20
  launcher.log, with the home folder, user name, Steam account numbers and
@@ -23,6 +27,7 @@ sent by this program.
23
27
  import ipaddress
24
28
  import os
25
29
  from pathlib import Path
30
+ import platform
26
31
  import re
27
32
  import shutil
28
33
  import socket
@@ -121,6 +126,44 @@ def judge_launch_option(option, ours):
121
126
 
122
127
  # ---------------------------------------------------------------- checks
123
128
 
129
+ DESKTOP_VERSION = {"KDE": ["plasmashell", "--version"], "GNOME": ["gnome-shell", "--version"]}
130
+ VERSION_WAIT = 5 # s for a desktop's --version
131
+
132
+
133
+ def system_lines(env=os.environ, os_info=None, kernel=None, run=subprocess.run):
134
+ """[(OK, text)]: the distribution, the kernel, the desktop with its version where it says, the session type."""
135
+ from .setup_desktop import os_release
136
+ info = os_release() if os_info is None else os_info
137
+ distro = info.get("PRETTY_NAME") or " ".join(filter(None, (info.get("NAME"), info.get("VERSION_ID"))))
138
+ desktop = env.get("XDG_CURRENT_DESKTOP") or env.get("DESKTOP_SESSION") or "unknown (no XDG_CURRENT_DESKTOP)"
139
+ version = ""
140
+ for name, command in DESKTOP_VERSION.items():
141
+ if name in desktop.upper().split(":") and shutil.which(command[0]):
142
+ try:
143
+ done = run(command, stdin=subprocess.DEVNULL, capture_output=True, text=True, timeout=VERSION_WAIT)
144
+ version = done.stdout.strip().splitlines()[0] if done.stdout.strip() else ""
145
+ except (OSError, subprocess.TimeoutExpired):
146
+ version = ""
147
+ break
148
+ session = env.get("XDG_SESSION_TYPE") or "unknown session type"
149
+ return [(OK, f"System: {distro or 'unknown distribution (no /etc/os-release)'}, "
150
+ f"kernel {kernel or platform.release()}"),
151
+ (OK, f"Desktop: {desktop}{f' ({version})' if version else ''}, {session}")]
152
+
153
+
154
+ def proton_line(prefix):
155
+ """(level, text): the Proton that last ran the prefix, from its config_info (Proton writes it on each start)."""
156
+ try:
157
+ lines = (Path(prefix).parent / "config_info").read_text(errors="replace").splitlines()
158
+ except OSError:
159
+ return NOTE, "Proton: unknown (no config_info next to the prefix; the game not started yet?)"
160
+ version = lines[0].strip() if lines else ""
161
+ tool = next((part for line in lines[1:] for part in [line.split("/files/", 1)[0].rsplit("/", 1)[-1]]
162
+ if "/files/" in line), "")
163
+ if not version:
164
+ return NOTE, "Proton: unknown (config_info is empty)"
165
+ return OK, f"Proton (last run): {version}" + (f" ({tool})" if tool else "")
166
+
124
167
  def check_setup(results):
125
168
  from . import setup_desktop as setup
126
169
  info = setup.os_release()
@@ -153,6 +196,7 @@ def check_steam(results, appid, qdir):
153
196
  try:
154
197
  prefix = launcher.game_prefix(appid, roots)
155
198
  results.append((OK, f"Game prefix: {prefix}"))
199
+ results.append(proton_line(prefix))
156
200
  dll = prefix / "drive_c" / "windows" / "system32" / "Npcap" / "wpcap.dll"
157
201
  try:
158
202
  ours = launcher.BRIDGE_SIGNATURE in dll.read_bytes()
@@ -223,18 +267,42 @@ def check_kde(results):
223
267
  "(a2qlinux-setup --kde-overlays)"))
224
268
 
225
269
 
270
+ def check_open_folders(results, appid, prefix=None):
271
+ from . import launcher, open_folders
272
+ try:
273
+ prefix = prefix or launcher.game_prefix(appid)
274
+ except RuntimeError:
275
+ return # reported by check_steam
276
+ state, value = open_folders.registry_state(prefix / "system.reg")
277
+ if state == "ours":
278
+ results.append((OK, "Open Folder: set up; Questlog's folders open in the file manager"))
279
+ elif state == "other":
280
+ results.append((NOTE, f"Open Folder: the prefix has another command for opening folders "
281
+ f"({value or 'a key without a command'}); A2Qlinux leaves it as it is"))
282
+ else:
283
+ results.append((NOTE, "Open Folder: not set up; Questlog's Open Folder buttons show Wine's \"no Windows "
284
+ "program configured\" (a2qlinux-setup --open-folders; a change made in the last "
285
+ "30 s may not be saved to the prefix yet)"))
286
+
287
+
226
288
  def diagnose(appid=3393110):
227
289
  """[(level, text)], in the order of the module docstring."""
228
290
  settings, problems = config.load()
229
291
  qdir = settings.questlog_dir.expanduser()
230
- results = [(OK, f"A2Qlinux {shown_version()}"), (OK, f"Settings: {config.CONFIG_PATH}")]
292
+ results = [(OK, f"A2Qlinux {shown_version()}")]
293
+ try:
294
+ results += system_lines()
295
+ except Exception as error: # as below: reported, never hiding the rest
296
+ results.append((PROBLEM, f"This check failed: {error!r} (please report it)"))
297
+ results.append((OK, f"Settings: {config.CONFIG_PATH}"))
231
298
  results += [(PROBLEM, f"Settings: {p}") for p in problems]
232
299
  if (qdir / "Questlog.exe").is_file():
233
300
  from .update import installed_version
234
301
  results.append((OK, f"Questlog: {installed_version(qdir) or 'version unreadable'} in {qdir}"))
235
302
  else:
236
303
  results.append((PROBLEM, f"Questlog: no Questlog.exe in {qdir}; run a2qlinux-setup"))
237
- for check in (check_setup, lambda r: check_steam(r, appid, qdir), lambda r: check_running(r, appid), check_kde):
304
+ for check in (check_setup, lambda r: check_steam(r, appid, qdir), lambda r: check_running(r, appid), check_kde,
305
+ lambda r: check_open_folders(r, appid)):
238
306
  try:
239
307
  check(results)
240
308
  except Exception as error: # one broken check must not hide the others; it is reported
@@ -0,0 +1,123 @@
1
+ """Questlog's "Open Folder" buttons: a handler for opening folders in the game's prefix (docs/ARCHITECTURE.md §6.10).
2
+
3
+ Questlog opens a folder (Combat Meter > Recordings > Open Folder) with
4
+ Electron's shell.openPath, which asks Windows for the verb "explore" of the
5
+ class "folder". Wine's prefix has no command for that verb, so Wine shows
6
+ "There is no Windows program configured to open this type of file" instead.
7
+
8
+ a2qlinux-setup offers to add the one missing command,
9
+ HKLM\\Software\\Classes\\folder\\shell\\explore\\command, set to Wine's
10
+ winebrowser.exe - what the prefix already uses for web links - which hands
11
+ the folder to xdg-open, so it opens in the desktop's file manager. The
12
+ registry is read and written by questlog_ctl.exe (`folder-handler`) inside
13
+ the prefix, so the live registry is what is checked, also while the game
14
+ runs. A command that someone else put there is never changed or removed.
15
+ `a2qlinux --diagnose` only reads: it looks the key up in the prefix's
16
+ system.reg (registry_state) and starts no Wine.
17
+ """
18
+
19
+ from pathlib import Path
20
+ import re
21
+ import shutil
22
+ import subprocess
23
+
24
+ APPID = 3393110
25
+ CTL_WAIT = 120 # s for protontricks-launch to start Wine and questlog_ctl.exe to answer
26
+ HANDLER_KEY = r"Software\\Classes\\folder\\shell\\explore\\command" # as system.reg spells it
27
+ HANDLER_VALUE = r'"C:\windows\system32\winebrowser.exe" "%1"' # what questlog_ctl.exe writes
28
+ OUTCOMES = ("absent", "ours", "other", "set", "removed", "error")
29
+
30
+ EXPLANATION = """\
31
+ Questlog's "Open Folder" buttons (for example under Combat Meter > Recordings)
32
+ need a program that opens folders, and AION 2's Wine prefix has none for them,
33
+ so Questlog shows "There is no Windows program configured to open this type of
34
+ file". A2Qlinux can add that one missing entry to the prefix's registry; the
35
+ folder then opens in your desktop's file manager. Nothing that works already
36
+ changes; `a2qlinux-setup --no-open-folders` removes the entry again."""
37
+
38
+
39
+ def registry_state(system_reg):
40
+ """("absent" | "ours" | "other", value or None) from the prefix's system.reg, read as text.
41
+
42
+ The same three answers as questlog_ctl.exe folder-handler status. The
43
+ file is the wineserver's last save: it saves a change about 30 s later
44
+ (26 s measured), so a change made just now may not be in it yet.
45
+ """
46
+ text = Path(system_reg).read_text(encoding="utf-8", errors="replace")
47
+ section = re.search(r"^\[" + re.escape(HANDLER_KEY) + r"\][^\n]*\n(.*?)(?=^\[|\Z)", text,
48
+ re.MULTILINE | re.DOTALL | re.IGNORECASE)
49
+ if not section:
50
+ return "absent", None
51
+ default = re.search(r'^@="((?:[^"\\]|\\.)*)"', section.group(1), re.MULTILINE)
52
+ if not default:
53
+ return "other", None
54
+ value = re.sub(r"\\(.)", r"\1", default.group(1))
55
+ return ("ours" if value == HANDLER_VALUE else "other"), value
56
+
57
+
58
+ def outcome(stdout):
59
+ """(outcome word, the line it came from) from questlog_ctl.exe folder-handler's output; (None, text) if absent."""
60
+ for line in stdout.splitlines():
61
+ word = line.split(":", 1)[0].strip()
62
+ if word in OUTCOMES:
63
+ return word, line.strip()
64
+ return None, stdout.strip()
65
+
66
+
67
+ def run_ctl(action):
68
+ """Run questlog_ctl.exe folder-handler <action> in the game's prefix; (outcome, line).
69
+
70
+ Raises RuntimeError when it cannot be run or gives no answer.
71
+ """
72
+ from .launcher import CTL
73
+ protontricks = shutil.which("protontricks-launch")
74
+ if not protontricks:
75
+ raise RuntimeError("protontricks-launch is not installed (see 'missing' above)")
76
+ if not CTL.is_file():
77
+ raise RuntimeError(f"{CTL} is missing")
78
+ try:
79
+ done = subprocess.run([protontricks, "--appid", str(APPID), str(CTL), "folder-handler", action],
80
+ stdin=subprocess.DEVNULL, capture_output=True, text=True, errors="replace",
81
+ timeout=CTL_WAIT, start_new_session=True)
82
+ except subprocess.TimeoutExpired:
83
+ raise RuntimeError(f"questlog_ctl.exe did not answer within {CTL_WAIT} s") from None
84
+ word, line = outcome(done.stdout)
85
+ if word is None or word == "error":
86
+ tail = [text.strip() for text in done.stderr.splitlines() if text.strip()][-2:]
87
+ raise RuntimeError(f"questlog_ctl.exe folder-handler {action} failed (exit code {done.returncode}): "
88
+ + " / ".join(([line] if line else []) + tail or ["no output"]))
89
+ return word, line
90
+
91
+
92
+ def setup_step(want, ask, interactive, log=print, ctl=run_ctl):
93
+ """a2qlinux-setup's step. want: True (--open-folders), False (--no-open-folders) or None.
94
+
95
+ Returns a problem to note, or None.
96
+ """
97
+ try:
98
+ if want is False:
99
+ word, line = ctl("remove")
100
+ log(f"Open Folder: {line}")
101
+ return None
102
+ word, line = ctl("status")
103
+ if word == "ours":
104
+ log("Open Folder: Questlog's folders open in the file manager.")
105
+ return None
106
+ if word == "other":
107
+ log(f"Open Folder: the prefix already has a command for opening folders; A2Qlinux leaves it ({line}).")
108
+ return None
109
+ if not want:
110
+ if not interactive:
111
+ log("Open Folder is not set up; to let Questlog's Open Folder buttons work, run "
112
+ "a2qlinux-setup --open-folders")
113
+ return None
114
+ log("\n" + EXPLANATION)
115
+ answer = ask("Set this up now? [Y/n] ").strip().lower()
116
+ if answer not in ("", "y", "yes", "t", "tak"):
117
+ log("Not set up; run a2qlinux-setup --open-folders to do it later.")
118
+ return None
119
+ word, line = ctl("set")
120
+ log(f"Open Folder: {line}")
121
+ return None
122
+ except (OSError, RuntimeError) as error:
123
+ return f"Open Folder: {error}; Questlog's Open Folder buttons keep showing Wine's error"
@@ -1,6 +1,7 @@
1
1
  """a2qlinux-setup: the menu entry "A2Qlinux" for Questlog, and a check of what A2Qlinux needs.
2
2
 
3
3
  a2qlinux-setup [--questlog-dir DIR] [--desktop-shortcut] [--kde-overlays | --no-kde-overlays]
4
+ [--open-folders | --no-open-folders]
4
5
 
5
6
  What it does, in order:
6
7
  1. Checks the programs A2Qlinux uses. For the missing ones it prints the
@@ -25,7 +26,13 @@ What it does, in order:
25
26
  (Black Market Cards) above the game. It explains them and asks, with
26
27
  yes as the default; --kde-overlays sets them up without asking,
27
28
  --no-kde-overlays removes them. Once set up, a later run refreshes them.
28
- 9. Checks AION 2's Steam launch option (launch_option_step, judged as
29
+ 9. Offers the folder handler for Questlog's Open Folder buttons
30
+ (a2qlinux.open_folders): one registry entry in the game's prefix that
31
+ opens folders in the desktop's file manager, where Wine has none. It
32
+ explains it and asks, with yes as the default; --open-folders sets it up
33
+ without asking, --no-open-folders removes it. A command for opening
34
+ folders that is already there is left as it is.
35
+ 10. Checks AION 2's Steam launch option (launch_option_step, judged as
29
36
  a2qlinux --diagnose does): says when it is set, prints the line to set
30
37
  by hand when it is not, and lists it as a problem when it is set so
31
38
  that the game cannot start.
@@ -42,7 +49,7 @@ import subprocess
42
49
  import sys
43
50
 
44
51
  from . import APP_NAME, ICON, config, shown_version
45
- from . import kde_overlays
52
+ from . import kde_overlays, open_folders
46
53
  from .desktop import TERMINALS, terminal_command
47
54
  from .update import install_fresh, read_asar_file
48
55
 
@@ -450,6 +457,12 @@ def main():
450
457
  "game, without asking")
451
458
  kde.add_argument("--no-kde-overlays", dest="kde_overlays", action="store_const", const=False,
452
459
  help="remove what --kde-overlays set up")
460
+ folders = parser.add_mutually_exclusive_group()
461
+ folders.add_argument("--open-folders", dest="open_folders", action="store_const", const=True, default=None,
462
+ help="let Questlog's Open Folder buttons open the folder in the file manager, without "
463
+ "asking (one registry entry in the game's prefix)")
464
+ folders.add_argument("--no-open-folders", dest="open_folders", action="store_const", const=False,
465
+ help="remove what --open-folders set up")
453
466
  parser.add_argument("--version", action="version", version=f"A2Qlinux {shown_version()}")
454
467
  args = parser.parse_args()
455
468
  created = not config.CONFIG_PATH.exists()
@@ -526,6 +539,10 @@ def main():
526
539
  kde_problem = kde_overlays.setup_step(args.kde_overlays, input, sys.stdin.isatty())
527
540
  if kde_problem:
528
541
  print(f"Note: {kde_problem}.", file=sys.stderr)
542
+ # A note too: only the Open Folder buttons depend on it.
543
+ folders_problem = open_folders.setup_step(args.open_folders, input, sys.stdin.isatty())
544
+ if folders_problem:
545
+ print(f"Note: {folders_problem}.", file=sys.stderr)
529
546
 
530
547
  problems += launch_option_step(command("a2qlinux-steam"))
531
548
 
@@ -6,7 +6,7 @@
6
6
  # bridge/tests/*.exe test programs for the two above
7
7
  # tools/tcp_owner_probe.exe diagnostic: does Wine report TCP connection owners
8
8
  # No rebuild is needed after a Wine update: the parts import only documented
9
- # Win32 functions by name (kernel32, user32, ws2_32, ucrtbase), and the build
9
+ # Win32 functions by name (kernel32, user32, shell32, advapi32, ws2_32, ucrtbase), and the build
10
10
  # here (system Wine 11.21) runs daily under Proton's Wine 11.0; rebuild after
11
11
  # changing the C sources.
12
12
  #
@@ -74,7 +74,7 @@ CF=(--target=x86_64-w64-windows-gnu -fuse-ld=lld -nostdinc -isystem "$W/msvcrt"
74
74
  clang "${CF[@]}" -shared -o ../a2qlinux/bin/wpcap.dll wpcap_bridge.c -nostdlib -L"$L" -lucrtbase -lkernel32 -luser32 -lws2_32 \
75
75
  -Wl,--entry=DllMain
76
76
  clang "${CF[@]}" -o ../a2qlinux/bin/questlog_ctl.exe questlog_ctl.c -nostdlib -L"$L" -lucrtbase -lkernel32 -luser32 \
77
- -lshell32 -Wl,--entry=start
77
+ -lshell32 -ladvapi32 -Wl,--entry=start
78
78
  clang "${CF[@]}" -o tests/bridge_client_test.exe tests/bridge_client_test.c -nostdlib -L"$L" -lucrtbase -lkernel32 \
79
79
  -Wl,--entry=main
80
80
  clang "${CF[@]}" -o tests/zorder_guard_test.exe tests/zorder_guard_test.c -nostdlib -L"$L" -lucrtbase -lkernel32 \
@@ -5,6 +5,8 @@
5
5
  * questlog_ctl.exe show-tray show it again (when our icon is gone)
6
6
  * questlog_ctl.exe close-window close Questlog's main window (what follows is Questlog's closeAction setting)
7
7
  * questlog_ctl.exe end-session tell Questlog the Windows session is ending
8
+ * questlog_ctl.exe folder-handler status|set|remove
9
+ * the prefix's handler for opening a folder (a2qlinux/open_folders.py)
8
10
  *
9
11
  * Questlog's tray icon is replaced by a2qlinux/tray.py: under Wine its menu
10
12
  * opens only once, because Electron gives up on the menu when it cannot bring
@@ -24,6 +26,16 @@
24
26
  * window's X: its closeAction setting decides - "tray" hides the window,
25
27
  * "quit" quits Questlog normally, "ask" (the default) asks which.
26
28
  *
29
+ * folder-handler: Questlog's "Open Folder" buttons call Electron's
30
+ * shell.openPath, which asks ShellExecuteEx for the verb "explore" of the
31
+ * class "folder". Wine's prefix has no command for that verb, so the call
32
+ * fails with "There is no Windows program configured to open this type of
33
+ * file". `set` writes the command Wine uses for web links (winebrowser.exe,
34
+ * which hands the folder to xdg-open) as HKLM\Software\Classes\folder\shell\
35
+ * explore\command - only if that command is absent; `remove` deletes it only
36
+ * if it still holds exactly what `set` wrote (docs/ARCHITECTURE.md §6.10).
37
+ * The first word printed is the outcome: absent, ours, other, set, removed.
38
+ *
27
39
  * Questlog's windows are found by program: owned by a process whose image is
28
40
  * Questlog.exe. Every outcome is printed; the exit code is 0 on success. */
29
41
  #include <windows.h>
@@ -167,6 +179,110 @@ static int end_session(void)
167
179
  return 0;
168
180
  }
169
181
 
182
+ #define HANDLER_KEY L"Software\\Classes\\folder\\shell\\explore\\command"
183
+ #define HANDLER_PARENT L"Software\\Classes\\folder\\shell"
184
+ #define HANDLER_VERB L"explore"
185
+ #define HANDLER_VALUE L"\"C:\\windows\\system32\\winebrowser.exe\" \"%1\""
186
+
187
+ /* The handler's default value: 0 absent, 1 ours, 2 something else (in `value`), -1 error. */
188
+ static int read_handler(WCHAR *value, DWORD size)
189
+ {
190
+ HKEY key;
191
+ DWORD type = 0, bytes = size * sizeof(WCHAR);
192
+ LONG status = RegOpenKeyExW(HKEY_LOCAL_MACHINE, HANDLER_KEY, 0, KEY_QUERY_VALUE, &key);
193
+
194
+ value[0] = 0;
195
+ if (status == ERROR_FILE_NOT_FOUND)
196
+ return 0;
197
+ if (status != ERROR_SUCCESS) {
198
+ printf("error: HKLM\\%ls could not be opened (error %ld).\n", HANDLER_KEY, status);
199
+ return -1;
200
+ }
201
+ status = RegQueryValueExW(key, NULL, NULL, &type, (BYTE *)value, &bytes);
202
+ RegCloseKey(key);
203
+ if (status == ERROR_FILE_NOT_FOUND)
204
+ return 2; /* a key without a default value is someone else's too */
205
+ if (status != ERROR_SUCCESS) {
206
+ printf("error: HKLM\\%ls could not be read (error %ld).\n", HANDLER_KEY, status);
207
+ return -1;
208
+ }
209
+ value[size - 1] = 0;
210
+ return (type == REG_SZ || type == REG_EXPAND_SZ) && !wcscmp(value, HANDLER_VALUE) ? 1 : 2;
211
+ }
212
+
213
+ static int folder_handler(const WCHAR *action)
214
+ {
215
+ WCHAR value[512];
216
+ int state = read_handler(value, 512);
217
+ HKEY key;
218
+ LONG status;
219
+
220
+ if (state < 0)
221
+ return 1;
222
+ if (!wcscmp(action, L"status")) {
223
+ if (state == 0)
224
+ printf("absent: no command opens folders for \"explore\".\n");
225
+ else if (state == 1)
226
+ printf("ours: folders open through winebrowser.exe (%ls).\n", HANDLER_VALUE);
227
+ else
228
+ printf("other: HKLM\\%ls holds %ls; left as it is.\n", HANDLER_KEY, value[0] ? value : L"no command");
229
+ return 0;
230
+ }
231
+ if (!wcscmp(action, L"set")) {
232
+ if (state == 1) {
233
+ printf("ours: folders already open through winebrowser.exe.\n");
234
+ return 0;
235
+ }
236
+ if (state == 2) {
237
+ printf("other: HKLM\\%ls holds %ls; left as it is.\n", HANDLER_KEY, value[0] ? value : L"no command");
238
+ return 0;
239
+ }
240
+ status = RegCreateKeyExW(HKEY_LOCAL_MACHINE, HANDLER_KEY, 0, NULL, 0, KEY_SET_VALUE, NULL, &key, NULL);
241
+ if (status == ERROR_SUCCESS) {
242
+ status = RegSetValueExW(key, NULL, 0, REG_SZ, (const BYTE *)HANDLER_VALUE, sizeof(HANDLER_VALUE));
243
+ RegCloseKey(key);
244
+ }
245
+ if (status != ERROR_SUCCESS) {
246
+ printf("error: HKLM\\%ls could not be written (error %ld).\n", HANDLER_KEY, status);
247
+ return 1;
248
+ }
249
+ printf("set: folders now open through winebrowser.exe (%ls).\n", HANDLER_VALUE);
250
+ return 0;
251
+ }
252
+ /* remove */
253
+ if (state != 1) {
254
+ if (state == 0)
255
+ printf("absent: nothing to remove.\n");
256
+ else
257
+ printf("other: HKLM\\%ls holds %ls, not what set wrote; left as it is.\n", HANDLER_KEY,
258
+ value[0] ? value : L"no command");
259
+ return 0;
260
+ }
261
+ /* `command`, then the verb's key `explore` if nothing else is left in it
262
+ * (set made both; anything added there since is someone else's). */
263
+ status = RegOpenKeyExW(HKEY_LOCAL_MACHINE, HANDLER_PARENT L"\\" HANDLER_VERB, 0, KEY_ALL_ACCESS, &key);
264
+ if (status == ERROR_SUCCESS) {
265
+ DWORD subkeys = 1, values = 1;
266
+ status = RegDeleteKeyW(key, L"command");
267
+ if (status == ERROR_SUCCESS && RegQueryInfoKeyW(key, NULL, NULL, NULL, &subkeys, NULL, NULL, &values,
268
+ NULL, NULL, NULL, NULL) == ERROR_SUCCESS
269
+ && !subkeys && !values) {
270
+ HKEY parent;
271
+ if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, HANDLER_PARENT, 0, KEY_ALL_ACCESS, &parent) == ERROR_SUCCESS) {
272
+ RegDeleteKeyW(parent, HANDLER_VERB);
273
+ RegCloseKey(parent);
274
+ }
275
+ }
276
+ RegCloseKey(key);
277
+ }
278
+ if (status != ERROR_SUCCESS) {
279
+ printf("error: HKLM\\%ls could not be removed (error %ld).\n", HANDLER_KEY, status);
280
+ return 1;
281
+ }
282
+ printf("removed: HKLM\\%ls.\n", HANDLER_KEY);
283
+ return 0;
284
+ }
285
+
170
286
  static int run(int argc, WCHAR **argv)
171
287
  {
172
288
  if (argc == 2 && !wcscmp(argv[1], L"hide-tray"))
@@ -177,7 +293,11 @@ static int run(int argc, WCHAR **argv)
177
293
  return close_window();
178
294
  if (argc == 2 && !wcscmp(argv[1], L"end-session"))
179
295
  return end_session();
180
- printf("usage: questlog_ctl.exe hide-tray | show-tray | close-window | end-session\n");
296
+ if (argc == 3 && !wcscmp(argv[1], L"folder-handler")
297
+ && (!wcscmp(argv[2], L"status") || !wcscmp(argv[2], L"set") || !wcscmp(argv[2], L"remove")))
298
+ return folder_handler(argv[2]);
299
+ printf("usage: questlog_ctl.exe hide-tray | show-tray | close-window | end-session"
300
+ " | folder-handler status|set|remove\n");
181
301
  return 2;
182
302
  }
183
303
 
@@ -92,7 +92,10 @@ open a status window (§12 "Shown version", §9.1).
92
92
  game has been gone for `GAME_EXIT_GRACE` seconds (see §6.4). After the game,
93
93
  the game's own `steam.exe` is ended (§6.7), as Steam's Stop would; only once
94
94
  `AION2.exe` is gone and only the `steam.exe` below Steam's reaper for the
95
- game.
95
+ game. With the user's consent, `a2qlinux-setup` adds one registry entry
96
+ to the prefix: a command for the verb "explore" of folders, which Wine
97
+ lacks (§6.10). It only fills a gap: it is never written over a command
98
+ that is already there, and in its absence every such call fails.
96
99
  - **I3 — nothing dropped silently.** Each failure of the bridge, the guard,
97
100
  `questlog_ctl.exe` or the tray is reported: to Questlog's interface (DLL
98
101
  errors through `pcap_geterr`), to the launcher's terminal, or to
@@ -1083,6 +1086,88 @@ whose start hung.
1083
1086
  could hang in the same way while Questlog runs; not observed. The watch
1084
1087
  answers once per start, and only `up` resets the count.
1085
1088
 
1089
+ ### 6.10 Questlog's "Open Folder" buttons
1090
+
1091
+ **Symptom.** Questlog's **Open Folder** button (Combat Meter, the list of
1092
+ recordings) shows Wine's message "There is no Windows program configured
1093
+ to open this type of file", and no folder opens.
1094
+
1095
+ **Cause.** The button runs Questlog's `openRecordings`, which creates
1096
+ `recordings` under Questlog's data folder (`C:\users\steamuser\AppData\
1097
+ Roaming\Questlog`) and passes it to Electron's `shell.openPath`. For a
1098
+ folder, Electron calls Chromium's `ui::win::OpenFolderViaShell`, which is
1099
+ `ShellExecuteExW` with the verb `explore`, the class `folder`
1100
+ (`SEE_MASK_CLASSNAME`), the folder as an item id list (`SEE_MASK_IDLIST`)
1101
+ and `SEE_MASK_NOASYNC`. With an explicit class, Wine's `shell32` looks the
1102
+ verb up under `HKCR\folder\shell\explore\command`. Proton's `wine.inf`,
1103
+ like Wine's, registers only `folder\shell\open\ddeexec`, so the lookup
1104
+ fails and `shell32` shows the message. Without a class, the same folder
1105
+ opens: Wine then falls back to its own `explorer.exe`. Measured with a test
1106
+ program making Chromium 152's call (Questlog 0.1.51 ships Electron 44.5.1)
1107
+ under `xvfb-run` with Proton's Wine (13 November 2026): it failed in a
1108
+ fresh prefix and in one holding a copy of the game prefix's registry, and
1109
+ succeeded once the key existed. The same call without class and verb
1110
+ succeeded in both. It is Wine's gap, not something A2Qlinux causes.
1111
+
1112
+ **Remedy** (`a2qlinux/open_folders.py`, `questlog_ctl.exe folder-handler`),
1113
+ set up by `a2qlinux-setup` with the user's consent: the one missing command,
1114
+ `HKLM\Software\Classes\folder\shell\explore\command` =
1115
+ `"C:\windows\system32\winebrowser.exe" "%1"`, the command the prefix already
1116
+ has for web links (`http`, `https`, `ftp`). `winebrowser` turns the
1117
+ Windows path into a `file://` URL of the Linux path and runs `xdg-open`.
1118
+ Questlog runs inside Steam's runtime container, where `xdg-open` is
1119
+ `steam-runtime-urlopen`; that hands the URL to the desktop outside, and
1120
+ the folder opens in the desktop's file manager (checked on this desktop,
1121
+ 13 November 2026: Dolphin).
1122
+
1123
+ The registry is read and written by `questlog_ctl.exe` inside the prefix
1124
+ (`protontricks-launch`, like its other commands). That way the check sees
1125
+ the registry the `wineserver` holds in memory, the one Questlog's call
1126
+ reads, also while the game runs, and nothing writes the registry files
1127
+ behind the `wineserver`'s back. The command does one of three things:
1128
+
1129
+ - `status` prints `absent`, `ours` (exactly the value above) or `other`
1130
+ (anything else there, a key without a default value included);
1131
+ - `set` writes the value only when it is `absent`;
1132
+ - `remove` deletes `command` only when it is `ours`, then the verb's key
1133
+ `explore` if nothing else is left in it.
1134
+
1135
+ The first word printed is the outcome; `open_folders.outcome` reads it.
1136
+
1137
+ `a2qlinux-setup` (`open_folders.setup_step`) runs `status` first. On
1138
+ `absent` it shows `EXPLANATION` and asks once, yes being the default;
1139
+ `--open-folders` sets up without asking, `--no-open-folders` runs
1140
+ `remove`, and without a terminal it only names the option. What it prints:
1141
+
1142
+ | State before | Setup prints |
1143
+ |---|---|
1144
+ | `absent`, answered yes | `Open Folder: set: folders now open through winebrowser.exe (…)` |
1145
+ | `absent`, answered no | `Not set up; run a2qlinux-setup --open-folders to do it later.` |
1146
+ | `ours` | `Open Folder: Questlog's folders open in the file manager.` |
1147
+ | `other` | `Open Folder: the prefix already has a command for opening folders; A2Qlinux leaves it (…)` |
1148
+ | any, `--no-open-folders` | `Open Folder: removed: …`, `absent: nothing to remove.` or `other: … left as it is.` |
1149
+
1150
+ Failing (no prefix yet, `protontricks-launch` missing, no answer within
1151
+ `CTL_WAIT`) is printed as `Note: Open Folder: …` and is not a problem:
1152
+ only the button depends on it. The change takes effect at once, with
1153
+ Questlog open: `shell32` looks the verb up at each call. `a2qlinux
1154
+ --diagnose` reports the same three states without starting Wine (§9.1).
1155
+
1156
+ **Reach.** The key is prefix-wide (I2's exception): any program in the
1157
+ prefix that opens a folder with `explore` and the class `folder` now gets
1158
+ the file manager instead of the error. Neither the game nor NotMeter is
1159
+ known to make that call. Proton keeps the key when it updates the prefix:
1160
+ its `wine.inf` has no `DelReg` section, and the `proton` script deletes only
1161
+ the keys it lists in `delete_dde_keys` (`ddeexec` of web links and
1162
+ document types) and `delete_keys` (one service).
1163
+
1164
+ **Rejected.** Redirecting the call inside Questlog alone, by patching
1165
+ `ShellExecuteExW` in `Questlog.exe`'s import table from our `wpcap.dll`:
1166
+ it touches no prefix setting, but it is an API hook in a closed program,
1167
+ tied to how Chromium makes the call. Editing `system.reg` from Linux:
1168
+ a running `wineserver` holds the registry in memory and writes its own
1169
+ copy back, so the change could be lost.
1170
+
1086
1171
  ## 7. Failure modes
1087
1172
 
1088
1173
  | Symptom | Cause | Where to look |
@@ -1108,6 +1193,8 @@ answers once per start, and only `up` resets the count.
1108
1193
  | Tracker Map overlay blank, and no fights in the meter ("Detecting character…"), after restarting Questlog mid-game | Questlog learns the character (`self`) and its zone only from the login (`Login_RS`) and map-enter (`PrepareEnterMap_NT`) packets; it flags the gap itself once positions or damage arrive for 5 s without a known character. The same on Windows | change zone, or log back in. Replaying earlier traffic from the launcher was rejected: without decoding it, only the whole stream since the connection began could be replayed, and Questlog would count old fights again and upload them again |
1109
1194
  | Black Market Cards (and the overlay controls icon) never show over the full-screen game; Alt+E only flashes | KDE keeps the game above Questlog's full-screen HUD (§6.8) | `a2qlinux-setup --kde-overlays` on Plasma 6; elsewhere none |
1110
1195
  | `a2qlinux-setup`: "Note: KDE overlays: …" | a tool or KWin refused (§6.8); nothing else is affected | the reason in the note |
1196
+ | Questlog's Open Folder: "There is no Windows program configured to open this type of file" | the prefix has no command for opening folders (§6.10) | `a2qlinux-setup --open-folders` |
1197
+ | `a2qlinux-setup`: "Note: Open Folder: …" | `questlog_ctl.exe folder-handler` could not run or failed (§6.10); nothing else is affected | the reason in the note |
1111
1198
  | game froze after **Quit Questlog** during play (A2Qlinux 0.3.0 and earlier) | Questlog's launch ended and protontricks took the game's session down with its container (§5.1, "The launch holds the session") | update A2Qlinux |
1112
1199
  | "Questlog update check failed (…)" | no network, CDN change | none; retried at the next check |
1113
1200
  | "Questlog X does not fit this A2Qlinux yet …" (notification) | a check of §10 failed | A2Qlinux needs a change for that version; the installed one stays |
@@ -1185,7 +1272,7 @@ privileges a Wine process should not have. `dumpcap` gets them through the
1185
1272
  needs only `clang`, `lld` and the installed Wine's development files
1186
1273
  (`bridge/build.sh`, §14). The result is not tied to that Wine: the two
1187
1274
  parts import only documented Win32 functions by name (`kernel32`, `user32`,
1188
- `ws2_32`, `ucrtbase`, `shell32`; `llvm-objdump -p`), so a Wine update needs
1275
+ `ws2_32`, `ucrtbase`, `shell32`, `advapi32`; `llvm-objdump -p`), so a Wine update needs
1189
1276
  no rebuild. Observed: the build here against system Wine 11.21 runs daily
1190
1277
  under Proton's Wine 11.0, and the PyPI package's parts are built against
1191
1278
  whatever Wine the CI container has.
@@ -1225,10 +1312,11 @@ one** — §6.4.
1225
1312
  | launcher, bridge, quit logic, updates, Steam verb switch | `python3 -m unittest` in the repository root (no built Windows parts needed; CI runs `bash bridge/build.sh` and the tests on every push, §12); the update tests build a fake installer with `7z` and run feed → download (`file://`) → checks → swap → rollback, and the first installation (`install_fresh`), offline |
1226
1313
  | DLL against a live bridge | `bridge/tests/bridge_client_test.exe [<local address>]` in a throwaway prefix, with a running `BridgeServer` (with `Captures`, for real traffic), `WINEDLLOVERRIDES=wpcap=n` and `QUESTLOG_PROTON_BRIDGE` from `environment_value()`; it opens the device with that address, as Questlog does, or the first one; report in `C:\bridge_client_test.txt` (devices, link type, packets, delay) |
1227
1314
  | window-order guard | copy `bridge/tests/zorder_guard_test.exe` and `a2qlinux/bin/wpcap.dll` to an empty folder, then `WINEPREFIX=<throwaway> xvfb-run -a wine zorder_guard_test.exe 'Z:\<folder>\wpcap.dll'`; prints the order before and after, `PASS`/`FAIL` |
1228
- | `questlog_ctl.exe` by hand | `protontricks-launch --appid 3393110 <package>/a2qlinux/bin/questlog_ctl.exe hide-tray` (or `show-tray`, `close-window`, `end-session`); `<package>` is printed by `python -c 'import a2qlinux; print(a2qlinux.__path__[0])'` in A2Qlinux's environment |
1315
+ | `questlog_ctl.exe` by hand | `protontricks-launch --appid 3393110 <package>/a2qlinux/bin/questlog_ctl.exe hide-tray` (or `show-tray`, `close-window`, `end-session`, `folder-handler status`); `<package>` is printed by `python -c 'import a2qlinux; print(a2qlinux.__path__[0])'` in A2Qlinux's environment |
1229
1316
  | `questlog_ctl.exe` without the game prefix | Questlog in a throwaway prefix: `wine Questlog.exe --no-sandbox --disable-gpu` under `xvfb-run`, then the commands through `wine` |
1230
1317
  | who owns the game connection | `tools/tcp_owner_probe.exe` in the prefix |
1231
1318
  | KDE overlays (§6.8) | `tests/test_kde_overlays.py` runs against stand-ins for KDE's config tools and `dbus-send`, and, where `kwriteconfig6` is installed, checks with the real tools that removal gives the rule file back byte for byte; on the desktop, a one-off KWin script that prints the HUD's `layer` and `opacity` shows what KWin applied |
1319
+ | folder handler (§6.10) | `tests/test_open_folders.py` (the setup step against a stand-in for `questlog_ctl.exe`; `registry_state` on `system.reg` text as Wine saves it; the value in Python equal to the one in `questlog_ctl.c`); the command itself in a throwaway prefix: `WINEPREFIX=<throwaway> wine questlog_ctl.exe folder-handler status` (then `set`, `remove`), and a test program making Chromium's call (`ShellExecuteExW`, verb `explore`, class `folder`, `SEE_MASK_IDLIST`) with a stand-in `xdg-open` first in `PATH` that records its argument |
1232
1320
  | does the session survive a quit (§5.1) | without the game: a Windows program that only waits, started as `systemd-run --user --unit=<name> protontricks-launch --appid 3393110 <program>.exe`, plays the game; quit Questlog and check that the program, the `wineserver` and `explorer.exe /desktop` run on, and which unit holds them (`/proc/<pid>/cgroup`) |
1233
1321
  | a stuck process (§6.9) | `gdb -p <pid> -batch -ex bt` as root (`ptrace_scope` 1 allows a user to trace only their own children); A2Qlinux never does this itself |
1234
1322
  | Wine's view of windows and focus | run `WINEDEBUG=+event,+x11drv,+win a2qlinux-run`; the log grows about 40 KB/s, so only briefly |
@@ -1270,14 +1358,28 @@ which no part of A2Qlinux checked.
1270
1358
  like `--version`, without opening a status window). It only reads, so it is
1271
1359
  safe at any time, the game running or not. In order:
1272
1360
 
1273
- 1. A2Qlinux's version (`shown_version`, §12), the settings file and its
1274
- problems, Questlog's folder and version.
1361
+ 1. A2Qlinux's version (`shown_version`, §12); the system
1362
+ (`system_lines`): the distribution (`PRETTY_NAME` of `/etc/os-release`,
1363
+ else `NAME` and `VERSION_ID`), the kernel, the desktop
1364
+ (`XDG_CURRENT_DESKTOP`, with its version from the command in
1365
+ `DESKTOP_VERSION`, `plasmashell --version` or `gnome-shell --version`,
1366
+ when that desktop runs) and the session type (`XDG_SESSION_TYPE`). How
1367
+ windows, the tray and overlays behave depends on these (§6.8, §14), and
1368
+ reports from other distributions need them to be compared with this
1369
+ one. Shown as `System: …` and `Desktop: …`. Then the settings file and
1370
+ its problems, Questlog's folder and version.
1275
1371
  2. The checks `a2qlinux-setup` makes, by calling the same functions
1276
1372
  (`missing_packages`, `capture_problem`, `tray_problem`,
1277
1373
  `windows_parts_problem`): there is one implementation of each.
1278
1374
  3. Steam (`steam_roots`, the Flatpak case of §14), the game's prefix
1279
- (`game_prefix`), and whether the `wpcap.dll` there carries
1280
- `BRIDGE_SIGNATURE`.
1375
+ (`game_prefix`), the Proton that last ran it, and whether the
1376
+ `wpcap.dll` there carries `BRIDGE_SIGNATURE`. `proton_line` reads
1377
+ `config_info` beside the prefix: its first line is Proton's version,
1378
+ and the paths below it lie in the tool's folder, whose name is given
1379
+ too (`proton-cachyos-slr`, `GE-Proton10-25`, `Proton 10.0`). The
1380
+ `proton` script compares the file with what it would write on every
1381
+ start and rewrites it when they differ, so it names the Proton that
1382
+ last ran the prefix.
1281
1383
  4. AION 2's launch option, from every Steam account's
1282
1384
  `userdata/<id>/config/localconfig.vdf`, path
1283
1385
  `UserLocalConfigStore > Software > Valve > Steam > apps > 3393110 >
@@ -1300,6 +1402,15 @@ safe at any time, the game running or not. In order:
1300
1402
  not was started outside A2Qlinux: it gets no traffic, and the game waits
1301
1403
  for it, §5.1), and the game.
1302
1404
  6. On Plasma 6, whether the KDE overlays are installed (§6.8).
1405
+ 7. Whether the prefix has the command for Questlog's Open Folder buttons
1406
+ (§6.10): `open_folders.registry_state` reads it from the prefix's
1407
+ `system.reg` as text, with the same three answers as
1408
+ `questlog_ctl.exe folder-handler status`. Starting Wine instead would
1409
+ no longer be only reading: with no session running, it starts one in
1410
+ the game's prefix. The cost is lag: the `wineserver` saves a registry
1411
+ change to the file some 30 s later (26 s measured, 13 November 2026,
1412
+ with a session running), so a change made just now may not show yet;
1413
+ the `absent` note says so.
1303
1414
 
1304
1415
  Each check gives lines of `ok`, `note` or `PROBLEM`; the exit code is 1
1305
1416
  when there is a problem. A check that raises is reported as a problem
@@ -184,10 +184,13 @@ What the setup does, in order:
184
184
  | takes Questlog's icon from it and colours the white Q red, so that A2Qlinux's icon is told apart from Questlog's own (A2Qlinux does not ship Questlog's logo) | `Icon: …` |
185
185
  | creates the "A2Qlinux" entry in your applications menu (searching the menu for "Questlog" finds it too) | `Menu entry: …` |
186
186
  | on KDE Plasma 6 only: explains the KDE overlays, which let Questlog's Black Market Cards show above the game, and asks whether to set them up (Enter means yes) | the explanation, `Set this up now? [Y/n]`, then `KDE: window rule … are in place.` |
187
+ | explains the fix for Questlog's **Open Folder** buttons, which otherwise show a Wine error, and asks whether to set it up (Enter means yes); it adds one entry to the game's Proton environment, and the folder then opens in your file manager | the explanation, `Set this up now? [Y/n]`, then `Open Folder: set: folders now open through winebrowser.exe …` |
187
188
  | checks Steam's launch option for AION 2, used in the optional last section: says when it is set, otherwise prints the line to paste | `Steam launch option: set (…)`, or `Steam > AION 2 > …` and the line |
188
189
 
189
190
  It runs nothing with `sudo` and changes nothing in the game; the commands
190
- that need administrator rights are printed for you to run.
191
+ that need administrator rights are printed for you to run. In the game's
192
+ Proton environment it changes one thing, and only if you say yes: the
193
+ entry for Questlog's Open Folder buttons.
191
194
 
192
195
  **Questlog in another folder.** A2Qlinux keeps Questlog in `~/Games/Questlog`
193
196
  unless you tell it otherwise. To use another folder, run the setup once
@@ -335,8 +338,10 @@ Next: [USING.md](USING.md).
335
338
 
336
339
  ## Removing A2Qlinux
337
340
 
338
- 1. Quit Questlog from the tray icon. On KDE, if you set up the KDE overlays,
339
- remove them first with `a2qlinux-setup --no-kde-overlays`.
341
+ 1. Quit Questlog from the tray icon. If you set up the fix for Questlog's
342
+ Open Folder buttons, remove it with `a2qlinux-setup --no-open-folders`.
343
+ On KDE, if you set up the KDE overlays, remove them with
344
+ `a2qlinux-setup --no-kde-overlays`.
340
345
  2. Clear AION 2's launch options in Steam.
341
346
  3. Uninstall A2Qlinux:
342
347
  ```
@@ -128,11 +128,17 @@ is not touched, and check that the Windows parts came with it:
128
128
  ```bash
129
129
  mkdir -p /tmp/a2q-check
130
130
  PIPX_HOME=/tmp/a2q-check/home PIPX_BIN_DIR=/tmp/a2q-check/bin pipx install a2qlinux==X.Y.Z
131
- /tmp/a2q-check/home/venvs/a2qlinux/bin/python -c "import a2qlinux, pathlib; print(a2qlinux.__version__, sorted(p.name for p in (pathlib.Path(a2qlinux.__path__[0]) / 'bin').iterdir()))"
132
- # X.Y.Z ['questlog_ctl.exe', 'wpcap.dll']
131
+ /tmp/a2q-check/home/venvs/a2qlinux/bin/python -I -c "import a2qlinux, pathlib; print(a2qlinux.__file__, a2qlinux.__version__, sorted(p.name for p in (pathlib.Path(a2qlinux.__path__[0]) / 'bin').iterdir()))"
132
+ # /tmp/a2q-check/home/venvs/…/site-packages/a2qlinux/__init__.py X.Y.Z ['questlog_ctl.exe', 'wpcap.dll']
133
133
  rm -rf /tmp/a2q-check
134
134
  ```
135
135
 
136
+ `-I` keeps Python from importing the `a2qlinux` folder of the current
137
+ directory: run from the repository root without it, the check reads the
138
+ checkout's stale `_version.py` instead of the installed package (seen at
139
+ the 0.6.0 release, which showed `0.4.1.dev2`). The path printed first
140
+ must lie under `/tmp/a2q-check`.
141
+
136
142
  If the `pypi` job failed while `build` passed, the release and its files
137
143
  are fine; fix the cause (usually the Trusted Publisher settings on pypi.org)
138
144
  and re-run only that job: `gh run rerun <run id> --failed`.
@@ -22,6 +22,8 @@ A2Qlinux, what causes them and what to do, followed by common questions.
22
22
  | Black Market Cards shows, but the notes sit beside the cards | the overlay's UI scale size differs from the game's interface size | set them to the same size ("Black Market Cards and moving overlays (Alt+E)" in [USING.md](USING.md)) |
23
23
  | Alt+E shows only a brief flash, and overlays cannot be moved over the game | (KDE) the KDE overlays are not set up | see "Black Market Cards and moving overlays (Alt+E)" in [USING.md](USING.md) |
24
24
  | (KDE) Black Market Cards stays over other programs after Alt+Tab | only half of the KDE overlays is working: the part that hides the cards when the game is not in front did not start | go back to the game and leave the shop; run `a2qlinux-setup --kde-overlays` again |
25
+ | Questlog's **Open Folder** shows "There is no Windows program configured to open this type of file" | the game's Proton environment knows no program for opening folders | run `a2qlinux-setup --open-folders`; see "Questlog's Open Folder buttons" in [USING.md](USING.md) |
26
+ | `a2qlinux-setup` ends with "Note: Open Folder: …" | the entry could not be checked or added, for example because the game has never been started from Steam yet; the note says why | start the game once from Steam, then run `a2qlinux-setup` again; everything else is set up |
25
27
  | `a2qlinux-setup` ends with "Note: KDE overlays: …" | KDE refused the change, or a KDE tool is missing; the note says which | everything else is set up; the cards stay hidden until the cause in the note is fixed |
26
28
  | "Questlog hung at its start: … Ending it and starting it again." in the status window | Questlog got stuck while starting, a rare fault in Wine | nothing; A2Qlinux has already started it again (see "If Questlog gets stuck while starting" in [USING.md](USING.md#starting-questlog)) |
27
29
  | notification "Questlog hung at its start 2 times in a row", the status window stays open | the same fault twice in a row, so A2Qlinux stopped trying | press Enter in the status window, then start "A2Qlinux" from the menu again; if it keeps happening, report it (below) |
@@ -67,11 +69,17 @@ The quickest way is one command in a terminal:
67
69
  a2qlinux --diagnose --report
68
70
  ```
69
71
 
70
- It checks what A2Qlinux needs and how the game is started from Steam
71
- (without changing anything), and prints one line per check: `ok`, `note`,
72
+ It checks what A2Qlinux needs and how the game is started from Steam,
73
+ without changing anything, and prints one line per check: `ok`, `note`,
72
74
  or `PROBLEM` with what to do. Often that line already says what is wrong;
73
75
  `a2qlinux --diagnose` alone gives just these lines.
74
76
 
77
+ Its first lines name your system: the distribution, the kernel, the
78
+ desktop with its version, and whether it runs on Wayland or X11. Further
79
+ down it names the Proton the game last ran with. Many problems show up
80
+ only on some of these, so a report from another system can then be
81
+ compared with one where things work.
82
+
75
83
  With `--report` it also writes a report file in your home folder and shows
76
84
  it to you. Before writing it, it replaces what could identify you: your home
77
85
  folder, user name, computer name, Steam account number and network
@@ -245,6 +245,8 @@ Questlog starts.
245
245
  not work under Proton.
246
246
  - **Black Market Cards**, and moving overlays with Alt+E, need a step of
247
247
  their own; see the next section.
248
+ - Questlog's **Open Folder** buttons need a small fix too; see "Questlog's
249
+ Open Folder buttons" below.
248
250
 
249
251
  ### Black Market Cards and moving overlays (Alt+E)
250
252
 
@@ -302,3 +304,48 @@ To use the cards:
302
304
  To remove the KDE overlays again, run `a2qlinux-setup --no-kde-overlays`.
303
305
  It takes out exactly what was added and leaves the rest of your KDE
304
306
  settings as they were.
307
+
308
+ ### Questlog's Open Folder buttons
309
+
310
+ Some Questlog pages have an **Open Folder** button, for example the list of
311
+ recordings in the Combat Meter. Questlog asks Windows to open the folder in
312
+ its file browser. The Windows environment the game runs in (Wine, inside
313
+ the game's Proton environment) has no program registered for that, so
314
+ instead of a folder you get the message "There is no Windows program
315
+ configured to open this type of file".
316
+
317
+ A2Qlinux can add the missing piece: one entry in the game's Proton
318
+ environment that passes such folders on to your Linux desktop. The folder
319
+ then opens in your usual file manager (Dolphin, Files, …), as a normal
320
+ window of your desktop. It is offered during `a2qlinux-setup`, which
321
+ explains it and asks before changing anything.
322
+
323
+ To set it up:
324
+
325
+ 1. Start the game from Steam once, if you never have: the game's Proton
326
+ environment is made at its first start, and the entry goes in there.
327
+ 2. In a terminal, run `a2qlinux-setup`.
328
+ 3. When it explains the Open Folder fix and asks `Set this up now? [Y/n]`,
329
+ press Enter. It answers `Open Folder: set: folders now open through
330
+ winebrowser.exe …`.
331
+ 4. In Questlog, click **Open Folder**. The folder opens in your file
332
+ manager. Questlog does not need to be restarted.
333
+
334
+ If you said no earlier, this sets it up without asking:
335
+ ```
336
+ a2qlinux-setup --open-folders
337
+ ```
338
+
339
+ Running `a2qlinux-setup` again later does not ask again: it only says
340
+ `Open Folder: Questlog's folders open in the file manager.` The same
341
+ shows as `Open Folder: set up` in `a2qlinux --diagnose` (see "Reporting a
342
+ problem" in [TROUBLESHOOTING.md](TROUBLESHOOTING.md)). A change made in
343
+ the last half minute may not show there yet.
344
+
345
+ The entry holds for the whole Proton environment, not only for Questlog:
346
+ another Windows program in it that opens a folder the same way also gets
347
+ your file manager instead of the same error. If another program has
348
+ already registered one, A2Qlinux leaves it alone and says so
349
+ (`the prefix already has a command for opening folders`). To take the
350
+ entry out again, run `a2qlinux-setup --no-open-folders`; it removes only
351
+ the entry A2Qlinux added.
@@ -109,3 +109,57 @@ class IssueUrlTest(unittest.TestCase):
109
109
  body = urllib.parse.parse_qs(urllib.parse.urlparse(url).query)["body"][0]
110
110
  self.assertIn("problem 0 ", body)
111
111
  self.assertIn("cut here", body)
112
+
113
+
114
+ class SystemLinesTest(unittest.TestCase):
115
+ def test_nobara_on_gnome(self):
116
+ import subprocess
117
+ calls = []
118
+
119
+ def run(command, **kwargs):
120
+ calls.append(command)
121
+ return subprocess.CompletedProcess(command, 0, stdout="GNOME Shell 49.1\n", stderr="")
122
+ from unittest import mock
123
+ with mock.patch.object(d.shutil, "which", return_value="/usr/bin/gnome-shell"):
124
+ lines = d.system_lines(env={"XDG_CURRENT_DESKTOP": "GNOME", "XDG_SESSION_TYPE": "wayland"},
125
+ os_info={"PRETTY_NAME": "Nobara Linux 44 (KDE Plasma Desktop Edition)"},
126
+ kernel="6.17.1-201.nobara.fc44.x86_64", run=run)
127
+ self.assertEqual(calls, [["gnome-shell", "--version"]])
128
+ self.assertEqual(lines, [(d.OK, "System: Nobara Linux 44 (KDE Plasma Desktop Edition), "
129
+ "kernel 6.17.1-201.nobara.fc44.x86_64"),
130
+ (d.OK, "Desktop: GNOME (GNOME Shell 49.1), wayland")])
131
+
132
+ def test_nothing_known(self):
133
+ def run(command, **kwargs):
134
+ raise AssertionError("no desktop to ask")
135
+ lines = d.system_lines(env={}, os_info={}, kernel="6.1", run=run)
136
+ self.assertIn("unknown distribution", lines[0][1])
137
+ self.assertEqual(lines[1][1], "Desktop: unknown (no XDG_CURRENT_DESKTOP), unknown session type")
138
+
139
+ def test_name_and_version_without_pretty_name(self):
140
+ lines = d.system_lines(env={"XDG_CURRENT_DESKTOP": "XFCE"}, os_info={"NAME": "Fedora", "VERSION_ID": "43"},
141
+ kernel="6.1", run=None)
142
+ self.assertEqual(lines[0][1], "System: Fedora 43, kernel 6.1")
143
+
144
+
145
+ class ProtonLineTest(unittest.TestCase):
146
+ def line(self, text):
147
+ import tempfile
148
+ from pathlib import Path
149
+ with tempfile.TemporaryDirectory() as folder:
150
+ (Path(folder) / "pfx").mkdir()
151
+ if text is not None:
152
+ (Path(folder) / "config_info").write_text(text)
153
+ return d.proton_line(Path(folder) / "pfx")
154
+
155
+ def test_proton_ge(self):
156
+ self.assertEqual(self.line("GE-Proton10-25\n/home/u/.steam/root/compatibilitytools.d/GE-Proton10-25/files/share/fonts/\n"),
157
+ (d.OK, "Proton (last run): GE-Proton10-25 (GE-Proton10-25)"))
158
+
159
+ def test_valve_proton(self):
160
+ self.assertEqual(self.line("10.0-102\n/home/u/.steam/steam/steamapps/common/Proton 10.0/files/share/fonts/\n"),
161
+ (d.OK, "Proton (last run): 10.0-102 (Proton 10.0)"))
162
+
163
+ def test_not_started_yet(self):
164
+ self.assertEqual(self.line(None)[0], d.NOTE)
165
+ self.assertEqual(self.line("")[0], d.NOTE)
@@ -0,0 +1,167 @@
1
+ import unittest
2
+
3
+ from a2qlinux import open_folders as f
4
+
5
+
6
+ class FakeCtl:
7
+ """Stand-in for questlog_ctl.exe folder-handler: a registry with one value, and the calls made."""
8
+
9
+ def __init__(self, value=None, fail=False):
10
+ self.value, self.fail, self.calls = value, fail, []
11
+
12
+ def __call__(self, action):
13
+ self.calls.append(action)
14
+ if self.fail:
15
+ raise RuntimeError("questlog_ctl.exe did not answer within 120 s")
16
+ ours = self.value == "ours"
17
+ if action == "status":
18
+ return ("absent", "absent: …") if self.value is None else (("ours", "ours: …") if ours
19
+ else ("other", "other: …"))
20
+ if action == "set":
21
+ if self.value is None:
22
+ self.value = "ours"
23
+ return "set", "set: …"
24
+ return ("ours", "ours: …") if ours else ("other", "other: …")
25
+ if action == "remove":
26
+ if ours:
27
+ self.value = None
28
+ return "removed", "removed: …"
29
+ return ("absent", "absent: …") if self.value is None else ("other", "other: …")
30
+ raise AssertionError(action)
31
+
32
+
33
+ class SetupStepTest(unittest.TestCase):
34
+ def step(self, ctl, want=None, answer="", interactive=True):
35
+ self.asked, self.logged = [], []
36
+
37
+ def ask(prompt):
38
+ self.asked.append(prompt)
39
+ return answer
40
+ return f.setup_step(want, ask, interactive, log=self.logged.append, ctl=ctl)
41
+
42
+ def test_absent_asks_and_sets_on_enter(self):
43
+ ctl = FakeCtl()
44
+ self.assertIsNone(self.step(ctl))
45
+ self.assertEqual(len(self.asked), 1)
46
+ self.assertEqual(ctl.calls, ["status", "set"])
47
+ self.assertEqual(ctl.value, "ours")
48
+
49
+ def test_absent_refused_leaves_the_prefix_alone(self):
50
+ ctl = FakeCtl()
51
+ self.assertIsNone(self.step(ctl, answer="n"))
52
+ self.assertEqual(ctl.calls, ["status"])
53
+ self.assertIsNone(ctl.value)
54
+ self.assertIn("--open-folders", self.logged[-1])
55
+
56
+ def test_without_a_terminal_only_names_the_option(self):
57
+ ctl = FakeCtl()
58
+ self.assertIsNone(self.step(ctl, interactive=False))
59
+ self.assertEqual((self.asked, ctl.calls), ([], ["status"]))
60
+ self.assertIn("--open-folders", self.logged[-1])
61
+
62
+ def test_option_sets_up_without_asking(self):
63
+ ctl = FakeCtl()
64
+ self.assertIsNone(self.step(ctl, want=True, interactive=False))
65
+ self.assertEqual((self.asked, ctl.calls, ctl.value), ([], ["status", "set"], "ours"))
66
+
67
+ def test_set_up_already_is_not_asked_again(self):
68
+ ctl = FakeCtl("ours")
69
+ self.assertIsNone(self.step(ctl))
70
+ self.assertEqual((self.asked, ctl.calls), ([], ["status"]))
71
+
72
+ def test_someone_elses_command_is_never_replaced(self):
73
+ for want in (None, True):
74
+ ctl = FakeCtl("someone-else.exe %1")
75
+ self.assertIsNone(self.step(ctl, want=want))
76
+ self.assertEqual((self.asked, ctl.calls, ctl.value), ([], ["status"], "someone-else.exe %1"))
77
+ self.assertIn("leaves it", self.logged[-1])
78
+
79
+ def test_removal(self):
80
+ ctl = FakeCtl("ours")
81
+ self.assertIsNone(self.step(ctl, want=False))
82
+ self.assertEqual((ctl.calls, ctl.value), (["remove"], None))
83
+ ctl = FakeCtl("someone-else.exe %1")
84
+ self.assertIsNone(self.step(ctl, want=False))
85
+ self.assertEqual(ctl.value, "someone-else.exe %1")
86
+
87
+ def test_failure_is_a_note_with_the_reason(self):
88
+ problem = self.step(FakeCtl(fail=True))
89
+ self.assertIn("did not answer within 120 s", problem)
90
+ self.assertIn("Open Folder", problem)
91
+
92
+
93
+ class OutcomeTest(unittest.TestCase):
94
+ def test_reads_the_first_outcome_line(self):
95
+ out = "some wine noise\nset: folders now open through winebrowser.exe (…).\n"
96
+ self.assertEqual(f.outcome(out), ("set", "set: folders now open through winebrowser.exe (…)."))
97
+
98
+ def test_no_outcome(self):
99
+ self.assertEqual(f.outcome("usage: questlog_ctl.exe …\n"), (None, "usage: questlog_ctl.exe …"))
100
+
101
+ def test_run_ctl_reports_a_ctl_without_an_answer(self):
102
+ import subprocess
103
+ from unittest import mock
104
+ done = subprocess.CompletedProcess([], 1, stdout="", stderr="wine: could not load\nprotontricks: app not found\n")
105
+ with mock.patch.object(f.shutil, "which", return_value="/usr/bin/protontricks-launch"), \
106
+ mock.patch.object(f.subprocess, "run", return_value=done), \
107
+ mock.patch("a2qlinux.launcher.CTL") as ctl:
108
+ ctl.is_file.return_value = True
109
+ with self.assertRaises(RuntimeError) as caught:
110
+ f.run_ctl("status")
111
+ self.assertIn("app not found", str(caught.exception))
112
+ self.assertIn("exit code 1", str(caught.exception))
113
+
114
+
115
+ # As Wine saves them in system.reg (copied from a game prefix).
116
+ SYSTEM_REG = r"""WINE REGISTRY Version 2
117
+ ;; All keys relative to \\Machine
118
+
119
+ [Software\\Classes\\folder\\shell\\open\\ddeexec] 1785139151
120
+ @="[ViewFolder(%l, %I, %S)]"
121
+
122
+ {handler}[Software\\Classes\\ftp] 1785139151
123
+ "URL Protocol"=""
124
+ """
125
+ OURS = r"""[Software\\Classes\\folder\\shell\\explore\\command] 1794570874
126
+ #time=1dd7365c0021084
127
+ @="\"C:\\windows\\system32\\winebrowser.exe\" \"%1\""
128
+
129
+ """
130
+ OTHER = r"""[Software\\Classes\\folder\\shell\\explore\\command] 1
131
+ @="other.exe %1"
132
+
133
+ """
134
+ NO_COMMAND = r"""[Software\\Classes\\folder\\shell\\explore\\command] 1
135
+
136
+ """
137
+
138
+
139
+ class RegistryStateTest(unittest.TestCase):
140
+ def state(self, handler):
141
+ import tempfile
142
+ from pathlib import Path
143
+ with tempfile.TemporaryDirectory() as folder:
144
+ path = Path(folder) / "system.reg"
145
+ path.write_text(SYSTEM_REG.format(handler=handler))
146
+ return f.registry_state(path)
147
+
148
+ def test_absent(self):
149
+ self.assertEqual(self.state(""), ("absent", None))
150
+
151
+ def test_ours_as_wine_saves_it(self):
152
+ self.assertEqual(self.state(OURS), ("ours", f.HANDLER_VALUE))
153
+
154
+ def test_someone_elses(self):
155
+ self.assertEqual(self.state(OTHER), ("other", "other.exe %1"))
156
+ self.assertEqual(self.state(NO_COMMAND), ("other", None))
157
+
158
+ def test_the_value_matches_questlog_ctl(self):
159
+ from pathlib import Path
160
+ source = (Path(__file__).resolve().parent.parent / "bridge" / "questlog_ctl.c").read_text()
161
+ line = next(l for l in source.splitlines() if l.startswith("#define HANDLER_VALUE"))
162
+ literal = line.split(" L", 1)[1].strip()[1:-1]
163
+ self.assertEqual(literal.replace('\\"', '"').replace("\\\\", "\\"), f.HANDLER_VALUE)
164
+
165
+
166
+ if __name__ == "__main__":
167
+ unittest.main()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes