# TheXTech

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/thextech/

TheXTech emulates Super Mario Bros. X. It reads 19 files, 3 of them required: without a required file it does not start games.

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Game engine |
| Source | [https://github.com/TheXTech/TheXTech](https://github.com/TheXTech/TheXTech) |
| Version | 1.8-dev, stated in [`version.cmake`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/version.cmake) |
| Revision | [TheXTech/TheXTech@e07c5bfb9237](https://github.com/TheXTech/TheXTech/commit/e07c5bfb92377d315d0ab33177092fa7cadeb84e) |
| Run by | [Batocera](https://abdess.github.io/retrobios/platforms/batocera/), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/) |
| Profiled | 2026-10-04 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/thextech.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/thextech.json) |
| Systems | Super Mario Bros. X |

**Install this emulator's files**

With Batocera or KNULLI: the installer finds Batocera or KNULLI and its BIOS folder, then downloads only the files TheXTech reads there and checks each one.

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator thextech
```

**Technical notes**

C++ reimplementation of the SMBX 1.3 engine. The engine itself ships no game assets. Asset packs are searched at startup under every root of AppPathManager::assetsSearchPath(): the root itself (legacy layout), then each directory or archive of its assets/ folder. ref: [`src/main/asset_pack.cpp:249-378`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L249-L378) (s_find_asset_packs), [`lib/AppPath/private/app_path.cpp:135-181`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/lib/AppPath/private/app_path.cpp#L135-L181)

A directory is scanned when it carries graphics/ui/, an archive when it carries _meta.ini. Two descriptors are recognized: _meta.ini archive pack ([content] engine "TheXTech", platform matching the running target, pack-id) gameinfo.ini directory pack ([game] id, menu images under [android]) A pack under assets/ is ignored when no id could be read, while the legacy root pack needs none. ref: [`src/main/asset_pack.cpp:125-207`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L125-L207), [`334-339`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L334-L339)

The pack-selection menu loads an icon, a logo and a background. Only the logo is checked: without it the pack is ignored ("Could not load UI assets from possible asset pack"). ref: [`src/main/asset_pack.cpp:115-117`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L115-L117), [`225-233`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L225-L233), [`282-283`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L282-L283)

The selected pack is then loaded by GFX_t::load, which fails when one of the UI images it requires from graphics/ui/ is missing. ref: [`src/gfx.cpp:121-229`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/gfx.cpp#L121-L229), [`src/main/asset_pack.cpp:415-438`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L415-L438)

TheXTech is content-agnostic. The reference packs that TheXTech releases alongside the engine are the SMBX 1.3 asset pack (`thextech-assets-smbx13`) and the free Adventures of Demo pack (`thextech-assets-adventures-of-demo`). Any pack that satisfies the structure above runs.

Paths below are written from a search root. TheXTech/ is the name the build gives its user directory (THEXTECH_DIRECTORY_PREFIX) and its system directory, and the application directory is searched the same way. ref: CMakeLists.txt:297, [`lib/AppPath/private/app_path_unix.cpp:46`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/lib/AppPath/private/app_path_unix.cpp#L46), 103, [`lib/AppPath/private/app_path.cpp:87`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/lib/AppPath/private/app_path.cpp#L87)

## Files

**19 files**: 3 required, 16 optional.

By kind: 19 game data.

In this collection: 19 in repo and 0 missing.

## Game data

| File | Status |
|---|---|
| ** ### `assets/` ** - Path: `TheXTech/assets/`- Every file directly under assets/ is opened as an archive and kept as a pack when it holds _meta.ini, and every subdirectory is kept when it holds graphics/ui/. _meta.ini is read only through the archive prefix: [content] engine must be TheXTech, platform must match the build, pack-id names the pack. - Collection copies: 1 file under [`bios/Game Engines/TheXTech/assets/`](https://abdess.github.io/retrobios/systems/game-engines/#thextech) ([browse](https://github.com/Abdess/retrobios/tree/main/bios/Game%20Engines/TheXTech/assets)) **Source** - Source: [`src/main/asset_pack.cpp:131-181`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L131-L181), [`src/main/asset_pack.cpp:290-300`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L290-L300), [`src/main/asset_pack.cpp:313-319`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L313-L319) | optionalin repogame datadirectory |
| ** ### `gameinfo.ini` ** - Path: `TheXTech/gameinfo.ini`- Directory pack descriptor. [game] id names the pack, [android] logo/background override the menu images. - Collection copy: [`bios/Game Engines/TheXTech/gameinfo.ini`](https://abdess.github.io/retrobios/systems/game-engines-thextech-6/#sha1-68c54850236e) **Source** - Source: [`src/main/asset_pack.cpp:126`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L126), [`src/main/asset_pack.cpp:182-190`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L182-L190), [`src/main/game_info.cpp:143`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/game_info.cpp#L143) | optionalin repogame data |
| ** ### `thextech.ini` ** - Path: `TheXTech/thextech.ini`- Read from the application directory at startup. [Main] force-portable = true makes that directory the user directory, so settings and saves stay next to the executable. - Collection copy: [`bios/Game Engines/TheXTech/thextech.ini`](https://abdess.github.io/retrobios/systems/game-engines-thextech-10/#sha1-8a9124bb80f1) **Source** - Source: [`lib/AppPath/private/app_path.cpp:98`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/lib/AppPath/private/app_path.cpp#L98), [`lib/AppPath/private/app_path.cpp:196-222`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/lib/AppPath/private/app_path.cpp#L196-L222) | optionalin repogame data |
| ** ### `thextech_128.png` ** - Path: `TheXTech/graphics/ui/icon/thextech_128.png`- Pack icon. Loaded during pack scan, result not checked. - Collection copy: [`bios/Game Engines/TheXTech/graphics/ui/icon/thextech_128.png`](https://abdess.github.io/retrobios/systems/game-engines-thextech-10/#sha1-8ceee00b608e) **Source** - Source: [`src/main/asset_pack.cpp:115`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L115), [`src/main/asset_pack.cpp:225`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L225) | optionalin repogame data |
| ** ### `MenuGFX2.png` ** - Path: `TheXTech/graphics/ui/MenuGFX2.png`- Main menu logo. Pack ignored if no logo loads, and GFX_t::load requires it as well. - Collection copy: [`bios/Game Engines/TheXTech/graphics/ui/MenuGFX2.png`](https://abdess.github.io/retrobios/systems/game-engines-thextech-7/#sha1-74d0d0627572) **Source** - Source: [`src/main/asset_pack.cpp:116`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L116), [`src/main/asset_pack.cpp:226-230`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L226-L230), [`src/main/asset_pack.cpp:334-335`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L334-L335), [`src/gfx.cpp:201`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/gfx.cpp#L201) | requiredin repogame data |
| ** ### `background2-2.png` ** - Path: `TheXTech/graphics/background2/background2-2.png`- Menu background. Loaded during pack scan, result not checked. - Collection copy: [`bios/Game Engines/TheXTech/graphics/background2/background2-2.png`](https://abdess.github.io/retrobios/systems/game-engines-thextech-2/#sha1-3fa941bf3b75) **Source** - Source: [`src/main/asset_pack.cpp:117`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L117), [`src/main/asset_pack.cpp:227-233`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L227-L233) | optionalin repogame data |
| ** ### `graphics/` ** - Path: `TheXTech/graphics/`- graphics/ui/ must exist for a directory to be scanned as a pack, and GFX_t::load rejects the pack when a required UI image is missing. - Collection copies: 2,408 files under [`bios/Game Engines/TheXTech/`](https://abdess.github.io/retrobios/systems/game-engines/#thextech) ([browse](https://github.com/Abdess/retrobios/tree/main/bios/Game%20Engines/TheXTech)) **Source** - Source: [`src/main/asset_pack.cpp:274`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L274), [`src/main/asset_pack.cpp:326-327`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/asset_pack.cpp#L326-L327), [`src/gfx.cpp:121-229`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/gfx.cpp#L121-L229), [`src/load_gfx.cpp:117-120`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/load_gfx.cpp#L117-L120) | requiredin repogame datadirectory |
| ** ### `fonts/` ** - Path: `TheXTech/fonts/`- Raster fonts described by *.font.ini files. Without the directory, or with no font in it, the built-in fallback fonts are loaded. - Collection copies: 49 files under [`bios/Game Engines/TheXTech/fonts/`](https://abdess.github.io/retrobios/systems/game-engines/#thextech) ([browse](https://github.com/Abdess/retrobios/tree/main/bios/Game%20Engines/TheXTech/fonts)) **Source** - Source: [`src/fontman/font_manager.cpp:270`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/fontman/font_manager.cpp#L270), [`src/fontman/font_manager.cpp:477-499`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/fontman/font_manager.cpp#L477-L499) | optionalin repogame datadirectory |
| ** ### `languages/` ** - Path: `TheXTech/languages/`- thextech_<lang>.json and assets_<lang>.json translations. Without the directory no translation is listed. - Collection copies: 30 files under [`bios/Game Engines/TheXTech/languages/`](https://abdess.github.io/retrobios/systems/game-engines/#thextech) ([browse](https://github.com/Abdess/retrobios/tree/main/bios/Game%20Engines/TheXTech/languages)) **Source** - Source: [`lib/AppPath/private/app_path.cpp:311-315`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/lib/AppPath/private/app_path.cpp#L311-L315), [`src/core/language/language_common.cpp:72-83`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/core/language/language_common.cpp#L72-L83), [`src/core/language/language_common.cpp:104-122`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/core/language/language_common.cpp#L104-L122) | optionalin repogame datadirectory |
| ** ### `sound/` ** - Path: `TheXTech/sound/`- SFX directory, files named by sounds.ini. Game runs without sounds. - Collection copies: 98 files under [`bios/Game Engines/TheXTech/sound/`](https://abdess.github.io/retrobios/systems/game-engines/#thextech) ([browse](https://github.com/Abdess/retrobios/tree/main/bios/Game%20Engines/TheXTech/sound)) **Source** - Source: [`src/sound.cpp:1320`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/sound.cpp#L1320) | optionalin repogame datadirectory |
| ** ### `music/` ** - Path: `TheXTech/music/`- Music tracks, files named by music.ini. - Collection copies: 71 files under [`bios/Game Engines/TheXTech/music/`](https://abdess.github.io/retrobios/systems/game-engines/#thextech) ([browse](https://github.com/Abdess/retrobios/tree/main/bios/Game%20Engines/TheXTech/music)) **Source** - Source: [`src/sound.cpp:1319`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/sound.cpp#L1319) | optionalin repogame datadirectory |
| ** ### `sounds.ini` ** - Path: `TheXTech/sounds.ini`- SFX index. A message box reports its absence and the game runs without SFX. - Collection copy: [`bios/Game Engines/TheXTech/sounds.ini`](https://abdess.github.io/retrobios/systems/game-engines-thextech-9/#sha1-bb5d8370e3e5) **Source** - Source: [`src/sound.cpp:1323`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/sound.cpp#L1323), [`src/sound.cpp:1349-1355`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/sound.cpp#L1349-L1355), [`src/sound.cpp:1364`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/sound.cpp#L1364) | optionalin repogame data |
| ** ### `music.ini` ** - Path: `TheXTech/music.ini`- Music index. A message box reports its absence and the game runs without default music. - Collection copy: [`bios/Game Engines/TheXTech/music.ini`](https://abdess.github.io/retrobios/systems/game-engines-thextech-7/#sha1-4a5ea64ea41e) **Source** - Source: [`src/sound.cpp:1322`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/sound.cpp#L1322), [`src/sound.cpp:1342-1348`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/sound.cpp#L1342-L1348), [`src/sound.cpp:1357`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/sound.cpp#L1357) | optionalin repogame data |
| ** ### `editor.ini` ** - Path: `TheXTech/editor.ini`- Item lists of the built-in editor, read when the translation table is built. - Collection copy: [`bios/Game Engines/TheXTech/editor.ini`](https://abdess.github.io/retrobios/systems/game-engines-thextech-6/#sha1-d14f9da8d99f) **Source** - Source: [`src/editor/editor_custom.cpp:969`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/editor/editor_custom.cpp#L969), [`src/editor/editor_custom.cpp:986`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/editor/editor_custom.cpp#L986), [`src/main/translate.cpp:889`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/translate.cpp#L889) | optionalin repogame data |
| ** ### `intro.lvlx` ** - Path: `TheXTech/intro.lvlx`- Aliases: `intro.lvl`- Level shown behind the main menu. intro.lvl is opened when intro.lvlx is absent, and a level picked from introset/ takes the place of both. With none of the three the game exits on a fatal error. - Collection copy: [`bios/Game Engines/TheXTech/intro.lvlx`](https://abdess.github.io/retrobios/systems/game-engines-thextech-7/#sha1-3899331b9b6b) **Source** - Source: [`src/game_main.cpp:172-185`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/game_main.cpp#L172-L185), [`src/game_main.cpp:224-250`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/game_main.cpp#L224-L250), [`src/game_main.cpp:1095-1106`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/game_main.cpp#L1095-L1106) | requiredin repogame data |
| ** ### `introset/` ** - Path: `TheXTech/introset/`- Directory of .lvl/.lvlx intro levels. One is picked at random when present, otherwise the root intro level is opened. The Adventures of Demo pack carries none, and these 19 levels come from the introset/ of the Nostalgic Paradise pack (Blue Edition 0.2.8b, nostalgic-paradise-stable.7z). A level reads custom graphics from introset/ and from the subfolder named after it (07/, 08/, 10/), and every other block, BGO, NPC and background ID they use is present in the Adventures of Demo graphics. - Collection copies: 32 files under [`bios/Game Engines/TheXTech/introset/`](https://abdess.github.io/retrobios/systems/game-engines/#thextech) ([browse](https://github.com/Abdess/retrobios/tree/main/bios/Game%20Engines/TheXTech/introset)) **Source** - Source: [`src/game_main.cpp:194-222`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/game_main.cpp#L194-L222), [`src/game_main.cpp:247`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/game_main.cpp#L247), [`src/main/level_file.cpp:314-332`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/level_file.cpp#L314-L332) | optionalin repogame datadirectory |
| ** ### `outro.lvlx` ** - Path: `TheXTech/outro.lvlx`- Aliases: `outro.lvl`- Level shown behind the credits, unless the episode names its own. outro.lvl is opened when outro.lvlx is absent. - Collection copy: [`bios/Game Engines/TheXTech/outro.lvlx`](https://abdess.github.io/retrobios/systems/game-engines-thextech-9/#sha1-6e1728edd9b6) **Source** - Source: [`src/game_main.cpp:857-869`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/game_main.cpp#L857-L869) | optionalin repogame data |
| ** ### `worlds/` ** - Path: `TheXTech/worlds/`- Episodes shipped with the pack, listed next to the user's worlds directory. - Collection copies: 117 files under [`bios/Game Engines/TheXTech/worlds/the first adventure/`](https://abdess.github.io/retrobios/systems/game-engines/#thextech) ([browse](https://github.com/Abdess/retrobios/tree/main/bios/Game%20Engines/TheXTech/worlds/the%20first%20adventure)) **Source** - Source: [`src/main/menu_main.cpp:361-370`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/menu_main.cpp#L361-L370) | optionalin repogame datadirectory |
| ** ### `battle/` ** - Path: `TheXTech/battle/`- Battle mode levels shipped with the pack. - Collection copies: 420 files under [`bios/Game Engines/TheXTech/battle/`](https://abdess.github.io/retrobios/systems/game-engines/#thextech) ([browse](https://github.com/Abdess/retrobios/tree/main/bios/Game%20Engines/TheXTech/battle)) **Source** - Source: [`src/main/menu_main.cpp:701-706`](https://github.com/TheXTech/TheXTech/blob/e07c5bfb92377d315d0ab33177092fa7cadeb84e/src/main/menu_main.cpp#L701-L706) | optionalin repogame datadirectory |

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
