LDraw.org Discussion Forums

Full Version: Datsville rev328
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
No, I think that is not bad, as I could give some useful hints with the help of MPDCenter Smile

You made a structure to datsville that can not be driven by application until you make a lot of considerations. But all those considerations are mainly only useful for datsville. Therefore you will need a special application for maintaining datsville Smile

MPDCenter can be this kind of tool without two aspects:
1) Edit datsville files - as there is currently no build in editor feature.
2) Save the files in the structure you like to have it.

Many other aspects MPDCenter can do for you:
1) Are all references valid.
2) Which reference is used in which file.
Just to name two of those.
Datsville revision 337 is out.

A list of changes can be found here:

https://code.google.com/p/datsville/source/list

The latest city map can be viewed here:

https://code.google.com/p/datsville/wiki/Maps

The model files can be downloaded here:

https://code.google.com/p/datsville/wiki/Downloads

Enjoy!
I got a claim for missing "pedestrian_065_policewhiteshirtandtie.ldr" called from building_083_airportlounge.ldr in building_083_airportlounge.mpd.

The file 'building_062_floor_3.ldr' in building_062_officebuildinglarge.mpd is not used!

Maybe you should start using MPDCenter for at least check datsville before release Smile
Michael Heidemann Wrote:The file 'building_062_floor_3.ldr' in building_062_officebuildinglarge.mpd is not used!

That was actually intentional as I said before.

I thought you said that MPDCenter would not work for Datsville?

Michael Heidemann Wrote:Currently I do not have any idea how to solve this inconsistence between both approaches.
The problem is that MPDCenter export is not the same as your files, as MPDCenter imports all necessary files into the calling mpd content file.

Go and try and you will see what I am talking about.

Datsville has been a very good project to eliminate a lots of errors that I had before, because those files are not necessarily well formed - header wise Smile
Michael Heidemann Wrote:By "import unofficial files" each referenced file is search and imported.
- if the referenced file is a plain ldr/dat file it will be imported into the internally created mpd content file in which datsville.ldr is the first file.
- if the referenced file is a mpd content file, it will be imported as next mpd file.

After that first step each file in each mpd will be scanned for further references and if unofficial imported into the calling mpd.

Therefore the files you mentioned are not missing, but imported into another mpd.

Technically the files are missing, cause the contents of mpd's can not be shared except of the main model one. So e.g. a 3005.dat in a.mpd can not be used from b.mpd. You need to also add that (probably same) 3005.dat to b.mpd, or write it as a loose 3005.dat in the target folder.

It might work in LDView if the part is in the top level mpd, but that's because of a bug if I remember correctly.
Code:
Technically the files are missing, cause the contents of mpd's can not be shared except of the main model one. So e.g. a 3005.dat in a.mpd can not be used from b.mpd. You need to also add that (probably same) 3005.dat to b.mpd, or write it as a loose 3005.dat in the target folder.
No, they are not missing. They are added to the mpd content file where they are used.
But you are right, best thing would be to write all double files as loose file into the target folder. But to do this, I need to be sure that both files do have really the same content. This could be the solution that I was looking for.
Sometimes it can be so easy Smile

Code:
It might work in LDView if the part is in the top level mpd, but that's because of a bug if I remember correctly.
No bug is needed Smile
I have used in MPDCenter an idea that I had already some years ago.

The attached file should have the extension xmpd, but that is not a valid file extension for upload, so I changed that to plain mpd.
From the structure this is a normal mpd content file. But it contains several mpd files - cooked together in one file Smile
Pages: 1 2