Files
lutris/tests
ItsAllAboutTheCode 0a38190c4d Fix Lutris GUI reporting Vita installed titles as missing
The Vita3K emulator launches Vita titles using their Title ID and not a file path.
Therefore the Vita3K runner is setup to accept the title ID field.
However that title ID field was set as the 'main_file' option in the config yaml that gets generated when a Vita entry is added.
The missing installed title check in Lutris invokes the game.py [get_path_from_config](4620e1ba2f/lutris/game.py (L643)) which treats the `main_file` key as a file path.

As the Vita title ID is not a valid file path, the Missing Games check would flag all Vita installed titles as missing.

The fix here is to change the key from 'main_file' to 'title_id' so that the field is not treated as a file path.
2026-03-31 01:06:15 -05:00
..
2024-02-24 21:02:06 -08:00

Manual test suite
-----------------

These steps must be followed and succeed for each new release of Lutris.
It is advised to run these tests on a clean system (a 2nd computer or a dual
boot should be helpful here).

Supported systems:
The tests should be run on any of these systems (32 or 64bit):
    - Ubuntu LTS and current
    - OpenSUSE current
    - Fedora current
    - Debian testing or sid (stable isn't supported officially)
    - Archlinux
Any other distribution is good but is not a requirement.

0. Take note of your testing config

Write down the following:
    - date of the day
    - operating system + architecture
    - amounts of RAM
    - CPU model
    - Model of GPU + amount of video RAM

1. Wipe/backup any trace of Lutris and runners.

* Move lutris settings.

mv ~/.cache/lutris ~/.cache/lutris.bak
mv ~/.local/share/lutris ~/.local/share/lutris.bak

* Remove any runner globally installed.

sudo apt-get remove wine
sudo apt-get remove steam

* Create an empty folder to put your games in.

mkdir ~/games-testing

2. Get and install lutris

* Fetch the code

git clone https://github.com/lutris/lutris
cd lutris

option 1: install with python

sudo python setup.py install

option 2: package and install the .deb/.rpm (better)

# This step will require you to have the required packaging tools
make build-all

Scenario 1: Launching Lutris
- You can find a lutris icon in your menu/launcher (Unity dash, GS launcher,
  XFCE main menu, ...) in the games category
- When clicking the interface loads with no complains
- After the UI has been opened, there should be ~/.cache/lutris
  and ~/.local/share/lutris directories

Scenario 2: Installing teeworlds from the website (64bit only ATM)
- Using Chrome or Chromium open http://lutris.net/games/teeworlds/
- Click the install button
- The lutris installer dialog should open and the install process can begin
- Follow the install process and click "Play"
- The game should launch
- Close the game and open lutris
- Teeworlds should have an icon