<a id="Top"></a> ![PIFLogo](https://hackmd.io/_uploads/H1znUrR3kx.png) ###### PIF Logo by ==Doctor Miawoo== # PIF: Official Linux Guide Originally written by ==**Megaman**== - Former Tech Manager for PIF *Adapted to HackMD by ==casinosluck== & ==sapphire_chuu==* ### <font color="#FC5203">**WARNING:**</font> :::danger We **DO NOT** have a website! If you got files or this guide from a site claiming to be official, especially pokemoninfinitefusion (dot) net -- **They are fake.** Please delete anything you downloaded and go to the Discord (linked below)! ::: Official Discord Server: [<font color="FC5203">Link</font>](https://discord.gg/tmDkVGVXRA) :::warning Do not use this guide for Chromebook or Steamdeck! Use their respective guides! [<font color="FC5203">Chromebook Guide</font>](https://hackmd.io/@PIF-Tech/ChromebookGuide)/[<font color="FC5203">Steamdeck Guide</font>](https://hackmd.io/@PIF-Tech/SteamdeckGuide) ::: #### Guide Contents: - [<font color="FC5203">Installing</font>](#Install) - [<font color="FC5203">Updating</font>](#Update) - [<font color="FC5203">Playing</font>](#Playing) - [<font color="FC5203">Extras</font>](#Extras) :::info If the below doesn’t work, try opening the game files as a non steam game in Steam using proton. ::: <a id="Install"></a> ## Installing PIF with bottles Files to Download: [<font color="FC5203">Link</font>](https://www.mediafire.com/file/jwuzsjceke8lo9d/InfiniteFusion.zip/file) ### Flatpak - You’ll want to install “flatpak”, and then you’ll want to add “flathub” to it. A fully detailed guide for doing both of these things in the terminal on many many distributions can be found at this link: https://flathub.org/setup - If, *and only if*, at any point a command run when installing flatpak does not work, retry the command with `sudo`; for example when running `flatpak remote-add ...` and the command returns an error, run the command again as `sudo flatpak remote-add ...`. ### Bottles - There is a flatpak called Bottles. It manages wine installations for you with minimal config. Installing it is as simple as running the command `flatpak install flathub com.usebottles.bottles`. On some distributions this may require `sudo`. To open bottles, either use the application shortcut your distribution provides, or if it does not then run it from the terminal by using the command `flatpak run com.usebottles.bottles` ### Creating a bottle. - Open bottles and click on the + icon in the top-left corner of the window. This will open up a prompt to create a new bottle. (The exact appearance of the program may vary depending on your distribution and/or desktop environment.) ![image](https://hackmd.io/_uploads/HJjWO_ypye.png) - Name the bottle however you like, and select the “Gaming” environment. Bottles will then take some time to generate the bottle, wait for this process to complete. - When it is done you should have a bottle in the main Bottles menu. It looks like this: ![image](https://hackmd.io/_uploads/HyyVu_kTJg.png) - Click on the ‘>’ symbol on the right of the bottle. It will open a menu which looks like this: ![image](https://hackmd.io/_uploads/ByXL_O1aye.png) ### Installing the Game - Click on the 3-dots menu in the top-right corner of the window, and select the “Browse Files…” button. This will open up the C:\ drive of the bottle you have just created. Unzip and place the Pokémon: Infinite Fusion game in this directory as shown below: ![image](https://hackmd.io/_uploads/BksvuO1pyx.png) - Then, return to the Bottles program and the Infinite Fusion bottle and select the “Add Shortcuts…” option. This will open up a dialogue to select a windows .exe file. Navigate to the storage location of the bottle’s C:\ drive again, the location of which was shown when you opened in the previous step. Open up the Infinite Fusion game folder and select the game executable as shown below: ![image](https://hackmd.io/_uploads/HymYuukpkx.png) - Name the shortcut however you like. - To add the Updater file, perform the same steps as you did when adding the game executable. You may need to select “All Files” instead of “Supported Executables” in your file manager when selecting the file. ![image](https://hackmd.io/_uploads/rkWo__1akx.png) - When finished, your bottle should look something like this: ![image](https://hackmd.io/_uploads/BkjnO_J6ke.png) [<font color="#FC5203">Back to top</font>](#Top) <a id="Update"></a> ## Updating the Game: - To update the game, select the updater shortcut’s three dot menu, and click on the terminal button in the top-left corner of the menu. This will open a terminal and run the updater batch script. When it is complete you may need to manually close the terminal. ![image](https://hackmd.io/_uploads/Hk4gYuyTJl.png) [<font color="#FC5203">Back to top</font>](#Top) <a id="Playing"></a> ## Playing the Game: To run the game press the “Play” button in bottles. The game should open as if it were running on Windows: ![image](https://hackmd.io/_uploads/HkRZYOJT1l.png) [<font color="#FC5203">Back to top</font>](#Top) <a id="Extras"></a> ## Extras & Utilities: ### Desktop/Application Shortcuts: - You can explore Bottles options to add the game to your applications menu, or to the desktop. ### Steam: - In Bottles there is also an option to add a shortcut for a program to steam. If steam is installed then this will add the game to your steam library with no extra work from you to run the game. You may then customize the appearance of the game in the steam library using steam itself. ### Cartridges: - Cartridges is a very useful utility on linux to organize games without steam, if you prefer that option. If you use the cartridges utility there is an option in that program to import applications, and it will scan and add applications from Bottles. Once imported you may customize the appearance of the game in the library using the tools built into Cartridges. It has a flatpak: `flatpak install flathub page.kramo.Cartridges` [<font color="#FC5203">Back to top</font>](#Top)