Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| systems:flatpak [2022/06/26 05:07] – [Login] maioni | systems:flatpak [2023/12/24 02:56] (current) – Put the x86_64 warning in an alert box because it's currently invisible to users maximumentropy | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| [[https:// | [[https:// | ||
| + | <WRAP center round alert> | ||
| This is currently supported only for x86_64, as most Flatpak packages are only provided for Linux on the x86/x86_64 platform. | This is currently supported only for x86_64, as most Flatpak packages are only provided for Linux on the x86/x86_64 platform. | ||
| + | </ | ||
| + | |||
| <WRAP center round help> | <WRAP center round help> | ||
| Line 20: | Line 23: | ||
| <WRAP center round tip> | <WRAP center round tip> | ||
| - | [[systems: | + | [[systems: |
| </ | </ | ||
| Line 159: | Line 162: | ||
| ===== Updating Flatpak packages ===== | ===== Updating Flatpak packages ===== | ||
| + | |||
| + | <WRAP center round important> | ||
| + | Note: Flatpak is an isolated environment by default unless you are configuring it otherwise manually. Therefore you can always safely update any flatpak packages without having to worry your Batocera system will be affected in any way other than flatpak package installations. All packages appearing in the // | ||
| + | </ | ||
| Updating Flatpak packages is simple: open '' | Updating Flatpak packages is simple: open '' | ||
| Line 199: | Line 206: | ||
| flatpak uninstall --unused | flatpak uninstall --unused | ||
| </ | </ | ||
| - | |||
| - | ===== Heroic Games Launcher (Epic Games store) ===== | ||
| - | |||
| - | [[https:// | ||
| - | |||
| - | ==== Install ===== | ||
| - | |||
| - | <WRAP center round important> | ||
| - | If you already have the Heroic Launcher Flatpak package installed, it will conflict. [[# | ||
| - | </ | ||
| - | |||
| - | Search for " | ||
| - | |||
| - | {{: | ||
| - | |||
| - | To do so from SSH: | ||
| - | |||
| - | < | ||
| - | flatpak install com.heroicgameslauncher.hgl | ||
| - | batocera-flatpak-update | ||
| - | </ | ||
| - | |||
| - | ==== Launch Heroic Games Launcher ==== | ||
| - | |||
| - | The Heroic Games Launcher Flatpak is bugged and will not launch correctly using the default flags. You **must** launch via SSH using the following command: | ||
| - | |||
| - | < | ||
| - | flatpak run com.heroicgameslauncher.hgl --no-sandbox | ||
| - | </ | ||
| - | |||
| - | {{: | ||
| - | |||
| - | <WRAP center round help> | ||
| - | This may be worked around in the future. | ||
| - | </ | ||
| - | |||
| - | ==== Login ==== | ||
| - | |||
| - | Heroic Games Launcher will offer two services to login to. Log in to the appropriate one (or select **Manage Accounts**): | ||
| - | |||
| - | {{: | ||
| - | |||
| - | <WRAP center round tip> | ||
| - | As alternative for Epic Store login, the External Login is available, this way you have to inform your Epic Store Account [[https:// | ||
| - | </ | ||
| - | |||
| - | <WRAP center round todo> | ||
| - | "Use RIGHT ALT + 2 keys to input @ and ; or SHIFT + ; to input - or _" | ||
| - | |||
| - | What does this mean? Is it just a problem with your keyboard specifically or is this another bug with the software? | ||
| - | </ | ||
| - | |||
| - | <WRAP center round help> | ||
| - | If the log in fails, press the reload symbol at the top of the launcher window to try again. | ||
| - | |||
| - | {{: | ||
| - | </ | ||
| - | |||
| - | Your games will appear in the **Library** split between **Epic Games** and **GOG**. It could take a while to download all games' information and boxart. | ||
| - | |||
| - | {{: | ||
| - | |||
| - | ==== Download Game ==== | ||
| - | |||
| - | - Go to **Library** | ||
| - | - Select the game | ||
| - | - Select **Install** | ||
| - | |||
| - | {{: | ||
| - | |||
| - | <WRAP center round tip> | ||
| - | [[# | ||
| - | |||
| - | {{: | ||
| - | </ | ||
| - | |||
| - | ==== Install Wine (for Windows games) ==== | ||
| - | |||
| - | - Select **Wine Manager** | ||
| - | - Select the desired version of Wine to be downloaded: " | ||
| - | |||
| - | {{: | ||
| - | |||
| - | <WRAP center round todo> | ||
| - | Is there any preferred version of Wine to install or are you instructing the user to download them all? | ||
| - | </ | ||
| - | |||
| - | === Global Wine setting === | ||
| - | |||
| - | - Go to **Settings** -> **Wine** -> **Wine Version** and select the desired version of Wine. | ||
| - | |||
| - | {{: | ||
| - | |||
| - | === Per game Wine setting === | ||
| - | |||
| - | - Go to **Library** | ||
| - | - Select the downloaded Windows game | ||
| - | - Go to **Settings** | ||
| - | - Select the desired version of Wine to use for that game. | ||
| - | |||
| - | {{: | ||
| - | {{: | ||
| - | |||
| - | ==== Launch game ==== | ||
| - | |||
| - | - Go to **Library** | ||
| - | - Select a [[# | ||
| - | - Select **PLAY NOW** ([[# | ||
| - | * Heroic Games Launcher will say " | ||
| - | Games may take a while to initially launch as they need to compile shaders for your hardware. | ||
| - | </ | ||
| - | - If playing a Windows game, confirm the Wine installation dialogue box. | ||
| - | - Game start! | ||
| - | |||
| - | {{: | ||
| - | |||
| - | <WRAP center round info> | ||
| - | Right now, Batocera isn't integrated to Heroic Games Launcher; its games will not be automatically added and launchable with EmulationStation like Steam does. This may change in the future. | ||
| - | </ | ||
| - | |||
| - | === Uninstall a game === | ||
| - | |||
| - | - Go to **Library** | ||
| - | - Select an installed game | ||
| - | - Select **Tools** at the top of the window | ||
| - | - Select **Uninstall** | ||
| - | |||
| - | === Other option === | ||
| - | |||
| - | - Go to **Settings** | ||
| - | - Select **Other** | ||
| - | - For Gamepad: Select User GameMode (No need to enable it to use Gamepad!) (FIXME so why mention this setting? What is it for?) | ||
| - | - For GPU: Select "Use Dedicated Graphics Card" (Enable if necessary) (FIXME when is this not necessary?) | ||
| - | - For FPS: Select Show FPS (FIXME this whole section might not be necessary) | ||
| - | |||
| - | {{: | ||
| - | |||
| - | ===== GeForce NOW Electron ===== | ||
| - | |||
| - | [[https:// | ||
| - | |||
| - | ==== Install ===== | ||
| - | |||
| - | Search for " | ||
| - | |||
| - | {{: | ||
| - | |||
| - | To do so from SSH: | ||
| - | |||
| - | < | ||
| - | flatpak install flathub io.github.hmlendea.geforcenow-electron | ||
| - | batocera-flatpak-update | ||
| - | </ | ||
| - | |||
| - | ==== Launch GeForce NOW Electron ==== | ||
| - | |||
| - | The GeForce NOW Electron Flatpak is bugged and will not launch correctly using the default flags. You **must** launch via SSH using the following command: | ||
| - | |||
| - | < | ||
| - | flatpak run io.github.hmlendea.geforcenow-electron --no-sandbox | ||
| - | </ | ||
| - | |||
| - | <WRAP center round help> | ||
| - | This may be worked around in the future. | ||
| - | </ | ||
| - | |||
| - | ==== Login ==== | ||
| - | |||
| - | GeForce NOW Electron many ways to log in, but the only one that may works for now is the email and passwrod log in due to te lack of a securety connection in this flatpak application. Make sure you can log in in regular GeForce NOW with only your email and password. | ||
| - | |||
| - | - So, create a [[https:// | ||
| - | - And log in into GeForce NOW Electron with an ABYA account with the email and password options. | ||
| - | |||
| - | ==== Play Games ==== | ||
| - | |||
| - | To play games on GeForce NOW, you can syn your Steam, Epic Store and Ubisoft stores. | ||
| - | {{: | ||
| - | - Goes to Settings and sync your accounts | ||
| - | - Select the game into Library and select to PLAY it. {{: | ||
| - | - **PAID plan**s: You will play as soon as possible. | ||
| - | - **FREE plans**: you will be waiting in a line to be able to play the game and for a couple of minutes when ready (around 20 minutes) [So, do not quit game until time ends, otherwise the game's session will shutdown before that!]. Also do not schedule a game you don't have on your library, e.g. The Witcher 3 has it's versions for Steam, Gog and Epic Store, if you have it on Steam but opens the Epic Store version, you can't play the game! This way, you will have to finish your game section, and open the correct version and wait again in line. | ||
| - | - After you get access to the GeforceNOW virtual machine, you will be pop up with the game's store application, | ||
| - | - It supports Gamepad, even if the tools indicate it have no controller connected to it (just make sure the game you selected has support, or play it with a mouse/ | ||
| ===== Freely distributed games ===== | ===== Freely distributed games ===== | ||
| Line 402: | Line 226: | ||
| * Update your game list: **Main Menu** -> **Game Settings** -> **Update Gamelists**. | * Update your game list: **Main Menu** -> **Game Settings** -> **Update Gamelists**. | ||
| * Flatpaks currently do not work on a NAS, if you are using a NAS try switching to internal storage. | * Flatpaks currently do not work on a NAS, if you are using a NAS try switching to internal storage. | ||
| + | * The application may need to not be run in the sandbox. From [[: | ||
| + | This can be launched directly from ES by using an SH script in the ports system. | ||
| + | |||
| + | For example, to launch the Heroic Games launcher without sandbox, save the following file to '' | ||
| + | |||
| + | <file - heroicgameslauncher.sh> | ||
| + | flatpak run com.heroicgameslauncher.hgl --no-sandbox | ||
| + | </ | ||
| + | </ | ||
| * SSH into Batocera and run the following: '' | * SSH into Batocera and run the following: '' | ||
| * If you are on an older Batocera version (like **v31** or lower) it might be a permissions issue. | * If you are on an older Batocera version (like **v31** or lower) it might be a permissions issue. | ||
| Line 410: | Line 243: | ||
| - Right-click and go to **Properties** | - Right-click and go to **Properties** | ||
| - Click on the " | - Click on the " | ||
| - | - Click on "View Content:" | + | - Click on "View Content:" |
| - | - Click on " | + | - Click on " |
| - | - Click on " | + | - Click on " |
| - Click on " | - Click on " | ||
| - Reboot and try it | - Reboot and try it | ||
| + | * If trying to run a Flatpak of a Windows game via a Flatpak of Wine (yes, it is complicated and there are many things that can go wrong), search the game on [[https:// | ||
| + | * Flatpak can be effectively reset to its default state by deleting the ''/ | ||
| ==== My game is running really slowly ==== | ==== My game is running really slowly ==== | ||
- systems/flatpak.1656220078.txt.gz
- Last modified: 4 years ago
- by maioni