Page 1 of 1

Put core and base and example mods on github

Posted: Mon May 15, 2017 8:32 pm
by sparr
It was recently brought to my attention (while discussing settings.lua) that some packagings of Factorio include an example mod and some do not. Getting a copy of this mod was an annoying step in figuring out how settings worked for me.

Along with requesting that that mod be made available somewhere publicly, preferably somewhere with revision tracking, I'd also like to ask that the core and base "mods" be put in a similar place. I would like to be able to fetch the base mod data programmatically (such as for a tool like https://factorio.rotol.me/), and to link to certain prototypes and other definitions when discussing factorio on forums/wikis/etc. I'd also like to be able to view diffs between different versions of the base mod, as a more thorough insight than the human readable changelog.

Re: Put core and base and example mods on github

Posted: Tue May 16, 2017 2:15 am
by Rseding91
Core and base are available as part of the headless server download https://www.factorio.com/download-headless/experimental. We don't have any example mods so I'm not sure what you're referring to with that.

Re: Put core and base and example mods on github

Posted: Tue May 16, 2017 3:33 pm
by sparr
Sorry, it's name is test, not example: viewtopic.php?f=34&t=32890&start=80#p260266 (and the next half dozen comments in that thread)

Regarding the headless download, I see data/licenses.txt for a whole bunch of subprojects, but no license for the whole distribution and your content. Is one available?

Re: Put core and base and example mods on github

Posted: Tue Apr 10, 2018 7:17 am
by sparr
Bump? I think I am not alone among mod authors who would find a changelog / commit history for the core / base / test files useful.

Re: Put core and base and example mods on github

Posted: Wed Apr 11, 2018 8:12 am
by bobingabout
they're already on github... if you have source access :P

Seriously, the main issue with doing this is they'll need updating constantly as the game updates, I don't think it's just as easy as you think. I'd just do what good old Rseding is saying and download the headless.

Re: Put core and base and example mods on github

Posted: Wed Apr 11, 2018 8:45 am
by sparr
bobingabout wrote:Seriously, the main issue with doing this is they'll need updating constantly as the game updates, I don't think it's just as easy as you think.
*I* can do it, and I'm not even a dev. I just don't have permission to do it. I could simply download each new version of factorio, unpack it, and commit the new contents. It wouldn't be nearly as graceful as taking something from their source control, but it would work.

Re: Put core and base and example mods on github

Posted: Wed Apr 11, 2018 11:16 am
by eradicator
sparr wrote:
bobingabout wrote:Seriously, the main issue with doing this is they'll need updating constantly as the game updates, I don't think it's just as easy as you think.
*I* can do it, and I'm not even a dev. I just don't have permission to do it. I could simply download each new version of factorio, unpack it, and commit the new contents. It wouldn't be nearly as graceful as taking something from their source control, but it would work.
That would also be illegal :P.

Re: Put core and base and example mods on github

Posted: Wed Apr 11, 2018 4:11 pm
by sparr
It would be just as easy, possibly easier, for them to do it, legally.

Re: Put core and base and example mods on github

Posted: Wed Apr 11, 2018 4:16 pm
by Bilka
Why do you want the mods on github?

Re: Put core and base and example mods on github

Posted: Wed Apr 11, 2018 6:04 pm
by sparr
I want to be able to post links on the forum and discord to specific lines/sections of the base mod.

I want to be able to point people at the test mod for things like mod setting examples.

I want to be able to look at a diff between two versions of base or core while reading the game changelog and/or while planning updates to my own mods.

Re: Put core and base and example mods on github

Posted: Tue Nov 27, 2018 11:19 pm
by sparr