[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-117432":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":9,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":34,"discoverSource":35},117432,"AloneInTheDarkClassicReborn","nayo186\u002FAloneInTheDarkClassicReborn","nayo186","A source port of the Alone in the Dark trilogy and Jack in the Dark for modern PCs (Windows and Linux): fixes, HD options and its own launcher. Built on FITD by yaz0r, with parts of Re-Haunted",null,"C",73,5,4,3,0,2,20,24,58.1,"GNU General Public License v2.0",false,"main",[24,25,26,27,28,29,30],"alone-in-the-dark","fitd","game-engine","linux","retro-gaming","source-port","windows","2026-11-22 21:43:54","2026-11-23 09:08:29","# Alone in the Dark: Classic Reborn\n\nPlay the original **Alone in the Dark** (1992), **Jack in the Dark**, **Alone in the Dark 2** and **Alone in the Dark 3** on modern PCs and Android phones, with their original graphics and a set of careful fixes and options.\n\n**[⬇ Download the latest version](https:\u002F\u002Fgithub.com\u002Fnayo186\u002FAloneInTheDarkClassicReborn\u002Freleases\u002Flatest)** for Windows, Linux, macOS (experimental) or Android (experimental): unpack it, run `Launcher.exe` (`Launcher` on Linux and macOS) and choose your GOG or Steam copy of the game. Nothing else to install. On Android, install the `.apk` and import your copy of the game (see [On Android](#on-android-experimental)).\n\n**Alone in the Dark, Jack in the Dark, Alone in the Dark 2 and Alone in the Dark 3 are playable from start to end.** If something behaves differently from the original, please [report it](#reporting-a-problem).\n\nClassic Reborn is a C++17 source port of the Infogrames engine, built on a decompilation of the original DOS game. It is a fork of [Alone in the Dark: Re-Haunted](https:\u002F\u002Fgithub.com\u002Fspacefarergames\u002FAloneInTheDarkReHaunted), itself based on [FITD (Free in the Dark)](https:\u002F\u002Fgithub.com\u002Fyaz0r\u002FFITD) by yaz0r. Its goal is the 1992 game as it was meant to be seen, without its defects: the remaster's HD mode was removed and every addition is optional.\n\n> **The game data is not included.** You need your own copy of *Alone in the Dark*, *Alone in the Dark 2* and\u002For *Alone in the Dark 3* (the GOG or Steam editions). Nothing of the original games is in this repository.\n\n## Trailer\n\n\u003Cp align=\"center\">\u003Ca href=\"https:\u002F\u002Fyoutu.be\u002FcziOu0ecWaI\">\u003Cimg src=\"docs\u002Fimages\u002Ftrailer.jpg\" alt=\"Watch the trailer on YouTube\" width=\"80%\">\u003C\u002Fa>\u003C\u002Fp>\n\n## Screenshots\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Faitd1-compare-gog.jpg\" alt=\"The GOG edition\" width=\"100%\">\u003Cbr>\u003Csub>The GOG edition\u003C\u002Fsub>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Faitd1-compare-widescreen.jpg\" alt=\"Classic Reborn: widescreen and improved backgrounds\" width=\"100%\">\u003Cbr>\u003Csub>Classic Reborn: widescreen and improved backgrounds\u003C\u002Fsub>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Flauncher.jpg\" alt=\"The launcher\" width=\"70%\">\u003Cbr>\u003Csub>The launcher\u003C\u002Fsub>\u003C\u002Fp>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>More screenshots\u003C\u002Fb> (Alone in the Dark, Alone in the Dark 2 and 3)\u003C\u002Fsummary>\n\n### Alone in the Dark\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Faitd1-caves.jpg\" alt=\"Edward in the caves\" width=\"100%\">\u003Cbr>\u003Csub>Edward in the caves\u003C\u002Fsub>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Faitd1-fight.jpg\" alt=\"A fight in the hall\" width=\"100%\">\u003Cbr>\u003Csub>A fight in the hall\u003C\u002Fsub>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n### Alone in the Dark 2\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Faitd2-fight.jpg\" alt=\"A fight by the Christmas tree\" width=\"100%\">\u003Cbr>\u003Csub>A fight by the Christmas tree\u003C\u002Fsub>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Faitd2-grace.jpg\" alt=\"Grace in the kitchen\" width=\"100%\">\u003Cbr>\u003Csub>Grace in the kitchen\u003C\u002Fsub>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n### Alone in the Dark 3\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Faitd3-saloon.jpg\" alt=\"Carnby in the saloon\" width=\"100%\">\u003Cbr>\u003Csub>Carnby in the saloon\u003C\u002Fsub>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Faitd3-portrait.jpg\" alt=\"Carnby by the portrait in the bedroom\" width=\"100%\">\u003Cbr>\u003Csub>Carnby by the portrait in the bedroom\u003C\u002Fsub>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003C\u002Fdetails>\n\n## How it was made\n\nClassic Reborn started from a **decompilation**: FITD's C++ translation of the original DOS engine. On that base it became a **source port**, the same engine rebuilt for modern systems.\n\nIt is not a static recompilation: a static recompilation translates the machine code mechanically into code that runs on another system, without making it readable; here the engine is readable C++ that can be changed and fixed.\n\n- **The engine** comes from FITD, which reverse engineered the DOS executable into readable C++ (renderer, animation, collisions, cameras, inventory, saves...). It is *non-matching*: it behaves like the original, but it does not rebuild the original executable byte for byte. The engine's French function names (`AffObjet`, `LoadEtage`...) come from that work.\n- **The game's logic** (doors, monsters, items, events) is not in the executable: it lives in the \"Life\" scripts of the game's own `LISTLIFE.PAK`, which the engine interprets as the original did. For study, the engine can translate those scripts into readable C++ (`TatouSource\u002FFitdLib\u002Fscripts\u002Fnative\u002F`); the game always runs the original scripts.\n- **Everything else** (graphics through bgfx, audio, controls, menus, fixes) is new code. Jack in the Dark's music is written for the AdLib sound chip, which modern PCs no longer have, so it plays through an emulation of that chip.\n\n## Requirements\n\n**To play**\n\n- **Windows** 10 or 11, 64-bit, and a graphics card with DirectX 11.\n- Or **Linux**, 64-bit (x86-64): Ubuntu 22.04, Linux Mint 21, Debian 12, Fedora 37 or newer, or any other distribution of the same age, with a graphics card that supports Vulkan or OpenGL.\n- Or **macOS** 11 or newer, Apple Silicon or Intel (experimental, see [On macOS](#on-macos-experimental)).\n- Or an **Android** phone or tablet with Android 7 or newer, 64-bit (almost every phone since 2017), with Vulkan or OpenGL ES 3.0 (experimental, see [On Android](#on-android-experimental)).\n- Your own copy of *Alone in the Dark* (*Jack in the Dark* comes with it), *Alone in the Dark 2* and\u002For *Alone in the Dark 3*: the GOG or Steam editions, or your original CD as an image (see [Your original CD](#your-original-cd)).\n- Nothing else to install: no .NET, no Visual C++ Redistributable, no DirectX setup, no Linux packages. Unpack and run the launcher.\n\n**To build the project**\n\n- On Windows: [Visual Studio 2022](https:\u002F\u002Fvisualstudio.microsoft.com\u002Fvs\u002F) (the free Community edition works) with the **Desktop development with C++** workload. It includes CMake.\n- On Linux: GCC 11 or newer, CMake, Ninja and the development packages of X11, Wayland, OpenGL and the sound systems (the list is in [Building](#building)).\n- On macOS: Xcode (or its Command Line Tools), CMake and Ninja; `tools\u002FmakeRelease-macos.sh` builds the players' package.\n- For Android: JDK 17 and the Android SDK with its NDK (the versions are in `TatouSource\u002Fandroid\u002Fapp\u002Fbuild.gradle`), on Windows, Linux or macOS.\n- [Git](https:\u002F\u002Fgit-scm.com\u002Fdownloads) to download the repository.\n- Optional: [Python 3](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002F) for the scripts in `tools\u002F` (dictionary of methods, layer check).\n- Every library is included in the repository.\n\n## Supported games\n\n| Game | State |\n| --- | --- |\n| Alone in the Dark (1992, CD version) | Playable from start to end |\n| Jack in the Dark (1993) | Playable from start to end |\n| Alone in the Dark 2 (1993, CD version) | Playable from start to end |\n| Alone in the Dark 3 (1994, CD version) | Playable from start to end |\n\n## What it adds\n\n- **Widescreen view** (all the games): the game fills a 16:9 screen with no stretching and no black bars. The scene is enlarged to the width of the screen and the view follows the character up and down; the right stick (or Page Up \u002F Page Down) looks up and down. Menus, the inventory and books stay whole in 4:3, with a blurred picture of the game at the sides. Choose **16:9 (zoomed)** or **16:10 (zoomed)** in **Aspect ratio** (see [Widescreen view](#widescreen-view)).\n- **Fixes** to the original: objects drawn in the wrong order, monsters stuck at windows, gaps in 3D models, lines at the edges of masks, game speed tied to the frame rate, and many more (see `docs\u002Fbaseline\u002FBUGS.md`).\n- **Launcher** to choose the game, its language (the five of the GOG and Steam editions: English, French, German, Italian, Spanish) and the data folder, with the same options as the in-game **F1** window. The menus are translated into the same five languages and Russian. When you quit a game opened from the launcher, you go back to the launcher, on the game you left.\n- **Screen options**: resolution, aspect ratio (4:3, 16:10, stretched, and the zoomed widescreen view), integer scaling, fullscreen, frame limit, VSync.\n- **Optional effects**: edge smoothing (FXAA) on the 3D models, bloom from the painted backgrounds, film grain, CRT scanlines, ambient occlusion (SSAO), enhanced text (in *Alone in the Dark* and *Jack in the Dark*, a new smooth font with the game's own capitals; pages and lines stay as in the original).\n- **Custom backgrounds**: export every background and mask of the game, enlarge or repaint them, and the game uses yours. Ready-made **HD packs** are available for *Alone in the Dark*, *Jack in the Dark*, *Alone in the Dark 2* and *Alone in the Dark 3*; the improved backgrounds and masks of *Alone in the Dark* and *Jack* download from the launcher in one click (see [Custom backgrounds](#custom-backgrounds)). Backgrounds, masks, animated sequences, music and narrators can all be changed: see the **[modding guide](MODDING.md)**.\n- **Controls**: keyboard and game controller (Xbox, PlayStation, Nintendo Switch Pro and most other USB or Bluetooth controllers), every action can be changed, several inputs per action.\n- **Modern left stick**: the character walks where you push the stick, seen from the camera, like the Resident Evil HD remasters; the D-pad and the keys stay tank controls (see [Controls](#controls)).\n- **Controller vibration**: a little when you are hit or shoot, more when you die; it can be turned off in **Controls**.\n- **Cheats** (F1): infinite life (in all four games) and infinite ammunition (in *Alone in the Dark* 1, 2 and 3), behind an \"Enable cheats\" switch.\n- **Your original CD**: play from an image of it (`.cue` and `.bin`, or `.iso`), read as it is (see [Your original CD](#your-original-cd)).\n- **Game file check**: the launcher checks the files of your game folder against the editions we know and warns if one is missing or different (see [Checking the game files](#checking-the-game-files)).\n- **Separate volumes** for music and for voices and effects.\n- **CD or AdLib music** in *Alone in the Dark* and *Alone in the Dark 2*, which come with both.\n- **Narrators**: the French CD's narrator (from your own CD) or a fans' dubbing, with any text language; in *Alone in the Dark 2* and *3* the narrator reads the books from the CD, and fans can dub it too (see [Narrators](#narrators)).\n- ***Alone in the Dark 3* in any of its languages** over your GOG or Steam installation, with the files of that language (English, French, German, Italian, and Spanish from the original Spanish CD): texts, voices and narrator (see [Other languages in Alone in the Dark 3](#other-languages-in-alone-in-the-dark-3)).\n- **Russian**: *Alone in the Dark* and *Alone in the Dark 2* in Russian, built in, with the translations of the [Old-Games.ru](https:\u002F\u002Fwww.old-games.ru) translation bureau; *Alone in the Dark 3* with their Russian CD (see [Russian](#russian)).\n- **Saves** in the format of the GOG edition: saves made in the GOG game load here (the three *Alone in the Dark* games).\n- **Menus** that adapt to any window size and work with mouse, keyboard, controller and touch.\n- **Android**: the four games on a phone, with on-screen controls as a controller (see [On Android](#on-android-experimental)).\n\n## Getting started\n\n1. Build the project (see [Building](#building)) or get a release.\n2. Run **`Launcher.exe`** (next to `Tatou.exe`). On Linux: **`Launcher`** (next to `Tatou`), see [On Linux](#on-linux).\n3. Choose the game in the library on the left (**Alone in the Dark**, **Alone in the Dark 2** or **Alone in the Dark 3**), press **Browse** and choose your game folder:\n   - a **GOG or Steam installation**: the folder with `GAME.GOG` (or its `INDARK` subfolder; `INDARK2` for *Alone in the Dark 2*, `INDARK3` for *Alone in the Dark 3*). Music and voices are read straight from the CD image (for *Alone in the Dark 3*, from its `MUSIC` folder); nothing is extracted or written there;\n   - or a **copy of the game files** (a folder with the `.PAK` files; Jack in the Dark in its `JACK` subfolder);\n   - or a folder with **your original CD as an image** (`.cue` and `.bin`, or `.iso`; see [Your original CD](#your-original-cd)).\n4. Choose the language of the game and press **Play** (see [Languages](#languages)). *Jack in the Dark* has its own button, next to **Play** on the *Alone in the Dark* page, when its files are found.\n\n**Everything in one folder (portable).** Each game can also live inside `UserData`, in its own **`GAME`** folder (the launcher creates them empty): `UserData\\AITD1\\GAME` (with *Jack in the Dark*), `UserData\\AITD2\\GAME` and `UserData\\AITD3\\GAME`. Copy your GOG or Steam installation there; only these files are needed (the rest, like DOSBox, GOG's saves or the installers, can be left out):\n\n| Game | Files |\n|---|---|\n| *Alone in the Dark* | `GAME.GOG`, `GAME.INS` (Steam: `GAME.INST`), the `.PAK` and `.ITD` files of `INDARK`, and those of `JACK` for *Jack in the Dark* |\n| *Alone in the Dark 2* | `GAME.GOG`, `GAME.INS` (Steam: `GAME.INST`), the `.PAK` and `.ITD` files of `INDARK2` |\n| *Alone in the Dark 3* | the `.PAK` and `.ITD` files of `INDARK3` and its `INDARK3.CFG`, and the `MUSIC` folder |\n\nWhen the launcher opens, a game with no folder chosen takes its `GAME` folder, and so does one whose chosen folder is gone (uninstalled or moved). If neither is there, its folder stays empty for you to choose. With `UserData` and the programs in one folder, everything can be moved or copied to another computer or drive.\n\n**Updates.** When it opens, the launcher asks GitHub for the latest release of this project and, if there is a newer one, offers to install it; the **Update** button next to the version (bottom right) looks again. Installing downloads the package for your system and replaces only the programs and the documents next to them: `UserData` (options, saves, backgrounds) and `launcher.cfg` are never touched. Then close the launcher and open it again. The launcher connects to the internet only for this, and the game never does.\n\n**Starting a game without the launcher** (for example from a frontend that lists your games, each one as its own entry). The simple way is enough for almost everyone: open the launcher once, choose the game folder and the language there, and set the rest with its **Options**, **Controls** and **Audio** cards (or in the game, with F1). From then on, each game only needs its name:\n\n```\nTatou.exe --game aitd1\nTatou.exe --game jack\nTatou.exe --game aitd2\nTatou.exe --game aitd3\n```\n\n(`.\u002FTatou --game aitd1` on Linux; in PowerShell, with the full path in quotes, put `&` before it: `& \"C:\\Games\\ClassicReborn\\Tatou.exe\" --game aitd2`.) The game finds the folder, the language and the options you chose by itself.\n\nOnly if you want something else for one entry, add it to the line:\n\n- `--data \"\u003Cfolder>\"`: another game folder, the same kind you would choose with **Browse** (for example `--data \"C:\\GOG Games\\Alone in the Dark\"` or `--data \"C:\\GOG Games\\Alone in the Dark 2\"`);\n- `--lang \u003Clanguage>`: another language of the game for that session (`ENGLISH`, `FRANCAIS`, `DEUTSCH`, `ESPAGNOL` or `ITALIANO`; `RUSSIAN` in *Alone in the Dark* 1 and 2, and in *3* with the Russian CD in its `Languages` folder).\n\n### Your original CD\n\nIf you own the original CD of a game, you can play from an image of it instead of the GOG or Steam edition. Put the image in a folder of its own and choose that folder with **Browse** (or copy it into the game's `GAME` folder of `UserData`):\n\n- a **`.cue` with its `.bin`**: the whole CD, with the music. A `.bin` per track, as many programs make them, works too: keep them all next to the `.cue`;\n- or an **`.iso`** (or a `.bin` without `.cue`): the game files only, so the game plays without music.\n\nEverything is read straight from the image: the game files (from its `INDARK`, `INDARK2` or `INDARK3` folder, and *Jack in the Dark* from `JACK`), the voices and the music tracks. Nothing is extracted, and nothing is written next to the image: options, saves and the log go to `UserData`, as with GOG. The languages on the CD are offered in the launcher.\n\n**Editions.** The game knows the files of the GOG and Steam editions, which are the English CDs, and of the Spanish CD of *Alone in the Dark 3* and the Russian CD of Old-Games.ru (see [Russian](#russian)). Other CDs (other countries, other years) should work too, but some may have small differences: the launcher checks the files of your CD as those of any game folder and warns you if one is in no edition we know (see [Checking the game files](#checking-the-game-files)). If something goes wrong, please open an issue saying which edition you have (language, year) and attach `launcher.log` and `tatou.log`: they list the files that differ, which is what we need to make it work. If everything works, please tell us too, so your edition can be added to the known ones.\n\n### Checking the game files\n\nWhen you choose a game folder (and when the launcher opens), the launcher checks its game files against the editions we know: every `.PAK` and `.ITD` (not the saves) and the game's `.EXE`, by size and checksum. It works the same with a copy, a GOG or Steam installation or your CD image. If it takes more than a moment (a slow drive, a pen drive, a phone), a window shows how far it got. The next time only the files that changed are read again, so it is instant.\n\n- **Files missing**: a file the game needs is not there (a copy that was cut short, for example). The launcher says so in red at the bottom and, before playing, warns that the game will close or freeze when it needs that file, listing the first ones. Copy the game folder again from your installation or your CD.\n- **Files in no edition we know**: from another edition, changed or damaged. The launcher says so in red and, before playing, warns that the game may not work well, freeze or close. You can play anyway, and if you changed those files on purpose (a mod), tick **Do not warn again for these files**: the warning comes back only if the files change again.\n\nBoth lists, with each file's name, size and checksum, are in `launcher.log` and in `tatou.log` (the game checks too, without waiting, also when it is started without the launcher). Please attach them when you report a problem.\n\n### Languages\n\nGOG and Steam sell the same edition of each game, with the same languages:\n\n| Game | Text | Narrator |\n|---|---|---|\n| *Alone in the Dark* | English, French, German, Italian, Spanish | English |\n| *Jack in the Dark* | English, French, German, Italian, Spanish | none (it never had voices) |\n| *Alone in the Dark 2* | English, French, German, Italian, Spanish | English |\n| *Alone in the Dark 3* | The one chosen when installing it (English, French, German or Italian); Spanish from the original CD | The one of your installation; Spanish from the original CD |\n\nThe narrator reads with any text language. A French narrator only came on the old French CD of *Alone in the Dark* (1993), not in GOG or Steam; if you own it, see [Narrators](#narrators).\n\n### Russian\n\nThe game can be played in Russian thanks to the translations of the **[Old-Games.ru](https:\u002F\u002Fwww.old-games.ru) translation bureau**: thank you! In Russian, the credits of *Alone in the Dark* and *Alone in the Dark 2* name their team.\n\n- ***Alone in the Dark* and *Alone in the Dark 2***: Russian is built into the game. Choose **Русский** in **Game language**: the texts, the books and the texts drawn in pictures and animations are in Russian, over your GOG or Steam edition. The voices stay those of your edition.\n- ***Alone in the Dark 3***: with the Russian CD of Old-Games.ru (version 1.0, 2019, as `.bin` and `.cue`, `.iso` or its files). Put it in `UserData\\AITD3\\Languages\\Russian` and choose **Русский** in **Game language**, or choose its folder as the game folder with **Browse**. Nothing is extracted.\n\nWith **Enhanced text**, the Russian letters are drawn with the game's own capitals and a free font with the Russian alphabet (Ponomar, Alegreya and Podkova). The menus (launcher and F1) can be in Russian too: **Русский** in **Interface**.\n\n**Changing them** takes a click:\n\n- **Game language:** the **Game language** list on each game's page of the launcher. It is kept for next time.\n- **Menu language** (launcher and F1): **Interface**, at the top right of the launcher.\n- **Narrator**, if you added extra voices: the **Narrator** list of the **Audio** window, in the launcher (its **Audio** card) or in the game with **F1**.\n\n### Other languages in Alone in the Dark 3\n\nGOG and Steam sell *Alone in the Dark 3* one language at a time (English, French, German or Italian), and each language has its own texts, voices, narrator and some data files. Spanish was only on the original Spanish CD. The launcher offers the language of your installation; any other one you own can be added as a folder, and the game reads it over your installation without changing it:\n\n1. Open `UserData\\AITD3\\Languages` (next to `Launcher.exe`; the launcher creates it the first time it opens) and make a folder in it named `English`, `French`, `German`, `Italian`, `Spanish` or `Russian`.\n2. Put that language's files in it, from the `INDARK3` folder of an installation in that language (or the whole folder):\n\n   | Language | Files |\n   |---|---|\n   | English | `ENGLISH.PAK`, `LISTSAMP.PAK`, `LISTLIFE.PAK`, `ITD_RESS.PAK`, `LISTMAT.PAK`, `LISTTRAK.PAK`, `PRIORITY.ITD` |\n   | French | `FRANCAIS.PAK`, `LISTSAMP.PAK`, `LISTLIFE.PAK`, `OBJETS.ITD`, `ITD_RESS.PAK`, `LISTMAT.PAK`, `LISTTRAK.PAK`, `PRIORITY.ITD` |\n   | German | `DEUTSCH.PAK`, `LISTSAMP.PAK`, `LISTLIFE.PAK`, `ITD_RESS.PAK`, `LISTMAT.PAK`, `LISTTRAK.PAK`, `PRIORITY.ITD` |\n   | Italian | `ITALIANO.PAK`, `LISTSAMP.PAK`, `LISTLIFE.PAK`, `LISTANIM.PAK`, `ITD_RESS.PAK`, `LISTMAT.PAK`, `LISTTRAK.PAK`, `PRIORITY.ITD` |\n   | Spanish (CD) | `ESPAGNOL.PAK`, `LISTSAMP.PAK`, `LISTLIFE.PAK`, `PRIORITY.ITD`, `ITD_RESS.PAK` |\n   | Russian (CD of Old-Games.ru) | the whole `INDARK3` folder of the CD (its Russian texts are in its `ENGLISH.PAK`) |\n\n   With a French installation, the other languages also need its `OBJETS.ITD`, and French over any other one needs its own: the French version numbers its scripts differently. A folder that lacks a file it needs is not offered (the launcher writes which one in `launcher.log`).\n3. For the voiced intro and the narrator, add that language's audio tracks: the files of its `MUSIC` folder (`Track02.ogg`...) as they are, or named after the track minus 1 (`01.ogg`...), as `.ogg`, `.wav` or `.mp3`. Without them, the texts and the voices of the scenes are in that language and the intro and the books are read by the narrator of your installation. The narrator's timing of each language is built into the game.\n4. The Spanish CD and the Russian CD also work as **an image**: its `.bin` (or `.img`) with its `.cue` of the same name in the `Spanish` or `Russian` folder. Everything is read straight from the image; nothing is extracted.\n\n   **Or one file:** the files of a language folder (and its tracks) can go in a single `Spanish.language` file (or `French.language`...) in `Languages`, instead of the folder (a language pack, see the [modding guide](MODDING.md#language-packs-language)). A folder with the same name comes first.\n5. In the launcher, choose the language in the **Game language** list of the *Alone in the Dark 3* page (it appears once the folder is found) and press **Play**.\n\nYour installation is not changed, and choosing its language goes back to it. No game files are included with this project: you need your own copies.\n\n**Saves and French.** A save keeps the number of the script each object is running, and the French version numbers its scripts differently from the others. So a save made in French can only be loaded in French, and one made in English, German, Italian or Spanish only in one of those (as with the original versions). The load screen shows the others as **Other language**. Saves made before this version, and GOG's, carry no language and load as before.\n\n### On Linux\n\n1. Unpack the `.tar.gz` anywhere in your home folder (most file managers open it with a double click, or `tar -xzf ClassicReborn-\u003Cversion>-linux-x64.tar.gz`).\n2. Run `Launcher` from that folder (double click, or `.\u002FLauncher` in a terminal).\n3. **Browse** to the game installed for Windows (the same for every game):\n   - **GOG** with Heroic, Lutris or Wine: the game's folder inside the Wine prefix, the one with `GAME.GOG` (for example `~\u002FGames\u002FHeroic\u002FAlone in the Dark` or `~\u002FGames\u002FHeroic\u002FAlone in the Dark 2`);\n   - **Steam** with Proton: `steamapps\u002Fcommon` in your Steam library (by default `~\u002F.steam\u002Fsteam\u002Fsteamapps\u002Fcommon`);\n   - or a copy of the game files, as on Windows.\n\n   Folders whose name starts with a dot (`.steam`) are hidden: press Ctrl+H in the folder picker to show them, or type the path.\n\nThe game runs natively, without Wine or Proton: those are only needed to install the game files. Everything works as on Windows, including music and voices from the CD image and `UserData` next to the programs. Updates from the launcher need `curl` (installed on almost every distribution; otherwise `sudo apt install curl` or your system's equivalent).\n\n**The Linux version is ready to play:** built and tested on Ubuntu, with the GOG installation and a copy of the game files, in *Alone in the Dark* and *Jack in the Dark*. *Alone in the Dark 2* uses the same code and is built for Linux too. Reports from Linux players are very welcome, to keep improving it. Controllers are supported too, with the same code as on Windows (SDL3). If anything does not work on your system (a controller, the sound, the picture...), please open an issue (see [Reporting a problem](#reporting-a-problem)) and we will fix it.\n\n**From Windows (WSL).** The Linux version also runs in WSL2 with Ubuntu. WSL is not a full Linux PC, so for a smooth game it helps to:\n\n- use the graphics card through Mesa's Dozen driver (Vulkan over Direct3D 12): Ubuntu's own Vulkan in WSL draws on the processor;\n- send the sound to a PulseAudio server on Windows: WSLg's own sound tends to stop after a while;\n- keep the game files inside Linux's disk, not on a Windows drive (`\u002Fmnt\u002Fc`, `\u002Fmnt\u002Fd`), so camera changes stay smooth;\n- try controllers on a real Linux PC: WSL does not pass them to Linux.\n\n### On macOS (experimental)\n\n**The Mac version is new and experimental.** It is built for every Mac with macOS 11 or newer, Apple Silicon (M1 and later) and Intel, from the same code as Windows and Linux, and it starts and draws with Metal on Apple's system. It is being polished: reports from Mac players are very welcome. Please open an issue with your Mac's model, its macOS version and `tatou.log` (see [Reporting a problem](#reporting-a-problem)).\n\n1. Unpack `ClassicReborn-\u003Cversion>-macos.tar.gz` (a double click in Finder) into a folder of your own, for example in **Documents** (not in **Downloads**).\n2. **The first time**, macOS stops it, because it is not signed with a paid Apple developer account. Open **Terminal**, type `xattr -dr com.apple.quarantine ` (with a space at the end), drag the unpacked folder onto the Terminal window and press Return. This only tells macOS that you trust this folder; it is needed once.\n3. Double click **`Launcher`** (it opens with a Terminal window next to it; leave it open while you play).\n4. **The game files.** The simplest on a Mac is to copy them into the launcher's own folders: `UserData\u002FAITD1\u002FGAME`, `UserData\u002FAITD2\u002FGAME` or `UserData\u002FAITD3\u002FGAME` (see *Everything in one folder* in [Getting started](#getting-started)). Take them from your GOG or Steam installation on a Windows PC, or from the GOG version for Mac. The launcher finds them by itself. You can also press **Browse** and choose the folder where they are.\n\nEverything else works as on Windows and Linux: the options, the controllers, the saves in `UserData` and the updates from the launcher.\n\n### On Android (experimental)\n\n**The Android version is new and experimental.** It is the same game as on the PC, with the launcher inside the app and on-screen controls. It was played on a Redmi Note 13 (Android 15) with the three games; it is being polished, and reports from Android players are very welcome (see [Reporting a problem](#reporting-a-problem)). It needs Android 7 or newer on a 64-bit phone or tablet. It draws with Vulkan, or with OpenGL ES 3.0 on phones where Vulkan does not start.\n\n1. **Install the app.** On the phone, download `ClassicReborn-\u003Cversion>-android.apk` from the [latest release](https:\u002F\u002Fgithub.com\u002Fnayo186\u002FAloneInTheDarkClassicReborn\u002Freleases\u002Flatest) and open it. The first time, Android asks to allow your browser (or file manager) to install apps: allow it. It is not on Google Play, so Play Protect may warn about an unknown app: choose to install anyway. The app is called **Alone in the Dark: Classic Reborn**.\n2. **Bring the game to the phone.** Copy a folder with the game to the phone, in any way: with a USB cable to **Download**, on a memory card, from a cloud drive... Any of these:\n   - your **GOG or Steam installation** from a PC (the folder with `GAME.GOG`, or with `INDARK3` and `MUSIC` for *Alone in the Dark 3*);\n   - a folder with **your original CD as an image** (`.cue` and `.bin`, or `.iso`; see [Your original CD](#your-original-cd)). Import it on the game's page before anything else: once the game is there, a CD image on the *Alone in the Dark* page is taken as a narrator and on the *Alone in the Dark 3* page as a language;\n   - a game's folder of **`UserData`** from Classic Reborn on your PC, such as `UserData\\AITD3`, with its `GAME` folder and everything you added (`Languages`, `Voices`, `Backgrounds`, `Masks`, `Saves`);\n   - the whole **`UserData`** folder, with every game at once.\n3. **Import it.** In the launcher, choose the game at the top, press **Import...** and choose that folder (\"Use this folder\"). The app copies what it recognises, in one go: the game (only the files it uses), and the languages, narrators, custom backgrounds, masks and saves its folder has. A folder named `AITD1`, `AITD2` or `AITD3` goes to that game, whatever the game chosen. You can also import only a language of *Alone in the Dark 3*, a narrator of *Alone in the Dark* or a `Backgrounds` or `Masks` folder later. When the cover turns to colour the game is ready, and the folder you copied can be deleted.\n4. Choose the language and press **Play**. The launcher turns with the phone; the game is always on its side.\n\n**Loading the games, step by step** (for example *Alone in the Dark* from GOG, with a USB cable):\n\n1. On the PC, find the game's folder: `C:\\GOG Games\\Alone in the Dark` for GOG, or `steamapps\\common\\Alone in the Dark` in your Steam library (the folder with `GAME.GOG` inside). If you already play with Classic Reborn on the PC, you can take `UserData\\AITD1` from its folder instead: it brings your saves, narrators and backgrounds too.\n2. Connect the phone to the PC with a USB cable and, on the phone, choose **File transfer** in the USB notification.\n3. On the PC, the phone shows up as a drive: copy the whole folder into its **Download** folder.\n4. On the phone, open **Alone in the Dark: Classic Reborn**, choose **AITD** at the top and press **Import...** at the bottom.\n5. Android's folder picker opens: go to **Download**, tap the game's folder (go *into* it) and press **Use this folder**, then **Allow**.\n6. Wait for \"Copying the game... 100%\" and \"Game imported.\": the cover turns to colour and the game is ready. The copy in **Download** can now be deleted.\n\nThe same for *Alone in the Dark 2* and *3*, each chosen at the top, or all at once by importing the whole `UserData` folder from the PC. Instead of a cable, the folder can come on a memory card, a USB stick or from a cloud drive: whatever lets you put it on the phone.\n\n**Why import?** Android keeps each app's files to itself: the game lives in the app's own folder (`Android\u002Fdata\u002Fcom.classicreborn.game\u002Ffiles`, with `UserData` inside, as on the PC), and since Android 11 other apps and the phone's file manager cannot copy into it. Import is the way in. Uninstalling the app deletes that folder, games and saves included.\n\n**On-screen controls.** A semi-transparent controller over the game, sized the same on every phone: in the black bars at the sides of the picture when they are wide enough, otherwise over its edges. It is a virtual controller with the same buttons as the [Controls](#controls) table: the **D-pad** (bottom left) is the tank control and the **stick** (it appears where you put your thumb on the left half) walks where you push it, as the modern left stick; **A**, **B**, **Y**, **Start**, **Back** and **RT** do what they do on a controller. Only the buttons that have an action show (Y only in *Alone in the Dark 3*), and a change in **Controls** changes them too. Several fingers work at once. They hide when a controller (Bluetooth or USB) or a keyboard is used, and come back with a touch. Android's **Back** key is **B** (pause). The menus (launcher and F1) work with the finger: tap to choose, drag to scroll.\n\n**Updates.** As on the PC, the launcher looks for a newer version when it opens (and with **Update**). Installing downloads the new app and Android asks you to update it: accept. Your games, saves and options are kept. The first time, Android asks to allow the app to install apps: allow it.\n\n## Controls\n\nEvery action can be changed in **Controls** (the launcher's **Controls** card, or F1 in the game). It has two tabs, **Keyboard** and **Controller** (LB and RB switch them): the controller tab is a picture of the controller where each button says what it does, and a click on it (or A) changes that. With a PlayStation or Switch controller connected, the buttons get their own names. Defaults:\n\n| Action | Keyboard | Controller |\n| --- | --- | --- |\n| Move | Arrows or W A S D | D-pad (tank) or left stick (modern) |\n| Run | Left Shift | L3 or right trigger |\n| Quick turn (half round) | Back + Run | Back + Run |\n| Action (use, fight, take) | Space | A |\n| Confirm \u002F inventory | Enter | Start |\n| Cancel \u002F pause menu | Esc | B |\n| Map (Alone in the Dark 3) | Tab | Y |\n| Look up \u002F down (widescreen view) | Page Up \u002F Page Down | Right stick |\n| Options window (F1) | F1 or Home | Back |\n| Fullscreen | F11 or Alt+Enter | — |\n\n**Running and turning.** Hold **Run** while moving forward to run (double-tapping forward also works, as in the original game). Press **back and Run** together for a quick turn: the character turns half round, as in the Resident Evil HD remaster.\n\n**Controllers.** Controllers are supported on Windows and Linux: any controller SDL3 recognises, connected by USB or Bluetooth (also while playing), such as Xbox (One, Series, 360), PlayStation (DualShock 4, DualSense), Nintendo Switch Pro and most generic controllers. If yours does not work as expected, please open an issue (see [Reporting a problem](#reporting-a-problem)) with its name. The table uses the Xbox names; on other controllers the buttons are in the same place:\n\n| Xbox | PlayStation | Switch Pro |\n| --- | --- | --- |\n| A | Cross (✕) | B |\n| B | Circle (○) | A |\n| Start | Options | + |\n| Back | Share \u002F Create | − |\n| L3 (press the left stick) | L3 | Left stick press |\n| Right trigger | R2 | ZR |\n\n**Modern left stick.** With the left stick the character walks where you push it, seen from the camera: up walks away from the camera, down towards it. When the camera changes, the direction is kept until you release the stick or push it elsewhere, so you never walk back into the room you left. While **Action** is held (to fight), the stick gives the tank directions, as the attacks need them. The D-pad and the keys are always tank controls: up walks forward, left and right turn. To use the left stick as tank controls too, untick **Modern left stick** in **Controls**.\n\n**Vibration.** The controller vibrates a little when you are hit and at each of your shots (a weapon that fires several times in a row vibrates at each shot), and more when you die. To turn it off, untick **Controller vibration** in **Controls** (in the game with F1, or in the launcher).\n\nThe menus (launcher and F1) also work with the controller: left stick or D-pad to move, right stick to scroll, A to choose, B to go back. The mouse cursor hides while the controller is in use and comes back when the mouse moves.\n\n**On Android**, the same controls are on the screen as a controller (see [On Android](#on-android-experimental)); a Bluetooth or USB controller works too.\n\n## Options\n\nThe launcher (its **Options**, **Controls** and **Audio** cards) and the in-game **F1** window share the same settings, saved in `aitd_remaster.cfg`:\n\n| Option | What it does |\n| --- | --- |\n| Frames per second, VSync | Smoothness; the game speed never depends on them |\n| Aspect ratio, resolution, fullscreen | How the 4:3 scene is shown; **16:9 (zoomed)** and **16:10 (zoomed)** are the [widescreen view](#widescreen-view) |\n| Graphics engine | How the picture is drawn: Direct3D 11 or Vulkan on Windows, Vulkan or OpenGL ES on Android (Linux and macOS have one). Applies the next time the game starts; try the other one if the picture looks wrong |\n| Integer scaling | Every pixel of the game the same size, with black borders around (like pixel-perfect scaling in DOSBox): **Size**: Automatic, the largest that fits, or a size of your choice; **3D resolution**: how sharp the 3D models are, down to the original 320 × 200. Off by default; while it is on, Resolution is not used |\n| Edge smoothing | FXAA on the 3D models |\n| Bloom | A soft glow from the bright parts of the painted backgrounds |\n| Film grain | A light grain over the picture |\n| Scanlines | Thin dark lines over the picture, like an old CRT screen; under it, their intensity from 1 (soft) to 4 (strong) |\n| SSAO | Soft shadows where surfaces meet |\n| Enhanced text | A new smooth font in every text, with each game's own capitals |\n| Custom backgrounds | Uses your pictures instead of the originals |\n| Improved backgrounds (Alone 1 and Jack) | Downloads the improved backgrounds and masks of *Alone in the Dark* and *Jack in the Dark* (one file, about 130 MB) and switches on Custom backgrounds; **Remove** deletes them |\n| Improved backgrounds (Alone 2) | The same for *Alone in the Dark 2* (one file, about 234 MB), on its page of the launcher |\n| Audio | Music volume, voices and effects volume, music type (CD or AdLib, in *Alone in the Dark* 1 and 2), narrator |\n| Controls | The inputs of every action, modern left stick, controller vibration |\n| Cheats (F1 only) | **Enable cheats** turns them on or off; **Infinite life**: damage never kills you, the game's traps (deadly falls, scripted deaths) still do |\n\n### Widescreen view\n\nIn every game, **Aspect ratio** has two widescreen choices, for a 16:9 screen:\n\n- **16:9 (zoomed)**: the 4:3 scene is enlarged to the whole width of the screen. Part of it is out of the screen above and below, and the view follows the character gently up and down (it jumps at once when the camera changes); in a scene, it also keeps on screen whoever moves with the character, when they fit.\n- **16:10 (zoomed)**: enlarges a little less, so more of the scene is seen, with narrow strips at the sides.\n\n**Look up \u002F Look down** (right stick, or Page Up \u002F Page Down) move the view to the top or the bottom of the scene without moving the character, and it comes back when released. Menus, the inventory, books and pictures are shown whole in 4:3, with a still, blurred picture of the game at the sides, and messages are always fully on screen. The resolution list offers 16:9 sizes (1280×720 to 3840×2160).\n\n## Folders\n\nNothing is ever written to the game folder (not even to a `GAME` folder inside `UserData`). Everything the game writes goes to **`UserData`**, next to the executables:\n\n```\nUserData\u002F\n├── aitd_remaster.cfg      options (shared by all the games)\n├── AITD1\u002F                 Alone in the Dark\n│   ├── Saves\u002F             saves (SAVE0.ITD ... and their pictures SAVE0.png ...)\n│   ├── tatou.log          log of the last session (tatou.prev.log: the one before)\n│   ├── crash_log.txt      written if the game closes by itself\n│   ├── Backgrounds\u002F       your backgrounds and full-screen pictures\n│   ├── Masks\u002F             your masks\n│   ├── Exports\u002F           what F1 exports (masks in masks\u002F, with guides in masks_guides\u002F)\n│   ├── Voices\u002F            other narrators, one folder each (see Narrators)\n│   └── GAME\u002F              the game itself, if you keep it here (see Getting started)\n├── JACK\u002F                  Jack in the Dark (same layout, without GAME: it is in AITD1's)\n├── AITD2\u002F                 Alone in the Dark 2 (same layout, with its own GAME; Voices\n│                          holds whole narrators of another CD, and page recordings\n│                          go in the folder itself, see Narrators)\n└── AITD3\u002F                 Alone in the Dark 3 (as AITD2 without Voices, with its own GAME), and\n    └── Languages\u002F         other languages, one folder each (see\n                           Other languages in Alone in the Dark 3)\n```\n\n`launcher.cfg` and `launcher.log`, next to `Launcher.exe`, keep the launcher's own settings.\n\nWhat you can put in these folders to change the games (backgrounds, masks, sequences, music, narrators) is explained in the **[modding guide](MODDING.md)**.\n\n## Custom backgrounds\n\n**Improved backgrounds in one click** (*Alone in the Dark* and *Jack in the Dark*): in the launcher, **Options** → **Improved backgrounds (Alone 1 and Jack)** → **Download**. The backgrounds and masks come in one file (`nayo_AITD1V2.texture`, about 130 MB) that goes to `UserData`, and **Custom backgrounds** is switched on. It works on Android too. **Remove** deletes it. *Alone in the Dark 2* and *3* have their own on their page of the launcher: **Improved backgrounds (Alone 2)** (`nayo_AITD2V2.texture`, about 234 MB) and **Improved backgrounds (Alone 3)** (`nayo_AITD3V2.texture`, about 293 MB). Packs like this one are explained in the [modding guide](MODDING.md#packs-one-file-instead-of-folders).\n\n**A word about them.** I made these backgrounds with a lot of care, but I am not an expert at making textures. I never wanted my version to be the definitive one: the idea has always been to show what can be achieved, and to give anyone the tools to do it through modding. The same goes for the voices: the game accepts other narrators and other languages, so anyone can dub these games however they like. Doing it better is now up to those who really know that work. Everything you need is in the [modding guide](MODDING.md), and if you make something, I would love to see it.\n\n**HD packs.** HD backgrounds ready to use, for each game:\n\n- *Alone in the Dark* and *Jack in the Dark*: **[download from Google Drive](https:\u002F\u002Fdrive.google.com\u002Ffile\u002Fd\u002F1ps4ZVv-tBio4YYLrr8lVeiR8kiYFy5Z1\u002Fview?usp=sharing)** (a `.rar` file: Windows 11 opens it, or use [7-Zip](https:\u002F\u002Fwww.7-zip.org\u002F)). Copy each game's pictures into `UserData\\AITD1\\Backgrounds` and `UserData\\JACK\\Backgrounds`.\n- *Alone in the Dark 2*: **[download from Google Drive](https:\u002F\u002Fdrive.google.com\u002Ffile\u002Fd\u002F1TJAbAFtaVNr7sVnREjCp1ATIuWSu6tuw\u002Fview?usp=sharing)**. Copy its pictures into `UserData\\AITD2\\Backgrounds`.\n- *Alone in the Dark 3*: **[download from Google Drive](https:\u002F\u002Fdrive.google.com\u002Ffile\u002Fd\u002F1S0qRXvsVeq4HfAyVkofXynHUf97LQh-2\u002Fview?usp=sharing)**. Copy its pictures into `UserData\\AITD3\\Backgrounds`.\n\nThen switch on **Custom backgrounds** in F1 or in the launcher. The packs have backgrounds only: the game's own masks keep working with them. You can also make your own, or mix both.\n\nTo make your own:\n\n1. In F1, **export** the backgrounds and the masks. They go to `Exports\u002F` as PNG files at the original 320×200, named after their place in the game files (`CAMERA00_000.png`, `CAMERA00_000_mask_1_0.png`...).\n2. Enlarge or repaint them with any tool. Any size works:\n   - **16:10** like the original (320×200, 1280×800...) or **4:3**: the whole picture is the play area;\n   - **wider than 4:3** (16:9...): its 4:3 centre is the play area and the sides fill the black bars in fullscreen.\n3. Save them with the same name in `Backgrounds\u002F` (masks in `Masks\u002F`; white covers the characters). Switch on **Custom backgrounds**: pictures saved while playing appear at once.\n\nMasks matter when your picture moves or redraws an object that stands in front of the characters.\n\n**All the details** (names, sizes, masks, sequences, music, narrators, and how to share a mod) are in the **[modding guide](MODDING.md)**.\n\n**Animated sequences** (*Jack in the Dark*, *Alone in the Dark 2* and *Alone in the Dark 3*: the intro, the cut scenes...) can be redrawn picture by picture too: **Export sequences** in F1 writes each one to `Exports\u002Fsequences\u002F\u003CNAME>\u002F` (`000.png`, `001.png`...); a picture saved with the same name in `Backgrounds\u002Fsequences\u002F\u003CNAME>\u002F` replaces it.\n\n## Narrators\n\nIn *Alone in the Dark* the narrator reads the books, letters and notes aloud, page by page (for *Alone in the Dark 2*, see [below](#alone-in-the-dark-2-1)). The GOG and Steam editions have one narrator, in English, and it reads with any text language. Other narrators can be added, each one in its own folder of **`UserData\\AITD1\\Voices`**; they appear in the **Narrator** list of the **Audio** window (launcher and F1), which stays on **English** until a folder with voices is found. Any narrator works with any text language: every language has the same pages.\n\n**The French CD.** The French CD-ROM edition (1993) has its own narrator. If you own it, put its voices in `UserData\\AITD1\\Voices\\French`, in one of these forms:\n\n- the `.VOC` files of its `INDARK` folder, copied from the CD;\n- an image of the CD: an `.iso`, or a `.bin` (with or without its `.cue`). The voices are read straight from the image; nothing is extracted.\n\nThe voices are not included with this project: you need your own CD.\n\n**Changing the narrator**, step by step:\n\n1. Open `UserData\\AITD1\\Voices` (next to `Launcher.exe`; the launcher creates it the first time it opens).\n2. Put the narrator's folder there: `French` with the French CD's voices (above), or the folder of a dubbing (below), e.g. `UserData\\AITD1\\Voices\\Spanish (fan dub)\\000000.wav`...\n3. In the launcher: **Audio** → **Narrator**, and choose it. In the game it is the same: **F1** → **Audio** → **Narrator**; the next page you read uses it.\n4. To go back to the original narrator, choose **English** in the same list.\n\nThe list only shows the folders where voices were found: if yours is missing, check that it has the file `000000` (see below) or a CD image with an `INDARK` folder.\n\n**Your own dubbing.** Anyone can record a narrator in another language (or a new English one), use it in the game as explained above and share it as a folder. The folder's name is the narrator's name in the list (`Spanish`, `German`, `Italian`, `French` and `English` are shown translated; any other name as it is, e.g. `Spanish (fan dub)`). Inside, the voice files follow the game's numbering:\n\n| | |\n| --- | --- |\n| **Name** | `BBSSNN` + extension: `BB` the book (`00`-`19`), `SS` its page (`00` = the first), `NN` a piece of that page (`00`, `01`...) |\n| **Formats** | `.wav`, `.ogg` or `.voc`; mono or stereo, any sample rate (they are joined and converted when played) |\n| **A page** | its pieces play in order until the first missing one, so **one file per page is enough**: `BBSS00` |\n| **Required** | `000000` (book 0, page 0): without it the folder is not listed |\n| **Missing pages** | a page without a file is read by the English narrator; a page never mixes narrators |\n| **One file** | the same files can go in a single `\u003Cnarrator>.voice` file in `Voices`, without compression (a narrator pack: see [MODDING.md](MODDING.md#narrator-packs-voice)) |\n\nTo know which text a page is, read the books in the game with the English narrator: each page you see is one file (`tatou.log` names each one, e.g. `Voice of book 1 page 2`). The pages of a book are the same in every text language. **The empty page.** The 5th page of *Story of a Louisiana Plantation* (book `10`, page `04`) has no text in any language: nothing is read there. In a dubbing, simply leave out `100400` and number the other pages as the English narrator does (`100500` is the 6th page). The French CD numbers them differently (it has no number for the empty page, so its `100400` is the 6th page); the game recognises that numbering too, so a dubbing made that way also works.\n\nPlease share only recordings you made yourself, never the voices of the game or of its CDs.\n\n### Alone in the Dark 2\n\nIn *Alone in the Dark 2* the narrator (in English, with any text language) reads the books and letters from the CD's audio tracks, as the CD version did: each page plays one track for a set number of seconds, and the music stops while the narrator reads. With the GOG or Steam edition this works by itself: the tracks are read from `GAME.GOG`.\n\n**Another narrator.** A whole narrator of another CD of *Alone in the Dark 2* (for example the French CD, if you own it) goes in its own folder of **`UserData\\AITD2\\Voices`**, or in one `\u003Cnarrator>.voice` file there. It appears in the **Narrator** list of the **Audio** window when *Alone in the Dark 2* is chosen (it has its own choice, apart from *Alone in the Dark*'s), and the books, letters and the characters' voices then speak in it, with any text language. What goes in it is explained in the [modding guide](MODDING.md#narrator).\n\n**Your own dubbing.** Put your recordings in **`UserData\\AITD2`** (next to `Launcher.exe`), one file per page, named after the CD track they replace: `22.ogg`, `43.wav`... (`.ogg`, `.wav` or `.mp3`). A file there is played instead of the CD's track; a page without a file keeps the original voice. Nothing in the game folder is changed.\n\n| Text | Its pages, in order: file (seconds) |\n| --- | --- |\n| Crew muster, the whole crew (9 pages) | `43` (12), `46` (39), `47` (27), `48` (41), `49` (28), `54` (31), `55` (19), `56` (40), `57` (10) |\n| Crew muster, Tom Flaherty | `43` (12), `50` (41), `51` (11) |\n| Crew muster, Shorty Leg | `43` (12), `44` (37), `45` (22) |\n| Crew muster, the Music Man | `43` (12), `52` (39), `53` (15) |\n| Chess and Magik | `28` (29) |\n| With Cue in Hand | `22` (5), `23` (44), `24` (45), `25` (28) |\n| \"I was caught out. The witch twisted a puppet...\" | `38` (27) |\n| A Powder Plot | `39` (11), `40` (35), `41` (38), `42` (38) |\n| Immortality | `32` (11), `33` (27), `34` (28), `35` (28) |\n| The telegram, \"Dear Mr Jack!\" | `62` (19) |\n| The letter to Carnby, \"Carnby, if you read this...\" | `26` (53), `27` (13) |\n| The pact of Sean O'Leary, the Music Man | `36` (35), `37` (8) |\n| I Overcame Voodoo | `58` (9), `59` (43), `60` (42), `61` (26) |\n| Life and Times of the Freebooters | `29` (4), `30` (45), `31` (38) |\n\n- **The seconds:** each page stops after the time of the original recording, so keep yours that long or shorter.\n- **The first page of every crew muster** is the same heading (`43`): one recording serves all four.\n- **`27`**, the second page of the letter to Carnby, has no voice in the original (that track of the CD is data, not sound): a recording there adds one.\n- To check which file a page uses, read it in the game: `tatou.log` notes each one (`Playing VO: CD track 44`: the file is the track number minus 1, `43`).\n- The files of the music tracks (`01` to `21`) can be replaced the same way.\n\nPlease share only recordings you made yourself, never the voices of the game or of its CD.\n\n### Alone in the Dark 3\n\n*Alone in the Dark 3* reads its books and letters the same way, from the CD's audio tracks 24 to 61 (with the GOG edition, from its `MUSIC` folder), and the story pictures, such as the piano's, with the voices of the game. A dubbing works as in *Alone in the Dark 2*: put the recordings in **`UserData\\AITD3`**, named after the track they replace minus 1 (`23.ogg` ... `60.ogg`); `tatou.log` names the track of each page (`Playing VO: CD track 45`: the file is `44`).\n\n## Saves\n\nSaves of *Alone in the Dark* use the layout of the GOG edition: saves made in the GOG game (`cloud_saves\\INDARK` in its folder) can be copied to `UserData\\AITD1\\Saves` and loaded. The other way round works too, except that the lamp's oil does not run out in the GOG game with a save made here (known issue). The save list shows the date and time of each save.\n\nSaves of *Alone in the Dark 2* use the layout of the GOG edition too: the GOG game's saves (`cloud_saves\\INDARK2`) can be copied to `UserData\\AITD2\\Saves` and loaded, and the other way round.\n\nSaves of *Alone in the Dark 3* use the layout of the GOG edition too. The GOG game keeps them in `cloud_saves\\INDARK3`, in a folder per state (`SAVE00` California, `SAVE01` Montana, `SAVE02` Nevada, `SAVE03` Oklahoma) with up to six slots each (`SAVE0.ITD` ... `SAVE5.ITD`, the slots A to F). Copy one to `UserData\\AITD3\\Saves` as `SAVEn.ITD` and it loads here; a save made here can be copied the other way and loads in the GOG game. Here the list is the same as in the other games: eight slots with the date and time, without states or names.\n\n## Reporting a problem\n\nFound a bug? Please open an [issue](https:\u002F\u002Fgithub.com\u002Fnayo186\u002FAloneInTheDarkClassicReborn\u002Fissues) and tell us:\n\n- what happened and what you were doing (where in the game, if you can);\n- in which game: *Alone in the Dark*, *Jack in the Dark*, *Alone in the Dark 2* or *Alone in the Dark 3*;\n- on which system: **Windows**, **Linux** (and which distribution), **macOS** (and your Mac's model) or **Android** (your phone's model and Android version);\n- where you bought the game (GOG or Steam) and the language you play in. Just tell us which: there is no need to send the installed game.\n\nIt helps a lot to attach these files: drag them into the issue's text box. Close the game first, so the logs are complete:\n\n- **The logs**, in `UserData\\AITD1` (or `UserData\\JACK`, `UserData\\AITD2`, `UserData\\AITD3`), next to `Launcher.exe`:\n  - `tatou.log`: the last session;\n  - `tatou.prev.log`: the session before it (if you opened the game again after the problem, the problem is in this one);\n  - `crash_log.txt`, if the game closed by itself;\n  - `launcher.log`, next to `Launcher.exe`, if the problem is in the launcher.\n- **A save** made just before the problem, if you can: `UserData\\AITD1\\Saves\\SAVEn.ITD` (or `UserData\\AITD2\\Saves\\...`, `UserData\\AITD3\\Saves\\...`; n is the slot). GitHub does not accept `.ITD` files, so put the save in a `.zip` first. With it we can go straight to that spot.\n\n**On Android** the same files are in the app's folder, `Android\u002Fdata\u002Fcom.classicreborn.game\u002Ffiles` (with `UserData` inside, and `launcher.log`). The phone's file manager may not open it: connect the phone to a PC with a USB cable (choose *File transfer* on the phone) and copy them from there.\n\nThe logs only name the game's folders and what the game did; they may show your user name inside a folder path (`C:\\Users\\\u003Cname>\\...`). Nothing else from your PC is in them.\n\n## Building\n\nSee [Requirements](#requirements). From the folder of the repository:\n\n```\ncmake -G \"Visual Studio 17 2022\" -A x64 -S TatouSource -B TatouSource\\build\\vs2022\n```\n\nOpen `TatouSource\\build\\vs2022\\FITD.sln`, choose **RelWithDebInfo x64** and build. `Launcher.exe` and `Tatou.exe` end up together in `TatouSource\\build\\vs2022\\Fitd\\RelWithDebInfo`; `Launcher` is the start project.\n\n**On Linux** (Ubuntu or Debian; other distributions have the same packages under similar names):\n\n```\nsudo apt install build-essential cmake ninja-build pkg-config \\\n  libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxss-dev \\\n  libxfixes-dev libxinerama-dev libxtst-dev libwayland-dev libxkbcommon-dev \\\n  wayland-protocols libdecor-0-dev libgl1-mesa-dev libegl1-mesa-dev \\\n  libgles2-mesa-dev libdrm-dev libgbm-dev libasound2-dev libpulse-dev \\\n  libpipewire-0.3-dev libudev-dev libdbus-1-dev libibus-1.0-dev\ncmake -G Ninja -S TatouSource -B TatouSource\u002Fbuild\u002Flinux -DCMAKE_BUILD_TYPE=RelWithDebInfo\ncmake --build TatouSource\u002Fbuild\u002Flinux\n```\n\n`Launcher` and `Tatou` end up together in `TatouSource\u002Fbuild\u002Flinux\u002FFitd\u002FRelWithDebInfo`. A crash is written, with the functions that led to it, to `crash_log.txt` and `tatou.log`, as on Windows.\n\n**Development tools.** The CMake option `CLASSIC_REBORN_DEV_TOOLS` (on by default) builds two tools that only work in debug mode: **F9** gives any item, **F10** is the object editor used to make the visual fixes of 3D objects. For a build to share with players, turn it off:\n\n```\ncmake -S TatouSource -B TatouSource\\build\\vs2022 -DCLASSIC_REBORN_DEV_TOOLS=OFF\n```\n\n**Debug mode** is switched on by hand: `debugMode = 1` in `launcher.cfg`. With a copy of the game files it also keeps every file the game writes inside that copy.\n\n**For Android** the project is `TatouSource\u002Fandroid` (Gradle; the engine and the launcher are built into the app as `libmain.so`, from the same CMake project). With JDK 17 and the Android SDK, from that folder:\n\n```\ngradlew assembleDebug\n```\n\nThe app ends up in `app\u002Fbuild\u002Foutputs\u002Fapk\u002Fdebug`. It is signed with Android's debug key unless the project's key is given (`CLASSIC_REBORN_KEYSTORE` and its passwords, see `tools\u002FmakeRelease-android.sh`); an app signed with another key cannot update the published one, so uninstall that first (which deletes its games and saves).\n\n**Releases.** The packages of each release are built by GitHub Actions (`.github\u002Fworkflows\u002Frelease.yml`) with the same scripts: publishing a release with a tag like `v1.0.0` attaches `ClassicReborn-1.0.0-windows-x64.zip` (64-bit Windows), `ClassicReborn-1.0.0-linux-x64.tar.gz` (64-bit Linux, built on Ubuntu 22.04 so that it runs on that and every newer system), `ClassicReborn-1.0.0-macos.tar.gz` and `ClassicReborn-1.0.0-android.apk` (signed with the project's key, kept as a secret of the repository) to it. Locally: `powershell -ExecutionPolicy Bypass -File tools\\makeRelease.ps1 -Version 1.0.0` on Windows, `tools\u002FmakeRelease.sh 1.0.0` on Linux, `tools\u002FmakeRelease-macos.sh 1.0.0` on macOS and `tools\u002FmakeRelease-android.sh 1.0.0` for Android.\n\n## Architecture\n\n```\n┌──────────────────────────────────────────────────────────────────────────┐\n│  Tatou.exe  (Fitd\u002Ffitd.cpp)        starts the engine, connects remaster  │\n└────────────────────────────────────┬─────────────────────────────────────┘\n                                     │\n┌────────────────────────────────────▼─────────────────────────────────────┐\n│  remaster\u002F                   optional additions                          │\n│  ┌──────────────┐ ┌────────────────────┐ ┌────────────┐ ┌──────────────┐ │\n│  │  F1 window   │ │ custom backgrounds │ │ 3D object  │ │ F9 \u002F F10     │ │\n│  │ menu fonts   │ │ export \u002F import    │ │ fixes      │ │ dev tools    │ │\n│  └──────────────┘ └────────────────────┘ └────────────┘ └──────────────┘ │\n└────────────────────────────────────┬─────────────────────────────────────┘\n                     ▲ hooks         │ uses\n┌────────────────────┴───────────────▼─────────────────────────────────────┐\n│  core\u002F + scripts\u002F            the 1992 game                               │\n│  ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────────┐ │\n│  │ rooms        │ │ objects      │ │ inventory    │ │ Life scripts     │ │\n│  │ cameras      │ │ animation    │ │ books        │ │ (interpreter)    │ │\n│  │ masks        │ │ collisions   │ │ saves        │ │ native C++ copy  │ │\n│  └──────────────┘ └──────────────┘ └──────────────┘ └──────────────────┘ │\n└────────────────────────────────────┬─────────────────────────────────────┘\n                     ▲ hooks         │ uses\n┌────────────────────┴───────────────▼─────────────────────────────────────┐\n│  platform\u002F                   the system                                  │\n│  ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────────┐ │\n│  │ window       │ │ renderer     │ │ audio        │ │ input, controls  │ │\n│  │ ImGui        │ │ screen       │ │ CD tracks    │ │ settings         │ │\n│  │              │ │ effects      │ │ AdLib, VOC   │ │ game folders     │ │\n│  └──────────────┘ └──────────────┘ └──────────────┘ └──────────────────┘ │\n└────────────────────────────────────┬─────────────────────────────────────┘\n                                     │\n┌────────────────────────────────────▼─────────────────────────────────────┐\n│  util\u002F        types · log file · PAK decompression · threads             │\n└──────────────────────────────────────────────────────────────────────────┘\n\n┌───────────────┐    ┌──────────────────────────────────┐\n│ Launcher.exe  ├───►│ Shared\u002F  menus, texts, controls  │◄── also used by the game\n└───────────────┘    └──────────────────────────────────┘\n\nLibraries: bgfx (graphics) · SDL3 (window, input) · SoLoud (audio) · Dear ImGui (menus) · zlib\n```\n\nThe same structure as a graph: who uses whom (solid arrows) and where the hooks go up (dotted arrows).\n\n```mermaid\nflowchart TB\n    App[\"\u003Cb>Tatou.exe\u003C\u002Fb>\u003Cbr\u002F>Fitd\u002Ffitd.cpp\"]\n    Remaster[\"\u003Cb>remaster\u002F\u003C\u002Fb>\u003Cbr\u002F>F1 window · custom backgrounds · object fixes · F9 \u002F F10 tools\"]\n    Core[\"\u003Cb>core\u002F + scripts\u002F\u003C\u002Fb>\u003Cbr\u002F>the 1992 game: rooms, cameras, objects, animation,\u003Cbr\u002F>inventory, saves · interpreter of the Life scripts\"]\n    Platform[\"\u003Cb>platform\u002F\u003C\u002Fb>\u003Cbr\u002F>window · bgfx renderer · screen effects · audio · input · settings · files\"]\n    Util[\"\u003Cb>util\u002F\u003C\u002Fb>\u003Cbr\u002F>types · log · decompression · threads\"]\n    Shared[\"\u003Cb>Shared\u002F\u003C\u002Fb>\u003Cbr\u002F>menus, texts, controls (header-only)\"]\n    Launcher[\"\u003Cb>Launcher.exe\u003C\u002Fb>\"]\n    Libs[\"bgfx · SDL3 · SoLoud · Dear ImGui · zlib\"]\n\n    App --> Remaster\n    Remaster --> Core\n    Core --> Platform\n    Platform --> Util\n    Core -. \"coreHooks\" .-> Remaster\n    Platform -. \"platformHooks\" .-> Remaster\n    Remaster --> Shared\n    Launcher --> Shared\n    Platform --> Libs\n    Launcher --> Libs\n```\n\nEach layer only uses the layers below it. When a lower layer has something to announce (a camera background is ready, the menus can be drawn, a key was pressed...), it calls a **hook**: an empty function pointer that the remaster fills in when it starts. With no remaster connected, the engine behaves as the original game.\n\nMore detail:\n\n- `docs\u002FMAPA_CODIGO.md`: every folder and file, the shaders and a glossary of the engine's French names.\n- `docs\u002FDICCIONARIO.md`: every public function and what it does, generated from the headers by `tools\u002FmakeDictionary.py`.\n- `docs\u002Fbaseline\u002FBUGS.md`: the defects found and how each one was fixed.\n- `docs\u002FDESCARTADO.md`: what was removed from the remaster and why.\n- `CHANGELOG.md`: the changes of this fork before it was published.\n- `tools\u002FcheckLayers.py`: lists any `#include` that goes against the layer order.\n\nThese documents are in Spanish for now.\n\n## Credits\n\nThis project exists thanks to the people who came before it. Re-Haunted brought the engine to modern systems and added many of the ideas this fork builds on; FITD made the engine readable in the first place. Some of their features were removed here only because this fork has a narrower goal (the 1992 game with its original graphics), not because of their quality; `docs\u002FDESCARTADO.md` explains each removal.\n\n\n- **FITD (Free in the Dark)**: the reverse-engineered engine, by yaz0r and contributors: \u003Chttps:\u002F\u002Fgithub.com\u002Fyaz0r\u002FFITD>\n- **Alone in the Dark: Re-Haunted**: the remaster this fork comes from, by Spacefarer Retro Remasters (Jake Jackson): \u003Chttps:\u002F\u002Fgithub.com\u002Fspacefarergames\u002FAloneInTheDarkReHaunted>\n- **Alone in the Dark** and **Jack in the Dark** were created by Infogrames. This project contains none of their data and is not affiliated with their rights holders.\n- Libraries: [bgfx](https:\u002F\u002Fgithub.com\u002Fbkaradzic\u002Fbgfx), [SDL3](https:\u002F\u002Fgithub.com\u002Flibsdl-org\u002FSDL), [SoLoud](https:\u002F\u002Fgithub.com\u002Fjarikomppa\u002Fsoloud), [Dear ImGui](https:\u002F\u002Fgithub.com\u002Focornut\u002Fimgui), [zlib](https:\u002F\u002Fzlib.net), and the OPL2 (AdLib sound chip) emulator from MAME, which plays Jack in the Dark's music: it was written for that chip, which modern PCs no longer have.\n- **Inter**, the menus' font (launcher and F1), by Rasmus Andersson and the Inter Project Authors, under the SIL Open Font License 1.1 (`Inter-OFL.txt` next to the programs): \u003Chttps:\u002F\u002Fgithub.com\u002Frsms\u002Finter>\n- **Gelasio**, also compiled into the programs, by Eben Sorkin and the Gelasio Project Authors, under the SIL Open Font License 1.1 (`Gelasio-OFL.txt` next to the programs): \u003Chttps:\u002F\u002Fgithub.com\u002FSorkinType\u002FGelasio>\n\n## License\n\nGNU General Public License v2: see [LICENSE](LICENSE). The libraries in `TatouSource\u002FThirdParty` keep their own licenses.\n","2026-11-24 04:55:41","CREATED_QUERY"]