Multiple mod versions
Currently, Northstar does not support multiple mod versions, i.e. a single mod being installed several times with different versions.
In the Northstar repositories, launcher and mods pull requests have been opened to fix this issue; however, they change the enabledmods.json file format:
From
{
"Northstar.Client": true,
"Northstar.Coop": true,
"Northstar.CustomServers": true,
"Northstar.Custom": true,
"MRVN Shake It": true,
"Titan Payload": false,
"Parkour": true
}
To
{
"Version": 1,
"Northstar.Client": {
"1.19.0": true
},
"Northstar.Coop": {
"0.0.0": true
},
"Northstar.CustomServers": {
"1.19.0": true
},
"Northstar.Custom": {
"1.19.0": false
},
"Parkour": {
"0.1.2": false,
"0.2.1": true
},
"MRVN Shake It": {
"0.0.1": true
},
"Titan Payload": {
"1.2.0": false
}
}
It would be great if VTOL had the capacity to adapt to this new enabledmods.json format.
The day hath come.
Changes already in new ver to be shipped. :D
Currently, Northstar does not support multiple mod versions, i.e. a single mod being installed several times with different versions. In the Northstar repositories, launcher and mods pull requests have been opened to fix this issue; however, they change the
enabledmods.jsonfile format:From
{ "Northstar.Client": true, "Northstar.Coop": true, "Northstar.CustomServers": true, "Northstar.Custom": true, "MRVN Shake It": true, "Titan Payload": false, "Parkour": true }To
{ "Northstar.Client": { "1.19.0": true }, "Northstar.Coop": { "0.0.0": true }, "Northstar.CustomServers": { "1.19.0": true }, "Northstar.Custom": { "1.19.0": false }, "Parkour": { "0.1.2": false, "0.2.1": true }, "MRVN Shake It": { "0.0.1": true }, "Titan Payload": { "1.2.0": false } }It would be great if VTOL had the capacity to adapt to this new
enabledmods.jsonformat.
Also, added is there any format changes you need for Mod packages?
Also, added is there any format changes you need for Mod packages?
The idea is to ship this mod versions change in the next release; regarding mod packages change, PRs are not ready, so I think we will ship these in a more distant future
Copy/pasting Viper comment here since it's relevant
On game start, proposed launcher modification will migrate
enabledmods.jsonformat to new format, using the existing configuration if possible.VTOL, on its end, should enable/disable mods in the
enabledmods.jsonfile regarding the format it is following.[NB] I omitted to mention an important element: new manifest format involves a
"Version"member, which is set to1for this newmodName => modVersion => enabledformat; if no"Version"member is present or its value is0, then old format (modName => enabled) should be assumed.
Fixed