ruen-ui/docs/INSTALL.md

90 lines
8.7 KiB
Markdown
Raw Permalink 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.

# Install, update and restore
## Windows
Download the named installer ZIP from [Releases](https://scm.bstein.dev/bstein/ruen-ui/releases), extract it completely, close WoW, and run `Ruen-Setup.exe`. Windows 10/11 x64 with Windows PowerShell 5.1 is the intended target. Native Windows testing is pending for this beta; PowerShell filesystem tests have run on Linux.
The installer checks Program Files, common game folders and Blizzard registry entries. It prompts when discovery is ambiguous. A custom location can always be supplied:
```powershell
.\Ruen-Setup.exe -WoWPath 'D:\Games\World of Warcraft\_forever_'
```
Run from a folder you can write to, with a game installation you can modify. No administrator access is requested automatically. If the game folder is protected, use an account with access or the existing Windows permissions flow. Do not disable antivirus or change system-wide execution policy. The launcher uses a process-local PowerShell policy setting; it is not code-signed.
By default, setup downloads English quest recordings. Choose both narration languages with `Install-Russian.cmd`, or explicitly:
```powershell
.\Ruen-Setup.exe -WoWPath 'D:\Games\World of Warcraft\_forever_' -VoicePacks enru
```
`-VoicePacks none` installs the core companions without the large quest voice packs. `en` adds Alliance + Shared English packs; `enru` also adds Russian. These bundled selections focus on Alliance; other English faction audio is not included.
Fresh download sizes are roughly 97 MB for core companions, 1.03 GB with English, or 2.26 GB with English + Russian. Allow additional room for extraction, installed audio and rollback copies. Downloads are cached under `%LOCALAPPDATA%\RuenUI\Downloads`, with one pinned archive per companion. Setup verifies byte counts and SHA-256 before extraction. Failed staging does not change the game. If a publisher removes a pinned file, setup stops; it never silently substitutes a different release.
Existing compatible companion installations are kept. This preserves custom versions but means that combination may differ from the pinned beta test set. Update those addons from their authors if necessary. Unrelated addons are retained; other layout addons may conflict.
## Russian game setup
In Battle.net, choose **WoW: Forever → gear beside Play → Modify Install**, keep English and Russian installed, and wait for the download to finish. Set the game's **Text Language** and **Spoken Language** as desired in its Game Settings. Changing the Battle.net application's own language does not change WoW.
`Install-Russian.cmd` selects Russian narration and prepares the language request. In game, `/ruen language ru` or `/ruen language en` requests text, game audio and narration together. **Fully exit and restart WoW**; `/reload` is not enough. If Battle.net overrides the request, match both of the game's language settings there. `/ruen voice ru` changes only narration, immediately. Missing translated recordings can fall back to installed English audio. Chat is not translated; the profanity filter is disabled by Ruen's preset.
## Linux
```sh
python3 Ruen-Setup --wow '/path/to/World of Warcraft/_forever_' --voice-packs enru
```
Do not run with sudo. Discovery checks common Wine, Steam compatibility and Games folders; `--wow` works for other locations. Downloads are cached in `~/.cache/ruen-ui/downloads`. Use `--language ru` to request Russian on first login after installing the native language files through Battle.net.
## Update
Close WoW, extract the new release into a fresh folder, and run its installer against the same game. Existing narration files are reused; machine-specific hardware reports and language requests are preserved. A repeat install of identical files does not create another backup. The installer does not erase companion SavedVariables or unrelated addons.
## Class controls after updating
This update keeps existing actions, personal keybindings and saved language/graphics settings. It does not rerun the full preset on every character. Do not use `/ruen apply` just to update: that command deliberately reapplies defaults. Log in normally, or use `/reload` if only the addon files were updated during a running session.
- Hunters and Warlocks: **1–0, -, =** control pets; **Ctrl + numbers** controls the lower right utility bar.
- Other classes: **numbers** control that utility bar; **Ctrl + numbers** controls pets when present. Stealth, forms and pet dismissal do not change this mapping. Native vehicle/possession controls take over temporarily.
- `/ruen keys auto|pet|utility` chooses a character's number-key profile. Existing custom bindings win; `/ruen status` lists keys preserved instead of reassigned. `/ruen bindings` deliberately reapplies Ruen's mouse/menu/utility mappings.
- `/ruen role auto|healer|tank|damage` selects the role used for automatic mouseover casting. Auto enables it only when the native game reports a healing role. If this client does not report a role, choose one explicitly. `/ruen mouseover on|off` remains the direct override. Upgrades preserve the previous effective mouseover choice.
- Cooldown and meter modes are now per character. Existing choices migrate once; fresh characters start with duplicate cooldown viewers off and meters automatic in dungeons/raids. `/ruen cooldowns show|hide|auto` and `/ruen meters auto|show|off` change them.
The pet bar is **ten native pet slots plus two extensions**, backed by spare slots on unused action page 2. It cannot create native pet slots 11 and 12. If the backing page is full, Ruen reports the limitation and preserves the existing actions. The two extensions use the same selected-state artwork as native buttons; the game determines which stance is active.
Before relying on new bindings in combat, check `/ruen status`, press the number keys, and verify the indicated actions. On a pet character, test Defensive on an extra button, then Passive on a native button: only the active stance should remain selected. Check click/key activation, right-click autocast where supported, dismissal/resummon, bags with a selected target, and an item comparison tooltip. The release review distinguishes automated checks from live coverage.
## Optional optimization
Run while playing a representative area, with the laptop powered and cooled as you normally use it:
```powershell
.\Ruen-Setup.exe --optimize 30 -Seconds 600
```
```sh
python3 Ruen-Setup --wow '/path/to/_forever_' --optimize 30 --seconds 600
```
The FPS target defaults to 60 (accepted range 20–240). Type `/reload` afterward to import the local hardware report. `/ruen bench` collects 180 one-second FPS readings: keep WoW focused for the full three minutes, since the background FPS cap can otherwise contaminate the result. Compare the same route, graphics settings and window size. This is not a per-frame 1% low. The next line reports Ruen CPU time from the built-in profiler when available; share both lines when investigating stutter. The saved report includes slow-tick deltas and start/end graphics settings. These diagnostics run only during the manual benchmark and do not alter settings. World and raid settings learn separately; a quiet outdoor sample cannot establish raid performance. Missing temperature/throttling counters are reported as unavailable, not proof of safe temperatures. `/ruen optimize status`, `pause`, `resume`, and `restore` control in-game calibration. No stress test or driver installation is performed.
## Undo
In game, `/ruen restore` restores recorded settings and bindings and stops automatic setup. Do this on each affected character, then fully close WoW. Keep the backup path printed during installation; a rollback also restores settings saved on disk before that installation:
```powershell
.\Ruen-Setup.exe -Restore -BackupPath 'D:\Games\World of Warcraft\_forever_\Ruen-UI-Backups\TIMESTAMP'
```
```sh
python3 Ruen-Setup --wow '/path/to/_forever_' --restore '/path/to/_forever_/Ruen-UI-Backups/TIMESTAMP'
```
Use the installer for the same operating system that made the backup. Rollback restores the recorded files, including account-wide keybindings; preferences changed after installation may revert. Later files are retained inside the backup under `before-restore-*`. It does not restore characters created after the backup or remove unrelated addons. Backups remain until you delete ones you no longer need. Do not delete the only backup until you are satisfied with the update.
## Reporting a beta problem
Use [Gitea issues](https://scm.bstein.dev/bstein/ruen-ui/issues) or send your friend the report if you do not have an account. Include Ruen version (`/ruen status`), game build, class, resolution/UI scale, reproduction steps and the exact Lua error. Redact chat, character/account names and paths. Do not attach your entire WTF folder, account credentials or hardware report by default.