LifePlay-Revival/Docs/Migration/etat/OPT/OPT0/OPT0-A1-INV.md
edujiro5972 8084622450 LifePlay UE 5.8 : état de développement au 2026-10-19
Tickets : REP1-T4

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 22:57:42 +02:00

88 lines
7.5 KiB
Markdown

# OPT0-A1-INV : inventaire mécanique de l'héritage UE4 hors C++ du jeu
Fiche OPT0-A1 — Session « Lower · OPT0-A1 » (haiku) — Skills : sk-protocol, lp-paths
Date du relevé : 2026-10-15. Lecture seule : aucun build, aucun éditeur, aucune copie UE.
Aucun fichier de travail écrit dans le jeu. Sans verdict : la grille de décision est la fiche A3.
## 1. Périmètre
| Cible | Chemin | Fichiers analysés |
|---|---|---:|
| Addon, sources suivies | `D:\Game\LifePlay-Sandbox-5.8\Plugins\LPSandbox\Source` | 58 (27 `.cpp`, 28 `.h`, 3 `.cs`) |
| StreetMap, sources suivies | `D:\Game\LifePlay-master 5.8\Plugins\StreetMap` | 30 (14 `.cpp`, 14 `.h`, 2 `.cs`) |
| INI du jeu | `D:\Game\LifePlay-master 5.8\Config\*.ini` | 6 |
| Journaux de build archivés, les plus récents | voir § 5 | 4 |
- **StreetMap** : la skill `lp-paths` ne donne pas ce chemin. Relevé à la source : `Plugins/StreetMap` est dans le **jeu** (34 fichiers suivis, `git ls-files`). La copie moteur `D:\Game\Launcher\Engine\UE_5.8` ne contient pas de dossier `StreetMap` (`find -maxdepth 6`, 0 résultat).
- **Exclus** : les fichiers non suivis de l'addon (`LPSandboxCharGenMod.*`, `LPSandboxStage.*`, Docs/BAR, Docs/CG, agents, skills non suivis), listés à part dans MEN1-A et non analysés ici.
## 2. Commandes exactes (lecture seule)
```
cd /d/Game/LifePlay-Sandbox-5.8 && git --no-optional-locks ls-files Plugins/LPSandbox/Source
cd "/d/Game/LifePlay-master 5.8" && git --no-optional-locks ls-files Plugins/StreetMap | grep -E '\.(cpp|h|cs)$'
... | tr '\n' '\0' | xargs -0 grep -c -E '<motif>' | grep -v ':0$' # par fichier, non nuls
... | tr '\n' '\0' | xargs -0 grep -h -E '<motif>' | wc -l # total
grep -n -E '<motif>' Config/DefaultInput.ini (et autres .ini) # lignes
grep -c 'C4996' <journal> # par journal
```
Recoupement : `Grep` (ripgrep) sur `Plugins\LPSandbox` (dossier entier, fichiers suivis et non suivis) pour les motifs moteur : **0 résultat**, identique au relevé par `git ls-files`.
## 3. C++ (addon et StreetMap)
| Motif | Addon `LPSandbox` (58 fichiers suivis) | StreetMap (30 fichiers suivis) |
|---|---|---|
| `ENGINE_MAJOR_VERSION` / `ENGINE_MINOR_VERSION` | 0 | 0 |
| `UE_DEPRECATED` / `PRAGMA_DISABLE_DEPRECATION_WARNINGS` | 0 | 0 |
| `GetWorld()->GetTimeSeconds` | 0 | 0 |
| `FindObject<` | 0 | 0 |
| `StaticLoadObject` | 0 | 0 |
| `ConstructorHelpers` | 0 | 1 : `Plugins/StreetMap/Source/StreetMapRuntime/StreetMapComponent.cpp:40` |
| `FName(...TEXT(` (même ligne) | 3 : `Plugins/LPSandbox/Source/LPAnimMeasure/LPSkeletonProfile.cpp:80`, `:81` ; `Plugins/LPSandbox/Source/LPSandbox/LPSandboxCoupleMod.cpp:238` | 0 |
| `TEXT(` (tous, pour référence) | **1 189** (détail ci-dessous) | **87** (détail ci-dessous) |
Détail `TEXT(` par fichier, addon (fichiers non nuls, somme 1 189) : LPAnimMeasure/LPAnimMeasurePaths.cpp 4 ; LPAnimMeasure/LPPoseMeasure.cpp 99 ; LPAnimMeasure/LPPoseOrchestrator.cpp 47 ; LPAnimMeasure/LPSkeletonProfile.cpp 14 ; LPModTools/LPAnimCatalogCommandlet.cpp 59 ; LPModTools/LPAnimChecks.cpp 18 ; LPModTools/LPAnimEvalCommandlet.cpp 125 ; LPModTools/LPAnimIdentifyCommandlet.cpp 39 ; LPModTools/LPAnimMethodSelect.h 6 ; LPModTools/LPAnimTwistCommandlet.cpp 53 ; LPModTools/LPAuditBlueprintCallsCommandlet.cpp 121 ; LPModTools/LPHairFromStaticMeshCommandlet.cpp 41 ; LPSandbox/LPPairSandbox.cpp 71 ; LPSandbox/LPPairSandbox.h 1 ; LPSandbox/LPSandboxActionVM.cpp 61 ; LPSandbox/LPSandboxActionVM.h 1 ; LPSandbox/LPSandboxActors.cpp 25 ; LPSandbox/LPSandboxConfig.cpp 29 ; LPSandbox/LPSandboxConfig.h 19 ; LPSandbox/LPSandboxCoupleMod.cpp 30 ; LPSandbox/LPSandboxCoupleMod.h 1 ; LPSandbox/LPSandboxInteraction.cpp 58 ; LPSandbox/LPSandboxInteractionMod.h 9 ; LPSandbox/LPSandboxMeasure.cpp 47 ; LPSandbox/LPSandboxMeasureMod.h 1 ; LPSandbox/LPSandboxMeasureTour.cpp 69 ; LPSandbox/LPSandboxModRegistry.cpp 86 ; LPSandbox/LPSandboxModWrappers.cpp 4 ; LPSandbox/LPSandboxScene.cpp 30 ; LPSandbox/LPSandboxSidebar.cpp 21.
Détail `TEXT(` StreetMap (somme 87) : Importing/OSMFile.cpp 62 ; Importing/StreetMapComponentDetails.cpp 15 ; Importing/StreetMapStyle.cpp 2 ; Importing/StreetMapActorFactory.cpp 1 ; Importing/StreetMapAssetTypeActions.cpp 1 ; Importing/StreetMapFactory.cpp 1 ; Runtime/Public/StreetMapComponent.h 1 ; Runtime/StreetMap.cpp 1 ; Runtime/StreetMapActor.cpp 1 ; Runtime/StreetMapComponent.cpp 2.
Limites : grep textuel, sans préprocesseur ; `en tick` n'est pas distingué (0 `GetTimeSeconds` au total, donc sans objet) ; `FName` / `TEXT` sur deux lignes non captés.
## 4. INI du jeu (`Config\*.ini`, 6 fichiers)
| Motif | Compte brut | Fichier:lignes |
|---|---:|---|
| `ActionMappings` | 55 | `Config/DefaultInput.ini` : l. 95 à 149 (une par ligne, toutes consécutives) |
| `AxisMappings` | 15 | `Config/DefaultInput.ini` : l. 150 à 164 |
| `+Engine.InputSettings` (`Engine.InputSettings`) | 1 | `Config/DefaultInput.ini` : l. 3 |
| `bUseFixedFrameRate` | 0 | — |
| `r.` (rendu, `(^\|[^A-Za-z0-9_])r\.`) | 79 | `Config/DefaultEngine.ini` : l. 14, 17, 22, 23, 24, 25, 26, 27, 28, 29, 30 (11) ; `Config/DefaultScalability.ini` : l. 17 à 23, 26 à 32, 35 à 41, 44 à 50, 56 à 59, 62 à 65, 68 à 71, 74 à 77, 83 à 87, 91 à 95, 99 à 103, 107 à 111, 118, 121, 124, 127 (68) |
| `gc.` | 0 | — |
Lignes comptées sans trier : `DefaultEngine.ini` l. 14 est un **commentaire** (`; Lot L6a … r.DefaultFeature.AntiAliasing …`) ; compté dans le compte brut, non retiré.
`DefaultEngine.ini` : sections `[/Script/Engine.RendererSettings]` pour les l. 17 à 30 (vérifié par awk) ; l. 14 sous la même section. Les autres `.ini` (`DefaultEditor.ini`, `DefaultGame.ini`, `DefaultEditorSettings.ini`) : 0 occurrence de ces motifs.
## 5. C4996 dans les journaux archivés les plus récents
| Journal | Chemin | `C4996` |
|---|---|---:|
| Build jeu STG-COMMUN13 (log portage) | `Saved/Logs/portage/BuildDebug_Development_20261014-154239.log` | 0 |
| Build STG-COMMUN13 (log portage) | `Saved/Logs/portage/STG_Build_20261014-154145.log` | 0 |
| Build STG-COMMUN13 (journal `etat`) | `Docs/Migration/etat/ST/STG/STG_Build_20261014-154145.txt` | 0 |
| Build OBB | `Docs/Migration/etat/OB/OBB/OBB_Build_20261010-130315.txt` | 0 |
Constat brut : le journal `BuildDebug_..154239` contient 4 lignes « warning », dont 1 seule avertissement compté (`LogCook: Warning: CookIncremental …`, cuisson, sans lien avec `C4996`), et `LogInit: Success - 0 error(s), 1 warning(s)`.
Hors périmètre, relevé pour mémoire : un seul journal de `Saved/Logs/portage` contient des `C4996`, `STM_Build_20261009-144519.log` (5 lignes), toutes dans le plugin **Marketplace HyperAIStudio** (`Plugins/Marketplace/HyperAIStudio/…`), pas dans LPSandbox ni StreetMap : `HyperAIStudioDynamicMaterialToolset.cpp` (3363, 3373), `HyperAIStudioGASToolset.cpp` (253), `HyperAIStudioMaterialsToolset.cpp` (3738, 3748). Quarante-cinq fichiers de `etat` (tous types, `grep -rl C4996 Docs/Migration/etat`) contiennent le mot `C4996`, dont ce livrable et les fiches OPT0 ; ils ne sont pas ouverts ici.
## 6. Écarts avec la fiche
- La fiche cite `UE_DEPRECATED` et `ENGINE_MAJOR_VERSION` comme motifs à compter : 0 occurrence dans les deux cibles C++ (§ 3).
- Aucun fichier de `Config\*.ini` ne contient `bUseFixedFrameRate` ni `gc.`.
- Le chemin StreetMap n'est pas dans `lp-paths` (§ 1).
## 7. Fin
Aucun verdict. Comptes bruts et commandes donnés ci-dessus ; l'interprétation relève de la fiche A3.
Fin : `[Lower→BOSS] OPT0 FIN-FICHE A1 D:\Game\LifePlay-master 5.8\Docs\Migration\etat\OPT\OPT0\OPT0-A1-INV.md`