Boris Yumankulov abec9bbef8
All checks were successful
Check Translations / check-translations (push) Successful in 15s
Code and build check / Check code (push) Successful in 1m21s
Code and build check / Build with uv (push) Successful in 47s
Move repo from git to gitea
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-06-01 15:21:32 +05:00
..
2025-06-01 15:21:32 +05:00
2025-06-01 15:21:32 +05:00

📘 Эта документация также доступна на русском


📋 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:

  1. User Overrides
  2. Built-in Overrides
  3. Steam Metadata
  4. .desktop file info

File Structure

Each <exe_name> folder can include:

  • metadata.txt — contains name and description:
    name=My Game Title
    description=My Game Description
    
  • cover.<extension> — image file (.png, .jpg, .jpeg, .bmp)

👤 For Users

Creating User Overrides

  1. Create a folder for your game:

    mkdir -p ~/.local/share/PortProtonQT/custom_data/mygame
    
  2. 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
      
  3. Restart PortProtonQT.

🛠 For Developers

Adding Built-In Overrides

  1. Create a folder in the project:

    mkdir -p portprotonqt/custom_data/mygame
    
  2. 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
    
  1. 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 🎮