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

Tool that writes inf files for resample tool with numbers changing only

Status
Not open for further replies.
Messages
14
Country
austria
Hello!

Is there a tool that can write txt or inf files (notepad) where you enter 1) your code that gets always repeatet and then 2) the number of a file that changes. I have 1000 tif files and I do not want to write 1000 inf files, because I do not want a large bgl with 50GB. I read FSX runs slower with only big bgl's.
Or can resample tool handle many files to many bgl's in only 1 inf file?

greetings

Michael
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,944
Country
us-wisconsin
The short answer is no.

Also, it is not advised to post the same question in twice. It isn't going to get you answered any differently, and is likely to annoy those that can answer.

Dick
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

I recently made a simple BAT file to create a INF file for all GeoTIFF files in a folder. This only works with GeoTIFF files, as else you need to enter much more coordinates and other information in the INF file. This is the batch:

You need to manually set the NumberOfSources, the SourceDir and the output information.

Maybe this will help you.

Code:
@setlocal EnableDelayedExpansion

@echo [Source]
@echo Type = MultiSource
@echo NumberOfSources = 52

@set icount=0

@for %%f in (imagery\gtif_wgs84\*.tif) do @set /a ICOUNT+=1 & @echo [Source!icount!] & @echo Type                = GeoTIFF & @echo SourceDir           = "imagery\gtif_wgs84" & @echo SourceFile          = "%%~nf.tif" & @echo Layer               = Imagery & @echo Variation           = Day & @echo NullValue           = 0,0,0

@echo [Destination]
@echo DestDir             = "Output"
@echo DestBaseFileName    = "MA_Plymouth_county"
@echo DestFileType        = BGL
@echo LOD                 = Auto
@echo SplitFileLOD        = 11
@echo Compression         = 80
 
Status
Not open for further replies.
Top