Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
**Why:** Standard Proton may have quirks with display detection. GE often includes community patches for issues like this.
1. Install [Proton GE](https://github.com/GloriousEggroll/proton-ge-custom) via **[ProtonUp-Qt](https://github.com/DavidoTek/ProtonUp-Qt)**.
2. In Steam:
- Right-click *KOTOR II > Properties > Compatibility*
- Check **Force the use of a specific Steam Play compatibility tool**
- Select your installed **Proton-GE** version
3. Launch the game. See if it now respects your primary display.
---
### 🛠️ **Fix Path 2: Set Laptop Screen as Primary via xrandr (X11 only)**
You may need to force your laptop's screen to be the primary before launching.
1. Open a terminal and run:
```bash
xrandr
```
2. Find your laptop screen name (often something like `eDP-1`) and external monitor (e.g., `HDMI-1`).
3. Set the laptop screen as primary:
```bash
xrandr --output eDP-1 --primary
```
4. Then launch the game:
```bash
STEAM_FORCE_DESKTOP=1 steam
```
(or from the Steam client)
*Optional:* Add the xrandr command to a launch script:
```bash
#!/bin/bash
xrandr --output eDP-1 --primary
steam steam://rungameid/208580
```
---
### 🛠️ **Fix Path 3: Use a Launch Script with `gamescope`**
If you're using **Wayland**, try launching the game in a controlled window session:
1. Install `gamescope`:
```bash
sudo apt install gamescope
```
2. Launch KOTOR II in a window on the desired screen:
```bash
gamescope -w 1280 -h 720 --steam steam://rungameid/208580
```
Replace `1280x720` with your desired resolution.
---
### 🛠️ **Fix Path 4: Force Display via Environment Variables**
Sometimes overriding environment variables helps:
```bash
env DISPLAY=:0.0 steam steam://rungameid/208580
```
Try `:0.1`, `:1.0`, etc., if unsure.
---
### 🛠️ **Bonus Buffs**
- Try running the game with the `-sw` launch option (soft windowed mode).
- Use `wmctrl` to control window placement programmatically.
- For the truly brave: modify `.ini` screen position fields in `swkotor2.ini`, under `[Graphics Options]`:
```
FullScreen=0
Width=1280
Height=720
```
*Then use a window manager to drag the game to your screen of choice.*
---
### 🧠 TL;DR:
1. Try **Proton GE** for better compatibility.
2. Use `xrandr` to **set primary display** before launching.
3. Try **gamescope** or **launch scripts** to control window behavior.
4. Tweak `swkotor2.ini` for windowed mode.
---
The Omnissiah favors the clever. May the Force and Machine Spirit guide their pixels. Need help building a launch script? I can write it.
---
### 🔧 **KOTOR II Launch Script for Ubuntu (xrandr + Steam)**
```bash
#!/bin/bash
# === [SETTINGS] ===
# Replace with your actual display names from xrandr
INTERNAL_DISPLAY="eDP-1" # Your laptop screen
EXTERNAL_DISPLAY="HDMI-1" # Dock monitor (optional, just for context)
# === [SET PRIMARY DISPLAY] ===
xrandr --output "$INTERNAL_DISPLAY" --primary
# === [WAIT A MOMENT] ===
sleep 1
# === [LAUNCH GAME VIA STEAM] ===
steam steam://rungameid/208580
```
---
### 🛠️ **How to Use It**:
1. Save it as `launch_kotor2.sh` (or any name you like).
2. Make it executable:
```bash
chmod +x launch_kotor2.sh
```
3. Run it from terminal:
```bash
./launch_kotor2.sh
```
---
### ⚠️ **Optional Enhancements**:
If you want it to always run in a specific resolution on the laptop screen:
```bash
xrandr --output "$INTERNAL_DISPLAY" --mode 1280x720 --primary
```
If you're using **Wayland** or still running into issues, I can create a `gamescope` version of the script too.
May your frames be stable and your Force powers strong.