> For the complete documentation index, see [llms.txt](https://manual.xlights.org/xlights/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.xlights.org/xlights/chapters/chapter-five-menus/import.md).

# Import

## Import

![](/files/WViPzir7ZyerokHUIsdM)

### Import Effects

The import effects dialog allows the user to import effects from other sequences in the currently open sequence. This option should be used when importing purchased sequences from different vendors.

![](/files/-LZSLEv1Lre_sDwOH1YZ)

The Import Effect dialog supports multiple sequence file formats. xLights, Light-o-rama S4, S5, SuperStar, Vixen 2, Vixen 3(limited), HLS, LSP, VSA File formats are all supported.

![](/files/-LpZurqqeEtSNoBtBl5c)

### Importing an xLights Sequence

The following example describes how to use this function to import an effects from an xLights XSQ/XML sequence.

* First ensure that you have created or opened an existing sequence that has the models added to the sequencer that you wish to import to. Note you must select a View first. If there are no models or groups displayed on the Sequencer, then you won’t be presented with any models to import to.

This process can be used to

* Import effects from a xLights sequence from another user
* Import effects from another of your (e.g. older) xLights sequence into an existing xLights sequence

#### Step 1

Create a new directory and unzip the sequence files to that directory. It is recommended to create this directory within your show folder. The zip file should contain the xlights\_rgbeffects.xml, the sequence.xsq or sequence.xml and any other required files(image, shader, etc files). Change the show folder in xLights to point to the new directory. Copy the music file to the new folder if missing.

![](/files/-LZSF7mvBH96k8ET5Lo0)

Open the sequence, click on Render All and Save the sequence. You should be able to see how the lights flow in the layout window. Study the sequence and determine which models you wish to copy to your own models.

![](/files/-Lauul2SMjjkbyFWyD-B)

{% hint style="success" %}
Print out the model names from the shared sequence as you will need to know those when you import.
{% endhint %}

Look for the correct quantity of elements in the donor sequence that will match your elements. For example If you have 4 windows but the donor sequence has 8, pick the 4 windows that you want to copy.

Make a note of the names of each donor model you want to copy to a model of your own layout. Watch the sequence several times.

#### Step 2

Make sure you have the appropriate music file in your own media show directory. Close the sequence you were watching, go to the controller tab and change the show folder back to your own directories.

If importing into a new sequence, then

* Create a new musical sequence, select timings and add your display elements or select a view.
* Save the sequence.

Else

* Open the sequence you want to import into, add your display elements or select a view.

{% hint style="success" %}
Ensure that your models are in your sequencer view before you start the import , else you won’t have any models to import into.
{% endhint %}

Select Import, Import Effects

![](/files/WViPzir7ZyerokHUIsdM)

Select the donor sequence xLights XSQ/XML or the Zip File.

![](/files/ll1cTsbLEoLSGWn7h9rX)

A model mapping window is displayed. On the top left is a list containing the timing tracks to import. On the left are the models and model groups from YOUR layout/sequencer tab("Model"). 'Blue' items are Model Groups. On the right is a list of models/groups/submodels ("Available") that contain effects from the sequence being imported. Click and drag a model name from the right list to the ‘Map To’ column in the row that you want to import the model to. You may also highlight the "Map To" cell and double click on a "Available" model to map it or highlight a "Available" model and double click the "Map To" cell.

![Import Dialog](/files/CDQFdKRz2ny92VT1EY5M)

Models in the "Available" list will turn gray when used. These items can still be used multiple times even when grayed out.

![](/files/Ir4OvWBKlbppB44LfM7u)

When done, select "Save Mapping", and save the XMAP file. This XMAP file can then be loaded in the future when mapping another sequence from the same layout.

![](/files/-LZS6xH-tgJwtpE-igCU)

Click OK when done.

### Mapping Dialog Options

The Import Effects mapping dialog provides a number of options to make mapping larger or repeated imports faster.

* **Load Mapping / multiple map files** – A previously saved XMAP file can be loaded to populate the Map To column. You can load more than one mapping file in succession. When a loaded mapping would overwrite mappings that are already in place, you are prompted to either **Replace** the existing mappings or **Add Additional** mappings on top of them, so several maps can be stacked together.
* **Clear All / Clear Selected** – Clear every mapping at once, or clear only the highlighted rows, without having to start the dialog over.
* **Number of effects** – The left side of the mapping list shows how many effects each model in the donor sequence contains, helping you decide which elements are worth mapping.
* **Convert to Per Model** – When importing onto a model group, effects can be converted to render Per Model so they map onto the individual models in the group.
* **Add empty group** – While mapping you can add an empty group to map effects into.
* **Submodels** – Submodels can be sorted within their model and unmapped submodels can be hidden to reduce clutter. Models are matched to your layout by alias where one exists.
* **Show Timeline** – Lyric/phoneme timing tracks are mapped using checkboxes, and the dialog remembers your show-timeline preference between sessions.

A key binding can be assigned to open the Import Effects window directly. See the Key Bindings dialog to set one.

### AI and Lua Auto-Mapping

When one or more AI Services are enabled (see Preferences → Services), xLights can attempt to automatically map the donor sequence's models to the models in your layout, matching them by name and characteristics. Review and adjust the suggested mappings before clicking OK, as automatic matches are not guaranteed to be correct.

Sequence importing and auto-mapping can also be driven from Lua scripts, allowing repetitive imports to be automated.

### Importing a SuperStar Sequence

Change the File Type drop-down to SUP. Then select the SuperStar Sequence File.

![File Select Dialog](/files/-LcyALaBgDoV38CFR3IJ)

The SuperStar Import Dialog will then appear. Select the xlights model to import the SuperStar file onto.

![](/files/-LacTgbyNuW_WJpQ5OZH)

xLights will create pictures from the SuperStar files. The next dialog asks the user to select a folder to save these pictures files too. In the file name field set the 'base' file name. This 'base' name is used as the file name root of all the saved image files. In most cases just set the 'base' name to the SUP file name.

![](/files/-LZSMRKa-E7-8qZcaNLb)

The SUP file will then be imported to the specified model as picture and morph effects.

![](/files/-LZSKvYr6UqkIH-IWBSe)

### Importing a LOR Sequence

Importing a LOR sequence follows the same steps as described above. However, depending on the LOR hardware setup, channel definitions in LOR and correspondingly in xLights need to align. See discussion within Tutorials Section, Coming Over from LOR.

{% content-ref url="/pages/-Lafzf7NokHg\_2TILKYy" %}
[Coming from LOR](/xlights/tutorials/coming-from-lor.md)
{% endcontent-ref %}
