Giter Club home page Giter Club logo

locdbconverterconsole's Introduction

LocDbConverterConsole

This is a simple console application, that converts configuration files for model railroad digital control stations. It converts a lokomotive.cs2 file (configuration for Maerklin CS2/CS3/CS3+ / SRSEII) to a locomotive.z21loco file (configuration for Roco/Fleischmann Z21-Mobile-App). To do this, you can either specify the path or the IP-address/Hostname of the Lokomotive.cs file. The Program will connect the directly access the file for convertion.

The code is available under GNU General Public License.

The following commands are available:

        h / ?  Help menu
        c      Convert Lokomotive.cs2 file
        a 5    Auto convert Lokomotive.cs2 file according to settings in App.config file. Opt. Timing in [min].
        f      Force convert of all entries in Lokomotive.cs2 file
        x      Exit the program

Also the following Arguments are available

        --help / -h    Help menu
        --importpath=  Sets local path or IP address, where Lokomotive.cs2 file and images can be found.
        --exportpath=  Sets local path to where converted files are stored.

The settings for convertion are made in the mappings.xml file (mapping of the function icons and names) and the LocDbConverterConsole.config file (paths for auto convertion).

Current version v0.2.1 (beta) is available for download:

Windows x64
  https://github.com/RalfMende/LocDbConverterConsole/tree/main/publish/win-x64.zip

Windows x86
  https://github.com/RalfMende/LocDbConverterConsole/tree/main/publish/win-x86.zip
  
Windows ARM64
  https://github.com/RalfMende/LocDbConverterConsole/tree/main/publish/win-arm64.zip    

OSX x64 (Intel)
 https://github.com/RalfMende/LocDbConverterConsole/tree/main/publish/osx-x64.zip  
 
OSX ARM64 (Silicon)
  https://github.com/RalfMende/LocDbConverterConsole/tree/main/publish/osx-arm64.zip    

Linux x64 (.Net-Runtime self-contained)
  https://github.com/RalfMende/LocDbConverterConsole/tree/main/publish/linux-x64.zip

Linux ARM64 (.Net-Runtime self-contained)
  https://github.com/RalfMende/LocDbConverterConsole/tree/main/publish/linux-arm64.zip

locdbconverterconsole's People

Contributors

ralfmende avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

locdbconverterconsole's Issues

Conversion not (yet) possible for Layouts - LOW Prio

Todos

  • Analyse the config file of CS2
  • Analyse the config file of CS3/CS3+ for free layouts
  • Analyse the config file of CS3/CS3+ for schematic layouts
  • Analyse the config file of Z21
  • Make separate function in Converter

Issues with relative path of mapping.xml

cs2-Backup file can be drag'n'droped on the LocDbConverterConsole.exe for conversion.
In this case the issue is, that the mapping.xml file in this case is expected to be at the path of cs2-Backup file and not beside LocDbConverterConsole.exe.

Decoder-Protocol and "Fahrstufe" can't be set via configuration file

The default protocol used is DCC. Only when the App is connected to Z21 (and MM Protocol is activated), then the communication-protocol optionally can be switched from DCC to MM. Same applies to "Fahrstufe" setting.
I don't see a configuration parameter in the z21loco-file to directly set MM-Protocol to be used.

z21loco-file (when not using template) contains functions but does not load

When generating the z21loco file by myself (not using a template file), then the functions-table is generated and filled out correctly, but when the file is imported in the Z21-App the functions-list keeps empty. I don't know what I'm missing in the z21loco-database-file.

Workaround: I'm using an existing z21loco-database-file as a template and overwrite the existing information. Then the function-list is imported correctly

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.