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

This is the Forum to discuss the use of SBuilderX (version 3.10 and above). For previous versions of SBuilder please use the "SBuilder for Flight Simulator FS2004" forum.
Post Reply
Cfoxy
Posts: 5
Joined: Thu Nov 18, 2010 11:34 am

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

Post by Cfoxy » Thu Nov 18, 2010 11:50 am

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
[Win7 (64bits), CPU i7 860 3.3Ghz, Gigabyte GA-P55A-UD3, ATI Radeon HD 5870, Corsair 4 Go DDR3-1333]

meshman
Posts: 219
Joined: Sun Jan 01, 2006 11:54 pm

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

Post by meshman » Thu Nov 18, 2010 4:19 pm

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.
Lance

Cfoxy
Posts: 5
Joined: Thu Nov 18, 2010 11:34 am

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

Post by Cfoxy » Thu Nov 18, 2010 4:57 pm

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 ^^
[Win7 (64bits), CPU i7 860 3.3Ghz, Gigabyte GA-P55A-UD3, ATI Radeon HD 5870, Corsair 4 Go DDR3-1333]

meshman
Posts: 219
Joined: Sun Jan 01, 2006 11:54 pm

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

Post by meshman » Thu Nov 18, 2010 5:44 pm

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.
Lance

Cfoxy
Posts: 5
Joined: Thu Nov 18, 2010 11:34 am

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

Post by Cfoxy » Thu Nov 18, 2010 6:02 pm

Yes sure !

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

Thankx for your checking !
[Win7 (64bits), CPU i7 860 3.3Ghz, Gigabyte GA-P55A-UD3, ATI Radeon HD 5870, Corsair 4 Go DDR3-1333]

meshman
Posts: 219
Joined: Sun Jan 01, 2006 11:54 pm

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

Post by meshman » Thu Nov 18, 2010 9:32 pm

File is showing at temporarily unavailable... Who's idea was MegaUpload?? :mrgreen:

I'll keep trying and give it a look.
Lance

Cfoxy
Posts: 5
Joined: Thu Nov 18, 2010 11:34 am

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

Post by Cfoxy » Thu Nov 18, 2010 10:17 pm

Well MegaUP free account seems to have some restriction...

Here is another link :
http://www.mediafire.com/?e929858l3k3gssm
[Win7 (64bits), CPU i7 860 3.3Ghz, Gigabyte GA-P55A-UD3, ATI Radeon HD 5870, Corsair 4 Go DDR3-1333]

rhumbaflappy
Posts: 420
Joined: Sat Oct 16, 2004 10:11 pm

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

Post by rhumbaflappy » Thu Nov 18, 2010 10:56 pm

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
Dick

Cfoxy
Posts: 5
Joined: Thu Nov 18, 2010 11:34 am

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

Post by Cfoxy » Fri Nov 19, 2010 9:54 am

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 ;-)
[Win7 (64bits), CPU i7 860 3.3Ghz, Gigabyte GA-P55A-UD3, ATI Radeon HD 5870, Corsair 4 Go DDR3-1333]

Post Reply