Page 1 of 1

Source 2, anybody?

Posted: Fri Mar 24, 2023 1:45 pm
by khaimovmr
Hey!
@Ayuto - do you plan to make source-python compatible with it?

Source 2

Posted: Sun Mar 26, 2023 5:17 pm
by Articha
We all preparing to that. Get ready to improve open-source SP2 as well

Re: Source 2, anybody?

Posted: Tue Mar 28, 2023 4:42 pm
by Ayuto
Sorry for the late reply. I read it, but didn't have time to reply and then I forgot it :rolleyes:

We haven't discussed that internally, yet. But I guess this will be a big thing due to the following points:
  1. We need a new reverse engineered SDK. The guys at AlliedModders will probably be working hard on this and we might be able to help. Though, Valve originally announced to release the engine code for free. Not sure if/when that is really going to happen.
  2. We would need to make Source.Python x64 compatible as I guess Source 2 will be x64 only. This means we also need to make DynamicHooks compatible with x64. Not sure how much work this is as I haven't really investigated hooking x64 functions. Calling shouldn't be a big deal as DynCall supports x64.
Currently, I don't have enough time to actually work on this as I have too many things I'm interested in and I only have 24 hours a day :frown: Unfortunately, I already had very less spare time for Source.Python in the last two years. I still check the forum on a daily basis, but I'm very slow in responding and even more in fixing or developing new stuff.

Re: Source 2, anybody?

Posted: Thu Jul 06, 2023 12:08 pm
by khaimovmr
Hi, @Ayuto!
About the 1-th item.
What skillset do I need to have, to be able to help guys with the SDK?
If we could determine such skills - it would be much easier to make the CSGO to CS2 Python Plugin transition much faster.

Re: Source 2, anybody?

Posted: Thu Jul 06, 2023 8:29 pm
by Ayuto
There ist already a PR which started the work on it:
https://github.com/alliedmodders/hl2sdk/pull/125

To help you will need a good understanding of C++, IDA Pro/Ghidra (or something similar) and how the compiler translates C++ code into machine code.

Re: Source 2, anybody?

Posted: Sun Jul 09, 2023 7:08 pm
by khaimovmr
Thanks for the bread crumbs

Re: Source 2, anybody?

Posted: Thu Oct 12, 2023 4:42 pm
by velocity
Imagine how popular SourcePython would be if it is available for CS2 before SourceMod or any other platform that matter.

Re: Source 2, anybody?

Posted: Fri Oct 13, 2023 1:40 am
by Articha
Wake up, Source.Python based on SourceMod

Re: Source 2, anybody?

Posted: Mon Oct 16, 2023 10:06 am
by Predz
Haha would be nice, but Source.Python is separate to SourceMod. Source.Python uses a totally separated module to handle memhooks (does not currently support x64) and has no reliance on Metamod.

I have been writing a few plugins based upon Metamod over the last couple of weeks but without a valid HL2SDK it has not been smooth sailing. All parties will need to wait for this https://github.com/alliedmodders/hl2sdk/tree/cs2 to be updated before really going anywhere.

Re: Source 2, anybody?

Posted: Mon Oct 16, 2023 10:08 am
by Predz
Take a look here if you want a breakdown of the awesome work the community is doing :) https://github.com/alliedmodders/hl2sdk/issues/132