Source 2, anybody?

All other Source.Python topics and issues.
User avatar
khaimovmr
Member
Posts: 51
Joined: Fri Aug 25, 2017 3:15 am
Contact:

Source 2, anybody?

Postby khaimovmr » Fri Mar 24, 2023 1:45 pm

Hey!
@Ayuto - do you plan to make source-python compatible with it?
User avatar
Articha
Member
Posts: 31
Joined: Tue Sep 21, 2021 12:13 pm
Location: Russia

Source 2

Postby Articha » Sun Mar 26, 2023 5:17 pm

We all preparing to that. Get ready to improve open-source SP2 as well
User avatar
Ayuto
Project Leader
Posts: 2189
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Source 2, anybody?

Postby Ayuto » Tue Mar 28, 2023 4:42 pm

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.
User avatar
khaimovmr
Member
Posts: 51
Joined: Fri Aug 25, 2017 3:15 am
Contact:

Re: Source 2, anybody?

Postby khaimovmr » Thu Jul 06, 2023 12:08 pm

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.
User avatar
Ayuto
Project Leader
Posts: 2189
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Source 2, anybody?

Postby Ayuto » Thu Jul 06, 2023 8:29 pm

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.
User avatar
khaimovmr
Member
Posts: 51
Joined: Fri Aug 25, 2017 3:15 am
Contact:

Re: Source 2, anybody?

Postby khaimovmr » Sun Jul 09, 2023 7:08 pm

Thanks for the bread crumbs

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests