Skip to content

Documentation

Dennis edited this page Apr 10, 2025 · 25 revisions

Welcome to the Commodore-Repair-Toolbox (CRT henceforward) documentation.

The documentation covered here, will be for the Excel data files and how to label components for highlighting.

Introduction to data files

CRT has several data files, where it will read its various information from, like hardware, board, components, highlights and images etc. The data files are all Excel, which is used as the data format, as this is straightforward for the most to work with. Though there can be many Excel files, it has only two levels:

  • Main Excel data file with references for specific hardware/board data files
  • Hardware/board specific Excel data file having all detailed information about the hardware/board

The main data file is located in the same directory as the executable file and is named Commodore-Repair-Toolbox.xlsx.

Main Excel data file format

The main Excel data file has only one worksheet, so it is pretty simple.

Worksheet: Hardware & Board

These are the columns and how to understand them.

Column: Active

Defines if the hardware/board should be shown in CRT.
0 equals it will not be shown.
1 equals it will be shown.

Column: Hardware name in drop-down

Exact same name as shown in the Hardware drop-down in CRT.
The same hardware name can be represented on multiple rows, if it has different boards.
Keep the name short, so it can fit in the drop-down.

Column: Board name in drop-down

Exact same name as shown in the Board drop-down in CRT.
The same board name should not be represented more than once.
Keep the name short, so it can fit in the drop-down.

Column: Excel data file

Path and filename to the specific hardware/board Excel data file.
Use relative path from the executable file.

Specific hardware/board Excel data file format

The Excel data file has quite a few worksheets, and this is the labor intense part, where all the relevant information needs to be.
Below is the documentation for each of these worksheets and the columns inside those.

Worksheet: Board schematics

Column: Active

Defines if the schematic image should be shown in CRT.
0 equals it will not be shown.
1 equals it will be shown.

Column: Schematic name

Exact same name as shown in the thumbnail label.
Keep the name short, so it can fit in the label.
A schematic name must be unique.
Also, the name is referenced in the worksheet Component highlights.

Column: Schematic image file

Path and filename to the schematic image file.
The image format should be either JPG, PNG or GIF.
Use relative path from the executable file.

Columns: Highlight colors

Which color to use for component highlighting in the schematic images, both in the "Main" image but also for the thumbnails.
All allowed colors are available here, https://learn.microsoft.com/en-us/dotnet/api/system.windows.media.colors?view=windowsdesktop-7.0

Columns: Highlight opacity

Where relevant then use a semi-transparent gradient for the highlight, to allow viewing of potential information below the component highlight.
0% equals fully transparent.
100% equals solid non-transparent color.

Worksheet: Components

Column: Board label

Very short label representing the component name.
Ideally it should be 1-5 characters long only.
A component label must be unique.
Board label + Technical name or value + Friendly name is concatenated in the component list.

Column: Technical name or value

Typically the vendor concrete name of the component or a concrete value.
E.g. simple components like capacitors or resistors typically only have the value.
More complex components like IC's typically have their real laser engraved name here.
Board label + Technical name or value + Friendly name is concatenated in the component list.

Column: Friendly name

Typically components have "human readable" or "friendly" names.
Could also be that component is most often referred to as this name.
Should still be relatively short.
Board label + Technical name or value + Friendly name is concatenated in the component list.

Column: Category

Component category.
Could be Capacitor, Resistor, IC, Connector, Misc or whatever else suits as a group identified for the component type.

Column: Short one-liner description

Will be shown in the component information popup.
Is a short contextual and relevant information about the component.
One line only!

Column: Long description

This is probably the hardest part of the data, because you need to have not to little and not too much information here.
Should have data that is relevant when working with the hardware, but not too much informational data.
You can have multi-lines here (ALT+ENTER).

Worksheet: Component highlights

Column: Schematic name

Direct reference from the Board schematics worksheet.

Column: Board label

Direct reference from the Components worksheet.

Column: X / Y / Width / Height

Location and dimension of rectangle.
Should be integer values.

View documentation for ... labelling???

Worksheet: Component images

Column: Board label

Direct reference from the Components worksheet.
As-of now there can only be one image per component.

Column: Name

Actually not used for anything, but just to visualize that this is the pinout image.
A pinout image should ideally show the legs and what is their input/output.

Column: File

Path and filename to the pinout image file.
The image format should be either JPG, PNG or GIF.
Use relative path from the executable file.

Worksheet: Component local files

Component local files will show in both the Overview tab and the component information popup in CRT.
It is a local file specifically for this component - e.g. a datasheet or technical documentation.

Column: Board label

Direct reference from the Components worksheet.
You can have multiple local files per component, so the board label is allowed to duplicate.

Column: Name

Name for the file that will be shown in CRT.

Column: File

Path and filename to the local file.
The local file will be opened in whatever default application you have for the extension.
Use relative path from the executable file.

Worksheet: Component links

Component URLs will show in both the Overview tab and the component information popup in CRT.
It is a URL specifically for this component - e.g. a technical documentation or troubleshooting references.

Column: Board label

Direct reference from the Components worksheet.
You can have multiple links per component, so the board label is allowed to duplicate.

Column: Name

Name for the link that will be shown in CRT.

Components URL

The URL will be opened in your default browser.

Worksheet: Board local files

Board local files will show in the Ressources tab in CRT.
It is meant as a general documentation for the board - e.g. generic diagnosing or troubleshooting.

Column: Category

What kind of file is this - some examples are Troubleshooting, Technical documentation or alike.
You can have multiple local files per category, so the category name is allowed to duplicate.

Column: Name

Name for the file that will be shown in CRT.

Column: File

Path and filename to the local file.
The local file will be opened in whatever default application you have for the extension.
Use relative path from the executable file.

Worksheet: Board links

Board URLs will show in the Ressources tab in CRT.
It is meant as a general documentation for the board - e.g. generic diagnosing or troubleshooting.

Column: Category

What kind of URL is this - some examples are Troubleshooting, Technical documentation or alike.
You can have multiple URLs per category, so the category name is allowed to duplicate.

Column: Name

Name for the link that will be shown in CRT.

Column: URL

The URL will be opened in your default browser.

Common shared considerations for Excel data files

There are a few important things to know generally for these Excel files.

  • You should not have empty rows in the middle of your data, as this will be considered as "end of data"
  • If there is a yellowish highlight in the data cell, it means the data needs to be validated or corrected
    • If you have the answer for this, please let me know
  • No formatting will be carried over from Excel to CRT
    • E.g. a bold or colored text will only show the raw text

Clone this wiki locally