Files
local_machine/scripts/games/gog/README.md

63 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# GOG web-installer (без Steam)
Отдельный Whisky-bottle. Скрипты **не** трогают HoMM-OldenEra, Steam, `start.sh play`, дампы Steam.
Антипаттерны (swap, winedbg, «20 GB»): [docs/games/TROUBLESHOOTING.md](../../../docs/games/TROUBLESHOOTING.md#антипаттерны-не-делать).
## Один раз
```bash
# 1) Whisky → New Bottle → Windows 10 64-bit → имя «GOG-Install»
bash ~/code/local_machine/scripts/games/gog/list-bottles.sh
bash ~/code/local_machine/scripts/games/gog/use-bottle.sh <UUID> GOG-Install
# 2) Подготовка bottle (или одной командой: bash gog/install-all.sh /path/stub.exe)
bash ~/code/local_machine/scripts/games/gog/create-bottle.sh GOG-Install # если bottle ещё нет
bash ~/code/local_machine/scripts/games/gog/setup-bottle.sh
bash ~/code/local_machine/scripts/games/gog/install-gdiplus.sh # обязательно (~900MB скачивание)
brew install cabextract
bash ~/code/local_machine/scripts/games/gog/install-corefonts.sh
```
## Запуск web-stub
```bash
bash ~/code/local_machine/scripts/games/gog/run-web-installer.sh \
~/path/to/GOG_Galaxy_Jagged_Alliance_3.exe
```
Лог: `/tmp/gog-web-installer-GOG-Install.log`
## Jagged Alliance 3 **без GOG Galaxy** (канон)
**Runbook:** [JA3_RUNBOOK.md](../../../docs/games/JA3_RUNBOOK.md)
```bash
# Установка (Whisky GOG-Install): 5 частей offline backup в ~/Games/
bash ~/code/local_machine/scripts/games/gog/install-ja3-innoextract.sh
bash ~/code/local_machine/scripts/games/gog/finish-ja3-layout.sh
# Запуск (Whisky GOG-Install):
bash ~/code/local_machine/scripts/games/gog/run-ja3.sh
```
| Скрипт | Назначение |
|--------|------------|
| `install-ja3-innoextract.sh` | **Канон установки** (Whisky) |
| `finish-ja3-layout.sh` | CommonLua, реестр GOG |
| **`run-ja3.sh`** | **Канон запуска** |
| `reset-ja3-whisky.sh` | Остановить JA3/Wine в GOG-Install |
Galaxy / web-stub — **не использовать** для JA3 ([GOG_GALAXY_7H_RCA.md](../../../docs/games/GOG_GALAXY_7H_RCA.md)).
## Сброс только GOG
```bash
bash ~/code/local_machine/scripts/games/gog/reset.sh
```
## Устаревшее (не использовать для GOG)
- `setup-wine-bottle.sh` / bottle **HoMM-OldenEra** — там Steam и общий префикс.
- CrossOver / `run-ja3-crossover.sh` / `JA3-GOG` / `JA3-WINE`**удалено** (2026-06).