[Dev Thread / Preview] Mod Manager

    • UPDATE: Problem scheint mit der BR423 zusammen zu hängen. Nachdem diese deinstalliert wurde scheint der Fehler weg zu sein.

      Hallo,

      ich habe ein Problem mit dem Modmanager.

      Wenn ich CIM starte stürzt es in unregelmäßigen Abständen beim Laden ab.


      Installierte Mods: BR423, stationpack, modmanager 0.58 ansonsten komplett sauberes CIM.

      Metro.log

      PORT: infoMsg [ModManager] Loading addons/eis_os_mod_manager_v058/scripts/modmanager.script
      PORT: infoMsg [ModManager] MAC Support is experimental, you have been warned!
      PORT: infoMsg [ModManager] Output Device:
      PORT: infoMsg [ModManager]
      PORT: infoMsg [ModManager]
      PORT: infoMsg [ModManager] Using cached path to Cities in Motion.exe /Applications/Cities in Motion.app/Contents/MacOS/
      PORT: infoMsg [ModManager] Loading config...
      PORT: infoMsg [ModManager] Writing / Updateing config...
      PORT: infoMsg [ModManager] Restoring CIM to default state (fast method)...
      PORT: infoMsg [ModManager] removing hooks in metro/ui/loading/loading.script
      PORT: infoMsg [ModManager] Restoring CIM to default state, finished!
      PORT: infoMsg [ModManager] Loading Profile Default
      PORT: errorMsg File "addons/eis_os_mod_manager_v058/scripts/modmanager_modinstaller.script" not found!
      PORT: errorMsg Runtime error in "a" at line 341: Internal error!
      PORT: errorMsg Called from "a" at line 262
      PORT: errorMsg Called from "m" at line 81
      PORT: errorMsg Runtime error in "m" at line 27: Internal error!
      PORT: errorMsg Called from "m" at line 0


      Später beim Laden eines neuen Spiels, stürzt er auch wieder in unregelmäßigen Abständen mit folgender metro.log ab:

      PORT: infoMsg [ModManager] Loading addons/eis_os_mod_manager_v058/scripts/modmanager.script
      PORT: infoMsg [ModManager] MAC Support is experimental, you have been warned!
      PORT: infoMsg [ModManager] Output Device:
      PORT: infoMsg [ModManager]
      PORT: infoMsg [ModManager]
      PORT: infoMsg [ModManager] Using cached path to Cities in Motion.exe /Applications/Cities in Motion.app/Contents/MacOS/
      PORT: infoMsg [ModManager] Loading config...
      PORT: infoMsg [ModManager] Writing / Updateing config...
      PORT: infoMsg [ModManager] Restoring CIM to default state (fast method)...
      PORT: infoMsg [ModManager] removing hooks in metro/ui/loading/loading.script
      PORT: infoMsg [ModManager] Restoring CIM to default state, finished!
      PORT: infoMsg [ModManager] Loading Profile Default
      PORT: infoMsg [ModManager] Scanning for mods in addons/
      PORT: infoMsg [ModManager] BR423 (legacy) addons/BR423
      PORT: infoMsg [ModManager] eis_os_mod_manager 0.5.8 addons/eis_os_mod_manager_v058 eis_os_mod_manager.modinfo
      PORT: infoMsg [ModManager] stationpack01 (legacy) addons/stationpack01
      PORT: infoMsg [ModManager] Scanning for mods in metro/addons/
      PORT: infoMsg [ModManager] Scanning for mods in userdata/addons/
      PORT: infoMsg [ModManager] Scanning for mods in userdata/modmanager/installed/
      PORT: infoMsg [ModManager] Scanning for mods in repository data
      PORT: infoMsg [ModManager] userdata/modmanager/download/repos/0.repo not found
      PORT: infoMsg [ModManager] Scanning for mods in userdata/modmanager/new/
      PORT: infoMsg [ModManager] Loading all mods in profile:
      PORT: infoMsg Loading achievements...
      PORT: infoMsg [done]
      PORT: infoMsg Loading main menu...
      PORT: infoMsg [done]
      PORT: infoMsg Start scenario "metro/scenarios/sandbox.scenario"
      PORT: infoMsg Loading game...
      PORT: infoMsg [ModManager] Savegame checks - Phase 1:
      PORT: infoMsg [ModManager] Checking MAIN.$scenario.$location.$locationSetup metro/locations/netherlands
      PORT: infoMsg [ModManager] skipped, is in metro folder
      PORT: infoMsg [ModManager] Savegame checks - Phase 1: done
      PORT: infoMsg [ModManager] Installing script checks and logging
      PORT: infoMsg [ModManager] Installing script checks and logging: done
      PORT: errorMsg File "addons/eis_os_mod_manager_v058/scripts/event/environment.script" not found!
      PORT: errorMsg Runtime error in "m" at line 226: Internal error!

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von rovapasi ()

    • Ein kleines Update, die größten Änderungen sind diesmal im Mac Support.
      Die Mac Version liefert bei ersten Starten mit ModManager nun ein AppleScript mit, daher einfach CIM beenden wenn es nicht den CIM Pfad finden kann, dann modmanager-prepare-permissions.scpt
      in /Users/<YourUserName>/Library/Application Support/Cities in Motion/ öffnen und ausführen. Beim Nächsten CIM starten sollte ModManager den Pfad finden.

      Eine weitere Neuerung ModManager kann jetzt auch in userdata/addons (Eigene Dateien\Cities in Motion\addons bzw. Library/Application Support/Cities in Motion/addons) installiert werden,
      dieses habe zur einfacheren Installation ermöglicht.

      Der API Dokumentation sollte nun auch wieder funktionieren.

      Changelog
      0.5.9 Beta
      • use runFile for calling findcim, should fix problems with spaces on windows aswell
      • Mac
        • Port the findcim system to MAC
        • AppleScript for fixing permissions: modmanager-prepare-permissions.scpt
        • Hide log of output device, meaningless on Mac
        • Support isn't experimental anymore

      • fix API function dumper
      • allow installing in userdata/addons (won't work if older version is in addons)
    • Wichtige Informationen:

      Bitte auf Version 0.7 updaten.

      Changelog:
      0.7
      • Important Bugfix: helper variable $i scope global
        • Fix event_fire results in endless loop, use local helper var
        • Don't use $i in global context
        • recursive_mkdir/recursive_rmdir, getCIMVersion, compareVersion, version2str use own local helper var

      0.6.5
      • Control Script
        • change event preEnvironment to be fired before environment.script loads
        • add event postEnvironment

      0.6.0
      • Stable version
      • UI
        • Fix sort by repository
        • Fix changelog window stays open in game
        • [lexicon]Mod[/lexicon] settings dialog windowfix stays open in gameuse translation for save button
        • dev tab, use modmanager ui lib for rendering
        • ui lib, allow adding custom controls