Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
systems:ports [2023/10/20 03:59] – [Other Known Bugs in Old Humble Bundle Linux Releases] ssokolowsystems:ports [2026/02/25 08:23] (current) – [Vulkan dependent game example: "Teenage Mutant Ninja Turtles: Shredder's Revenge" (Linux patched version)] , script should be called TMNT respectedprophet
Line 55: Line 55:
 </file> </file>
  
-Refresh the game list, and then launch your game. Most 3D games will spend some time generating shader caches when first booting up, so be patient at least on the first launch. For sanity's sake, you can check that your system has not frozen by moving your mouse around (if you have one connected). Shader compilation should not take longer than five minutes at most.+Save this script to the ''roms/ports'' folder, refresh the game list, and then launch the game. Most 3D games will spend some time generating shader caches when first booting up, so be patient at least on the first launch. For sanity's sake, you can check that your system has not frozen by moving your mouse around (if you have one connected). Shader compilation should not take longer than five minutes at most. 
 + 
 +<WRAP center round important> 
 +If using the [[:disk_image_compression#squashfs|SquashFS]] compression, this script file must be named ''run.sh'' and included in the root folder of the game's data itself in the ''.squashfs'' archive. 
 +</WRAP>
  
 If you'd like to see the actual files, you can install some native Linux ports in the [[:content_downloader|content downloader]]. Read below for some setup examples: If you'd like to see the actual files, you can install some native Linux ports in the [[:content_downloader|content downloader]]. Read below for some setup examples:
Line 135: Line 139:
 </WRAP> </WRAP>
  
-<code bash TNMT.sh>+<code bash TMNT.sh>
 #!/bin/bash #!/bin/bash
 export LC_ALL=C export LC_ALL=C
Line 148: Line 152:
  
 Make the script executable: Make the script executable:
-<code>chmod +x /userdata/roms/ports/TNMTSR/TNMT.sh</code>+<code>chmod +x /userdata/roms/ports/TMNTSR/TMNT.sh</code>
 Update the gamelist and start the game via the ES its "Ports" section. Update the gamelist and start the game via the ES its "Ports" section.
  
Line 204: Line 208:
  
 Update gamelists and launch! Update gamelists and launch!
 +
 +==== Old 32-bit game ====
 +
 +For games which require 32-bit libraries and can't find them on their own:
 +
 +<file bash run.sh>
 +#!/bin/sh
 +cd "$(dirname "$(readlink -f "$0")")"
 + 
 +unclutter-remote -h
 +export LD_LIBRARY_PATH=/lib32
 +export LIBGL_DRIVERS_PATH=/lib32/dri
 +export SPA_PLUGIN_DIR="/lib32/spa-0.2:/usr/lib/spa-0.2"
 +export PIPEWIRE_MODULE_DIR="/lib32/pipewire-0.3:/usr/lib/pipewire-0.3"
 +exec ./start.sh
 +</file>
  
 ==== Old Game Maker Studio game: Maldita Castilla ==== ==== Old Game Maker Studio game: Maldita Castilla ====
Line 215: Line 235:
 (If both of those links die, you can just build the libraries the error messages complain about one-by-one until the game works.) (If both of those links die, you can just build the libraries the error messages complain about one-by-one until the game works.)
  
-If you place ''lib'' folder inside the game folder, a suitable SH file will look something like this:+If you place the ''lib'' folder inside the game folder, a suitable SH file will look something like this:
  
 <file sh Maldita Castilla.sh> <file sh Maldita Castilla.sh>
  • systems/ports.1697774374.txt.gz
  • Last modified: 3 years ago
  • by ssokolow