Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Mod management #2

Open
AWildErin opened this issue Sep 16, 2022 · 12 comments · May be fixed by #12
Open

Mod management #2

AWildErin opened this issue Sep 16, 2022 · 12 comments · May be fixed by #12

Comments

@AWildErin
Copy link
Owner

Allow users to create source mods and set them up correctly. Can probably make it download the template repo or something

@Trico-Everfire
Copy link
Contributor

Would this be extra buttons or a separate window that'd allow you to configure the source mod?

@AWildErin
Copy link
Owner Author

separate window that'd allow you to config the source mod really

@Trico-Everfire
Copy link
Contributor

for Chaos source mods or P2CE source mods? or just, any source game? idk this is called SDKLauncher, doesn't specify for what exactly, I assume Chaos?

@AWildErin
Copy link
Owner Author

AWildErin commented Sep 20, 2022

Chaos only, specifically for p2ce though I suppose you could theoretically do it for any chaos games

@Trico-Everfire
Copy link
Contributor

I mean, that's where the difficulty lies, if it's P2CE specific, we can likely ship a ZIP it unpacks with the source mod, if it's Chaos we need to find a way to fetch any chaos game that has modding support and append that to the list of sourcemod options somehow.

@Trico-Everfire
Copy link
Contributor

unless I am just over complicating things greatly.

@AWildErin
Copy link
Owner Author

Or just download the template repo? There's a direct download url you can do and you can ultimately just make use of that

@Trico-Everfire
Copy link
Contributor

for P2CE? doesn't that require git to clone?
even if it' directly downloaded, it'd still be a zip that needs unpacking.

@AWildErin
Copy link
Owner Author

No, it doesn't require git to clone. And while yes it'd need to be unpacked, it'd still be the most up-to-date rather than shipping a zip with each build.

@Trico-Everfire
Copy link
Contributor

That's true. Luckily, QT provides a neat little network package that'd allow us to fetch and download it. it's gonna be quite a process to make work, but I can try my best.

@Trico-Everfire
Copy link
Contributor

Trico-Everfire commented Sep 21, 2022

I have an idea for the best of both worlds, can it be done where chaos applications like P2CE and Momentum have a file in their root called sourcemod (no extension), it's a plain text file with a link to the sourcemod repo, this way we can scan for this file and fetch the sourcemod, and if there are chaos games in the future they can follow suit or leave the file out, if it can't be found, it won't show up as an option.

@Trico-Everfire
Copy link
Contributor

I am curious, what library would be used to zip/unzip the zip files brought on by github?

@Trico-Everfire Trico-Everfire linked a pull request Dec 26, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants