Interesting. Afaik, 'best practice' is to always have your package_version_info units ordered by descending compatible_versions. The mod manager will always choose the first unit/package to match the current game version (excluding a proper universal package with no compatible_versions declared).
Here are some examples that use the correct package in 1.31, despite also having packages explicitly for 1.3:
The desired package for 1.31 is .latest (universal version, works correctly):
Code: Select all
SiiNunit
{
package_version_info : .latest {
package_name: "scr_scot_a2hd"
}
package_version_info : .16.content {
package_name: "scr_scot_a2hd_ats1_6"
compatible_versions[]: "1.6.*"
}
package_version_info : .14.content {
package_name: "scr_scot_a2hd_ats1_4_1_5"
compatible_versions[]: "1.4.*"
compatible_versions[]: "1.5.*"
}
package_version_info : .13.content {
package_name: "scr_scot_a2hd_ats1_3"
compatible_versions[]: "1.3.*"
}
/*
package_version_info : .12.content {
package_name: "scr_scot_a2hd_ats1_2"
compatible_versions[]: "1.2.*"
}
*/
}
The desired package for 1.31 is .current (non-universal, works correctly):
Code: Select all
SiiNunit
{
package_version_info : .latest {
package_name: "scr_wheel_pack_too_new"
informational: true
}
package_version_info : .current {
package_name: "scr_wheel_pack"
compatible_versions[]: "1.6.*"
compatible_versions[]: "1.28.*"
compatible_versions[]: "1.29.*"
compatible_versions[]: "1.30.*"
compatible_versions[]: "1.31.*"
}
package_version_info : .pre_1_6 {
package_name: "scr_wheel_pack_1_2_2_2"
compatible_versions[]: "1.2.*"
compatible_versions[]: "1.3.*"
compatible_versions[]: "1.4.*"
compatible_versions[]: "1.5.*"
}
package_version_info : .too_old {
package_name: "scr_wheel_pack_too_old"
informational: true
compatible_versions[]: "1.0.*"
compatible_versions[]: "1.1.*"
}
}
However, the 1.3.* string should never match to 1.31.X.X, so I suppose there is still kind of a bug (sorry I doubted you!). You can probably solve the issue (for now) by moving the .temp_content unit below the .128_content unit.