Page 1 of 1

Incorrect count for field "DateTime" (21, expected 20)

Posted: Thu Nov 18, 2010 11:50 am
by Cfoxy
Hello,

I'm trying to compile my LOD18 blend texture for the very first time with SBX 313. But when compliling I get this warning message : Incorrect count for field "DateTime" (21, expected 20) tag ignored.

I've strickly followed all PDF and other Tutorial without any success.

HELP !! Any suggestion ? :cry:

Thankx in advance :!:

Here is my INF content :

[Source]
Type = MultiSource
NumberOfSources = 2
[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Photo_AL18_RPVK_Park.BMP"
Variation = All
Channel_BlendMask = 2.0
NullValue = 255,255,255
SamplingMethod = Gaussian
ulyMap = 11.6872039166667
ulxMap = 122.379455555556
xDim = 2.68222656250039E-06
yDim = 2.6266004774303E-06

[Source2]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "Photo_AL18_RPVK_Park_B.TIF"
SamplingMethod = Gaussian
ulyMap = 11.6872039166667
ulxMap = 122.379455555556
xDim = 2.68222656250039E-06
yDim = 2.6266004774303E-06

[Destination]
DestDir = "."
DestBaseFileName = "Photo_AL18_RPVK_Park"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85

Re: Incorrect count for field "DateTime" (21, expected 20)

Posted: Thu Nov 18, 2010 4:19 pm
by meshman
Does the file compile, even though you are getting the warning? Do you get a BGL file, Photo_AL18_RPVK_Park.BGL?

Is the TIFF file an 8bit grayscale file?

Have you tried to manually compile? You would make a folder and copy Resample.exe, the INF, BMP and TIFF files to it. Drag and drop the INF file onto Resample.exe and a DOS window should appear for the compiling and if successful, your new BGL file will be created.

Re: Incorrect count for field "DateTime" (21, expected 20)

Posted: Thu Nov 18, 2010 4:57 pm
by Cfoxy
Hi Lance,

Thankx for your fast reply. Yes it's a 8bit Grey scale TIFF

Previously BGL file was created. I've tried your instructions with same results, BGL is also created but Blend Mask is simply ignored with the same error message and file is exact size as the original compiled.

I'd like to precise that I've also tried creating TIFF file with photoshop CS4 (worst with 2 more errors...) and Win7 paint (same "datetime" error)

I was wondering according to what the message seems to tell if it could come from a date format error since I'm using a French OS..? :?: Don't know...

Still lost, I spent so much time looking on different forum without any succesfull solution...

HELP HELP ^^

Re: Incorrect count for field "DateTime" (21, expected 20)

Posted: Thu Nov 18, 2010 5:44 pm
by meshman
Is it possible for you to zip up the files and upload them somewhere, like MegaUpload or similar? It's difficult to diagnose a problem from afar.

Re: Incorrect count for field "DateTime" (21, expected 20)

Posted: Thu Nov 18, 2010 6:02 pm
by Cfoxy
Yes sure !

Here they are :
http://www.megaupload.com/?d=HECEWC9E

Thankx for your checking !

Re: Incorrect count for field "DateTime" (21, expected 20)

Posted: Thu Nov 18, 2010 9:32 pm
by meshman
File is showing at temporarily unavailable... Who's idea was MegaUpload?? :mrgreen:

I'll keep trying and give it a look.

Re: Incorrect count for field "DateTime" (21, expected 20)

Posted: Thu Nov 18, 2010 10:17 pm
by Cfoxy
Well MegaUP free account seems to have some restriction...

Here is another link :
http://www.mediafire.com/?e929858l3k3gssm

Re: Incorrect count for field "DateTime" (21, expected 20)

Posted: Thu Nov 18, 2010 10:56 pm
by rhumbaflappy
You still get a bgl. The error is because resample expects a certain adherence to the tiff format, and whatever program you used to make the tiff doesn't follow the exact same format.

It still compiles.

But, you should remove the line in the INF:

NullValue = 255,255,255

That line might cause artifacts ( red dots ) in the scenery when used with a blend mask.

Dick

Re: Incorrect count for field "DateTime" (21, expected 20)

Posted: Fri Nov 19, 2010 9:54 am
by Cfoxy
OMG ... I didn't even noticed that the BGL works no matter what the error message :roll:

The remaining black lines I get was just because of bad cutting edges... Now I understand very well how it works !

Thank you for your patience and guidelines, deleting Nullvalue has also removed red artefacts ! ^^

Thank you so much...!!! :shock:

Great, great tool by the way, love it ;-)