Skip to content

Releases: CNCUMC/RshCCL

Release list

v3.1.1

Choose a tag to compare

@Black-Moss Black-Moss released this 05 Jul 07:59

Changelog

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


v3.1.1

Added

  • SaveGame guard: Harmony finalizer catches ArgumentException from CCL SaveCoordinator duplicate component keys (e.g. NewFirearms.RshGun)
  • Bark localization (soft dependency): auto-detects missing translations, registers EN/zh-CN/zh-TW fallbacks via Lang/EnLangGenerator, ZhCnLangGenerator, ZhTwLangGenerator
  • Reflection-based Bark integration: No hard reference to Bark.dll — gracefully degrades when Bark is absent
  • Log localization system: LogInfo/LogWarning/LogError with locale keys, falling back to English Regex.Replace

Changed

  • Dependency: CUCoreLib ≥ 1.0.1 → 1.0.2
  • Dependency: Bark org.cucnmc.bark added as soft dependency
  • Mod name: "Rsh CCL""RshCCL" (no space)
  • Conflict avoidance: Changed from "permanently remove self" to "temporarily hide → Chainloader.Start Postfix restore", so mods that depend on RshLib can still find it after loading
  • StartGame.ps1: $ModNamespace = "RshLib" for DLL name, $ModName = "RshCCL" for folder/display

v3.1.0

Choose a tag to compare

@Black-Moss Black-Moss released this 04 Jul 20:12

v3.1.0

Added

  • RshItemAdapter: Converts RshItem to CUCoreLib CustomItemInfo and registers via ItemRegistry.Register
  • RshSpawnCallback: onSpawn callback support via CCL SpawnComponents mechanism
  • Backwards-compatible API: Preserves Plugin.RegisterItem(string, RshItem) signature, no changes needed for existing mods
  • krokMpEnabled field: Compatibility with NewFirearms and other mods using reflection
  • Conflict avoidance: Removes self from Chainloader.PluginInfos so mods like NewClothing use their native CCL path
  • ConsoleScriptPatch: spawn command autofill includes all CCL-registered items
  • GlobalDarkPatch: Preserves the modded indicator on the main menu
  • RefreshRecipeList guard: Harmony finalizer catches NRE in CCL recipe list refresh

Changed

  • Dependency: Added CUCoreLib ≥ 1.0.1 (hard dependency)
  • Dependency: KrokoshaCasualtiesMP retained as soft dependency

Removed

The following features are now handled natively by CUCoreLib and are no longer duplicated:

  • Utils.Create patches (CCL: UtilsCreatePatches)
  • Item.SetupItems / Item.GetItem patches (CCL: ItemRegistryPatches)
  • ConPatch / InstantiateResourcePatch (CCL: KrokMpCompatibilityPatches)
  • Trader item display patches (CCL: TraderCustomItemPatches)
  • Recipe display patches (CCL: RecipeRegistryPatches)
  • Wearable lookup patches (CCL: CustomWearablePatches)
  • Custom network protocol Network / MpValidator (CCL: MultiplayerBridge / MultiplayerSyncRegistry)
  • Save system SaveSystemPatch (CCL: SaveCoordinator)