SteamDeck

From Minetest Developer Wiki
Revision as of 16:01, 8 March 2023 by Rubenwardy (talk | contribs)
Jump to navigation Jump to search

This page contains information useful for developing Minetest for the Steam Deck. Contact rubenwardy with any questions.

Usage as an end user

See rubenwardy's blog post

Installing a dev version

AppImage

  • Download or create an AppImage. Minetest's GitLab pipeline does this automatically
  • Enter Steam Deck desktop mode
  • Get the AppImage on the device at ~/Minetest.AppImage
  • cp /usr/lib/libcrypto.so libcrypto.so.1
  • Create desktop file at ~/minetest.desktop, see below
  • desktop-file-install --dir=~/.local/share/applications ~/minetest.desktop
  • update-desktop-database ~/.local/share/applications
  • Go to start > Games > Right-click "Minetest dev" > Add to steam
[Desktop Entry]
Name=Minetest dev
GenericName=Minetest dev
Comment=Multiplayer infinite-world block sandbox
Comment[de]=Mehrspieler-Sandkastenspiel mit unendlichen Blockwelten
Comment[es]=Juego sandbox multijugador con mundos infinitos
Comment[fr]=Jeu multijoueurs de type bac à sable avec des mondes infinis
Comment[ja]=マルチプレイに対応した、無限の世界のブロック型サンドボックスゲームです
Comment[ru]=Игра-песочница с безграничным миром, состоящим из блоков
Comment[tr]=Tek-Çok oyuncuyla küplerden sonsuz dünyalar inşa et
Exec=/home/deck/Minetest.AppImage
Icon=minetest
Terminal=false
PrefersNonDefaultGPU=true
Type=Application
Categories=Game;Simulation;
StartupNotify=false
Keywords=sandbox;world;mining;crafting;blocks;nodes;multiplayer;roleplaying;
X-Desktop-File-Install-Version=0.26

Uploading a build using Deck DevKit

Note: I don't know how to make portable Linux builds yet, so have been using the AppImage option

Source: https://partner.steamgames.com/doc/steamdeck/loadgames

  • Name: Minetest
  • Local folder: /home/user/dev/minetest/
  • Upload filtering [Include only] /bin/*** /builtin/*** /games/devtest/*** /games/minetest_game/*** /textures/base/pack/*** /client/shaders/***
  • Check "Delete remote files not present in local folder"
  • Start command: bin/minetest
  • Save config
  • Click Upload