Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: Steam Workshop Support #241

Open
eterlan opened this issue May 17, 2022 · 7 comments
Open

[Enhancement]: Steam Workshop Support #241

eterlan opened this issue May 17, 2022 · 7 comments
Labels
Improvement New feature or request Planned This issue is planned to be worked on Suggestion

Comments

@eterlan
Copy link

eterlan commented May 17, 2022

Describe the new feature or enhancement

Thanks for your great plugin! It would be nice if I can hide the console or customize Mod path in the user config file, how do you think about that?

@slxdy
Copy link
Contributor

slxdy commented May 17, 2022

At the moment, it's already possible to hide the console using the --melonloader.hideconsole launch argument (however I still feel like it should be a config, and the configs themselves should become more exposed).

For the custom Mods path config, could you give a few examples to prove that it would be useful in any way?

@TrevTV
Copy link
Contributor

TrevTV commented May 17, 2022

You can change the main directory for all of MelonLoader's folders (including Mods) by giving a directory alongside --melonloader.basedir, though you still need version.dll in the game's directory to load it and have everything else in a different folder.

@eterlan
Copy link
Author

eterlan commented May 18, 2022

At the moment, it's already possible to hide the console using the --melonloader.hideconsole launch argument (however I still feel like it should be a config, and the configs themselves should become more exposed).

For the custom Mods path config, could you give a few examples to prove that it would be useful in any way?

Thanks for reply! Actually I'm develop a game, and I would like to use Steam workshop, which use different folder in steamapp/workshop/xxx1/dll, so..
Another question is may I control which mod to load? Do you have any API to control this?

@eterlan
Copy link
Author

eterlan commented May 18, 2022

You can change the main directory for all of MelonLoader's folders (including Mods) by giving a directory alongside --melonloader.basedir, though you still need version.dll in the game's directory to load it and have everything else in a different folder.

Thanks for reply! Good to know that.

@loukylor
Copy link
Contributor

At the moment, it's already possible to hide the console using the --melonloader.hideconsole launch argument (however I still feel like it should be a config, and the configs themselves should become more exposed).
For the custom Mods path config, could you give a few examples to prove that it would be useful in any way?

Thanks for reply! Actually I'm develop a game, and I would like to use Steam workshop, which use different folder in steamapp/workshop/xxx1/dll, so.. Another question is may I control which mod to load? Do you have any API to control this?

There is no set API, given that mods initialize sequentially, so it wouldn't make much sense to have a mod stop the initialization of another. However, a simple way to do this is to just use a plugin and move any mods you don't want to load can be moved out of the mod folder (possibly into a subfolder or completely separate folder).

Another way that gives more flexibility (like disabling mods at runtime) would be to create your own set of events for mods to subscribe to.

@HerpDerpinstine HerpDerpinstine changed the title [Enhancement]: Any plan to support more customization? [Enhancement]: Steam Workshop Support Oct 11, 2022
@HerpDerpinstine HerpDerpinstine added the Planned This issue is planned to be worked on label Oct 11, 2022
@HerpDerpinstine HerpDerpinstine added Work-in-Progress This issue or pull request is being worked on currently and removed Planned This issue is planned to be worked on labels Oct 11, 2022
@HerpDerpinstine HerpDerpinstine modified the milestones: 0.5.7, 0.6.0 Oct 11, 2022
@HerpDerpinstine HerpDerpinstine added Planned This issue is planned to be worked on and removed Work-in-Progress This issue or pull request is being worked on currently labels Oct 14, 2022
@HerpDerpinstine HerpDerpinstine added the Improvement New feature or request label Oct 29, 2022
@HerpDerpinstine HerpDerpinstine removed this from the 0.6.0 milestone Jan 9, 2023
@slxdy
Copy link
Contributor

slxdy commented Jan 22, 2025

@HerpDerpinstine This one can be closed imo

@HerpDerpinstine
Copy link
Member

@HerpDerpinstine This one can be closed imo

Might be a good idea for the future to check for Steam API and scan workshop folders for Melon folders.
Would extend our integration with games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement New feature or request Planned This issue is planned to be worked on Suggestion
Projects
None yet
Development

No branches or pull requests

5 participants