Tutoriel Textures HD (FR/EN), launcher : prévenir quand Upscayl manque
- docs/TEXTURES.md et TEXTURES.en.md : installer Upscayl (emplacements cherchés, UPSCAYL_BIN), pack automatique, export des décors d'origine, Upscayl à la main (renommage des fichiers), autres outils, retouche dans GIMP/Krita/Photoshop, rangement en mod, vérification en jeu, combinaison de packs, règles, dépannage, partage ; image de comparaison des méthodes - launcher : encadré « Upscayl n'est pas installé » avec lien de téléchargement et lien vers le tutoriel ; lien « (tutoriel) » dans « Faire son propre pack HD » ; \0 écrit en séquence d'échappement dans la détection de --charger - guide, README et wiki : liens vers le tutoriel, Upscayl signalé comme à installer à part Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
28358982ff
commit
13cbe4b829
10 files changed
+757
-14
No files matched your search
+7
-1
@@ -16,6 +16,12 @@ SDL2. The goal is to bring the game back to life: sharp and smooth on big screen
|
||||
Everything step by step, from an empty PC to the game in 4K: tools to install, launcher, filters, HD
|
||||
pack, mods, saved games, troubleshooting. Also on the [wiki](https://git.linkatplug.be/linkatplug/DoubleTroubleRecomp/wiki).
|
||||
|
||||
### 🎨 [HD textures: export, upscale, retouch](docs/TEXTURES.en.md)
|
||||
|
||||
One-click HD background pack with [Upscayl](https://upscayl.org) (free, **installed separately**), or
|
||||
with the tool of your choice: original background export, other AIs, hand retouching, rules and
|
||||
troubleshooting.
|
||||
|
||||
---
|
||||
|
||||
## Status
|
||||
@@ -123,7 +129,7 @@ build\tucker.exe --son
|
||||
| `-v` | verbose log |
|
||||
|
||||
**F11** or **Alt+Enter**: toggle fullscreen. **F12**: settings menu. All options and settings
|
||||
keys: [docs/SETTINGS.md](docs/SETTINGS.md). Mods and HD pack: [docs/MODS.md](docs/MODS.md) (in French).
|
||||
keys: [docs/SETTINGS.md](docs/SETTINGS.md). Mods and HD pack: [docs/TEXTURES.en.md](docs/TEXTURES.en.md) (tutorial) and [docs/MODS.md](docs/MODS.md) (format, in French).
|
||||
|
||||
## Layout
|
||||
|
||||
|
||||
@@ -16,6 +16,12 @@ mods, sans jamais modifier ni redistribuer les fichiers originaux.
|
||||
Tout est expliqué pas à pas, d'un PC vide jusqu'au jeu en 4K : outils à installer, launcher,
|
||||
filtres, pack HD, mods, sauvegardes, dépannage. Aussi sur le [wiki](https://git.linkatplug.be/linkatplug/DoubleTroubleRecomp/wiki).
|
||||
|
||||
### 🎨 [Textures HD : exporter, agrandir, retoucher](docs/TEXTURES.md)
|
||||
|
||||
Pack HD des décors en un clic avec [Upscayl](https://upscayl.org) (gratuit, **à installer à part**),
|
||||
ou avec l'outil de votre choix : export des décors d'origine, autre IA, retouche à la main, règles et
|
||||
dépannage.
|
||||
|
||||
---
|
||||
|
||||
## État
|
||||
@@ -126,7 +132,7 @@ build\tucker.exe --son
|
||||
| `-v` | journal détaillé |
|
||||
|
||||
**F11** ou **Alt+Entrée** : plein écran. **F12** : menu des réglages. Toutes les options et
|
||||
clés de réglage : [docs/SETTINGS.md](docs/SETTINGS.md). Mods et pack HD : [docs/MODS.md](docs/MODS.md).
|
||||
clés de réglage : [docs/SETTINGS.md](docs/SETTINGS.md). Mods et pack HD : [docs/TEXTURES.md](docs/TEXTURES.md) (tutoriel) et [docs/MODS.md](docs/MODS.md) (format).
|
||||
|
||||
## Arborescence
|
||||
|
||||
|
||||
+7
-3
@@ -58,7 +58,7 @@ otherwise.
|
||||
| **Python 3.12** | Runs the x86 → C translator (`tools/recomp.py`). | [python.org/downloads](https://www.python.org/downloads/) |
|
||||
| **Rust** | Builds the launcher. | [rustup.rs](https://rustup.rs/) (`rustup-init.exe`) |
|
||||
| **Git** *(optional)* | To get the project and update it. | [git-scm.com](https://git-scm.com/download/win) |
|
||||
| **Upscayl** *(optional)* | To create the HD background pack. | [upscayl.org](https://upscayl.org) |
|
||||
| **Upscayl** *(optional)* | To create the HD background pack in one click. Not bundled with the project: install it if you want the HD pack ([details](TEXTURES.en.md#1-install-upscayl)). | [upscayl.org](https://upscayl.org) |
|
||||
|
||||
Watch out for:
|
||||
|
||||
@@ -252,6 +252,9 @@ The game always draws its picture at 320×200; the graphics card then scales it
|
||||
|
||||
## 9. HD background pack
|
||||
|
||||
> 🎨 **Full tutorial: [HD textures](TEXTURES.en.md)**: install Upscayl, export the backgrounds,
|
||||
> upscale them with the tool of your choice, retouch them by hand, troubleshooting.
|
||||
|
||||
The HD pack replaces the room backgrounds (320×200) on screen with high-definition pictures.
|
||||
Characters, objects, texts and the cursor stay the game's own, drawn on top. The pictures are made
|
||||
**on your PC from your copy**: nothing is downloaded or distributed.
|
||||
@@ -260,7 +263,8 @@ Characters, objects, texts and the cursor stay the game's own, drawn on top. The
|
||||
|
||||
### With Upscayl (easiest)
|
||||
|
||||
1. Install [Upscayl](https://upscayl.org).
|
||||
1. Install [Upscayl](https://upscayl.org) ([step by step](TEXTURES.en.md#1-install-upscayl)). While
|
||||
it's missing, the launcher shows a yellow "Upscayl is not installed" box.
|
||||
2. In the launcher, **Mods & HD backgrounds** card, "Create an HD pack with Upscayl": pick a model,
|
||||
then **Create pack**. The 122 backgrounds are upscaled ×4 in a few minutes, into
|
||||
`mods\hd_upscayl` (or `mods\hd_upscayl_<model>`).
|
||||
@@ -295,7 +299,7 @@ Picture rules:
|
||||
- RGB or RGBA PNG (alpha is ignored), non-interlaced;
|
||||
- a partial pack works: a background without a PNG stays at 320×200.
|
||||
|
||||
Technical details: [MODS.md](MODS.md) (in French).
|
||||
Step by step, retouching and troubleshooting: [TEXTURES.en.md](TEXTURES.en.md). Technical details: [MODS.md](MODS.md) (in French).
|
||||
|
||||
## 10. Mods
|
||||
|
||||
|
||||
+7
-3
@@ -58,7 +58,7 @@ défaut sauf mention contraire.
|
||||
| **Python 3.12** | Lance le traducteur x86 → C (`tools/recomp.py`). | [python.org/downloads](https://www.python.org/downloads/) |
|
||||
| **Rust** | Pour compiler le launcher. | [rustup.rs](https://rustup.rs/) (`rustup-init.exe`) |
|
||||
| **Git** *(facultatif)* | Pour récupérer le projet et le mettre à jour. | [git-scm.com](https://git-scm.com/download/win) |
|
||||
| **Upscayl** *(facultatif)* | Pour créer le pack HD des décors. | [upscayl.org](https://upscayl.org) |
|
||||
| **Upscayl** *(facultatif)* | Pour créer le pack HD des décors en un clic. Pas fourni avec le projet : installez-le si vous voulez le pack HD ([détails](TEXTURES.md#1-installer-upscayl)). | [upscayl.org](https://upscayl.org) |
|
||||
|
||||
Points d'attention :
|
||||
|
||||
@@ -258,6 +258,9 @@ Le jeu calcule toujours son image en 320×200, puis la carte graphique l'agrandi
|
||||
|
||||
## 9. Pack HD des décors
|
||||
|
||||
> 🎨 **Tutoriel complet : [Textures HD](TEXTURES.md)** : installer Upscayl, exporter les décors,
|
||||
> les agrandir avec l'outil de votre choix, les retoucher à la main, dépannage.
|
||||
|
||||
Le pack HD remplace à l'écran les décors des pièces (320×200) par des images haute définition. Les
|
||||
personnages, objets, textes et le curseur restent ceux du jeu, posés par-dessus. Les images sont
|
||||
créées **sur votre PC à partir de votre copie** : rien n'est téléchargé ni distribué.
|
||||
@@ -266,7 +269,8 @@ créées **sur votre PC à partir de votre copie** : rien n'est téléchargé ni
|
||||
|
||||
### Avec Upscayl (le plus simple)
|
||||
|
||||
1. Installez [Upscayl](https://upscayl.org).
|
||||
1. Installez [Upscayl](https://upscayl.org) ([pas à pas](TEXTURES.md#1-installer-upscayl)). Tant
|
||||
qu'il manque, le launcher affiche un encadré jaune « Upscayl n'est pas installé ».
|
||||
2. Dans le launcher, carte **Mods et décors HD**, section « Créer un pack HD avec Upscayl » :
|
||||
choisissez un modèle, puis **Créer le pack**. Les 122 décors sont agrandis ×4 en quelques
|
||||
minutes, dans `mods\hd_upscayl` (ou `mods\hd_upscayl_<modèle>`).
|
||||
@@ -302,7 +306,7 @@ Règles pour les images :
|
||||
- PNG RVB ou RVBA (l'alpha est ignoré), non entrelacé ;
|
||||
- un pack incomplet fonctionne : un décor sans PNG reste en 320×200.
|
||||
|
||||
Détails techniques : [MODS.md](MODS.md).
|
||||
Pas à pas, retouche et dépannage : [TEXTURES.md](TEXTURES.md). Détails techniques : [MODS.md](MODS.md).
|
||||
|
||||
## 10. Mods
|
||||
|
||||
|
||||
@@ -0,0 +1,344 @@
|
||||
# HD textures: export, upscale, retouch
|
||||
|
||||
🇫🇷 [Français](TEXTURES.md) · 🇺🇸 **English**
|
||||
|
||||
This tutorial shows how to replace the game's backgrounds (320×200) with your own high-definition
|
||||
images: automatically with Upscayl, or by hand with the tool of your choice (another AI, a painting
|
||||
program, room-by-room retouching). The images are made **on your PC, from your own copy of the
|
||||
game**: the project downloads and distributes nothing.
|
||||
|
||||
<p align="center"><img src="images/textures-en.jpg" alt="The same corner of Bud's bedroom: original, Scale2x, Upscayl digital-art-4x, Upscayl high-fidelity-4x" width="900"></p>
|
||||
|
||||
## ⚡ In short
|
||||
|
||||
| I want… | Path | Time |
|
||||
|---|---|---|
|
||||
| An HD pack right now, no settings | [A. Fully automatic (launcher + Upscayl)](#a-fully-automatic-launcher--upscayl) | 5 min |
|
||||
| To pick Upscayl's settings myself | [B. Export](#b-export-the-original-backgrounds), then [C. Upscayl by hand](#c-upscale-with-upscayl-by-hand) | 15 min |
|
||||
| To use another AI (chaiNNer, waifu2x, Topaz…) | [B](#b-export-the-original-backgrounds), then [D. Another tool](#d-upscale-with-another-tool) | varies |
|
||||
| To redraw or fix some rooms | [E. Retouch by hand](#e-retouch-by-hand) | your own pace |
|
||||
|
||||
Contents:
|
||||
|
||||
- [0. What can be replaced (and what can't yet)](#0-what-can-be-replaced-and-what-cant-yet)
|
||||
- [1. Install Upscayl](#1-install-upscayl)
|
||||
- [A. Fully automatic (launcher + Upscayl)](#a-fully-automatic-launcher--upscayl)
|
||||
- [B. Export the original backgrounds](#b-export-the-original-backgrounds)
|
||||
- [C. Upscale with Upscayl by hand](#c-upscale-with-upscayl-by-hand)
|
||||
- [D. Upscale with another tool](#d-upscale-with-another-tool)
|
||||
- [E. Retouch by hand](#e-retouch-by-hand)
|
||||
- [F. Put the images in a mod](#f-put-the-images-in-a-mod)
|
||||
- [G. Check in game](#g-check-in-game)
|
||||
- [H. Combine several packs](#h-combine-several-packs)
|
||||
- [The rules, in one table](#the-rules-in-one-table)
|
||||
- [Troubleshooting](#troubleshooting)
|
||||
- [Sharing your pack?](#sharing-your-pack)
|
||||
|
||||
---
|
||||
|
||||
## 0. What can be replaced (and what can't yet)
|
||||
|
||||
| Element | In HD? |
|
||||
|---|---|
|
||||
| **Room backgrounds** (`LOC01` to `LOC82`, 122 images) | ✅ yes, this is what the tutorial covers |
|
||||
| Characters (Bud, Fester…), animated objects, cursor, inventory | 🚧 in development: they stay 320×200, drawn on top of the HD background |
|
||||
| Text, speech bubbles, action panel | ❌ no (they stay the game's own) |
|
||||
|
||||
How it works, in one sentence: the game still runs at 320×200; on every frame, the engine finds the
|
||||
background on screen and shows your HD image in its place, wherever the game hasn't drawn anything on
|
||||
top. That's why **the HD image must keep exactly the same framing as the original**.
|
||||
|
||||
> In the picture at the top, the black square under the clock isn't an upscaling glitch: it's where
|
||||
> the game draws the animated pendulum itself. In game, it's covered.
|
||||
|
||||
---
|
||||
|
||||
## 1. Install Upscayl
|
||||
|
||||
[Upscayl](https://upscayl.org) is a **free, open-source** program that upscales images with AI
|
||||
(Real-ESRGAN). The launcher uses it to create an HD pack in one click. It is **not** bundled with the
|
||||
project: install it yourself.
|
||||
|
||||
**You need:** a **Vulkan**-capable graphics card (NVIDIA, AMD or Intel from the last ten years, with
|
||||
up-to-date drivers) and about 500 MB of disk space.
|
||||
|
||||
### Windows
|
||||
|
||||
1. Go to [upscayl.org](https://upscayl.org) → **Download** → **Windows**.
|
||||
2. Run the `upscayl-…-win.exe` installer and keep the suggested folder.
|
||||
3. Open Upscayl once to check that it starts, then close it.
|
||||
4. In the launcher, **Mods & HD backgrounds** card, click **Refresh**: the yellow "Upscayl is not
|
||||
installed" box is replaced by the "Create an HD pack with Upscayl" line, with the list of models.
|
||||
|
||||
The launcher looks for Upscayl here, in this order:
|
||||
|
||||
| Location | When |
|
||||
|---|---|
|
||||
| environment variable `UPSCAYL_BIN` | full path of `upscayl-bin.exe`, if you put it somewhere else |
|
||||
| `C:\Program Files\Upscayl\` | "for all users" install |
|
||||
| `C:\Program Files (x86)\Upscayl\` | same, older location |
|
||||
| `%LOCALAPPDATA%\Programs\Upscayl\` | "just for me" install (the most common case) |
|
||||
|
||||
The file it looks for is `resources\bin\upscayl-bin.exe` inside that folder.
|
||||
|
||||
> Upscayl installed elsewhere (Microsoft Store, portable version, another drive): create the
|
||||
> `UPSCAYL_BIN` environment variable with the full path of `upscayl-bin.exe` (Start → "environment
|
||||
> variables" → User variables → New), then restart the launcher.
|
||||
|
||||
### Linux (for later)
|
||||
|
||||
Upscayl comes as an AppImage, a `.deb` and on Flathub. The game doesn't run on Linux yet (it's
|
||||
planned, see the [roadmap](ROADMAP.en.md)); meanwhile, steps B to F work with Upscayl on Linux, then
|
||||
copy the images to the Windows machine.
|
||||
|
||||
### Without a compatible graphics card
|
||||
|
||||
Upscayl won't work, but you can:
|
||||
|
||||
- use the built-in **Scale2x** upscaling, without AI (picture no. 2 at the top of the page):
|
||||
`python tools\hd_export.py GAME_FOLDER mods\scale2x\hd --echelle 4`;
|
||||
- upscale with another tool (section D) or an online service, following the rules.
|
||||
|
||||
---
|
||||
|
||||
## A. Fully automatic (launcher + Upscayl)
|
||||
|
||||
1. Install Upscayl ([section 1](#1-install-upscayl)).
|
||||
2. Launcher → **Mods & HD backgrounds** card → "Create an HD pack with Upscayl".
|
||||
3. Pick a **model** (see the table), then **Create pack**.
|
||||
4. Wait: a few seconds to a few minutes depending on the graphics card. The log (**Log** button, at
|
||||
the bottom) shows progress.
|
||||
5. The pack appears in the mod list: `hd_upscayl` for the default model, `hd_upscayl_<model>` for the
|
||||
others.
|
||||
6. Make sure **Enable mods** and **HD backgrounds** are ticked, then **PLAY**.
|
||||
|
||||
<p align="center"><img src="images/launcher-en-carte-mods.jpg" alt="Launcher's Mods & HD backgrounds card" width="900"></p>
|
||||
|
||||
| Model | Look | For |
|
||||
|---|---|---|
|
||||
| `digital-art-4x` (default) | clean flat colours, sharp outlines, "cartoon" look | most players |
|
||||
| `high-fidelity-4x` | very close to the original, keeps the pixel texture | purists |
|
||||
| `ultramix-balanced-4x` | softer middle ground | in between |
|
||||
| `ultrasharp-4x` | very sharp, may enhance flaws | experiments |
|
||||
| `remacri-4x` | detailed, designed for photos | experiments |
|
||||
| `upscayl-standard-4x`, `upscayl-lite-4x` | general purpose; "lite" is faster | modest PCs |
|
||||
|
||||
You can create several packs and switch between them with their checkbox in the mod list (tick only
|
||||
one at a time, otherwise the last one in alphabetical order is shown).
|
||||
|
||||
On the command line, it's the same thing:
|
||||
|
||||
```
|
||||
python tools\hd_export.py "C:\Games\TUCKER" mods\hd_upscayl\hd --upscayl digital-art-4x
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## B. Export the original backgrounds
|
||||
|
||||
To work with your own tool, you first need the original backgrounds as PNG files.
|
||||
|
||||
**With the launcher:** **Mods & HD backgrounds** card → **Export original backgrounds**. The 122
|
||||
images land in `mods\_decors_originaux\` and the folder opens by itself.
|
||||
|
||||
**On the command line:**
|
||||
|
||||
```
|
||||
python tools\hd_export.py "C:\Games\TUCKER" mods\_decors_originaux
|
||||
```
|
||||
|
||||
What you get:
|
||||
|
||||
- 122 PNG files at **320×200**, named after the game's backgrounds: `LOC01.png`, `LOC02.png`…
|
||||
- Rooms wider than the screen come in **several pieces**: `LOC03A` + `LOC03B`, `LOC15A` to `LOC15D`,
|
||||
and so on. The game puts them side by side and scrolls; treat them as separate images, but with
|
||||
**the same tool and the same settings** to avoid a visible seam.
|
||||
- The bottom of the image (the strip under the background, often black or plain) is part of the
|
||||
image: keep it.
|
||||
|
||||
The folder name starts with `_`: the game ignores it, so it will never show by mistake. Don't work
|
||||
directly in it: the next export overwrites it.
|
||||
|
||||
---
|
||||
|
||||
## C. Upscale with Upscayl by hand
|
||||
|
||||
Useful to set Upscayl up yourself (custom model, another scale, a chosen graphics card…).
|
||||
|
||||
1. Open Upscayl.
|
||||
2. Turn on **Batch Upscayl** (process a whole folder).
|
||||
3. **Step 1**: pick the `mods\_decors_originaux` folder.
|
||||
4. **Step 2**: pick a model (see the table in section A).
|
||||
5. In **Settings**:
|
||||
- **Image Scale**: `4` (320×200 → 1280×800);
|
||||
- **Save Image As**: `PNG`;
|
||||
- leave compression at `0`.
|
||||
6. **Step 3**: output folder, for example a new `mods\my_pack\hd` folder (see
|
||||
[section F](#f-put-the-images-in-a-mod) to create it from the launcher).
|
||||
7. **Upscayl**, and wait.
|
||||
|
||||
### ⚠️ Restore the original names
|
||||
|
||||
Depending on its version, Upscayl adds the scale and model to file names
|
||||
(`LOC01_upscayl_4x_digital-art-4x.png`). The game looks for **exactly** `LOC01.png`. If your files
|
||||
already have the right name, skip this step. Otherwise, in the output folder, right-click → **Open in
|
||||
Terminal** (PowerShell), then:
|
||||
|
||||
```powershell
|
||||
Get-ChildItem *.png | Rename-Item -NewName { $_.Name -replace '_upscayl.*\.png$', '.png' }
|
||||
```
|
||||
|
||||
Then check that only names like `LOC01.png`, `LOC03A.png`… are left.
|
||||
|
||||
---
|
||||
|
||||
## D. Upscale with another tool
|
||||
|
||||
Any tool that outputs PNG files works: [chaiNNer](https://chainner.app), waifu2x, command-line
|
||||
Real-ESRGAN, Topaz Gigapixel, Photoshop "Super Resolution", an online service… Start from the folder
|
||||
exported in [B](#b-export-the-original-backgrounds) and follow these points:
|
||||
|
||||
- **×4** preferably (1280×800). ×2 (640×400) or ×8 (2560×1600) work too: what matters is keeping the
|
||||
**16:10 ratio**;
|
||||
- **no cropping**, no added border, no "fill" on the sides;
|
||||
- pieces of one room (`A`, `B`, `C`, `D`) at **the same size**;
|
||||
- **PNG** output (no JPG or WebP);
|
||||
- **the same names** as the original files (see the renaming tip in C if your tool adds a suffix;
|
||||
adapt the `_upscayl.*` pattern to your tool).
|
||||
|
||||
> Tip: the game's backgrounds are drawings, not photos. Models made for anime, drawings or pixel art
|
||||
> usually give better results than models made for photos.
|
||||
|
||||
---
|
||||
|
||||
## E. Retouch by hand
|
||||
|
||||
You can fix an upscaled image (a botched face, blurry text, a seam) or fully redraw a room in
|
||||
[GIMP](https://www.gimp.org), [Krita](https://krita.org), Photoshop, Affinity, Aseprite…
|
||||
|
||||
**Starting from an upscaled image** (the easiest): open the PNG from your pack, retouch, then export
|
||||
it **with the same name and the same size**.
|
||||
|
||||
**Starting from the original** to redraw:
|
||||
|
||||
1. Open `mods\_decors_originaux\LOCxx.png` (320×200).
|
||||
2. Scale it ×4 **without smoothing** to get a sharp guide layer:
|
||||
- GIMP: *Image → Scale Image* → 1280×800, interpolation **None**;
|
||||
- Krita: *Image → Scale Image To New Size* → **Box** filter;
|
||||
- Photoshop: *Image → Image Size* → **Nearest Neighbor**.
|
||||
3. Draw on a layer above it, keeping objects **exactly in place**.
|
||||
4. Export as PNG (RGB, 8 bits, **non-interlaced**) with the original name, into your mod's `hd\`
|
||||
folder.
|
||||
|
||||
What to respect while retouching:
|
||||
|
||||
- **Don't move anything**: doors, objects, floor and walls stay where they are. The game keeps
|
||||
computing Bud's movements, clickable areas and animated objects on the original background; an
|
||||
element moved in the HD image would no longer be where the game thinks it is.
|
||||
- **Don't cover animated areas**: where the game draws an animated object with its own background
|
||||
(clock, lamp, water…), the game has the last word.
|
||||
- Colours are free: lighting, mood, saturation, anything goes. The game's fades (entering a room,
|
||||
night) apply to your image automatically.
|
||||
|
||||
A mod doesn't need all 122 images: **a single retouched image is enough**. Missing backgrounds stay
|
||||
at 320×200 (or come from another pack, see [H](#h-combine-several-packs)).
|
||||
|
||||
---
|
||||
|
||||
## F. Put the images in a mod
|
||||
|
||||
The game only reads images placed in a **mod**:
|
||||
|
||||
```
|
||||
mods\
|
||||
my_pack\
|
||||
mod.ini name, author, description (shown in the launcher)
|
||||
hd\
|
||||
LOC01.png
|
||||
LOC02.png
|
||||
LOC03A.png
|
||||
…
|
||||
```
|
||||
|
||||
**With the launcher:** **Mods & HD backgrounds** card → type a name in "Mod name" → **New mod**. The
|
||||
`mods\<name>\hd\` folder and its `mod.ini` are created, and the `hd` folder opens. Drop your images
|
||||
there, then **Refresh**: the mod appears with the number of HD images found.
|
||||
|
||||
**By hand:** create the folders as above. `mod.ini` is optional:
|
||||
|
||||
```ini
|
||||
[mod]
|
||||
name=My retouched pack
|
||||
author=Me
|
||||
description=Backgrounds upscaled with chaiNNer, Bud's bedroom redrawn
|
||||
```
|
||||
|
||||
The folder name must not start with `_` or `.` (otherwise it's ignored: handy to set a pack aside
|
||||
without deleting it).
|
||||
|
||||
---
|
||||
|
||||
## G. Check in game
|
||||
|
||||
1. Launcher: **Refresh**, then check that your mod is ticked, along with **Enable mods** and **HD
|
||||
backgrounds**.
|
||||
2. **Welcome to Barryville** card (the preview): it shows a room with your pack, using the same
|
||||
filters as the game.
|
||||
3. **PLAY**. In game, **F12** opens the settings: "HD backgrounds" turns the pack on or off, to
|
||||
compare with the original in the same room.
|
||||
4. To see what the engine found, tick **Verbose log** before playing, then open the **Log**: a line
|
||||
like `[mods] 0 fichier(s) remplacé(s), 122 image(s) HD` sums up what was loaded.
|
||||
|
||||
The **CRT** filter always shows the original image (it simulates a 1996 screen): switch to **Sharp**,
|
||||
**Smooth** or **xBR** to see the pack.
|
||||
|
||||
---
|
||||
|
||||
## H. Combine several packs
|
||||
|
||||
- Several mods with HD images can be active at once. For a given background, **the last one in
|
||||
alphabetical order wins**.
|
||||
- Example: a full pack `10_hd_upscayl` + your retouches `20_my_retouches` (a few rooms only). The
|
||||
retouched rooms come from `20_…`, all the others from `10_…`.
|
||||
- To compare two full packs, tick only one at a time.
|
||||
|
||||
---
|
||||
|
||||
## The rules, in one table
|
||||
|
||||
| Rule | Why |
|
||||
|---|---|
|
||||
| Same name as the original: `LOC01.png`, `LOC03A.png` | the game finds the image by its name |
|
||||
| Same framing, whole image (bottom included) | the engine overlays the HD image pixel by pixel |
|
||||
| **16:10** ratio (1280×800 recommended, 2560×1600 possible) | 320×200 scaled without distortion |
|
||||
| Pieces of one room at the same size | they are put side by side |
|
||||
| PNG RGB or RGBA, 8 or 16 bits, **non-interlaced** | format read by the engine; alpha is ignored |
|
||||
| Nothing moved | clickable areas and movements stay those of the original background |
|
||||
| In `mods\<name>\hd\`, folder not starting with `_` | otherwise the game ignores it |
|
||||
|
||||
---
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
| Problem | Fix |
|
||||
|---|---|
|
||||
| The launcher says "Upscayl is not installed" but it is | Click **Refresh**. Otherwise Upscayl is in a non-standard place: `UPSCAYL_BIN` variable ([section 1](#1-install-upscayl)). |
|
||||
| The pack is created but stays empty / Vulkan error in the log | Update your graphics driver; open Upscayl on its own to check that it works. On a laptop with two GPUs, pick the dedicated one in Upscayl's settings. |
|
||||
| My image doesn't show in game | Exact name (`LOC01.png`, not `LOC01_upscayl…png`); `mods\<name>\hd\` folder; mod ticked; **HD backgrounds** ticked; a filter other than CRT; 16:10 image. |
|
||||
| The image is offset or "bleeds" around characters | The framing changed (crop, border, ratio). Start again from the export and keep the whole image. |
|
||||
| A vertical seam in the middle of a scrolling room | The `A`/`B`… pieces weren't processed the same way; redo them with the same tool and size. |
|
||||
| Some areas stay pixelated | Normal: the game draws there (animated object, character). HD sprites are in development. |
|
||||
| Rooms load slowly, the game uses a lot of memory | Images beyond 2560×1600 cost memory with no visible gain: stay at ×4 (1280×800) or ×8. |
|
||||
| I want the original back | Untick **HD backgrounds** (or F12 in game); or rename the mod folder with a leading `_`. |
|
||||
|
||||
For everything else: [complete guide, Troubleshooting](GUIDE.en.md#13-troubleshooting) and [mod
|
||||
technical details](MODS.md) (in French).
|
||||
|
||||
---
|
||||
|
||||
## Sharing your pack?
|
||||
|
||||
Upscaled images are **derived from the game's backgrounds**, which remain their authors' property.
|
||||
That's why the project distributes no images and everything is made from **your** copy. Keep your
|
||||
packs to yourself; to help someone else, share **the method** instead (tool, model, settings): anyone
|
||||
can redo it in a few minutes with their own copy.
|
||||
@@ -0,0 +1,347 @@
|
||||
# Textures HD : exporter, agrandir, retoucher
|
||||
|
||||
🇫🇷 **Français** · 🇺🇸 [English](TEXTURES.en.md)
|
||||
|
||||
Ce tutoriel explique comment remplacer les décors du jeu (320×200) par vos propres images haute
|
||||
définition : automatiquement avec Upscayl, ou à la main avec l'outil de votre choix (autre IA,
|
||||
logiciel de dessin, retouche pièce par pièce). Les images sont créées **sur votre PC, à partir de
|
||||
votre copie du jeu** : rien n'est téléchargé ni distribué par le projet.
|
||||
|
||||
<p align="center"><img src="images/textures-fr.jpg" alt="Le même coin de la chambre de Bud : original, Scale2x, Upscayl digital-art-4x, Upscayl high-fidelity-4x" width="900"></p>
|
||||
|
||||
## ⚡ En bref
|
||||
|
||||
| Je veux… | Chemin | Temps |
|
||||
|---|---|---|
|
||||
| Un pack HD tout de suite, sans rien régler | [A. Tout automatique (launcher + Upscayl)](#a-tout-automatique-launcher--upscayl) | 5 min |
|
||||
| Choisir moi-même l'outil ou les réglages d'Upscayl | [B. Exporter](#b-exporter-les-décors-dorigine) puis [C. Upscayl à la main](#c-agrandir-avec-upscayl-à-la-main) | 15 min |
|
||||
| Utiliser une autre IA (chaiNNer, waifu2x, Topaz…) | [B](#b-exporter-les-décors-dorigine) puis [D. Autre outil](#d-agrandir-avec-un-autre-outil) | variable |
|
||||
| Redessiner ou corriger certaines pièces | [E. Retoucher à la main](#e-retoucher-à-la-main) | à votre rythme |
|
||||
|
||||
Sommaire :
|
||||
|
||||
- [0. Ce qu'on peut remplacer (et ce qu'on ne peut pas encore)](#0-ce-quon-peut-remplacer-et-ce-quon-ne-peut-pas-encore)
|
||||
- [1. Installer Upscayl](#1-installer-upscayl)
|
||||
- [A. Tout automatique (launcher + Upscayl)](#a-tout-automatique-launcher--upscayl)
|
||||
- [B. Exporter les décors d'origine](#b-exporter-les-décors-dorigine)
|
||||
- [C. Agrandir avec Upscayl à la main](#c-agrandir-avec-upscayl-à-la-main)
|
||||
- [D. Agrandir avec un autre outil](#d-agrandir-avec-un-autre-outil)
|
||||
- [E. Retoucher à la main](#e-retoucher-à-la-main)
|
||||
- [F. Ranger les images dans un mod](#f-ranger-les-images-dans-un-mod)
|
||||
- [G. Vérifier en jeu](#g-vérifier-en-jeu)
|
||||
- [H. Combiner plusieurs packs](#h-combiner-plusieurs-packs)
|
||||
- [Les règles, en un tableau](#les-règles-en-un-tableau)
|
||||
- [Dépannage](#dépannage)
|
||||
- [Partager son pack ?](#partager-son-pack-)
|
||||
|
||||
---
|
||||
|
||||
## 0. Ce qu'on peut remplacer (et ce qu'on ne peut pas encore)
|
||||
|
||||
| Élément | En HD ? |
|
||||
|---|---|
|
||||
| **Décors des pièces** (`LOC01` à `LOC82`, 122 images) | ✅ oui, c'est l'objet de ce tutoriel |
|
||||
| Personnages (Bud, Fester…), objets animés, curseur, inventaire | 🚧 en cours de développement : ils restent en 320×200, posés par-dessus le décor HD |
|
||||
| Textes, bulles de dialogue, panneau d'actions | ❌ non (restent ceux du jeu) |
|
||||
|
||||
Comment ça marche, en une phrase : le jeu tourne toujours en 320×200 ; à chaque image, le moteur
|
||||
repère le décor affiché et montre à sa place votre image HD, partout où le jeu n'a rien dessiné
|
||||
par-dessus. C'est pour ça que **l'image HD doit garder exactement le même cadrage que l'originale**.
|
||||
|
||||
> Sur l'image du haut, le carré noir sous la pendule n'est pas un défaut de l'agrandissement : c'est
|
||||
> l'endroit où le jeu dessine lui-même le balancier animé. En jeu, il est recouvert.
|
||||
|
||||
---
|
||||
|
||||
## 1. Installer Upscayl
|
||||
|
||||
[Upscayl](https://upscayl.org) est un logiciel **gratuit et libre** qui agrandit les images avec une
|
||||
IA (Real-ESRGAN). Le launcher s'en sert pour créer un pack HD en un clic. Il n'est **pas** fourni avec
|
||||
le projet : installez-le vous-même.
|
||||
|
||||
**Il faut :** une carte graphique compatible **Vulkan** (NVIDIA, AMD ou Intel des dix dernières
|
||||
années, pilotes à jour) et environ 500 Mo d'espace disque.
|
||||
|
||||
### Windows
|
||||
|
||||
1. Ouvrez [upscayl.org](https://upscayl.org) → **Download** → **Windows**.
|
||||
2. Lancez l'installateur `upscayl-…-win.exe` et laissez le dossier proposé.
|
||||
3. Ouvrez une fois Upscayl pour vérifier qu'il démarre, puis fermez-le.
|
||||
4. Dans le launcher, carte **Mods et décors HD**, cliquez sur **Actualiser** : l'encadré jaune
|
||||
« Upscayl n'est pas installé » laisse place à la ligne « Créer un pack HD avec Upscayl », avec la
|
||||
liste des modèles.
|
||||
|
||||
Le launcher cherche Upscayl ici, dans l'ordre :
|
||||
|
||||
| Emplacement | Quand |
|
||||
|---|---|
|
||||
| variable d'environnement `UPSCAYL_BIN` | chemin complet de `upscayl-bin.exe`, si vous l'avez mis ailleurs |
|
||||
| `C:\Program Files\Upscayl\` | installation « pour tous les utilisateurs » |
|
||||
| `C:\Program Files (x86)\Upscayl\` | idem, ancien emplacement |
|
||||
| `%LOCALAPPDATA%\Programs\Upscayl\` | installation « pour moi seulement » (le cas le plus courant) |
|
||||
|
||||
Le fichier recherché est `resources\bin\upscayl-bin.exe` dans ce dossier.
|
||||
|
||||
> Upscayl installé ailleurs (Microsoft Store, version portable, autre disque) : créez la variable
|
||||
> d'environnement `UPSCAYL_BIN` avec le chemin complet de `upscayl-bin.exe`
|
||||
> (Démarrer → « variables d'environnement » → Variables utilisateur → Nouvelle), puis redémarrez le
|
||||
> launcher.
|
||||
|
||||
### Linux (pour plus tard)
|
||||
|
||||
Upscayl existe en AppImage, en `.deb` et sur Flathub. Le jeu ne tourne pas encore sous Linux (c'est
|
||||
prévu, voir la [feuille de route](ROADMAP.md)) ; en attendant, les étapes B à F marchent avec Upscayl
|
||||
Linux, en déposant ensuite les images sur la machine Windows.
|
||||
|
||||
### Sans carte graphique compatible
|
||||
|
||||
Upscayl ne marchera pas, mais vous pouvez :
|
||||
|
||||
- utiliser l'agrandissement **Scale2x** intégré, sans IA (image n°2 en haut de la page) :
|
||||
`python tools\hd_export.py CHEMIN_DU_JEU mods\scale2x\hd --echelle 4` ;
|
||||
- agrandir avec un autre outil (section D) ou un service en ligne, en respectant les règles.
|
||||
|
||||
---
|
||||
|
||||
## A. Tout automatique (launcher + Upscayl)
|
||||
|
||||
1. Installez Upscayl ([section 1](#1-installer-upscayl)).
|
||||
2. Launcher → carte **Mods et décors HD** → « Créer un pack HD avec Upscayl ».
|
||||
3. Choisissez un **modèle** (voir le tableau), puis **Créer le pack**.
|
||||
4. Patientez : de quelques secondes à quelques minutes selon la carte graphique. Le journal
|
||||
(bouton **Journal**, en bas) montre l'avancement.
|
||||
5. Le pack apparaît dans la liste des mods : `hd_upscayl` pour le modèle par défaut,
|
||||
`hd_upscayl_<modèle>` pour les autres.
|
||||
6. Vérifiez que **Activer les mods** et **Décors HD** sont cochés, puis **JOUER**.
|
||||
|
||||
<p align="center"><img src="images/launcher-fr-carte-mods.jpg" alt="Carte Mods et décors HD du launcher" width="900"></p>
|
||||
|
||||
| Modèle | Rendu | Pour qui |
|
||||
|---|---|---|
|
||||
| `digital-art-4x` (défaut) | aplats propres, contours nets, look « dessin animé » | la plupart des joueurs |
|
||||
| `high-fidelity-4x` | très proche de l'original, garde la trame des pixels | les puristes |
|
||||
| `ultramix-balanced-4x` | compromis plus doux | entre les deux |
|
||||
| `ultrasharp-4x` | très net, peut accentuer les défauts | essais |
|
||||
| `remacri-4x` | détaillé, pensé pour les photos | essais |
|
||||
| `upscayl-standard-4x`, `upscayl-lite-4x` | polyvalents ; « lite » va plus vite | PC modestes |
|
||||
|
||||
Vous pouvez créer plusieurs packs et passer de l'un à l'autre avec leur case dans la liste des mods
|
||||
(un seul coché à la fois, sinon c'est le dernier par ordre alphabétique qui s'affiche).
|
||||
|
||||
En ligne de commande, c'est la même chose :
|
||||
|
||||
```
|
||||
python tools\hd_export.py "C:\Jeux\TUCKER" mods\hd_upscayl\hd --upscayl digital-art-4x
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## B. Exporter les décors d'origine
|
||||
|
||||
Pour travailler avec votre propre outil, il faut d'abord les décors d'origine en PNG.
|
||||
|
||||
**Avec le launcher :** carte **Mods et décors HD** → **Exporter les décors d'origine**. Les 122
|
||||
images arrivent dans `mods\_decors_originaux\` et le dossier s'ouvre tout seul.
|
||||
|
||||
**En ligne de commande :**
|
||||
|
||||
```
|
||||
python tools\hd_export.py "C:\Jeux\TUCKER" mods\_decors_originaux
|
||||
```
|
||||
|
||||
Ce que vous obtenez :
|
||||
|
||||
- 122 fichiers PNG en **320×200**, nommés comme les décors du jeu : `LOC01.png`, `LOC02.png`…
|
||||
- Les pièces plus larges que l'écran sont en **plusieurs morceaux** : `LOC03A` + `LOC03B`,
|
||||
`LOC15A` à `LOC15D`, etc. Le jeu les met bout à bout et fait défiler l'écran ; traitez-les comme des
|
||||
images séparées, mais avec **le même outil et les mêmes réglages** pour éviter une couture visible.
|
||||
- Le bas de l'image (la bande sous le décor, souvent noire ou unie) fait partie de l'image : gardez-le.
|
||||
|
||||
Le dossier commence par `_` : le jeu l'ignore, il ne s'affichera jamais par erreur. Ne travaillez pas
|
||||
directement dedans : il sera écrasé au prochain export.
|
||||
|
||||
---
|
||||
|
||||
## C. Agrandir avec Upscayl à la main
|
||||
|
||||
Utile pour régler Upscayl vous-même (modèle personnalisé, autre échelle, carte graphique choisie…).
|
||||
|
||||
1. Ouvrez Upscayl.
|
||||
2. Activez **Batch Upscayl** (traitement d'un dossier entier).
|
||||
3. **Étape 1** : choisissez le dossier `mods\_decors_originaux`.
|
||||
4. **Étape 2** : choisissez un modèle (voir le tableau de la section A).
|
||||
5. Dans les réglages (**Settings**) :
|
||||
- **Image Scale** : `4` (320×200 → 1280×800) ;
|
||||
- **Save Image As** : `PNG` ;
|
||||
- laissez la compression à `0`.
|
||||
6. **Étape 3** : dossier de sortie, par exemple un nouveau dossier `mods\mon_pack\hd`
|
||||
(voir [section F](#f-ranger-les-images-dans-un-mod) pour le créer depuis le launcher).
|
||||
7. **Upscayl** et patientez.
|
||||
|
||||
### ⚠️ Remettre les noms d'origine
|
||||
|
||||
Selon sa version, Upscayl ajoute l'échelle et le modèle au nom des fichiers
|
||||
(`LOC01_upscayl_4x_digital-art-4x.png`). Le jeu, lui, cherche **exactement** `LOC01.png`. Si vos
|
||||
fichiers ont déjà le bon nom, passez cette étape. Sinon, dans le dossier de sortie, faites clic droit → **Ouvrir dans le
|
||||
terminal** (PowerShell), puis :
|
||||
|
||||
```powershell
|
||||
Get-ChildItem *.png | Rename-Item -NewName { $_.Name -replace '_upscayl.*\.png$', '.png' }
|
||||
```
|
||||
|
||||
Vérifiez ensuite qu'il ne reste que des noms du type `LOC01.png`, `LOC03A.png`…
|
||||
|
||||
---
|
||||
|
||||
## D. Agrandir avec un autre outil
|
||||
|
||||
Tout outil qui sort des PNG convient : [chaiNNer](https://chainner.app), waifu2x, Real-ESRGAN en ligne
|
||||
de commande, Topaz Gigapixel, Photoshop « Super résolution », un service en ligne… Partez du dossier
|
||||
exporté en [B](#b-exporter-les-décors-dorigine) et respectez ces points :
|
||||
|
||||
- **facteur ×4** de préférence (1280×800). ×2 (640×400) ou ×8 (2560×1600) marchent aussi : ce qui
|
||||
compte, c'est de garder le **ratio 16:10** ;
|
||||
- **pas de recadrage**, pas de bordure ajoutée, pas de « remplissage » sur les côtés ;
|
||||
- les morceaux d'une même pièce (`A`, `B`, `C`, `D`) à **la même taille** ;
|
||||
- sortie en **PNG** (pas de JPG ni de WebP) ;
|
||||
- **les mêmes noms** que les fichiers d'origine (voir l'astuce de renommage en C si votre outil ajoute
|
||||
un suffixe ; adaptez le motif `_upscayl.*` à votre outil).
|
||||
|
||||
> Astuce : les décors du jeu sont dessinés (pas des photos). Les modèles pensés pour l'anime, le
|
||||
> dessin ou le pixel art donnent en général de meilleurs résultats que ceux pensés pour les photos.
|
||||
|
||||
---
|
||||
|
||||
## E. Retoucher à la main
|
||||
|
||||
Vous pouvez corriger une image agrandie (un visage raté, un texte flou, une couture) ou redessiner
|
||||
complètement une pièce dans [GIMP](https://www.gimp.org), [Krita](https://krita.org), Photoshop,
|
||||
Affinity, Aseprite…
|
||||
|
||||
**Partir d'une image agrandie** (la plus simple) : ouvrez le PNG de votre pack, retouchez, puis
|
||||
exportez-le **au même nom et à la même taille**.
|
||||
|
||||
**Partir de l'original** pour redessiner :
|
||||
|
||||
1. Ouvrez `mods\_decors_originaux\LOCxx.png` (320×200).
|
||||
2. Agrandissez-le ×4 **sans lissage** pour avoir un calque guide net :
|
||||
- GIMP : *Image → Échelle et taille de l'image* → 1280×800, interpolation **Aucune** ;
|
||||
- Krita : *Image → Redimensionner* → filtre **Boîte** (*Box*) ;
|
||||
- Photoshop : *Image → Taille de l'image* → **Au plus proche**.
|
||||
3. Dessinez sur un calque au-dessus, en gardant les objets **à leur place exacte**.
|
||||
4. Exportez en PNG (RVB, 8 bits, **non entrelacé**) sous le nom d'origine, dans le dossier `hd\` de
|
||||
votre mod.
|
||||
|
||||
Ce qu'il faut respecter en retouchant :
|
||||
|
||||
- **Ne déplacez rien** : portes, objets, sol et murs restent où ils sont. Le jeu continue à calculer
|
||||
les déplacements de Bud, les zones cliquables et les objets animés sur le décor d'origine ; un
|
||||
élément déplacé dans l'image HD ne serait plus là où le jeu le croit.
|
||||
- **Ne cachez pas les zones animées** : là où le jeu dessine un objet animé avec son propre fond
|
||||
(pendule, lampe, eau…), c'est lui qui a le dernier mot.
|
||||
- Les couleurs sont libres : retouches de lumière, d'ambiance, de saturation, tout est permis. Les
|
||||
fondus du jeu (entrée dans une pièce, nuit) s'appliquent automatiquement à votre image.
|
||||
|
||||
Un mod ne doit pas forcément contenir les 122 images : **une seule image retouchée suffit**. Les
|
||||
décors absents restent en 320×200 (ou viennent d'un autre pack, voir [H](#h-combiner-plusieurs-packs)).
|
||||
|
||||
---
|
||||
|
||||
## F. Ranger les images dans un mod
|
||||
|
||||
Le jeu ne lit que les images rangées dans un **mod** :
|
||||
|
||||
```
|
||||
mods\
|
||||
mon_pack\
|
||||
mod.ini nom, auteur, description (affichés dans le launcher)
|
||||
hd\
|
||||
LOC01.png
|
||||
LOC02.png
|
||||
LOC03A.png
|
||||
…
|
||||
```
|
||||
|
||||
**Avec le launcher :** carte **Mods et décors HD** → tapez un nom dans « Nom du mod » → **Nouveau
|
||||
mod**. Le dossier `mods\<nom>\hd\` et son `mod.ini` sont créés, et le dossier `hd` s'ouvre. Déposez-y
|
||||
vos images, puis **Actualiser** : le mod apparaît avec le nombre d'images HD trouvées.
|
||||
|
||||
**À la main :** créez les dossiers comme ci-dessus. `mod.ini` est facultatif :
|
||||
|
||||
```ini
|
||||
[mod]
|
||||
name=Mon pack retouché
|
||||
author=Moi
|
||||
description=Décors agrandis avec chaiNNer, chambre de Bud redessinée
|
||||
```
|
||||
|
||||
Le nom du dossier ne doit pas commencer par `_` ou `.` (sinon il est ignoré : pratique pour mettre un
|
||||
pack de côté sans le supprimer).
|
||||
|
||||
---
|
||||
|
||||
## G. Vérifier en jeu
|
||||
|
||||
1. Launcher : **Actualiser**, puis vérifiez que votre mod est coché, ainsi que **Activer les mods**
|
||||
et **Décors HD**.
|
||||
2. Carte **Bienvenue à Barryville** (l'aperçu) : elle affiche une pièce avec votre pack, avec les
|
||||
mêmes filtres que le jeu.
|
||||
3. **JOUER**. En jeu, **F12** ouvre les réglages : « Décors HD » active ou coupe le pack, pour
|
||||
comparer avec l'original sur la même pièce.
|
||||
4. Pour voir ce que le moteur a trouvé, cochez **Journal détaillé** avant de jouer, puis ouvrez le
|
||||
**Journal** : une ligne du type `[mods] 0 fichier(s) remplacé(s), 122 image(s) HD` résume le
|
||||
chargement.
|
||||
|
||||
Le filtre **CRT** affiche toujours l'image d'origine (il simule un écran de 1996) : passez sur
|
||||
**Net**, **Lissé** ou **xBR** pour voir le pack.
|
||||
|
||||
---
|
||||
|
||||
## H. Combiner plusieurs packs
|
||||
|
||||
- Plusieurs mods avec des images HD peuvent être actifs en même temps. Pour un même décor, **le
|
||||
dernier par ordre alphabétique l'emporte**.
|
||||
- Exemple : un pack complet `10_hd_upscayl` + vos retouches `20_mes_retouches` (quelques pièces
|
||||
seulement). Les pièces retouchées viennent de `20_…`, toutes les autres de `10_…`.
|
||||
- Pour comparer deux packs complets, n'en cochez qu'un à la fois.
|
||||
|
||||
---
|
||||
|
||||
## Les règles, en un tableau
|
||||
|
||||
| Règle | Pourquoi |
|
||||
|---|---|
|
||||
| Nom identique à l'original : `LOC01.png`, `LOC03A.png` | c'est par le nom que le jeu trouve l'image |
|
||||
| Même cadrage, image entière (bas compris) | le moteur superpose l'image HD pixel à pixel |
|
||||
| Ratio **16:10** (1280×800 conseillé, 2560×1600 possible) | 320×200 agrandi sans déformation |
|
||||
| Morceaux d'une même pièce à la même taille | ils sont mis bout à bout |
|
||||
| PNG RVB ou RVBA, 8 ou 16 bits, **non entrelacé** | format lu par le moteur ; l'alpha est ignoré |
|
||||
| Rien de déplacé | zones cliquables et déplacements restent ceux du décor d'origine |
|
||||
| Dans `mods\<nom>\hd\`, dossier sans `_` au début | sinon le jeu l'ignore |
|
||||
|
||||
---
|
||||
|
||||
## Dépannage
|
||||
|
||||
| Problème | Solution |
|
||||
|---|---|
|
||||
| Le launcher affiche « Upscayl n'est pas installé » alors qu'il l'est | Cliquez **Actualiser**. Sinon Upscayl est à un emplacement non standard : variable `UPSCAYL_BIN` ([section 1](#1-installer-upscayl)). |
|
||||
| Le pack se crée mais reste vide / erreur Vulkan dans le journal | Mettez à jour le pilote de la carte graphique ; ouvrez Upscayl seul pour vérifier qu'il fonctionne. Sur un PC portable à deux cartes, choisissez la carte dédiée dans les réglages d'Upscayl. |
|
||||
| Mon image n'apparaît pas en jeu | Nom exact (`LOC01.png`, pas `LOC01_upscayl…png`) ; dossier `mods\<nom>\hd\` ; mod coché ; **Décors HD** coché ; filtre autre que CRT ; image en 16:10. |
|
||||
| L'image est décalée ou « bave » autour des personnages | Le cadrage a changé (recadrage, bordure, ratio). Repartez de l'export et gardez l'image entière. |
|
||||
| Une couture verticale au milieu d'une pièce qui défile | Les morceaux `A`/`B`… n'ont pas été traités pareil ; refaites-les avec le même outil et la même taille. |
|
||||
| Quelques zones restent pixelisées | Normal : là, c'est le jeu qui dessine (objet animé, personnage). Les sprites HD sont en cours de développement. |
|
||||
| Le chargement des pièces est lent, le jeu prend beaucoup de mémoire | Les images au-delà de 2560×1600 coûtent de la mémoire sans gain visible : restez en ×4 (1280×800) ou ×8. |
|
||||
| Je veux revenir à l'original | Décochez **Décors HD** (ou F12 en jeu) ; ou renommez le dossier du mod avec un `_` devant. |
|
||||
|
||||
Pour tout le reste : [guide complet, section Dépannage](GUIDE.md#13-dépannage) et [détails
|
||||
techniques des mods](MODS.md).
|
||||
|
||||
---
|
||||
|
||||
## Partager son pack ?
|
||||
|
||||
Les images agrandies sont **dérivées des décors du jeu**, qui restent la propriété de leurs auteurs.
|
||||
C'est pour ça que le projet ne distribue aucune image et que tout est fabriqué à partir de **votre**
|
||||
copie. Gardez vos packs pour vous ; pour en faire profiter quelqu'un, partagez plutôt **la méthode**
|
||||
(outil, modèle, réglages) : chacun le refera en quelques minutes avec sa propre copie.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 198 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 199 KiB |
+32
-6
@@ -278,7 +278,7 @@ fn run_checks(root: &Path, cfg: &Config) -> Checks {
|
||||
|
||||
/// le moteur lit l'option « --charger » : la chaîne figure alors dans l'exécutable (suivie d'un 0)
|
||||
fn engine_can_load(exe: &Path) -> bool {
|
||||
std::fs::read(exe).is_ok_and(|b| b.windows(10).any(|w| w == b"--charger | ||||