Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
We use affiliate links to earn us some pennies. Learn more.

Protontricks is a useful tool for Linux gaming, but it's a bit on the slow and complicated side that Prefixer aims to solve.

If you've never used Protontricks directly - it's a wrapper tool that enables you to run Winetricks commands for games running with Proton / GE-Proton. This is useful for launching external executables, adding needed runtime libraries and so on that sometimes games need to actually run properly (or for major standalone mods).

The developer of Prefixer emailed in to note:

For the past 5 months I've been working on a tool called Prefixer. It's a ground-up implementation of winetricks', built for more modern workflows with Python. To summarize the benefits, it has fuzzy matching of game names, "verbs" are defined in JSON5 files for modularity and due to directly editing registry files (no wineserver) its up to 40 times faster than legacy scripts. Main drawback is that currently it only supports system-installed Steam, but it's being worked on.

On the GitHub page these some examples of how simple it is to run various commands like:

prefixer 'cyberpunk' tweak libs.d3dx9.47 # installs d3dcompiler 47 in Cyberpunk 2077
prefixer 'fallout new' run ~/Downloads/fonv_patcher.exe # runs the patcher for Fo:NV
prefixer 'subnautica' tweak loaders.bepinex # installs BepInEx 5 for Subnautica
prefixer 'Balatro' openpfx # opens the wineprefix folder in your file manager

There's also a GIF comparison on the speed and ease of use difference between Protontricks (left) and Prefixer (right):

Seems like an interesting project.

Check it out on the GitHub page.

Article taken from GamingOnLinux.com.
7 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
All posts need to follow our rules. Please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Readers can also email us for any issues or concerns.
7 comments

williamjcm 2 hours ago
User Avatar
I hope it'll get released as a Flatpak, because I don't like installing stuff through the AUR or pip.
dziadulewicz 1 hour ago
User Avatar
Quoting: williamjcmI hope it'll get released as a Flatpak, because I don't like installing stuff through the AUR or pip.
Exactly. A flatpak or a snap or best both. It's BS for this day and age to not be able to install a damn app with a couple of clicks, honestly 😀
pb 1 hour ago
User Avatar
Quoting: dziadulewicz
Quoting: williamjcmI hope it'll get released as a Flatpak, because I don't like installing stuff through the AUR or pip.
Exactly. A flatpak or a snap or best both. It's BS for this day and age to not be able to install a damn app with a couple of clicks, honestly 😀
yay -S prefixer *is* a couple of clicks ;p
ben-green 42 minutes ago
Quoting: williamjcmI hope it'll get released as a Flatpak, because I don't like installing stuff through the AUR or pip.
I hear you, the pipx install I did was so incredibly fast though, and the program is so incredibly useful. If I'd know what I was getting I would even have scrabbled around compiling from source, but there was no need.
ben-green 42 minutes ago
Quoting: williamjcmI hope it'll get released as a Flatpak, because I don't like installing stuff through the AUR or pip.
I hear you, the pipx install I did was so incredibly fast though, and the program is so incredibly useful. If I'd know what I was getting I would even have scrabbled around compiling from source, but there was no need.
Serious_Table 33 minutes ago
Honestly it's about time, and whomever ends up creating the graphical wrapper of this will be a boon to the community as well. Protontricks/Winetricks is a friction point to the ecosystem just because of their less than intuitive interface and the weird silent pauses and slowdowns that make you wonder if it's working or not. If a game needs tweaks from Winetricks, having something fast and smooth like this is huuuuuge.
Linuxer 31 minutes ago
User Avatar
Quoting: pb
Quoting: dziadulewicz
Quoting: williamjcmI hope it'll get released as a Flatpak, because I don't like installing stuff through the AUR or pip.
Exactly. A flatpak or a snap or best both. It's BS for this day and age to not be able to install a damn app with a couple of clicks, honestly 😀
yay -S prefixer *is* a couple of clicks ;p
Huhh dat a termnial command so no its not jus clicks
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register