Code Monkey home page Code Monkey logo

spb2xml's Introduction

SPB2XML for MSFS 2020

Changes from original

  • Decode text values used in MSFS 2020
  • Add propdef caching
  • Recursive extraction

Prerequisites

For Windows Store users, you will need to extract the 'base' packages to a location of you chosing.

See this post for instructions.

Propdef caching

Once you have extracted the MSFS 'base' packages to a location, you only need to point to it the first time using -s.

Example: -s "c:\MSFS Base\Packages\fs-base-propdefs\Propdefs\1.0\Common" .

After that it will use a cache file called propdefs.cache, and you dont need to specify -s anymore.

If there is a problem or something changes in the 'base' packages, simply delete propdefs.cache and use -s again.

Recursive extraction

If you dont supply an argument for the SPB to extract, it will recursively extract all SPB files from the working directory with autogenerated names for the XML output.

Known issues

  • Only supports Windows-1252 encoded XML (fails on some 'translation' spbs)
  • No idea how the model bank works and if it can be extracted from the installation
  • Some files dont seem to roundtrip 100% (spb->xml->sbp), but the XML looks ok. This wont be addressed.
  • The types (INPUTxxx/BEZIERCURVE) used in the visual effects SPB's has not been decoded.

See README.txt for details on the original implementation.

spb2xml's People

Contributors

leppie avatar fatroom avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.