PortMaster is a tool that allows you to download and install PC game ports (e.g., Stardew Valley, Half-Life, Celeste) directly onto Linux-based retro handhelds like the TrimUI Brick and most Anbernic handhelds.
1. Prerequisites #
Before starting, ensure you have:
- A Supported Device & OS: Devices running firmware like TrimUI Stock, ArkOS, AmberELEC, RockNIX, JELOS, muOS, or Knulli. Others may also be supported.
- Internet Connection: Your device must be connected to Wi-Fi to download the PortMaster app and game files.
- Game Files (Commercial only): For paid games, you must legally own the game on PC (Steam, GOG, or Itch.io) to access the necessary data files.
2. Installing PortMaster #
Most custom firmware comes with PortMaster pre-installed.
- Navigate to the Tools or Ports section of your device’s main menu.
- Select PortMaster to launch the application.
- If PortMaster is missing:
- Install or update your firmware to the latest version first
- Download
Install.PortMaster.shfrom the PortMaster GitHub releases. - Copy the file to the
roms/ports/folder on your SD card. - On your device, navigate to the Ports menu and run the installer script.
3. Installing “Ready to Run” Games #
These are free, open-source games that require no extra files.
- Open the PortMaster app on your device.
- Navigate to “Ready to Run Ports” (or “All Ports”).
- Scroll to find a game (e.g., Super Mario 64 Port, Spelunky Classic).
- Press A (or your select button) to Install.
- Once finished, exit PortMaster. The game will appear in your device’s Ports menu and is ready to play.
4. Installing Commercial Games #
Paid games like Stardew Valley or Vice City require you to copy purchased game files from your PC.
Step A: Install the Port Script #
- Open PortMaster on your handheld.
- Find the game in the list (e.g., Stardew Valley).
- Select Install.
- Note: This only installs the Linux “wrapper” (the launch script), not the actual game content.
Step B: Transfer Game Files #
- Check Requirements: Visit PortMaster Games to see exactly which files are needed for your specific game.
- Locate Files on PC:
- Steam: Right-click game > Manage > Browse Local Files.
- GOG/Itch: Open the installation folder.
- Transfer to SD Card:
- Insert your handheld’s SD card into your PC.
- Navigate to the
roms/ports/(orports/) folder. - Open the folder created for the specific game (e.g.,
roms/ports/stardewvalley/). - Copy your PC game assets into the
gamedatafolder (or where the specific game instructions indicate).
Common Examples #
- Stardew Valley: Requires the “Compatibility” branch version from Steam. Copy the contents of the game folder into the
gamedatafolder on the SD card. - Balatro: Extract
Balatro.lovefrom the Steam.exe(using 7-Zip) or.appfile. CopyBalatro.loveto the port folder. - Half-Life: Copy the
valvefolder from your Steam install toroms/ports/halflife/.
5. Troubleshooting #
- Game Crashes: If a game attempts to load and immediately kicks you back to the menu:
- Navigate to the game’s folder on the SD card (e.g.,
roms/ports/game_name/). - Open the
log.txtfile to see the error (usually missing files).
- Navigate to the game’s folder on the SD card (e.g.,
- Controls Not Working: Ensure your controller input is configured correctly in EmulationStation or the OS settings before launching PortMaster.
- Missing Textures/Audio: Usually indicates you copied the wrong files or an incompatible version of the game data. Verify the file list on the PortMaster wiki.