Aircraft selection

This Forum is for Support questions only for Ideal Flight. Please post other questions and suggestions in the General Use & Ideas Forum

Moderators: Steve Waite, SysAdmin

Re: Aircraft selection

Postby Steve Waite » Fri Jan 17, 2020 9:03 am

I have made some thumbnails which I placed in the texture folders:

http://download.codelegend.com/other/MV-KA350i_thumbnail.zip

Unzip and copy the files to the four folders, one in each corresponding to the tail number:

For example, copy "N70EU_thumbnail.jpg" into:

C:\Program Files\Lockheed Martin\Prepar3D v4\SimObjects\Airplanes\MV_King_Air_350i\Texture.N70EU\

then rename to

"thumbnail.jpg"

by removing the first part of the name including the underscore.

So then IF will display the aircraft thumbnail instead of the question mark that IF shows for missing thumbnails.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Aircraft selection

Postby Steve Waite » Fri Jan 17, 2020 12:54 pm

The problem is the aircraft.cfg is encoded UTF-8 with BOM.

BOM is incorrect when used with UTF-8 file format. This alters the effect on the first line in the file. The Windows api to read the UTF-8 file (aircraft.cfg) misses out the first line.

So in effect the file has been corrupted. The sim reads the file in sequence. Ideal Flight reads the file as sections and so misses the [fltsim.0] section which it takes the name from.

I'm incorporating a work around for this type of file.

In the meantime you can add a line to the top of the file for the time being. A blank line at the start of the file means IF will read the [fltsim.0] section correctly.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Aircraft selection

Postby Steve Waite » Fri Jan 17, 2020 1:05 pm

Their cfg might be incompatible with any program that reads [section names] because the '[' can't be decoded. The first section will be missed if it's on the first line. Programs reading the file sequentially might still have issues. Fortunately not many programs read the .cfg anyway. But if they do, look out for lots of weird issues. I would render the file in the same format as the P3D files, and so it seems it is an error only IF can find alongside the missing thumbnail jpgs. These mistakes could be averted testing with Ideal Flight.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Aircraft selection

Postby Steve Waite » Fri Jan 17, 2020 1:20 pm

...One reliable way to handle this is save the file in the P3D format or add a blank line at the top in Notepad as I suggested.

Either add the empty line at the top or make a new text file and copy paste the content into it.

Incidentally, this is why the mock up worked ok here, The file content was copied from the forum page into a blank text file.

I doubt that impacts the aircraft at all. I'm not sure IF should do anything to be honest.

But with not changing the file there may be any kind of problem in the future with any number of addons or the simulator itself.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Aircraft selection

Postby Steve Waite » Fri Jan 17, 2020 2:30 pm

Rather than IF do anything I have remarked on the problems found so far on the MilVIz forums. they are one of the better aircraft developers. So I don't see much to worry about.

IF has a few work arounds under the hood to handle inconsistencies in some planes and scenery, but it won't change the data or format of another product.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Aircraft selection

Postby Steve Waite » Fri Jan 17, 2020 2:37 pm

For the A2A and others only appearing in the AI list. A while back last year during the upgrades, a mistake in the way IF Pro recognises the uses of an aircraft, meant that some aircraft did not show up in the selection. That's been cured a while back so make sure to install; Update the latest build.

If you have a Preview build installed, make sure to look for updates and install those. The latest build and report issues. The version menu item shows Flight 1 version, it does not show preview builds.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Aircraft selection

Postby Steve Waite » Fri Jan 17, 2020 3:01 pm

To go back to the image missing. I just made an entry into the tips discussion, support section.

At any time we can drop an image onto the IF aircraft image and that is stored with the profile. A popup menu item restores the original image.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Aircraft selection

Postby Ener » Fri Jan 17, 2020 7:14 pm

Just tested. Working great now.

Thank you very much for your help and for the thumbnails.

Best regards
Rene
Ener
 
Posts: 38
Joined: Tue Aug 28, 2012 5:58 pm

Re: Aircraft selection

Postby Steve Waite » Sat Jan 18, 2020 4:09 am

Sorry about the problems found. MilVis developer is looking into the problems we found with the 350 and they will fix it up Ok I'm sure.

But for the time being so long as there's a blank line at the start of the file the BOM sequence isn't relevant. If they had a blank line or remark at the top of the file this might have been missed.

The BOM is a hidden character that shows a machine reader that what follows is going to be a type of xml file. However the aircraft.cfg is not an xml file, technically it is a Windows .ini file.

Beware that other problems may become apparent in use, due to the 350i install related to that file format used in other places.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Aircraft selection

Postby Jeremey » Tue Nov 09, 2021 3:21 am

I recently purchased the Milviz KA-350i, I just wanted to update that this is yet to be fixed on Milviz's side. Adding a blank line to the top of aircraft.cfg I was allowed to select this aircraft.

Also, a picture of the plane does not show up on the Aircraft Selection page (at least for me it just shows a question mark)
MB: ROG STRIX B550-F GAMING
CPU: Ryzen 9 3950x
Video: RTX 3080 Ti Ventus 3X 12G OC
Mem: G.Skill 32GB DDR4-3200
PSU: Antec HCG750
HD: WD Black SN750 NVMe M.2 2280 1TB
Jeremey
 
Posts: 4
Joined: Fri Nov 05, 2021 10:20 pm

PreviousNext

Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron