LDraw.org Discussion Forums

Full Version: Unofficial files in the OMR
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to discuss this:

http://forums.ldraw.org/showthread.php?t...28#pid3128

Should we change in http://www.ldraw.org/Article593.html:

Quote:Unofficial parts are allowed to be used. The filename of the unofficial part is subject to the naming rules above (e.g. 33056.dat would be renamed to <MPD Filename> - 33956.dat).

to

Quote:Unofficial parts are allowed to be used. The filename of the unofficial part is subject to the following naming rules:

<Set Number> - <Unofficial Part Number>.dat

<Set Number> is the the number printed on the model's container.
<Unofficial Part Number> is the unofficial part number assigned in that very moment

(e.g. 33956.dat would be renamed to <Set Number> - 33956.dat).

w.
The only concern I have is the fact that it makes existing OMR-compliant files no longer compliant. I agree that it is a better way to name the parts.
You might want to check your example Wink (33956 vs 33056)

Tim


Oh crap. Reply in LSC. Sorry!

Tim
Fixed. Thanks for reporting.

w.
So far I've got only a handful of OMR sets with unofficials I ship with the AIOI, which can be corrected in the wink of an eye if we change the specs now.

w.
Isn't it easier and more (and fully backwards compatible) to add the notion: the last ' - ' is to be used for splitting etc?
It is clear what <Set Number> stands for but <MPD Filename> could also be: 4896 - Roaring Roadsters - Roadster.mpd

and then we are going to have: 4896 - Roaring Roadsters - Roadster - 33956.dat

w.
Comments?

w.
I feel your proposed change makes sense. I don't understand Roland's question, though.
I thought the problem was an extra ' - ' in file names which leads to wrong deconstruction later on. You could avoid such problems by stating to only use the first / last ' - ' while splitting.

But like the referenced thread points out you need to split three things making things more difficult.

So if we keep the "setnr - name - unoff" format we should prohibit the use of ' - ' (or just '-'?) in the subnames.

f we keep only "setnr - unoff" prohibiting it in the setnr only should be enough for splitting.
Hmmm ... things start getting messy. Since we have <Set Number>[ - <Optional Qualifier>] - <Individual filename> for the subfiles it might a good idea to change this as well to:

<Set Number>-[<Optional Qualifier>] - <Individual filename>

and consequently use:

<Set Number>-[<Optional Qualifier>] - <Unofficial Part Number>.dat

w.
I'm going to call for a vote shortly for the following change. Please rise your voice if there is anything you cannot put up with:



Change in http://www.ldraw.org/Article593.html:

Quote:Unofficial parts are allowed to be used. The filename of the unofficial part is subject to the naming rules above (e.g. 33056.dat would be renamed to <MPD Filename> - 33956.dat).

to

Quote:Unofficial parts are allowed to be used. The filename of the unofficial part is subject to the following naming rules:

<Set Number>[-<Optional Qualifier>] - <Unofficial Part Number>.dat

<Set Number> is the the number printed on the model's container.
<Optional Qualifier> is a sequential number, starting with 1, added if there is more than one set that could be assigned <Set Number>
<Unofficial Part Number> is the unofficial part number assigned in that very moment

(e.g. 33956.dat would be renamed to 3345 - 33956.dat or 3345-1 - 33956.dat).
I'm ok with this.

Although I kinda hate breaking backwards compatibility the spec isn't that old yet so it shouldn't cause to much hassle.