# How to add msdos games

For example, we're going to use this website <https://www.retrogames.cz/?language=EN>

So let's look for some games and let's pick for example iconic game Doom.

{% embed url="<https://www.retrogames.cz/play_414-DOS.php>" %}

The game we want to add to our arcade script need to have listed emulator "js-dos"

![](/files/qOHFCAatr4UMCYUx8nAg)

if it has js-dos listed in the emulator then we can add it to the arcade script! Sweet!

The next step will be to view the source of the website on google chrome you can view the source of the website by pressing keys "ctrl + u"

After we finally see the source of the website, we will look for the string "DOSBox" by pressing keys "ctrl + f"

![](/files/AmWd3GtXlQgiiBW5yIi7)

This is exactly what we're looking for "dos/zip/Doom.zip" and "./DOOM.EXE"

So it's time to just add it into config.lua

```lua
-- game list for retro machine
Config.RetroMachine = {
    {
        name = "DOOM",
        link = string.format("nui://rcore_arcade/html/msdos.html?url=%s&params=%s", "https://www.retrogames.cz/dos/zip/Doom.zip", "./DOOM.EXE"),
    },
}
```

Notice that we have to add a URL to the zip in the config

<mark style="color:orange;">**<https://www.retrogames.cz/>**</mark>dos/zip/Doom.zip

Well and that's all. The game should be in retro machine and working in arcade script :)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.rcore.cz/free-resources/rcore_arcade/how-to-add-msdos-games.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
