forked from Boria138/PortProtonQt
2.3 KiB
2.3 KiB
📘 Эта документация также доступна на русском
📋 Contents
📖 Overview
In PortProtonQT, you can change:
- Game title
- Description
- Cover image
Override types:
| Type | Location | Priority |
|---|---|---|
| User | ~/.local/share/PortProtonQT/custom_data/ |
Highest |
| Built-in | portprotonqt/custom_data/ |
Lower |
⚙️ How It Works
Data Priorities
Data is used in the following order:
- User Overrides
- Built-in Overrides
- Steam Metadata
.desktopfile info
File Structure
Each <exe_name> folder can include:
metadata.txt— contains name and description:name=My Game Title name_ru=My Game Title (in russian language) description=My Game Description description_ru=My Game Description (in russian language)cover.<extension>— image file (.png,.jpg,.jpeg,.bmp)
👤 For Users
Creating User Overrides
-
Create a folder for your game:
mkdir -p ~/.local/share/PortProtonQT/custom_data/mygame -
Add overrides:
- Metadata file:
echo -e "name=My Game\ndescription=Exciting game" > ~/.local/share/PortProtonQT/custom_data/mygame/metadata.txt - Cover image:
cp ~/Images/custom_cover.png ~/.local/share/PortProtonQT/custom_data/mygame/cover.png
- Metadata file:
-
Restart PortProtonQT.
🛠 For Developers
Adding Built-In Overrides
-
Create a folder in the project:
mkdir -p portprotonqt/custom_data/mygame -
Add files:
-
metadata.txt:name=Default Title description=Default Description -
Cover image (
cover.png, for example):cp path/to/cover.png portprotonqt/custom_data/mygame/cover.png
- Commit changes to repository:
git add portprotonqt/custom_data/mygame git commit -m "Added built-in overrides for mygame"
Done! Your games will now look exactly how you want 🎮✨