• 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 not compiling for me (what am I doing wrong)

Try this in Win7.

Navigate to the SDK folder containing resample.exe, your .inf file and your images.

Hold down the Shift key while right-clicking in the folder.

You will get a Context Menu option to "Open command window here".

No need to change directories, just type in "resample filename.inf", without the quotation marks.

cheers,
Lane
 
Try this in Win7.

Navigate to the SDK folder containing resample.exe, your .inf file and your images.

Hold down the Shift key while right-clicking in the folder.

You will get a Context Menu option to "Open command window here".

No need to change directories, just type in "resample filename.inf", without the quotation marks.

cheers,
Lane

If you see the below attachment. Thanks to this current investigation, my personal idea is it can not open the BMP's as I couldn't either when I tried it. And I can open the SDK resample samples BMP's. Will check this out now...
 

Attachments

  • 2014-07-26 19-26-15 Screenshot.png
    2014-07-26 19-26-15 Screenshot.png
    283.3 KB · Views: 489
I apologize for my previous comment regarding the sizes of the BMP and not being able to open them. They do open and I wonder if any of you fine people can tell me what the "Unable to open data source" means? Does it mean that the BMP is unworkable or the path (Source file) is incorrect on the .inf ?
 
Resample quite succinctly says that the "BMP header is corrupt." What image editor are you using? Regardless of what it is, it's saving in a format that Resample can't read.
 
The SDK says resample accepts "windows bmp". that's not very specific...is there anything unusual about this bmp? Extra channels, perhaps? 32bit?
 
This was done in GIMP just like the tutorial was explaining it. The Nauru.BMP has no extra channels, it's just the single layer.
2014_07_26_23_43_47_Screenshot.png
The other fellows, are the special ones. But the error is focus on this one [nauru.bmp]. Ill see what I can do with this on Sunday.
 
ok guys....I'm amused by windows 7. Ok, given that cmd.exe in windows 7 seems to not recognize CD command, go into your windows folder and then into "system32" fubfolder. Then copy and past cmd.exe into whatever folder your resample.exe is. Then it should take the command "resample yourfilename.inf".

Hey Bob, not sure but if you're trying to CD to a directory on another drive you need to use CD /d on Win7. No idea what the rocket science behind that is but...

Easiest to use Bean's approach and right click, "open a command window here" wherever you want to run the command.

The FS dot com tutorial is full of flaws incidentally, not the least of which is disabling default CVX.bgls rather than using excludes to modify shorelines.
 
Hi,

I use a .bat file that I put in the same folder as my photoreal images (day, night, winter, summer, blendmask, watermask), the .inf file and the resample.exe, and that says:
"resample xxxxxxxxxxxxx.inf pause" (without the " of course)
That way I can see what goes wrong (as, as usual I make some mistakes:rolleyes:)
 
Hey Bob, not sure but if you're trying to CD to a directory on another drive you need to use CD /d on Win7. No idea what the rocket science behind that is but...

Easiest to use Bean's approach and right click, "open a command window here" wherever you want to run the command.

The FS dot com tutorial is full of flaws incidentally, not the least of which is disabling default CVX.bgls rather than using excludes to modify shorelines.
Yes, the SHIFT and RIGHT CLICK approach works well. And I will use another tutorial as soon as possible, today Sunday, to see what happens when I reach the resample.exe stage.
If any of you have a tutorial to recommend, please let me know. I'm extremely interested in making an island the most beautiful way as possible.

Thanks.
 
@George, I was telling win 7 cmd.exe to "CD H:\", and it returned me to the original prompt after teasing me by showing me the H:> prompt first. Odd, I thought.
 
charlie, I'd suggest you upload your bmp file to the forum, rather than flail about with tutorials. Resample doesn't like it, and there is a wealth of experience of successful designers here who should be able to determine why.
 
@Jim, yep that was exactly what I was doing...odd syntax you posted, I don't remember using anything except old dos syntax on xp's version of cmd.exe. Since I copied cmd.exe so many times back in the xp days onto my development folders, I still find myself using it.
 
To change drives, just type the drive letter (plus colon):

H:

It has been like that forever.
 
Another little trick with the DOS window is to type a couple letters of your path or command and press the Tab key, it sort of auto-completes the command. Open a command window where resample.exe is located for example, type "res" and press Tab (maybe several times as it cycles through any possible commands beginning with "res", it will eventually land on resample.exe). Hit the space bar and type the first few letters of your .inf filename, press Tab again...
 
It looked like you were doing it right. What makes you seek another tutorial? Nothing has changed since FSX came out. I was part of the beta team, and was succeeding with resample.exe right from the gate.

The way to succeed at design is to follow logical paths. You have been guided toward one, are you following it? Starting over just means you'll have to follow that error message some later time. Why not now?

Whatever did you find out about the bmp?
 
Back
Top