Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| systems:ports [2022/08/20 14:59] – Fix: Too much "you". grandmabetty | systems: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: | ||
| </ | </ | ||
| - | Refresh | + | Save this script to the '' |
| + | |||
| + | <WRAP center round important> | ||
| + | If using the [[: | ||
| + | </ | ||
| If you'd like to see the actual files, you can install some native Linux ports in the [[: | If you'd like to see the actual files, you can install some native Linux ports in the [[: | ||
| Line 63: | Line 67: | ||
| </ | </ | ||
| - | ==== Simple | + | ==== Self-contained |
| [[https:// | [[https:// | ||
| Line 90: | Line 94: | ||
| As already mentioned above, the ''/ | As already mentioned above, the ''/ | ||
| - | First of all, you will have to buy/ | + | First of all, you will have to buy/ |
| - | After successfully downloading, | + | |
| Now [[: | Now [[: | ||
| < | < | ||
| <WRAP center round tip> | <WRAP center round tip> | ||
| - | In most cases, depending on where you've downloaded your Celeste game sources, the game is well " | + | In most cases, depending on where you've downloaded your Celeste game sources, the game is well " |
| </ | </ | ||
| Line 128: | Line 132: | ||
| ==== Vulkan dependent game example: " | ==== Vulkan dependent game example: " | ||
| + | |||
| Some games are dependent on the Vulkan graphics API which can get enabled by command line when starting the game's executable as shown in the following example game's startup script. | Some games are dependent on the Vulkan graphics API which can get enabled by command line when starting the game's executable as shown in the following example game's startup script. | ||
| Line 134: | Line 139: | ||
| </ | </ | ||
| - | <code bash TNMT.sh> | + | <code bash TMNT.sh> |
| #!/bin/bash | #!/bin/bash | ||
| export LC_ALL=C | export LC_ALL=C | ||
| Line 147: | Line 152: | ||
| Make the script executable: | Make the script executable: | ||
| - | < | + | < |
| Update the gamelist and start the game via the ES its " | Update the gamelist and start the game via the ES its " | ||
| + | |||
| + | ==== Library-dependent game: Final Fight LNS Ultimate ==== | ||
| + | |||
| + | Final Fight LNS Ultimate is a game which is dependent on the libvpx library package that is not included with Batocera by default. This can be provided alongside the game. | ||
| + | |||
| + | Copy the contents of the game's data to the '' | ||
| + | |||
| + | Back in the '' | ||
| + | |||
| + | <file bash Final Fight LNS Ultimate.sh> | ||
| + | #!/bin/bash | ||
| + | |||
| + | # Only applied to version FFLNSU V03, for V04 comment those export lines! | ||
| + | export LC_ALL=C | ||
| + | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: | ||
| + | |||
| + | # Move to the game directory | ||
| + | cd " | ||
| + | |||
| + | # Run the game | ||
| + | chmod +x "Final Fight LNS Ultimate" | ||
| + | exec " | ||
| + | </ | ||
| + | |||
| + | **Note:** For Final Final LNS Ultimate (V04), use the same script, but point to the Final Fight LNS Ultimate.AppImage and remove the lines about LIBS. | ||
| + | |||
| + | The final file structure should look like this (your installation may have more or less, but overall structure should be similar): | ||
| + | |||
| + | < | ||
| + | roms/ | ||
| + | └─ ports/ | ||
| + | | ||
| + | ├─ LIBS/ | ||
| + | │ └─ libvpx.so.5 >> (For V03 only, not needed for V04) | ||
| + | ├─ Logs/ | ||
| + | ├─ Paks/ | ||
| + | │ └─ Final Fight LNS.pak (Game file, V03 or V04) | ||
| + | ├─ reshade-shaders (from Shaders package - optional) | ||
| + | │ ├─ Shaders | ||
| + | │ └─ Textures | ||
| + | ├─ Saves/ | ||
| + | ├─ ScreenShots/ | ||
| + | ├─ 1920.ini (from Shaders package - optional) | ||
| + | ├─ CAMBIOS - Final Fight LNS Utimate V03/V04.txt | ||
| + | ├─ Final Fight LNS Ultimate >> (Final Fight LNS Ultimate.AppImage for V04 instead - game launcher) | ||
| + | ├─ Instrucciones.txt (from Shaders package - optional) | ||
| + | ├─ Legal.txt | ||
| + | ├─ opengl32.dll (from Shaders package - optional) | ||
| + | ├─ ReShadeGUI.ini (from Shaders package - optional) | ||
| + | ├─ ReShade.ini (from Shaders package - optional) | ||
| + | └─ Final Fight LNS Ultimate.sh | ||
| + | </ | ||
| + | |||
| + | 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 " | ||
| + | |||
| + | unclutter-remote -h | ||
| + | export LD_LIBRARY_PATH=/ | ||
| + | export LIBGL_DRIVERS_PATH=/ | ||
| + | export SPA_PLUGIN_DIR="/ | ||
| + | export PIPEWIRE_MODULE_DIR="/ | ||
| + | exec ./start.sh | ||
| + | </ | ||
| + | |||
| + | ==== Old Game Maker Studio game: Maldita Castilla ==== | ||
| + | |||
| + | Games written in older versions of Game Maker Studio will depend on a collection of 32-bit libraries not included with Batocera. (If the game's executable is just named '' | ||
| + | |||
| + | More broadly, if the '' | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | (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 the '' | ||
| + | |||
| + | <file sh Maldita Castilla.sh> | ||
| + | #!/bin/sh | ||
| + | DIR=" | ||
| + | |||
| + | cd " | ||
| + | |||
| + | unclutter-remote -h | ||
| + | export LD_LIBRARY_PATH=./ | ||
| + | export LIBGL_DRIVERS_PATH=/ | ||
| + | export SPA_PLUGIN_DIR="/ | ||
| + | export PIPEWIRE_MODULE_DIR="/ | ||
| + | ./runner | ||
| + | </ | ||
| ===== Installing the Java runtime environment ===== | ===== Installing the Java runtime environment ===== | ||
| Line 233: | Line 334: | ||
| export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
| </ | </ | ||
| + | |||
| + | An example SH file for a game requiring library packages stored in a subfolder of the game would look like: | ||
| + | |||
| + | <file sh game.sh> | ||
| + | #!/bin/bash | ||
| + | |||
| + | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: | ||
| + | |||
| + | exec " | ||
| + | </ | ||
| Batocera' | Batocera' | ||
| + | |||
| + | ==== Other Known Bugs in Old Humble Bundle Linux Releases ==== | ||
| + | |||
| + | * Some games (eg. Wizorb) will crash on startup if more than four joystick devices are present. (eg. If you have two dual-port controller adapters with one controller plugged into each, plus an X-Box 360 controller, and the adapters always make their ports visible to the host whether or not a controller is actually connected.) | ||
| + | * Some games (eg. Jamestown) which include both 32-bit and 64-bit executables will require you specifically use the 32-bit version as the 64-bit binary crashes with no known fix. | ||
| + | * If your game is XNA-based and you're getting a crash with the following error on startup, add an '' | ||
| + | System.TypeInitializationException: | ||
| ==== I'm stuck and I can't quit the game! ==== | ==== I'm stuck and I can't quit the game! ==== | ||
- systems/ports.1661007550.txt.gz
- Last modified: 4 years ago
- by grandmabetty