.
Results 1 to 4 of 4

Thread: Question about .cdp install process

  1. #1
    Join Date
    Jul 2013
    Location
    Boise, Idaho USA area
    Posts
    738

    Default Question about .cdp install process

    I have seen people complain about all the "Open for edit" assets that result after downloding and installing .cdp files from third parties. I recently installed a rather large one and noticed the steps it apparently takes:

    TAD Installer package <KUID#> Description
    <KUID#> Opened for edit
    <KUID#> wrote to disk
    submitted <KUID#>
    <KUID#> Installed.

    That's not exactly it, but it is pretty close to the process as I observed it. The question I have is, why does the asset installer have to open each asset for editing in order to install it? Or, conversely, if it has to open it for editing, why is it not closed when submitted? Or maybe it is? I did notice a number of assets that instead of the "submitted" line had a line saying "<KUID#> Commit skipped", which may be when they get left open?
    TRS 2019 - This is not your father's PBR.....

  2. #2
    Join Date
    Nov 2006
    Location
    Australia, NSW, Sydney
    Posts
    5,005
    Blog Entries
    3

    Default

    Someone who knows more about this than I may be able to provide a better answer. My understanding is that the .cdp file is a compressed "transport container" or a "package" for one or more assets - you can bundle multiple assets together into the one .cdp file.

    So the installer (actually CM) has to open the .cdp file to firstly extract the asset or assets it contains.

    Then it has to open the Trainz database (the "Open for edit")

    Then write the data into the database - the writing to disk. The exact details will depend on which of several database management methods Trainz uses - my database management days are well behind me.

    Submit may mean closing the edited database. This may be exactly the same as submitting an asset you have manually opened for editing yourself.
    A member of the "Party Machine". Now if only I could remember where they are holding the party!

  3. #3
    Join Date
    Nov 2008
    Location
    United Kingdom
    Posts
    13,846

    Default

    A cdp is a compressed archive file similar to zip rar etc and it's contents need to be extracted same with a zip or rar file.

    Stuff that remains open for edit after installing, often dependencies or builtins or payware, you probably already have installed and are trying to overwrite which might not be a good idea! so revert to Original.
    Malc


  4. #4
    Join Date
    Jul 2013
    Location
    Boise, Idaho USA area
    Posts
    738

    Default

    Awesome. Thanks guys. Pware, I had never thought about it meaning opening the database for edit. That makes more sense to me...
    TRS 2019 - This is not your father's PBR.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •