Difference between revisions of "SteamDeck"

From Minetest Developer Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
== Installing a dev version ==
 
== Installing a dev version ==
  
=== AppImage ===
+
=== Uploading an AppImage using Deck DevKit ===
  
* Download or create an AppImage. Minetest's GitLab pipeline does this automatically
+
Source: https://partner.steamgames.com/doc/steamdeck/loadgames
* Enter Steam Deck desktop mode
 
* Get the AppImage on the device at ~/Minetest.AppImage
 
* <code>cp /usr/lib/libcrypto.so libcrypto.so.1</code>
 
* Create desktop file at ~/minetest.desktop, see below
 
* <code>desktop-file-install --dir=~/.local/share/applications ~/minetest.desktop</code>
 
* <code>update-desktop-database ~/.local/share/applications</code>
 
* Go to start > Games > Right-click "Minetest dev" > Add to steam
 
  
<source>
+
* Name: MinetestAppImage
[Desktop Entry]
+
* Local folder: <code>/home/user/dev/tmp/minetestdeck/</code>
Name=Minetest dev
+
* Upload filtering [Include only] <code>Minetest-dev.AppImage</code>
GenericName=Minetest dev
+
* Start command: <code>Minetest-dev.AppImage</code>
Comment=Multiplayer infinite-world block sandbox
+
* Save config
Comment[de]=Mehrspieler-Sandkastenspiel mit unendlichen Blockwelten
+
* Click Upload
Comment[es]=Juego sandbox multijugador con mundos infinitos
+
* On deck: <code>cp /usr/lib/libcrypto.so libcrypto.so.1</code>
Comment[fr]=Jeu multijoueurs de type bac à sable avec des mondes infinis
+
* Minetest should now be in Non-steam games as "Devkit games: MinetestAppImage"
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
 
</source>
 
  
 
=== Uploading a build using Deck DevKit ===
 
=== 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
+
'''Note: Untested'''
  
 
Source: https://partner.steamgames.com/doc/steamdeck/loadgames
 
Source: https://partner.steamgames.com/doc/steamdeck/loadgames

Revision as of 16:06, 8 March 2023

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

Uploading an AppImage using Deck DevKit

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

  • Name: MinetestAppImage
  • Local folder: /home/user/dev/tmp/minetestdeck/
  • Upload filtering [Include only] Minetest-dev.AppImage
  • Start command: Minetest-dev.AppImage
  • Save config
  • Click Upload
  • On deck: cp /usr/lib/libcrypto.so libcrypto.so.1
  • Minetest should now be in Non-steam games as "Devkit games: MinetestAppImage"

Uploading a build using Deck DevKit

Note: Untested

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