openage icon indicating copy to clipboard operation
openage copied to clipboard

Integration with mod.io ecosystem

Open simonsan opened this issue 6 years ago • 1 comments

There was a comment a while ago, that I couldn't find any more, that was proposing to integrate with mod.io for easier distribution of modpacks/assetpacks. I wanted to bring that up and put that on the table again, as I read a bit about it and find the concept quite nice:

src https://static.mod.io/v1/images/home/sdk.png

We could make use of

  • their open source C/C++ SDK within the engine (probably not needed due to our own modding API+nyan),
  • a python wrapper for organising mods within the launcher or from inside other python modules,
  • the rust interface for the server-side implementation (that I assume here will be written in rust, but we still didn't agree on this) or
  • if we are eager to have total freedom of dependencies we could just make direct use of their REST API and implement the rest ourselves.

Here are some more details on the general implementation.

There was the idea that I kind of liked to share mods via p2p in #371. But I don't know how relevant that still is in a dedicated server setup. It could be kind of a fallback solution though if we would be eager to implement a p2p-fallback-system for multiplayer.

Update: jj was setting up openage at mod.io.

simonsan avatar Nov 08 '19 06:11 simonsan

In addition: Support a Mod ID like a Course ID in Super Mario Maker 2

You create a a super-hard scenario, upload it from in-game via uploadMod() to a separate scenario-space for this purpose at openage.mod.io. You share the scenario ID we generate from it with your friends and other people. The ID could look something like 6GT-80M-DHF.

With this scenario id we could make it super easy to start a scenario without the conscious use of the mod browser. Just start the openage launcher, paste/put in the scenario ID and the launcher takes care of setting up the openage environment (mods, assets, AI etc.) to play this scenario and launches directly into it.

After playing the scenario you can chose if you want to publish your score in your account and by that also in the communities that you were allowing read these kind of information (Solid POD, Mastodon approach). Around this stuff could be developed nice community activities with small ranking etc.

simonsan avatar Nov 12 '19 11:11 simonsan