extracting kuids out of a cdp file

stun2007

New member
I wonder if there is a program that would allow you allow you to extract kuid file out of a cdp file and place that single kuid or a group of kuid files into content manager. There are a lot of CDP files that are large, and maybe you only want one or several out of this large CDP file. thanks in advance.
 
Today...

:cool: Drop the .cdp into CM. When it finishes, select the Today tab. Then select Installation Date. All the files just installed should appear at the top. Delete unwanted files. By sliding the filters to the left, create a blank space so you can select groups of unwanted files.
 
Thanks Backyard, that does work, but I was looking for something to be able to get the kuid file, be it one or many, out of a cdp fie that might be one or two hundred kuids or more, so I did not have to load content manager with all those files then go through the delete process of the unwanted ones. If all the above makes sence.
 
Makes sense to me...

:cool: A .cdp file is a compressed data program(content dispatcher file).

You are talking about finding a compressed file amongst many compressed files(in other words, they share parts of each other when compressed).

Since the data compression format is proprietary, it's not like viewing a .zip folder in Windows Explorer, but if I shut up possibly someone else has an idea?:o
 
Backyard may be in the backyard but he's up front on this. You can' extract individual files from a cdp.

Bob Weber
 
I wonder if there is a program that would allow you allow you to extract kuid file out of a cdp file and place that single kuid or a group of kuid files into content manager. There are a lot of CDP files that are large, and maybe you only want one or several out of this large CDP file. thanks in advance.

This is probably a bit aside from what you're asking, but Trainzobjectz has a lovely function (under Menu - Dispatcher Files) that can scan hundreds of CDP's in one hit and re-name each according to the kuid number and/or username of the first asset within (if it contains multiple assets).

You can choose the filename structure to be one of the following formats;

kuid_username.cdp

username_kuid.cdp

kuid.cdp

username.cdp

Eg. if the asset is kuid2:4567:8910:1 and the name is 'Man on donkey', it will be saved as kuid2_4567_8910_1__Man_on_donkey.cdp if you chose the first format.

The 'kuid_username.cdp' format is especially good because the files sort according to kuid number in Windows. I also use a 3rd-party file renamer to automatically change change 'kuid2' to 'kuid' so that all kuid/kuid2 versions of the same asset will group together Windows lists.
 
Many years ago, I thought there was a program someone made that could "preview" CDP files and tell you what was inside before opening. I don't remember the name though, sorry.
 
Many years ago, I thought there was a program someone made that could "preview" CDP files and tell you what was inside before opening. I don't remember the name though, sorry.

There's one in the AssetX toolbox.
 
If you could decompress a CDP file, then methinks it will then appear on the inside as a simple text file, with binary areas for the binary files (meshes, images, etc.) contained in the asset. It appears that PEV's ArchiveIndex tool (included in Asset-X) does just this, but only shows the most useful part of the CDP: the "assets" block with the assets' config.txt files. You can open a CDP file in a text editor (such as Notepad), and see the word "assets" somewhere near the top of the file, with the KUID of the first asset right after it, similar to how ArchiveIndex displays it. I think that it would be cool if you could decompress the entire CDP, allowing you to view it as more human-readable text. :D ;)

Regards.
 
If you could decompress a CDP file, then methinks it will then appear on the inside as a simple text file, with binary areas for the binary files (meshes, images, etc.) contained in the asset.... snip

That's easy but the results are rather tedious.. All you see is the name of the object (mesh, texture,jpg etc) The bulk of the file is compressed data in LZSS format supposedly, though the data doesn't look like any LZSS files I have seen.. So far, my attempts to decompress it have failed. The config.txt and file names are not compressed, the data is just formated differently. So those bits are easy to extract.
 
Last edited:
Quote:
Originally Posted by Euphod
Many years ago, I thought there was a program someone made that could "preview" CDP files and tell you what was inside before opening. I don't remember the name though, sorry.

Hi guys,

Just for the records and fair history of Trainz. ;)

It's called "CDP Browser" by Peter, TPR Programmer.

There is a version 2 which handles kuid2. It keeps working rather fine but misses to list some kuids if the cdp contains many many assets.

Source:

http://trainzproroutes.org/forum/viewtopic.php?t=4192
(As you know, this nice trainzy classical home needs registration)

More info too:

http://razorbackrailway.com/apps/faq...120&artlang=en


cdp_browser.jpg


The still having certain memory side of Alberte :wave:


1aK+F4PJ7cBm32CUNiyI2GAAAAAElFTkSuQmCC
 
Last edited:
Repititious posting...

:cool: Thanks Alberte,

I thought this was the other thread...

I saw you had posted & didn't want to get in the way...

The busy side of the backyard..:hehe:
 
Did use your link, Alberte

I was already registered with TPR and had previously elected to be automatically logged in when opening the site. However, unknown to me, auto login failed to occur, so that when I used your link the option to download did not appear.
Apologies for my confusion.
 
I saw you had posted & didn't want to get in the way...

Never mind, Allen. ;)

You know how easy going I am and don't feel that as a get-in but a kind helping hand. ;) And of course, never a competition to decide who gives the best info. That's left for TV Stations. :hehe:

I was already registered with TPR and had previously elected to be automatically logged in when opening the site. However, unknown to me, auto login failed to occur, so that when I used your link the option to download did not appear.
Apologies for my confusion.

Never mind too, El. ;)

Hope finally you were able to get in through and get CDP Browser 2, which is still a useful tool for a quick check of kuid numbers inside a cdp. :Y:

Of course, Asset-X is superb; Andi and Peter have done a wonderful job, as always.

The never minding side of Alberte :wave:
 
Last edited:
Back
Top