diff --git a/docs/battle-map-terrain-atlas-pipeline.md b/docs/battle-map-terrain-atlas-pipeline.md
index 2e1fbd4..d4b701e 100644
--- a/docs/battle-map-terrain-atlas-pipeline.md
+++ b/docs/battle-map-terrain-atlas-pipeline.md
@@ -2,7 +2,7 @@
## Scope
-The first forty-four campaign battles now use the same hand-painted tactical map pipeline. The renderer still reads the original scenario tile coordinates and battle logic; only the map texture asset changes from flat/vector map art to low-contrast raster terrain.
+The first forty-six campaign battles now use the same hand-painted tactical map pipeline. The renderer still reads the original scenario tile coordinates and battle logic; only the map texture asset changes from flat/vector map art to low-contrast raster terrain.
## Art Direction
@@ -16,6 +16,7 @@ The first forty-four campaign battles now use the same hand-painted tactical map
- Battles 1-25 keep the original 224px hand-painted tile target.
- Large maps starting at battle 26 use a 192px tile target through `LARGE_MAP_TILE_SIZE` in the generator.
- Very large maps can use a 176px tile target through `VERY_LARGE_MAP_TILE_SIZE` when WebP encoding or browser memory pressure becomes the limiting factor.
+- Ultra large maps can use a 160px tile target through `ULTRA_LARGE_MAP_TILE_SIZE` when 176px output exceeds WebP encoder limits.
- Re-evaluate the tile target before a generated map's longest edge approaches roughly 16,384px at 192px per tile.
- Use `--tile-size` only for controlled comparisons; commit the selected production size in the map config.
@@ -69,6 +70,8 @@ python scripts/generate-handpaint-map-sample.py --map forty-first --webp-quality
python scripts/generate-handpaint-map-sample.py --map forty-second --webp-quality 90
python scripts/generate-handpaint-map-sample.py --map forty-third --webp-quality 90
python scripts/generate-handpaint-map-sample.py --map forty-fourth --webp-quality 90
+python scripts/generate-handpaint-map-sample.py --map forty-fifth --webp-quality 90
+python scripts/generate-handpaint-map-sample.py --map forty-sixth --webp-quality 90
```
Comparison example:
@@ -123,6 +126,8 @@ python scripts/generate-handpaint-map-sample.py --map thirtieth --tile-size 192
- `src/assets/images/battle/forty-second-battle-map.webp`
- `src/assets/images/battle/forty-third-battle-map.webp`
- `src/assets/images/battle/forty-fourth-battle-map.webp`
+- `src/assets/images/battle/forty-fifth-battle-map.webp`
+- `src/assets/images/battle/forty-sixth-battle-map.webp`
## QA Outputs
@@ -212,5 +217,9 @@ python scripts/generate-handpaint-map-sample.py --map thirtieth --tile-size 192
- `docs/forty-third-battle-map-handpaint-preview.png`
- `docs/forty-fourth-battle-map-handpaint-before-after.png`
- `docs/forty-fourth-battle-map-handpaint-preview.png`
+- `docs/forty-fifth-battle-map-handpaint-before-after.png`
+- `docs/forty-fifth-battle-map-handpaint-preview.png`
+- `docs/forty-sixth-battle-map-handpaint-before-after.png`
+- `docs/forty-sixth-battle-map-handpaint-preview.png`
Browser screenshots are saved per verification run after build/deploy.
diff --git a/docs/forty-fifth-battle-map-handpaint-before-after.png b/docs/forty-fifth-battle-map-handpaint-before-after.png
new file mode 100644
index 0000000..32c3da5
Binary files /dev/null and b/docs/forty-fifth-battle-map-handpaint-before-after.png differ
diff --git a/docs/forty-fifth-battle-map-handpaint-preview.png b/docs/forty-fifth-battle-map-handpaint-preview.png
new file mode 100644
index 0000000..a7c255c
Binary files /dev/null and b/docs/forty-fifth-battle-map-handpaint-preview.png differ
diff --git a/docs/forty-sixth-battle-map-handpaint-before-after.png b/docs/forty-sixth-battle-map-handpaint-before-after.png
new file mode 100644
index 0000000..27130d2
Binary files /dev/null and b/docs/forty-sixth-battle-map-handpaint-before-after.png differ
diff --git a/docs/forty-sixth-battle-map-handpaint-preview.png b/docs/forty-sixth-battle-map-handpaint-preview.png
new file mode 100644
index 0000000..2bc9fe0
Binary files /dev/null and b/docs/forty-sixth-battle-map-handpaint-preview.png differ
diff --git a/scripts/generate-handpaint-map-sample.py b/scripts/generate-handpaint-map-sample.py
index 14f73ec..a96af1e 100644
--- a/scripts/generate-handpaint-map-sample.py
+++ b/scripts/generate-handpaint-map-sample.py
@@ -18,6 +18,7 @@ DOCS_DIR = ROOT / "docs"
DEFAULT_TILE_SIZE = 224
LARGE_MAP_TILE_SIZE = 192
VERY_LARGE_MAP_TILE_SIZE = 176
+ULTRA_LARGE_MAP_TILE_SIZE = 160
TILE = DEFAULT_TILE_SIZE
RNG = random.Random(240704)
@@ -437,6 +438,26 @@ MAP_CONFIGS = {
"seed": 241134,
"tile_size": VERY_LARGE_MAP_TILE_SIZE,
},
+ "forty-fifth": {
+ "slug": "forty-fifth-battle-map",
+ "terrain_export": "fortyFifthBattleMap",
+ "units_export": "fortyFifthBattleUnits",
+ "ally_positions_export": "fortyFifthBattleAllyPositions",
+ "out": BATTLE_IMAGE_DIR / "forty-fifth-battle-map.webp",
+ "before": BATTLE_IMAGE_DIR / "forty-fifth-battle-map.svg",
+ "seed": 241144,
+ "tile_size": ULTRA_LARGE_MAP_TILE_SIZE,
+ },
+ "forty-sixth": {
+ "slug": "forty-sixth-battle-map",
+ "terrain_export": "fortySixthBattleMap",
+ "units_export": "fortySixthBattleUnits",
+ "ally_positions_export": "fortySixthBattleAllyPositions",
+ "out": BATTLE_IMAGE_DIR / "forty-sixth-battle-map.webp",
+ "before": BATTLE_IMAGE_DIR / "forty-sixth-battle-map.svg",
+ "seed": 241154,
+ "tile_size": ULTRA_LARGE_MAP_TILE_SIZE,
+ },
}
diff --git a/src/assets/images/battle/forty-fifth-battle-map.svg b/src/assets/images/battle/forty-fifth-battle-map.svg
deleted file mode 100644
index eb71b20..0000000
--- a/src/assets/images/battle/forty-fifth-battle-map.svg
+++ /dev/null
@@ -1,73 +0,0 @@
-
diff --git a/src/assets/images/battle/forty-fifth-battle-map.webp b/src/assets/images/battle/forty-fifth-battle-map.webp
new file mode 100644
index 0000000..b7b1dc1
Binary files /dev/null and b/src/assets/images/battle/forty-fifth-battle-map.webp differ
diff --git a/src/assets/images/battle/forty-sixth-battle-map.svg b/src/assets/images/battle/forty-sixth-battle-map.svg
deleted file mode 100644
index 9542261..0000000
--- a/src/assets/images/battle/forty-sixth-battle-map.svg
+++ /dev/null
@@ -1,94 +0,0 @@
-
diff --git a/src/assets/images/battle/forty-sixth-battle-map.webp b/src/assets/images/battle/forty-sixth-battle-map.webp
new file mode 100644
index 0000000..6d4e115
Binary files /dev/null and b/src/assets/images/battle/forty-sixth-battle-map.webp differ
diff --git a/src/game/data/battleMapAssets.ts b/src/game/data/battleMapAssets.ts
index 80c8cb8..2b0d3a1 100644
--- a/src/game/data/battleMapAssets.ts
+++ b/src/game/data/battleMapAssets.ts
@@ -23,13 +23,13 @@ import fifteenthBattleMapUrl from '../../assets/images/battle/fifteenth-battle-m
import firstBattleMapUrl from '../../assets/images/battle/first-battle-map.webp';
import fortiethBattleMapUrl from '../../assets/images/battle/fortieth-battle-map.webp';
import fortyEighthBattleMapUrl from '../../assets/images/battle/forty-eighth-battle-map.svg';
-import fortyFifthBattleMapUrl from '../../assets/images/battle/forty-fifth-battle-map.svg';
+import fortyFifthBattleMapUrl from '../../assets/images/battle/forty-fifth-battle-map.webp';
import fortyFirstBattleMapUrl from '../../assets/images/battle/forty-first-battle-map.webp';
import fortyFourthBattleMapUrl from '../../assets/images/battle/forty-fourth-battle-map.webp';
import fortyNinthBattleMapUrl from '../../assets/images/battle/forty-ninth-battle-map.svg';
import fortySecondBattleMapUrl from '../../assets/images/battle/forty-second-battle-map.webp';
import fortySeventhBattleMapUrl from '../../assets/images/battle/forty-seventh-battle-map.svg';
-import fortySixthBattleMapUrl from '../../assets/images/battle/forty-sixth-battle-map.svg';
+import fortySixthBattleMapUrl from '../../assets/images/battle/forty-sixth-battle-map.webp';
import fortyThirdBattleMapUrl from '../../assets/images/battle/forty-third-battle-map.webp';
import fourteenthBattleMapUrl from '../../assets/images/battle/fourteenth-battle-map.webp';
import fourthBattleMapUrl from '../../assets/images/battle/fourth-battle-map.webp';