> For the complete documentation index, see [llms.txt](https://legacydmc.gitbook.io/chaser/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacydmc.gitbook.io/chaser/fundamentals/creating-an-engineswap-profile.md).

# Creating an engineswap profile

Creating an enginedata profile is a great way of adding more customization for your vehicles.\
\
In order to create a engine profile, you'll need to call an export to collect the necessary data to fill the engineswap.lua profile, and you can do so by creating a lua resource and paste the following code:<br>

```lua
local chaser = exports['legacydmc_chaser']

RegisterCommand("getengswapdata", function()
    if chaser:chaser_getloadstatus() then
        chaser:chaser_getengineswapdata()
    end
end, false)

```

Then, inside a car type the `"getengswapdata"` command and you'll see that in the F8 console, it will give you the necessary information to fill in the enginedata.lua profile

<figure><img src="/files/6fvgm3NToN36cD3qqoHA" alt=""><figcaption></figcaption></figure>

Now, go into our tutorial about the "enginedata.lua" file to learn how to properly create a engine profile!

{% content-ref url="/pages/mhtVFlEfa6G2vHEQ9cY8" %}
[enginedata.lua](/chaser/the-config-folder/enginedata.lua.md)
{% endcontent-ref %}
