SDLHack - Le Bottin des Jeux Linux

SDLHack

🗃️ Specifications

📰 Title: SDLHack 🕹️ / 🛠️ Type: Tool
🗃️ Genre: Tool 🚦 Status: 04. Released (status)
🏷️ Category: Tool ➤ Cheats & Hacks 🌍️ Browser version:
🔖 Tags: Tool; Screen; Controller 📦️ Package Name:
🐣️ Approx. start: 📦️ Arch package:
🐓️ Latest: 2013-03-12 📦️ RPM package:
📍️ Version: 1.4 📦️ Deb package:
🏛️ License type: 🕊️ Libre 📦️ Flatpak package:
🏛️ License: LGPL-2.1 📦️ AppImage package:
🏝️ Perspective: Third person 📦️ Snap package:
👁️ Visual: Text ⚙️ Generic binary: ✓
⏱️ Pacing: Real Time 📄️ Source: ✓
👫️ Played: Single 📱️ PDA support:
🎖️ This record: 5 stars 🕳️ Not used:
🎀️ Game design: 👫️ Contrib.: goupildb & Louis
🎰️ ID: 15217 🐛️ Created: 2017-03-05
🐜️ Updated: 2021-11-14

📖️ Summary

[en]: A wrapper for SDL which lets you force fullscreen games to minimize. It also allows you to disable joystick detection. [fr]: Un utilitaire permettant de forcer les jeux plein écran à se minimiser. Il permet également de désactiver la détection du joystick, ce qui peut être utile pour certains jeux qui ne détectent pas correctement le joystick et deviennent inutilisables.

🕸️ Links

🏡️ Website & videos
[Homepage] [Dev site] [Features/About] [Screenshots] [Videos t(202xxx) gd(202xxx) gu(202xxx) r(202xxx) lp(202xxx) g(202xxx) g[fr](202xxx) g[de](202xxx) g[ru](202xxx) g[pl](202xxx) g[cz](202xxx) g[sp](202xxx) g[pt](202xxx) g[it](202xxx) g[tr](202xxx)] [WIKI] [FAQ] [RSS] [Changelog 1 2 3]

💰 Commercial: (empty)

🍩️ Resources
(empty, license): [Homepage] [Dev site] 🎬️ g(202xxx)

🛠️ Technical informations
[PCGamingWiki]

🦣️ Social
Devs (Jared Stafford [fr] [en]): [Site 1 2] [Chat] [mastodon] [PeerTube] [YouTube] [PressKit] [Interview 1(202xxx) 2(202xxx)]
The Project: [Blog] [Chat] [Forums] [mastodon] [PeerTube] [YouTube] [PressKit] [reddit] [Discord] [PressKit]

🐝️ Related


📦️ Misc. repositories
[Repology] [pkgs.org] [Generic binary] [Arch Linux / AUR] [openSUSE] [Debian/Ubuntu] [Flatpak] [AppImage(author's repo)] [Snap] [PortableLinuxGames]

🕵️ Reviews
[HowLongToBeat] [metacritic] [OpenCritic] [iGDB] [Arch Linux / AUR]

🕊️ Source of this Entry: [Site (date)]

🦣️ Social Networking Update (on mastodon)

🛠️ Title:
🦊️ What's:
🏡️
🐣️
🔖
📦️
📖 Our entry: https://www.lebottindesjeuxlinux.tuxfamily.org/en/online/lights-on/

🥁️ Update:
⚗️
📌️ Changes:
🦣️ From: 📶️

🏝️ https://www.youtube.com/embed/
🦉️ https://www.youtube.com/embed/
🦝️ https://www.youtube.com/embed/
🦝️ https://www.youtube.com/embed/
🕵️ https://www.youtube.com/embed/
🕯️ https://www.youtube.com/embed/
🕯️ https://www.youtube.com/embed/
🎲️ https://www.youtube.com/embed/
🎲️ https://www.youtube.com/embed/
🎲️ https://www.youtube.com/embed/
🎲️[fr] https://www.youtube.com/embed/
🎮️ https://www.youtube.com/embed/
🎮️ https://www.youtube.com/embed/
🐧 https://www.youtube.com/embed/
🐧 https://www.youtube.com/embed/

📕 Description [en]

📕🐧"blabla"🐧📕


SDLHack is a wrapper for SDL which lets you force fullscreen games to minimize. It also allows you to disable joystick detection.

This is a simple LD_PRELOAD wrapper for SDL which enables switching away from a fullscreen game.

📕 Description [fr]

Un utilitaire pour forcer les jeux plein écran à se minimiser et/ou désactiver le joystick, par Jared Stafford.

SDLHack est un utilitaire permettant de forcer les jeux plein écran à se minimiser. Il permet également de désactiver la détection du joystick, ce qui peut être utile pour certains jeux qui ne détectent pas correctement le joystick et deviennent inutilisables.


SDLHack est un wrapper pour SDL qui vous permet de forcer les jeux plein écran à se minimiser. Il vous permet également de désactiver la détection du joystick.

Il s'agit d'un wrapper LD_PRELOAD simple pour SDL qui permet de sortir un jeu du mode plein écran.

🚧️ Installation ➜ 🚀️ Launching [fr]

To install it on x86 and amd64, run:
sudo ./install.sh

To uninstall, simply delete /usr/bin/sdlhack, /usr/lib/libsdlhack.so, /usr/lib32/libsdlhack.so, and /usr/lib64/libsdlhack.so.


LANCEMENT :

To start a game from the command line, run: sdlhack GAME
e.g. sdlhack /usr/games/PenumbraOverture/penumbra

You can also edit the game's menu entry or desktop icon to run sdlhack. Simply add 'sdlhack' to the beginning of the the command line field.

If you want to switch away while in the game, pause it and press Ctrl-Z to minimize the game window. If you don't pause, the game may continue to run in the background.

You can set the trigger key with the -k option, e.g.
sdlhack -k ctrl-alt-shift-q GAME

You may also use sdlhack to disable joystick detection. Some systems incorrectly detect a joystick on startup when one is not present which can affect gameplay.
To disable the joystick, run:
sdlhack -d GAME

To save defaults in ~/.sdlhackrc, use the -s option, e.g.
sdlhack -s -k alt-tab