1
General Discussion / Starsector Repo - Starsector Modding Repository
« on: January 13, 2020, 04:03:12 AM »
Hello everyone,
I'm developing a small sideproject to test a few new things for myself and I decided to make a Mods/Package repository for Starsector, with features like bundle packaging and proper tagging in mind.
For Modders:
You can let Starsector Repo make your mod available to download/tag/etc including a small snippet of code in the main post of the mod forum thread.
The system automatically checks the forum post of each mod and finds the download link/images etc by default, but everything the crawler does can be customized by the configuration code.
By default your mod WON'T be included in the repo. You need to add the repo_crawl = true configuration to allow the repo to interact with your mod.
Here's the base configuration. The only needed part for each config are the anchor tags and their content. The only required config is repo_crawl and it must be set to true.
Just add all or some of the code below in the main post of the mod forum thread and you are done!
Cleaned up for final implementation:
Absolute Barebone Config, but perfectly working:
Possible Tags (WIP, just for test, they will be changed/deprecated soon)
General:
Campaign:
Combat:
WIP interface
I'm developing a small sideproject to test a few new things for myself and I decided to make a Mods/Package repository for Starsector, with features like bundle packaging and proper tagging in mind.
For Modders:
You can let Starsector Repo make your mod available to download/tag/etc including a small snippet of code in the main post of the mod forum thread.
The system automatically checks the forum post of each mod and finds the download link/images etc by default, but everything the crawler does can be customized by the configuration code.
By default your mod WON'T be included in the repo. You need to add the repo_crawl = true configuration to allow the repo to interact with your mod.
Here's the base configuration. The only needed part for each config are the anchor tags and their content. The only required config is repo_crawl and it must be set to true.
Just add all or some of the code below in the main post of the mod forum thread and you are done!
Code
[color=transparent][size=1pt]
[anchor=repo_crawl]true[/anchor] Choose if Starsector Repo should crawl this page or not. [Default]: false. [Optional]: NO
[anchor=repo_category]mod[/anchor] Choose one between totalconversion, mod or utility. [Default]: Mod. [Optional]: YES
[anchor=repo_tags]exampletag1,exampletag2[/anchor] Mod tags separated by a comma. for the full list of possible Tags see http://fractalsoftworks.com/forum/index.php?topic=17654.0. [Default]: N/A. [Optional]: YES
[anchor=repo_title]Title[/anchor] Overrides the title/name found in the mod_json/version files. [Default]: Parsed from version or mod_json file. [Optional]: YES
[anchor=repo_abstract]Lorem ipsum dolor sit.[/anchor] Overrides the description found in the mod_json file. [Default]: Parsed from the mod_json file. [Optional]: YES
[anchor=repo_image]https://www.example.com/image.gif[/anchor] The main mod image (I like a gif here). [Default]: Parses the page for cool images. [Optional]: YES
[anchor=repo_config]data/exampleModConfig.json[/anchor] Specify the config file location of the mod in the main mod folder so it can be edited before downloading it from the repository. [Default]: N/A. [Optional]: YES
[anchor=repo_changelog]Lorem ipsum dolor sit.[/anchor] Specifies the changelog for the latest version. [Default]: N/A. [Optional]: YES
[anchor=repo_link]https://www.example.com/link-dl.zip[/anchor] The current version download link (must be direct). [Default]: Parses the page for probable download links. [Optional]: YES
[/size][/color]
Cleaned up for final implementation:
Code
[color=transparent][size=1pt]
[anchor=repo_crawl]true[/anchor]
[anchor=repo_category]mod[/anchor]
[anchor=repo_tags]exampletag1,exampletag2[/anchor]
[anchor=repo_title]Title[/anchor]
[anchor=repo_abstract]Lorem ipsum dolor sit.[/anchor]
[anchor=repo_image]https://www.example.com/image.gif[/anchor]
[anchor=repo_config]data/exampleModConfig.json[/anchor]
[anchor=repo_changelog]Lorem ipsum dolor sit.[/anchor]
[anchor=repo_link]https://www.example.com/link-dl.zip[/anchor]
[/size][/color]
Absolute Barebone Config, but perfectly working:
Code
[color=transparent][size=1pt]
[anchor=repo_crawl]true[/anchor]
[/size][/color]
Possible Tags (WIP, just for test, they will be changed/deprecated soon)
General:
Code
graphics,configurable,humorous,vanillafriendly,missions,library,devtool
Code
campaignfeatures,secrets,factions,quests,industry,planets,starsystems
Code
combatfeatures,ships,weapons,hullmods,shipsystems
WIP interface