Files
2026-06-17 14:00:51 +02:00

70 lines
2.4 KiB
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content="HTML Tidy for HTML5 for Apple macOS version 5.8.0">
<title>Decoder Definition - Getting Started</title><!--#include virtual="/help/en/parts/Style.shtml" -->
<!-- DecoderPro Styles -->
<style>
.dp-center {text-align: center;}
.dp-right {text-align: right;}
</style>
</head>
<body>
<!--#include virtual="/help/en/parts/Header.shtml" -->
<div id="mBody">
<!--#include virtual="Sidebar.shtml" -->
<div id="mainContent">
<h1 id="Top">Decoder Definition</h1>
<h2>Getting Started</h2>
<div class="dp-right">
<p><a href="Dcode_Format.shtml">Next</a>
</p>
<p><a href="index.shtml#DecoderDefinition">Back to Index</a>
</p>
</div>
<hr>
<h4>Getting Started on a decoder definition</h4>
<p>In this part of the manual we will introduce you to the process of creating a file to
describe a new decoder. You might benefit from reading the other sections of the DecoderPro
user guide to get background information, especially the XML introduction <a href=
"https://jmri.org/help/en/html/doc/Technical/XmlUsage.shtml" target="_blank">Intro to XML
files</a> and the section on what the configuration files contain <a href=
"https://jmri.org/xml/DTD/" target="_blank">Configuration files</a> .</p>
<p>The easiest way to create a configuration file is to modify an existing one, so that you
can follow the format. The decoder definition is configured per the <a href=
"https://jmri.org/xml/DTD/" target="_blank">decoder-config.dtd.</a> (most of you will not be
interested in this dtd, if you are open in a text editor).</p>
<p>To get started, locate a decoder definition XML file that is close to the new decoder that
you would like to define. . If you don't know what is "close", well don't sweat it. Let's
just move on to looking at a definition file and you'll get a feel about what we're talking
about.</p>
<hr>
<div class="dp-right">
<p><a href="Dcode_Format.shtml">Next</a>
</p>
<p><a href="index.shtml#DecoderDefinition">Back to Index</a><a href="index.shtml#Main"></a>
</p>
</div>
<!--#include virtual="/help/en/parts/Footer.shtml" -->
</div>
<!-- closes #mainContent-->
</div>
<!-- closes #mBody-->
<script src="/js/help.js"></script>
</body>
</html>