OMR File Header - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: General (https://forums.ldraw.org/forum-12.html) +--- Forum: Official File Specifications/Standards (https://forums.ldraw.org/forum-32.html) +--- Thread: OMR File Header (/thread-23101.html) |
OMR File Header - Johann Eisner - 2018-12-22 Hello Everyone After reading the OMR file Specification the nineteeth time, I am a little confused: Under File Header is this written: File Headers Each individual model file in the MPD that does not represent an unofficial part must have the following standard header format. Standard Header: Code: 0 FILE <Filename>.ldr and under OMR example this: OMR Example Code: 0 FILE 6712 - Main.ldr Now the question: Ist the line "0 !LDRAW_ORG Model -OR- 0 !LDRAW_ORG Unofficial_Model" nessacery or not? Johann RE: OMR File Header - Willy Tschager - 2018-12-22 It surely should have it but I simply forgot to put it. Will correct the specs page. w. RE: OMR File Header - Johann Eisner - 2018-12-22 (2018-12-22, 15:22)Willy Tschager Wrote: It surely should have it but I simply forgot to put it. Will correct the specs page. Well that I noticed so early, have only about 200 files in the OMR repository uploaded without paying attention to it. Will check all files again and replace if necessary. Yeah. Johann RE: OMR File Header - Michael Heidemann - 2018-12-23 (2018-12-22, 15:34)Johann Eisner Wrote:You can give MPDCenter a try if you are working on a windows machine.(2018-12-22, 15:22)Willy Tschager Wrote: It surely should have it but I simply forgot to put it. Will correct the specs page. LDraw.org - Preparing a MPD file for Official Model Repository ... RE: OMR File Header - Johann Eisner - 2018-12-23 (2018-12-23, 12:45)Michael Heidemann Wrote:(2018-12-22, 15:34)Johann Eisner Wrote: Well that I noticed so early, have only about 200 files in the OMR repository uploaded without paying attention to it. Will check all files again and replace if necessary. Yeah.You can give MPDCenter a try if you are working on a windows machine. Hi I already use the MPD Center and it is very helpful. But MPDC does not check for the existence of the line and the file is still OMR compliant. That would be a good addition to the next version. Only when the header is edited can this line be inserted automatically. Regards Johann RE: OMR File Header - Michael Heidemann - 2018-12-23 (2018-12-23, 13:42)Johann Eisner Wrote:(2018-12-23, 12:45)Michael Heidemann Wrote: You can give MPDCenter a try if you are working on a windows machine. Thank you very much for directing me to this error that will hopefully be fixed within a few days. cu mikeheide RE: OMR File Header - Michael Heidemann - 2018-12-23 (2018-12-23, 15:44)Michael Heidemann Wrote:The fix is nearly ready. But I can only check for the existing of this line. The content may be different and can also include other than the "model" tag.(2018-12-23, 13:42)Johann Eisner Wrote: Hi Or I am wrong here? Any hint is welcome. cu mikeheide RE: OMR File Header - Johann Eisner - 2018-12-23 (2018-12-23, 17:05)Michael Heidemann Wrote:Hi(2018-12-23, 15:44)Michael Heidemann Wrote: Thank you very much for directing me to this error that will hopefully be fixed within a few days.The fix is nearly ready. But I can only check for the existing of this line. The content may be different and can also include other than the "model" tag. There are two definitions for OMR Code: 0 !LDRAW_ORG Model -OR- 0 !LDRAW_ORG Unofficial_Model Johann RE: OMR File Header - Lasse Deleuran - 2019-06-10 I have a question regarding the semantical difference between the two lines: Code: 0 !LDRAW_ORG Model Does the other line indicate an OMR-compliant model which is not produced by LEGO, such as a MOC or alternate build? If so. What is the expected content of the "0 FILE", description and "0 Name: " lines? RE: OMR File Header - Roland Melkert - 2019-06-10 (2019-06-10, 21:34)Lasse Deleuran Wrote: While "0 LDRAW_ORG Model" seems to indicate an official LEGO-produced model. Is this correct? This is indeed very vague. Normally the official / unofficial status has to do with files being QA-ed and then contained in complete.zip or not. But with OMR things ares not that formal, so I'm thinking it should always be "Model" when available on the site, and "Unofficial" up till the point it's uploaded to the site. Not sure though. RE: OMR File Header - Orion Pobursky - 2019-06-10 (2019-06-10, 22:52)Roland Melkert Wrote: This is indeed very vague. That’s what I’ve been assuming and I pretty much wrote the spec. RE: OMR File Header - Lasse Deleuran - 2019-06-11 Thanks, both of you. I will update the documentation in my codebase to reflect this. RE: OMR File Header - Johann Eisner - 2019-06-11 As soon as I uploaded a model to OMR, I changed the file header from unofficial to official, when I OMRize the file. |