Skip to content

4.0.0.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@cmkushnir cmkushnir released this 11 Oct 02:49
· 160 commits to main since this release
c273de3
  • fix:
    • cmk.NMS.Game.Language.Collection.FindLanguageInfo was taking a language id arg that
      was always null, resulting in it always returning the info for the current language.
      The method does not need an arg, it should always use the Collection Identifier.
  • update:
    • cmk mod script Lang_All_English. added Cancel checks, added ProgressReport calls,
      new optimized method that uses new GetLanguage mod script method.
      note: ProgressReport report updates both Script tab and Build tab toolbars.
    • GitHub Octokit NuGet package from 3.0.0 to 4.0.0.
  • change:
    • rename util script Global LangId to LanguageId (to be consistant w/ code).
    • rename cmk.NMS.Script.GetLanguageGamePrefixes to GetGameLanguagePrefixes.
    • rename cmk.NMS.Script.GetLanguageAddedPrefixes to GetAddedLanguagePrefixes.
    • GetLanguageData loops through all GetLanguagePrefixes in parallel to look for ID.
    • GitHub Octokit extensions to replace deprecated methods.
  • add:
    • List cmk.NMS.Script.GetLanguage( NMS.Game.Language.Identifier IDENTIFIER )
      to get a sorted list snapshot of all ID's for IDENTIFIER, including any cached and|or
      new ID's in from new prefixes. List sorted on TkLocalisationEntry.Id using string.Compare.
    • cmk.NMS.Script.GetLanguagePrefixes to get currently cached prefixes.
    • cmk.NMS.Script.GetLanguageEntry like GetLanguageData but returns cached TkLocalisationEntry.
    • progress report textbox to Build tab.
  • notes:
    • if doing infrequent language changes (< 10,000) then can just use SetLanguageText,
      if doing a lot then use GetLanguage, Bsearch, Ref to find and change entries.
    • libmbin 4.0.0.2.