Launcher : sections Créer un pack et Faire son propre pack à jour

- Création Upscayl : case « Décors, cinématiques et barre » (148 images :
  122 décors, 24 images de cinématique, PANEL1/PANEL2) ; « Personnages et
  objets » marqué expérimental et décoché par défaut ; conseil de fermer
  jeux et applis 3D.
- Export des images d'origine et Nouveau mod : cinématiques et barre
  d'actions mentionnées (CLIO1.png, PANEL2.png).
- Ligne d'un mod : « N images » au lieu de « N décors ».
- GUIDE, TEXTURES FR/EN : nouveaux noms des cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
linkatplugandClaude Opus 5.5 committed 2026-12-05 12:28:48 +01:00
1 parent 48cd82651e
commit 2ffd13fd95
5 files changed
+36 -24

No files matched your search

+22 -12
View File
@@ -738,7 +738,8 @@ impl App {
upscayl_model: mods::DEFAULT_MODEL.to_string(),
new_mod_name: String::new(),
pack_decors: true,
pack_sprites: true,
// sprites HD encore expérimentaux : pas cochés par défaut
pack_sprites: false,
mod_msg: None,
open_after: None,
art: Art::default(),
@@ -967,7 +968,7 @@ impl App {
}
}
if m.hd_images > 0 {
ui.label(RichText::new(format!("HD · {} {}", m.hd_images, tr("décors", "backgrounds"))).color(ACCENT).small());
ui.label(RichText::new(format!("HD · {} {}", m.hd_images, tr("images", "pictures"))).color(ACCENT).small());
}
if m.hd_sprites > 0 {
ui.label(RichText::new(format!("{} {}", m.hd_sprites, tr("sprites", "sprites"))).color(ACCENT).small());
@@ -1038,8 +1039,17 @@ impl App {
ui.selectable_value(&mut self.upscayl_model, m.clone(), m);
}
});
ui.checkbox(&mut self.pack_decors, tr("Décors", "Backgrounds"));
ui.checkbox(&mut self.pack_sprites, tr("Personnages et objets", "Characters and objects"));
ui.checkbox(&mut self.pack_decors, tr("Décors, cinématiques et barre", "Backgrounds, cutscenes and bar"))
.on_hover_text(tr(
"Les 122 décors des pièces, les 24 images fixes des cinématiques (pyramide, cartes, journaux…) et la barre d'actions.",
"The 122 room backgrounds, the 24 still cutscene pictures (pyramid, maps, newspapers…) and the action bar.",
));
ui.checkbox(&mut self.pack_sprites, tr("Personnages et objets", "Characters and objects"))
.on_hover_text(tr(
"Expérimental, encore bogué : plusieurs milliers d'images, nettement plus long.",
"Experimental, still buggy: thousands of images, much longer.",
));
ui.label(RichText::new(tr("(expérimental)", "(experimental)")).color(ACCENT).small());
let some = self.pack_decors || self.pack_sprites;
if ui.add_enabled(can_create && some, egui::Button::new(tr("Créer le pack", "Create pack"))).clicked() {
create = true;
@@ -1048,8 +1058,8 @@ impl App {
ui.label(RichText::new(format!(
"{} mods\\{}",
tr(
"Tout le pack avec le même modèle. Décors : 122 images, quelques minutes ; personnages et objets : plusieurs milliers d'images, nettement plus long. Dossier :",
"The whole pack with one model. Backgrounds: 122 images, a few minutes; characters and objects: thousands of images, much longer. Folder:"
"Tout le pack avec le même modèle. Décors, cinématiques et barre d'actions : 148 images, quelques minutes ; personnages et objets : plusieurs milliers d'images, nettement plus long. Fermez les jeux et applis 3D pendant la création. Dossier :",
"The whole pack with one model. Backgrounds, cutscenes and action bar: 148 images, a few minutes; characters and objects: thousands of images, much longer. Close games and 3D apps while it runs. Folder:"
),
mods::pack_id(&self.upscayl_model)
)).weak().small());
@@ -1063,8 +1073,8 @@ impl App {
.show(ui, |ui| {
ui.label(RichText::new(tr("Upscayl n'est pas installé", "Upscayl is not installed")).strong().color(ACCENT));
ui.label(RichText::new(tr(
"Ce logiciel gratuit crée le pack HD des décors en un clic (il faut une carte graphique compatible Vulkan). Installez-le, puis cliquez sur Actualiser.",
"This free program creates the HD background pack in one click (it needs a Vulkan-capable graphics card). Install it, then click Refresh.",
"Ce logiciel gratuit crée le pack HD (décors, cinématiques, barre d'actions) en un clic (il faut une carte graphique compatible Vulkan). Installez-le, puis cliquez sur Actualiser.",
"This free program creates the HD pack (backgrounds, cutscenes, action bar) in one click (it needs a Vulkan-capable graphics card). Install it, then click Refresh.",
)));
ui.horizontal_wrapped(|ui| {
ui.hyperlink_to(tr("Télécharger Upscayl", "Download Upscayl"), "https://upscayl.org");
@@ -1087,8 +1097,8 @@ impl App {
ui.label(RichText::new(format!(
"{} mods\\{}",
tr(
"Décors (PNG 320×200), puis personnages et objets (sous-dossiers SHEETS et SPRITES, 2 à 3 min), à agrandir avec l'outil de votre choix. Dossier :",
"Backgrounds (320×200 PNGs), then characters and objects (SHEETS and SPRITES subfolders, 2-3 min), to upscale with any tool. Folder:",
"Décors, cinématiques et barre d'actions (148 PNG 320×200), puis personnages et objets (sous-dossiers SHEETS et SPRITES, 2 à 3 min), à agrandir avec l'outil de votre choix. Dossier :",
"Backgrounds, cutscenes and action bar (148 320×200 PNGs), then characters and objects (SHEETS and SPRITES subfolders, 2-3 min), to upscale with any tool. Folder:",
),
mods::EXPORT_DIR
)).weak().small());
@@ -1100,8 +1110,8 @@ impl App {
}
});
ui.label(RichText::new(tr(
"Crée mods\\<nom>\\hd : déposez-y les PNG agrandis sous le même nom et dans le même sous-dossier (LOC01.png, SHEETS\\BUD_1.png, SPRITES\\A01_04.png), image entière agrandie du même facteur (×4 : 1280×800 pour un décor).",
"Creates mods\\<name>\\hd: drop the upscaled PNGs there with the same name and subfolder (LOC01.png, SHEETS\\BUD_1.png, SPRITES\\A01_04.png), whole image upscaled by the same factor (×4: 1280×800 for a background).",
"Crée mods\\<nom>\\hd : déposez-y les PNG agrandis sous le même nom et dans le même sous-dossier (LOC01.png, CLIO1.png, PANEL2.png, SHEETS\\BUD_1.png, SPRITES\\A01_04.png), image entière agrandie du même facteur (×4 : 1280×800 pour un décor).",
"Creates mods\\<name>\\hd: drop the upscaled PNGs there with the same name and subfolder (LOC01.png, CLIO1.png, PANEL2.png, SHEETS\\BUD_1.png, SPRITES\\A01_04.png), whole image upscaled by the same factor (×4: 1280×800 for a background).",
)).weak().small());
if let Some((good, m)) = &self.mod_msg {
ui.label(RichText::new(m).color(if *good { OK } else { BAD }));