Support 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](https://github.com/R2Northstar/NorthstarLauncher/pull/828) and [mods](https://github.com/R2Northstar/NorthstarMods/pull/903) pull requests have been opened to fix this issue; however, they change the `enabledmods.json` file format:
#### From
```json
{
"Northstar.Client": true,
"Northstar.Coop": true,
"Northstar.CustomServers": true,
"Northstar.Custom": true,
"MRVN Shake It": true,
"Titan Payload": false,
"Parkour": true
}
```
#### To
```json
{
"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 Viper had the capacity to adapt to this new `enabledmods.json` format.
7 条评论