goldsrc-monitor icon indicating copy to clipboard operation
goldsrc-monitor copied to clipboard

Linux support

Open Nord1cWarr1or opened this issue 2 years ago • 6 comments

Can you make a Linux build?

Nord1cWarr1or avatar Apr 19 '23 17:04 Nord1cWarr1or

This needs discussion, because:

  1. We don't have mechanism to inject libraries to process on Linux (but maybe we can implement it?)
  2. "Proxy mode" not implemented yet. It provides way to do all things without even injecting/hooking library. Also it will work on any platform. I'm not sure which way is easier to implement, but probably 2nd way will be easier and also more reliable. Anyway, there is a lot of refactoring needed to get rid of Windows-specific code, so it'll be not soon.

SNMetamorph avatar Apr 20 '23 09:04 SNMetamorph

@SNMetamorph sure. Just keep it in mind, that we need a Linux version :)

Nord1cWarr1or avatar Apr 20 '23 09:04 Nord1cWarr1or

@Nord1cWarr1or can some of people test it in actual GoldSrc game on Linux? By myself I can test only is it compiles or not.

SNMetamorph avatar Apr 20 '23 12:04 SNMetamorph

@Nord1cWarr1or can some of people test it in actual GoldSrc game on Linux? By myself I can test only is it compiles or not.

I can.

Nord1cWarr1or avatar Apr 20 '23 15:04 Nord1cWarr1or

1. We don't have mechanism to inject libraries to process on Linux (but maybe we can implement it?)

2. "Proxy mode" not implemented yet. It provides way to do all things without even injecting/hooking library. Also it will work on any platform.
   I'm not sure which way is easier to implement, but probably 2nd way will be easier and also more reliable.
   Anyway, there is a lot of refactoring needed to get rid of Windows-specific code, so it'll be not soon.

I did some refactoring for both these aspects. Now there is not as much needed work for adding Linux support as it can be :)

SNMetamorph avatar Apr 25 '23 21:04 SNMetamorph

Great job man

Nord1cWarr1or avatar Apr 26 '23 04:04 Nord1cWarr1or