E1337Kat / cyberpunk2077_ext_redux

A rework of the cyberpunk vortex extension
GNU General Public License v3.0
35 stars 17 forks source link

Feature: Let mod developers provide information for Vortex #378

Open manavortex opened 10 months ago

manavortex commented 10 months ago

Motivation

Many mods have requirements that Vortex could easily handle if it only knew about them, such as:

This ticket should serve as a discussion thread to channel this process away from the Vortex dev team and manual support requests.

Solution: Manifest

The easiest way I can see is if mod users could provide a sort of manifest file in json or yaml. Vortex could parse that upon deployment and consider the information, such as (for example)

Other solutions

Additional context

Every mod using this feature could be removed from Vortex's list of exceptions for REDMod conversion. Regardless, the usual checks and balances would have to apply.

E1337Kat commented 9 months ago

If the mod has a json manifest of some sort that is standardized, all of that is quite feasible in the vortex extension. Part of me feels like this sounds like FOMOD things, which might also be a solution? The only issue with the FOMOD is that it bypasses our extension, which is fine if the mod author puts things where they go.

A checkbox during Nexus file upload "allow REDMod conversion" and set it to true by default. This is probably not feasible because Nexus would have to store it in their database?

Ya, we don't really have any access to changes on the Nexus side of things, but we might be able to get something added if it were generic enough.

manavortex commented 9 months ago

Don't think FOMOD integration is feasible, let's keep this simple - the plugin can probably parse these files? We'd have to come up with a shared structure :)

You could maybe talk to the Nexus guys and ask about it? Maybe it'd be possible to have a few optional fields per mod, which could then be configured for different games somehow? (Not sure about the standard value btw)

E1337Kat commented 9 months ago

I like the idea the more I am turning it over in my head. A json manifest would be good since we already have json parsing in the extension. Given the examples in the OP, it'd be good to have a list of options and default values as needed. I haven't looked into the uninstaller on Vortex, so I am unsure if we can hook into it or not. Hopefully we can, because that'd be quite nice.