|
27 | 27 |
|
28 | 28 | ## ⚙️ Base Setup |
29 | 29 |
|
30 | | -1. Go to the [UnityNeuroSpeech GitHub repository](https://github.com/HardCodeDev777/UnityNeuroSpeech) and download the latest Release. |
31 | | -2. Extract the `.zip`. You'll see: |
32 | | - - a `.unitypackage` |
33 | | - - a `Server/` folder |
34 | | - - a `run_server.bat` file |
35 | | - ⚠️ **Do not import the Server folder or `.bat` file into Unity. Keep them outside the project directory.** |
36 | | -3. Place your voice `.wav` files into `Server/Voices`. |
| 30 | +1. Go to the [UnityNeuroSpeech GitHub repository](https://github.com/HardCodeDev777/UnityNeuroSpeech) and download the following **three `.rar` files** from the latest Release: |
| 31 | + - `UnityNeuroSpeech.X.X.X.rar` – main framework files |
| 32 | + - `default.venv.rar` – Python environment for the TTS server |
| 33 | + - `TTSModel.rar` – pretrained XTTS model |
| 34 | + |
| 35 | +2. Extract all archives to the same directory. After extraction: |
| 36 | + - Inside `UnityNeuroSpeech/` you’ll find: |
| 37 | + - a `.unitypackage` |
| 38 | + - a `Server/` folder |
| 39 | + - a `run_server.bat` file |
| 40 | + ⚠️ **Do not import the `Server` folder or `.bat` file into Unity. Keep them outside the project directory.** |
| 41 | + |
| 42 | +3. Place your `.wav` voice files into `Server/Voices`. |
37 | 43 | Each file must follow the naming pattern: `en_voice.wav`, `ru_voice.wav`, etc. |
38 | | -4. Import the `.unitypackage` into Unity. |
39 | | -5. In the `UnityNeuroSpeech` folder, find the empty `Whisper` folder and drop your `.bin` Whisper model file into it. |
| 44 | + |
| 45 | +4. Move the extracted `.venv` folder (from `default.venv.rar`) into the `Server/` folder. |
| 46 | + |
| 47 | +5. Move the extracted `TTSModel/` folder (from `TTSModel.rar`) into the `Server/` folder as well. |
| 48 | + |
| 49 | +6. Import the `.unitypackage` into your Unity project. |
| 50 | + |
| 51 | +7. In the `UnityNeuroSpeech` folder, you’ll see an empty `Whisper/` folder. Drop your Whisper `.bin` model file into it. |
| 52 | + |
| 53 | +> Some folders (like `Whisper/`) may contain `.txt` placeholder files. |
| 54 | +> These are only used to ensure Unity exports the folder. You can safely delete them after setup. |
| 55 | +
|
| 56 | +--- |
| 57 | + |
| 58 | +> You can also manually install your own Python environment and download the XTTS model separately. |
| 59 | +> But if you want everything to "just work" **without fighting with pip, PATH, or broken dependencies** — use the provided `.venv` and `TTSModel`. |
40 | 60 |
|
41 | 61 | --- |
42 | 62 |
|
|
0 commit comments