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

SPB2XML

Messages
17
Country
us-massachusetts
I would like to change the road speed of FSX land vehicles. I have the file spb2xml to convert the file to an xml for editing. I am not a whiz with CMD line funcrions. Is there a tutorial anyone can reference to help me do this?

Thanks
 
I made this change a long time ago, which I no longer remembered how it decompiled. It worked as follows. I extracted the spb2xml.exe file to the C: disk, opened CMD.exe and put this command line:

C: \ spb2xml.exe C: \ Users \ YOUR_USER \ AppData \ Roaming \ Microsoft \ FSX \ LWcfg.SPB c: \ LWcfg.xml

The conversion only worked when I put the path to LWcfg.spb in its original folder. The XML file resulting from this conversion will be on disk C:
Now with the converted file, make a backup of the original LWcfg.spb in another folder, and replace it in the folder C: \ Users \ Eduardo \ AppData \ Roaming \ Microsoft \ FSX \ with LWcfg.xml. FSX will now use the XML file instead of SPB, and you can make any changes you want. If you have a friend with Prepar3D v3 (assuming it works from v4 too), you can ask him to send you the file LWcfg.xml (which P3D uses), which also works well to replace it (that's what I'm using in my FSX-SE). The only difference is that the P3D XML is more detailed with the name of the objects that make up Freeway traffic.
Editions in LWCFG work for regions defined by Microsoft. I attached an image to detail this. To change the desired region, search for it in the XML.
<RegionID> A </RegionID>
I created several new highway and airport vehicles, with the typical appearance of vehicles in my country (Brazil) and made the changes.
 

Attachments

  • FS10_Regions.JPG
    FS10_Regions.JPG
    256.3 KB · Views: 253
  • brazilian_living_world_fsx_v10-2.jpg
    brazilian_living_world_fsx_v10-2.jpg
    176 KB · Views: 246
  • brazilian_living_world_fsx_v10-3.jpg
    brazilian_living_world_fsx_v10-3.jpg
    162 KB · Views: 229
The XML file is not a CMD line function. It's a text-based file that you can open in Notepad or a similar tool and make changes to. The XML file has instructions for how to make changes to a vehicle in FSX. Here you can read the full review to get more info. You can edit it directly in FSX without having to use the XML editor. But once you've changed it in FSX, you'll have to save it so that FSX will recognize it as a new vehicle type.
 
Back
Top