This was written in German because it’s my native language and I can’t express myself as fluent and eloquently in English as I can in German. If you’re interested in reading this, any LLM should be able to accurately translate this into whatever language you like.
Vorwort
Ich behaupte nicht, das Leben vollends verstanden, oder “die Wahrheit” gefunden zu haben. Dieser Post ist keine endgültige Weltformel, mit der man sich alle Lebensfragen beantworten kann.
Ich bin nur mittlerweile an einem Punkt angelangt, an dem ich mich selbst als “soweit erwachsen” beschreiben würde. Dieser Post ist ein ausformulierter Zwischenstand. Ein Ergebnis aus diversen Weltanschauungen, Gesprächen,
Erlebnissen, stillen Nächten voller Gedanken und Fehlern der letzten zehn Jahre. Einiges, wenn nicht sogar alles, kann, darf und wird sich ändern - so wie ich selbst mich in meinem weiteren Leben noch oft verändern werde.
Recently, I had a lot of videos to re-encode to save storage space. After some googling, I found that there isn’t a good way to run multiple FFmpeg processes in parallel or even perform batch processing efficiently.
Most solutions involved batch and shell scripts. Having to copy, paste, and potentially debug them didn’t satisfy me. Additionally, controlling output options like filenames, extensions, and directory structures is theoretically simple, but it often requires adjusting the script every time. Thus, the idea of ffzap was born. Initially called MTC (Multithreaded Transcoding CLI), I later settled on ffzap to highlight the two most important aspects of the tool: using FFmpeg under the hood and emphasizing zap (as in speed or quickness).
How I somewhat got around my shitty DSL download speeds
Recently I reset my computer because it was unbearibly slow from time to time. I wiped all my harddrives and re-installed Windows 11. When I re-installed the first game from my Steam library, Baldur’s Gate 3 which clocks in at around 150 GB download size, it hit me: my internet sucks. With a measly 70 Mbps download, it would take me almost 5 hours to download the game and that is just one of the many games I wanted to install.
If you found an issue or a way to make it not run a thousend times when you just hover your mouse about something, add a comment on GitHub.
You can also add a comment if the script stopped working due to YouTube doing some breaking changes.
Import Witcher 3 save games from GOG to Steam in Linux Proton
I recently bought Witcher 3: The Wild Hunt on Steam and wanted to import my savegames from the GOG version. In Windows, that’s easy: install the Witcher 3 on Steam, boot it up and press continue; your savegames will be there, as they’re saved in Users\you\Documents\The Witcher 3 and both games use that location to store their savegames at.
Dark Souls 3 can be pretty laggy when running with Proton on Linux. According to my FPS counter, it would run at a constant 60 FPS (it’s locked to 60 by the game), but it didn’t feel like 60 FPS at all. Sometimes I even had very noticable lag spikes.
The solution
To fix this issue, create a file called dxvk.conf in the root directory of your Dark Souls 3 installation.
When I first tried out Steam’s Proton support, I noticed that DOOM Eternal wasn’t running smooth at all. I would be at a constant 75 FPS according to my FPS counter, but I still experienced a lot of stutters / micro lags while playing.
How I fixed the stuttering issue
create a directory for the games to cache their shaders, e. g. /home/you/Shaders
declare the following environment variables:
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP and set it to 1
__GL_SHADER_DISK_CACHE_PATH and set it to the path of your earlier created shaders directory
However, this only fixes it for your current session. To make the fix persistent throughout system reboots, add these two lines to your /etc/profile file, respectively the file your shell uses.