• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Resample.exe Broken...

Messages
1,025
Country
us-florida
Argh!!!

Does anyone know if there is a version of resample.exe (i.e. RTM, SP1, SP2) for FSX that actually will read the:

Code:
ULYMAP = 
40.875554809664848

portion of a resample.inf file? Here's my *.inf file

Code:
[Source]
Type=TGA
SourceDir="c:\"
SourceFile="landtestwa2.tga"
Layer=Imagery
Variation=Day
NullValue=255,0,0
ULXMAP=-112.063494553907660
ULYMAP=40.875554809664848
XDIM =0.000008015317222595210000
YDIM =0.000008015317222595210000

[Destination]
DestDir="."
DestBaseFileName="watermasktest"
DestFileType=BGL
LOD=auto
CompressionQuality=85

You add the tags into your resample.inf file and it totally ignores that value:

Code:
Resample Info File: 'watermasktest.inf'
[Source] Type = 'TGA'
[Source] Type = 'TGA'
[Source] SourceDir = 'c:\'
[Source] SourceFile = 'landtestwa2.tga'
[Source] Layer = 'Imagery'
[Source] NullValue = '255,0,0'
[Source] ULXMAP = -112.063495
[Source] XDIM = 0.000008
[Source] YDIM = 0.000008
[Source] Variation = 'Day'
[Destination] DestDir = '.'
[Destination] DestBaseFileName = 'watermasktest'
[Destination] LOD = '3,15'
[Destination] DestFileType = 'BGL'
[Destination] CompressionQuality = 85
Cell 81 of 666 (12.16%); 0:00:03 elapsed, 0:00:22 remaining...

I'm so frustrated with resample.exe... It's not working as it should and I'm feeling rather irritated with the dang thing...
 
Last edited:
Try looking at my post again ;)

Code:
XDIM =0.000008015317222595210000
YDIM =0.000008015317222595210000
 
Last edited:
Hi Dean,

no issues here; I use these parameters all the time with elevation and land class data as well as imagery with or without Alpha and blending channels. For example:

[Source]
Type = TIFF
SourceDir = "."
SourceFile = "IKONOS_MtGaribaldi_linear-3_processed_v1.tif"
Layer = Imagery
Variation = Day
ulxMap = -123.0868152064
ulyMap = 50.0061491322
nCols = 16033
nRows = 23518
xDim = 0.00000904189815820599
yDim = 0.00000904189815820627

[Destination]
DestDir = "."
DestBaseFileName = "1_orthoimage_IKONOS_MtGaribaldi_v1"
DestFileType = BGL
UseSourceDimensions = 1
NorthLat = 50.0061491322
SouthLat = 49.7935017713
WestLong = -123.0868152064
EastLong = -122.9418464532
CompressionQuality = 90
LOD = 5,15

I just double-checked and the resample DOS window lists all parameters as expected. I use resample.exe v. 10.0.61637.0 dated 9/26/2007 3:08PM.

Maybe it's related to the TGA format; have you tried converting your image to TIFF?

Cheers, Holger
 
Hi Holger, actually I've been using GeoTIFF most of the time, only started needing the manual input of metatags now that I'm at watermapping and blendmask stage... I switched to TGA for a test to see if it was a GeoTIFF issue, but the issue first showed up on the TIFF input...

I'll have to do some more investigating, it probably explains why my multisource input test didn't work the other week as well...

It'd be very nice if I can find a working version of resample...

What OS are you running? I'm on Win Vista 32bit...

Maybe it's time for a re-install of all my FSX stuff...

Code:
Microsoft Corp. Terrain Resampler 10.0.61637.0 (FSX-Xpack.20070926-1421) Wednesday, ‎September ‎26, ‎2007, ‏‎4:08:58 PM
<- hmm same version too
 
Last edited:
Back
Top