GitHub for Content

Post your suggestions here
ddmx
Posts: 5294
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

GitHub for Content

Postby ddmx » Fri Apr 10, 2020 2:31 am

So apologies in advance if this is a bit naive. Could you upload SAF files to GitHub and then use a similar install package routine within Sim to download and install content? Those familiar with the structure of GitHub could imagine the possibilities of bundling, versioning, etc.

David
The MXS 1%

jlv
Site Admin
Posts: 13792
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: GitHub for Content

Postby jlv » Fri Apr 10, 2020 2:40 am

Probably be best to not bother with saf if you wanted to use git. Just checkout directly to your mx sim directory. It could be a good way to work for a collaborative track effort.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.

ddmx
Posts: 5294
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: GitHub for Content

Postby ddmx » Fri Apr 10, 2020 2:54 am

JLV - not quite following you there. I was imagining a git integration with sim. For instance, log into a server and get kicked out because you don’t have the track. Jump into the chat and “/install.package sx2020anaheim2” and it automatically starts downloading. Similarly, all 2019 six tracks could be downloaded as a package which includes additional packages.

David
The MXS 1%

jlv
Site Admin
Posts: 13792
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: GitHub for Content

Postby jlv » Fri Apr 10, 2020 3:27 am

OK. I thought you meant multiple people working on one project and managing their updates in a single tree. For regular track downloads git would be a waste since there's no need for the fancy merging features. Curl would do fine. I know I should add autodownload to the game. I dread the copyright disputes I'll have to deal with though.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.

User avatar
Jeremy150
Posts: 2262
Joined: Mon Jul 30, 2012 9:56 am
Team: MV Films

Re: GitHub for Content

Postby Jeremy150 » Fri Apr 10, 2020 2:19 pm

jlv wrote:...I dread the copyright disputes I'll have to deal with though...

Assuming you are referring to people with "private tracks"

Would you be able to have it only enabled on official servers? I could see this being a huge benefit for the elsinore servers, and our race/qualifying servers.
Image

User avatar
Jones221
Posts: 5256
Joined: Wed Mar 04, 2009 4:11 am
Location: California

Re: GitHub for Content

Postby Jones221 » Fri Apr 10, 2020 4:34 pm

Alternative route if worried about copyright. But auto download would be awesome.

https://youtu.be/0U2REMdpP9E

A content manager/launcher app similar to Assetto Corsa would be nice.
only one to win something real from the game!

model_90
Posts: 1050
Joined: Tue Jul 15, 2014 11:22 pm
Team: Heemlock

Re: GitHub for Content

Postby model_90 » Fri Apr 10, 2020 11:38 pm

Jones221 wrote:Alternative route if worried about copyright. But auto download would be awesome.

https://youtu.be/0U2REMdpP9E

A content manager/launcher app similar to Assetto Corsa would be nice.


yes!!! this would be incredible to see
Peters as sharp as a mouse dick-Ol' PizzaChet
Image

jlv
Site Admin
Posts: 13792
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: GitHub for Content

Postby jlv » Sat Apr 11, 2020 1:23 am

Jeremy150 wrote:
jlv wrote:...I dread the copyright disputes I'll have to deal with though...

Assuming you are referring to people with "private tracks"

Would you be able to have it only enabled on official servers? I could see this being a huge benefit for the elsinore servers, and our race/qualifying servers.

Sending files out over UDP is really slow so I figured I'd make a centralized http download server that'd handle the downloads for all servers. I was expecting that letting random users upload tracks would be a requirement. It didn't occur to me to just punt and only let a small handful of people upload. That would make it much less of a headache.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.

User avatar
LKR47
Posts: 870
Joined: Fri Jan 18, 2013 4:26 am
Team: LCQ Studios
Location: Chicago, Illinois
Contact:

Re: GitHub for Content

Postby LKR47 » Sat Apr 11, 2020 5:14 pm

I am using a service called mod.io. It's basically a database for user-created content that allows you to moderate the content that is being uploaded. I currently have it set up in my project to download the skins of other players asynchronously after the online scene has loaded so I imagine it could work for tracks too. The only problem (possibly) is it requires all requests to be over TLS so TCP is required. They do have c/c++ and python apis as well as a few others.

The most well-known game using it right now is probably Descenders.

You'd probably want to write your own solution, but just a thought.
Image

ddmx
Posts: 5294
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: GitHub for Content

Postby ddmx » Tue May 05, 2020 11:41 pm

Would you be able to do a short forum write up on your implementation of mod.io ? Sounds interesting if it works pretty seamlessly.

David
The MXS 1%


Return to “Suggestion Box”

Who is online

Users browsing this forum: No registered users and 2 guests