garrysmod-issues icon indicating copy to clipboard operation
garrysmod-issues copied to clipboard

Script autorefresh is not working for Proton

Open PredatorCZ opened this issue 1 year ago • 4 comments

Autorefresh on script modify is not being registered for Compatiblity modes (native works fine).

Tried Proton Experimental and GE8-16

This might be wine issue (maybe I need to set some env var)?

PredatorCZ avatar Jan 02 '24 22:01 PredatorCZ

I don't know if there's anything I can really do about it. It works on Windows and native Linux builds as far as I know. This is probably an issue with Proton itself.

robotboy655 avatar Jan 04 '24 17:01 robotboy655

I used proton about a month ago and autorefresh works fine, i think its not gmod or proton bug

MaslovKK avatar Jan 06 '24 01:01 MaslovKK

I'm adding log header

Proton: 1697712483 proton-8.0-4c
SteamGameId: 4000
Command: ['/home/lukas/.steam/debian-installation/steamapps/common/GarrysMod/hl2.exe', '-steam', '-game', 'garrysmod']
Options: {'forcelgadd', 'gamedrive'}
depot: 0.20231107.66301
pressure-vessel: 0.20231107.1 scout
scripts: 0.20231107.1
sniper: 0.20231107.66301 sniper 0.20231107.66301
Kernel: Linux 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64
Language: LC_ALL None, LC_MESSAGES None, LC_CTYPE None

Gmod folder and scripts are stored on my host ext4 drive. No symlinks to script files. reload_materials 1 is also not working. I also found problem with refreshing effects (inside lua/effects) where lua_reloadents (I guess effects are not treated as ents) isn't refreshing some sections (I believe think and render hooks)

PredatorCZ avatar Jan 12 '24 20:01 PredatorCZ

I have tested this on the Steam Deck and I cannot replicate. The issue is most likely lacking permissions in the runtime for Steam or your Linux configuration is funky.

sr229 avatar Mar 02 '24 15:03 sr229