-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kickstart this repo #1
Comments
I can convert every js file to a typescript file |
Happy to see things moving forward 👍 My 2 cents regarding which fork to work off of: It really depends on what folks are more comfortable doing. The main reason to go with mine is that the NAPI conversion is done and it's compatible with Steamworks v1.53a (currently shipping in my games depots on all OS's). So the choices are:
For option 1 - Once the main api file is split into multiple files, it should involve a bunch of smaller, mostly separate changes, where we re-implement the missing apis. My view: I'm not interested in doing the NAPI conversion a second time 😓 , so someone else should take up the mantle for that if option 2 is chosen. I'm happy to code review it though! |
I think we should also move this issue to discussions and use projets to plan things |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@Spacetech @Gurigraphics Please, open a separate issue, thanks |
So, guys, what are you working on ? Can I have some feedback here |
What do you guys think about add greenworks on npm? So we can have a better version management and add files to be ignored on publish. |
I do believe this is a really cool idea, but I'm not sure if Valve will allow that. I asked on the Steamworks forum if it would be okay to host SDK files on a public repository. I'll keep an eye on this. In the meantime, @Armaldio, if you want I can send you the latest SDK versions you need via e-mail. |
It seems a regular account (which I have) is able to download the steamworks SDK, so I have the files ;) |
Sorry for the lack of updates. I have just had a chance to skim through the whole codebase - it seems that Spacetech's fork is really old and is missing several APIs (and have some extra). I wonder whether it makes sense to move forward with Greenworks's repo instead? @Armaldio Apart from a newer (and maybe better) API, are there other benefits of using NAPI instead of NAN, especially w.r.t CI setup? For me, I am inclined to add the missing feature onto Greenwork's repo and postpone the migration to NAPI - after all, most game developers won't benefit directly from the API migration and it's a lot of extra work. |
Isn't the missing APIs are a matter of copy pasting ?
|
I see. So I have compared these two codebases - Spacetech's fork is very dated and these two forks diverge a lot. So trying to reconcile the difference seems to be a lot of work. Adding missing API is not simply "a matter of copy paste" unfortunately. If moving to NAPI is a must, then there are two options:
Both are quite a lot of work and will take time to get there - I was thinking in the meantime, does it make sense to start to add missing features to Greenwork's repo so that game developers would have access to the new Steamworks API in the near future? |
😞 I'm not gonna work on c++ parts, so in the end, it's your call |
I'm testing FFI-NAPI. This is 50x simpler Have you guys already tested this? I've seen in the benchmarks that FFI is a little slower. |
Following the discussion here greenheartgames/greenworks#306 , here's the plan to kickstart this repo.
greenheartgames/greenworks
@insraq (Maybe @Spacetech can help as well)If during the above work, anyone feels that
greenheartgames/greenworks
is a better base to work on instead of this fork, we can switch to that one as well.The text was updated successfully, but these errors were encountered: