csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Loading annotations using the console commands fails under Linux

Open ElgMoes opened this issue 8 months ago • 6 comments

System information

Kernel Name: Linux
Kernel Version: 6.19.8-zen1-1-zen
Desktop session: Hyprland
Launch options:
    gamescope \
        -f -w 2560 -h 1440 -r 165 \
        --force-grab-cursor \
        -- \
        env LD_PRELOAD="$LD_PRELOAD" \
        PULSE_LATENCY_MSEC=60 \
        SDL_AUDIO_DRIVER=pulse \ 
        %command% \
        +mat_queue_mode 2 \
        -high -preload \
        > ~/logs/steam_launch.log 2>&1

Loading annotations using the console commands fails under Linux

The same error occurs on my friends system, who is running Linux Mint

Using annotation_save testGuide it saves the annotations correctly at annotations/local/testGuide/testGuide.txt, apart from the issue #3905, which is not the scope here.

After this you can manually edit the annotations or send them to others. You can reload the annotations using annotation_reload or you can load it using annotation_load testGuide. Both of these will result in the following error:

> annotation_reload
Annotation: Cleared 9 annotations
[Filesystem] Unknown read error 21
Annotation: Error loading file  : Missing file ''
> annotation_load testGuide
Annotation: Cleared 0 annotations
[Filesystem] Unknown read error 21
Annotation: Error loading file  : Missing file ''

I have tried using different arguments for annotations_load, including

  • testGuide
  • testGuide.txt
  • testGuide/testGuide.txt
  • local/testGuide/testGuide.txt
  • annotations/local/testGuide/testGuide.txt
  • Full path from root

None of these worked, and all returned the same error.

ElgMoes avatar Mar 20 '26 01:03 ElgMoes

same problem on windows 11

Kiszonyyy avatar Mar 22 '26 03:03 Kiszonyyy

broked after latest update with annotations

Kiszonyyy avatar Mar 22 '26 03:03 Kiszonyyy

same problem on the most recent build on windows 11 :/

Lucas-Haux avatar Apr 28 '26 18:04 Lucas-Haux

I was able to fix it by verifying the integrity of game files within the cs2 properties located in steam

Lucas-Haux avatar Apr 28 '26 19:04 Lucas-Haux

Image

You can now load these files in the pause menu.

valve-developer avatar May 30 '26 22:05 valve-developer

I made a tool to fix files created on linux: https://gist.github.com/Lolmerkat/7cd9c56ad13dd1945e8ff12d2dd91704

Lolmerkat avatar Sep 08 '26 18:09 Lolmerkat