Hello Pere,
It's a little more complex than a simple copy/paste to convert the liveries to 2024. However, with the JF BAe146 you are able to keep the main add-on directory structure so nothing too awkward there - 2024 can use a very different file/folder structure!
So, as an example (I'm using the 146-300 but it'll depend on the variant) you'd have a structure like this:
justflight-aircraft-146-300-<your-livery-name>
layout.json
manifest.json
SimObjects
Airplanes
justflight-aircraft-146-300-<your-livery-name>
aircraft.cfg
texture.<your-livery-name>
Now, the first file you need to edit would be the manifest.json. This file tells the sim what it is and what any dependencies are. For the BAe146 it would look like this:
JSON:
{
"dependencies": [],
"content_type": "LIVERY",
"title": "146 Professional - 146-300 <your-livery-name>",
"manufacturer": "BAe",
"creator": "<creator's name>",
"package_version": "1.0.0",
"minimum_game_version": "1.4.14",
"minimum_compatibility_version": "4.20.0.72",
"builder": "Microsoft Flight Simulator 2024",
"release_notes": {
"neutral": {
"LastUpdate": "",
"OlderHistory": ""
}
},
"total_package_size": "00000000000729594313"
}
To create a layout.json file it's simplest to copy the manifest.json and rename it! We'll come to the proper layout.json file a bit later.
The next file to edit would be the aircraft.cfg. This file is essentially the same as the ones for MSFS 2020 with a couple of small changes. Here's an example:
Code:
[VERSION]
major = 1
minor = 0
[VARIATION]
base_container = "..\JF_146_300"
;===================== FLTSIM =====================
[FLTSIM.0]
title = "Just Flight 146-300 <livery-name>" ; Variation name
model = ""
panel = "\..\..\JF_146_100\panel"
sound = "\..\..\JF_146_100\sound"
soundai = "\..\..\JF_146_100\soundai"
texture = "<texture folder>" ; texture folder
kb_checklists = "" ; Procedures/Checklist sibling file name
kb_reference = "" ; Reference information sibling file name
description = "The 146 is a four-engine, high-wing jet aircraft built by Hawker Siddeley of the United Kingdom. The airplane is used for regional passenger service and as a cargo carrier. A total of 387 of the airframe were built between 1978 and 2001, making it one of the great success stories of British commercial aviation.\n\nThe 146 features a swept-back main wing with a span of 86 feet, 5 inches, a T-tail empennage, and tricycle landing gear." ; Variation description.
wip_indicator = 1 ; know if the variation is good to go or still WIP : -1=Disabled, 0=Rough, 1=1st Pass, 2=Finished
ui_manufacturer = "Just Flight" ; e.g. Boeing, Cessna
ui_type = "146-300" ; e.g. 747-400, 172
ui_variation = "146-300 <livery-name>" ; e.g. World Air, IFR Panel
ui_typerole = "Commercial Airliner" ; e.g. Single Engine Prop, Twin Engine Prop, Rotorcraft, etc
ui_createdby = "Just Flight" ; e.g. Asobo Studio, Microsoft, FSAddonCompany, etc
ui_thumbnailfile = "" ; app relative path to ThumbNail image file
ui_certified_ceiling = 31000 ; service ceiling / max certified operating altitude (ft)
ui_max_range = 1040 ; max distance the aircraft can fly between take-off and landing in (NM)
ui_autonomy = 4 ; max duration the aircraft can fly between take-off and landing in (Hrs)
ui_fuel_burn_rate = 3500.0 ; average fuel consumption per hour (lbs/hr) - reminder: fuel density is ~6.7lbs per US gallon
atc_id = "<tail-number>" ; tail number
atc_id_enable = 1 ; enable tail number
atc_airline = "<airline-callsign>" ; airline name
atc_flight_number = "" ; flight number
atc_heavy = 0 ; heavy?
atc_parking_types = "RAMP" ; "ANY" / "RAMP" / "CARGO" / "MIL_CARGO" / "MIL_COMBAT" / "GATE" / "DOCK"
atc_parking_codes = "" ; Comma separated and may be as small as one character each
atc_id_color = "" ; color for the tail number : i.e. "#ffff00ff"
atc_id_font = "" ; font for the tail number
isAirTraffic = 0 ; airtraffic flag for variations
canBeUsedByAITraffic = 0 ;
isUserSelectable = 1 ;
icao_airline = "XXX" ;
The next file to change is the texture.cfg. This will be different to the MSFS 2020 version. Use this as an example:
Code:
[fltsim]
fallback.1=..\..\JF_146_300\texture
fallback.2=..\..\JF_146_100\texture
fallback.3=..\..\JF_146_100\texture.VC
You will then need to convert all the textures from the MSFS 2020 .DDS format to the newer MSFS 2024 .KTX2 format. The nVidia Texture Tools Exporter is possibly the easiest way to do it. Drag the DDS file to it and then Save As using the .KTX2 format.
You can get the exporter here:
nVidia Texture Tools Exporter
You will also need to make the matching .json file for each texture file. The filename must match the texture name so you'd have, for example:
BAE146_EXT01_MSFS_300_ALBEDO.PNG.KTX2 (texture file)
BAE146_EXT01_MSFS_300_ALBEDO.PNG.KTX2.json (matching json file)
The thumbnail(s) from the MSFS 2020 livery can be copied directly into the texture folder.
The final stage is to generate the layout.json file. This is easiest using the MSFSLayoutGenerator program that was posted by Hollister56 at the start of the thread.
This will then create the necessary entries in the layout.json. Once completed (only takes a second) you're ready to try the livery in the sim. If everything went to plan then you're done! If it still doesn't appear, check everything carefully - especially the manifest.json, the aircraft.cfg and the texture.cfg files.
Hope this helps!