| Both sides previous revision Previous revision Next revision | Previous revision |
| systems:bottles [2023/10/08 03:49] – major cleanup part 2 atari | systems:bottles [2024/08/22 07:36] (current) – note about unintegration made more obvious atari |
|---|
| ====== Bottles ====== | ====== Bottles ====== |
| |
| [[https://usebottles.com/|Bottles]] is a virtual application/gaming platform for setting up pre-configured environments to support a large set of Windows applications/games on Linux. Be aware that Bottles is not officially supported by the Batocera developers, and no support can be given if issues are faced while using it. | <WRAP center round important> |
| | The bottles flatpak is not officially integrated. This wiki page's instructions may not work for all situations and Batocera cannot provide support help for it, use at your own discretion. If wanting to play Windows games, [[:systems:windows|WINE]] and [[:systems:steam|Steam]] are available. |
| | </WRAP> |
| | |
| | [[https://usebottles.com/|Bottles]] is a virtual application/gaming platform for setting up pre-configured environments to support a large set of Windows applications/games on Linux. |
| |
| ===== Installation ===== | ===== Installation ===== |
| |
| On the Batocera main menu press ''[Alt]'' + ''[F1]'' on your keyboard, then navigate to **Applications** -> **flatpak-config** (if a warning message appears, just confirm by clicking **OK**). Then, in the searchbar on the top of the screen, search for //Bottles// and install the //Bottles// application by clicking on **Install**: | On the Batocera main menu press ''[F1]'' on your keyboard, then navigate to **Applications** -> **flatpak-config** (if a warning message appears, just confirm by clicking **OK**). Then, in the searchbar on the top of the screen, search for //Bottles// and install the //Bottles// application by clicking on **Install**: |
| |
| [{{:systems:bottles_01.png?400|"Bottles" installation}}] | [{{:systems:bottles_01.png?400|"Bottles" installation}}] |
| chown -R root:audio /var/run/pulse | chown -R root:audio /var/run/pulse |
| chmod -R g+rwX /var/run/pulse | chmod -R g+rwX /var/run/pulse |
| su - batocera -c "DISPLAY=:0.0 flatpak run --command=bottles-cli com.usebottles.bottles run -b '<myBottleMainName>' -p '<myBottleExecutableName>'" | su - batocera -c "DISPLAY=:0.0 flatpak run --command=bottles-cli com.usebottles.bottles run -b '<myBottleMainName>' -p '<myBottleExecutableName>' --args-replace" |
| </code> | </code> |
| |
| Here's an example for the game ''Twin Cobra'': | Here's an example for the game ''Twin Cobra'': |
| |
| [{{:systems:bottles_12.png|Start script example}}] | [{{:systems:bottles_12.png?1000|Start script example}}] |
| |
| Save the file and quit the editor. Now make the according start script executable by executing the following command (replace ''<myGame>'' with the according game name (avoid spaces if possible)): | Save the file and quit the editor. Now make the according start script executable by executing the following command (replace ''<myGame>'' with the according game name (avoid spaces if possible)): |
| ''/userdata/roms/flatpak/Bottles.flatpak.keys'' | ''/userdata/roms/flatpak/Bottles.flatpak.keys'' |
| |
| | ==== Bottle prefix location ==== |
| | |
| | If for whatever reason you need it, you can find the prefix location for your specific bottle here: |
| | |
| | ''/userdata/saves/flatpak/data/.var/app/com.usebottles.bottles/data/bottles/bottles'' |