- Newest
- Most votes
- Most comments
Gamelift does not vend server sdk in any other language apart from C++ or C#. Thus we currently have no server sdk support for rust.
Regarding using C-bindings within Rust project, Gamelift team has not tested this and confirmed it to work with gamelift. I would say it is worth a try if it reduces the effort significantly.
Ok, got it.
There is another idea - just rewrite a piece of AWS GameLift Server SDK in Rust. Unfortunately, they use Google Protobuf for their API but don't provide original Protobuf files in their SDK - only already generated sources.
Is it possible to somehow ask AWS GameLift team to publish original Protobuf files? It will be much easier to implement with that own SDK in Rust.
https://github.com/neguse/gomelift/blob/master/pkg/proto/pbuffer/sdk.pb.go
The unofficial go sdk may help?
EDITED: hmm, it's already generated file too. Maybe I need to ask the author of gomolift about providing the original sdk.proto file
I see at least one completely the same request 3 years ago: https://forums.awsgametech.com/t/can-you-please-distribute-sdk-proto-instead-of-sdk-pb-h/2347
Still no any progress yet :(
Hi. I'm author of gomelift, an unofficial GameLift ServerSDK for Go.
When I developed gomelift, I used this sdk.proto file. https://github.com/dplusic/GameLift-Server-Protobuf He also provides an unofficial GameLift ServerSDK for Node.js. https://github.com/dplusic/GameLift-Nodejs-ServerSDK
I am also hoping that AWS will provide the sdk.proto file officially. This is because even if we use the official SDK as it is, it will be difficult to upgrade the protocol buffers library.
Thanks! 😄
https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-integrate-gameserver.html I haven't tried it, so I can't be sure, but by using GameLift FleetIQ instead of Managed GameLift, it may be possible to launch GameLift servers in all languages for which AWS SDKs are provided. FleetIQ requires you to manage the startup and scaling of EC2 instances to a certain extent, so it may take more time than Managed GameLift, but it seems to be more flexible.
The official AWS SDK for Rust has just been released and does not yet include support for GameLift. https://github.com/awslabs/aws-sdk-rust
On the other hand, rusoto, the unofficial AWS SDK for Rust, seems to have support for GameLift, including FleetIQ feature. https://docs.rs/rusoto_gamelift/0.46.0/rusoto_gamelift/
Thanks for sharing this! I will try to use it.
Since yesterday was released an official AWS SDK for Rust, I will create there an issue about AWS GameLift Server SDK for Rust and publishing Protobuf files. Who knows, maybe this time they will see and do something :)
If anyone is interested - my version of AWS GameLift Server SDK for Rust is here: https://github.com/ZaMaZaN4iK/aws-gamelift-server-sdk-rs
It's under active testing, but I already successfully tested it with GameLift Local and on the real GameLift fleet. Any suggestions and contributions are welcome!
Also you can be interested in Docker images for building Rust for GameLift: https://github.com/ZaMaZaN4iK/aws-gamelift-rust-buildimage
Great and feel free to submit a PR to https://github.com/favoyang/awesome-gamelift
Relevant content
- asked 8 months ago
- asked a year ago
- asked 8 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago