Source 2, anybody?

All other Source.Python topics and issues.
User avatar
khaimovmr
Member
Posts: 53
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: 32
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: 2197
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: 53
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: 2197
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: 53
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
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Re: Source 2, anybody?

Postby velocity » Thu Oct 12, 2023 4:42 pm

Imagine how popular SourcePython would be if it is available for CS2 before SourceMod or any other platform that matter.
User avatar
Articha
Member
Posts: 32
Joined: Tue Sep 21, 2021 12:13 pm
Location: Russia

Re: Source 2, anybody?

Postby Articha » Fri Oct 13, 2023 1:40 am

Wake up, Source.Python based on SourceMod
Predz
Senior Member
Posts: 158
Joined: Wed Aug 08, 2012 9:05 pm
Location: Bristol, United Kingdom

Re: Source 2, anybody?

Postby Predz » Mon Oct 16, 2023 10:06 am

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.
Predz
Senior Member
Posts: 158
Joined: Wed Aug 08, 2012 9:05 pm
Location: Bristol, United Kingdom

Re: Source 2, anybody?

Postby Predz » Mon Oct 16, 2023 10:08 am

Take a look here if you want a breakdown of the awesome work the community is doing :) https://github.com/alliedmodders/hl2sdk/issues/132
DeaD_EyE
Member
Posts: 35
Joined: Wed Jan 08, 2014 10:32 am

Re: Source 2, anybody?

Postby DeaD_EyE » Sun Apr 21, 2024 3:07 pm

Articha wrote:Wake up, Source.Python based on SourceMod


No. It requires the new non-existing SDK. Souce.Python does not require metamod nor sorcemod.
AFIK the team behind sourcemod and metamod published an SDK. This SDK is used to compile Source.Python for the different mods.


Valve has obviously completely forgotten what made Valve so great. It was the modding community. Without the community, there would be no Gun Game, for example, even if the idea is pretty trivial.
User avatar
khaimovmr
Member
Posts: 53
Joined: Fri Aug 25, 2017 3:15 am
Contact:

Re: Source 2, anybody?

Postby khaimovmr » Mon Apr 29, 2024 9:43 pm

DeaD_EyE wrote:
Articha wrote:Wake up, Source.Python based on SourceMod

Valve has obviously completely forgotten what made Valve so great. It was the modding community. Without the community, there would be no Gun Game, for example, even if the idea is pretty trivial.

absolutely aggree. custom maps and training servers are the product of the modding community.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest