Skip to content

Instantly share code, notes, and snippets.

View Zeitwaechter's full-sized avatar

John Doe Zeitwaechter

  • Germany
View GitHub Profile
@Zeitwaechter
Zeitwaechter / Memoria.ini
Last active October 8, 2024 20:40
Final Fantasy IX Memoria Setup
[Mod]
; MergeScripts (default 0) 0 = Don't attempt to merge scripts, top most mod gets priority / 1 = [Experimental] Attempt to merge scripts, if a conflict is detected top most mod takes priority
; UseFileList (default 1) 0 = Don't use mod file lists / 1 = Do not generate the missing file lists of Mod Folders when launching the game but use it if it exists / 2 = Generate "ModFileList.txt" of active mods
; Custom configurations and/or assets are loaded from custom folders inside the "FINAL FANTASY IX" root folder
; The "Priorities" field is only a hint for the Launcher's Mod Manager; mod priorities in-game are still defined by their order in "FolderNames"
FolderNames = "KupoTweaks/Features/Tweaks/AP4x", "KupoTweaks/Features/Tweaks/4xgil", "KupoTweaks/Features/Zecrets", "KupoTweaks", "KupoPortraits/Features/Portraits/PortraitOperaOmnia", "KupoPortraits", "KupoButtonsPack/Features/Buttons/ButtonsPS5", "KupoButtonsPack", "KupoUISuite/Features/Zecrets", "KupoUISuite/Features/DialogueBox/FlatUI", "KupoUISuite/Feat
@Zeitwaechter
Zeitwaechter / windlloverrides.md
Created June 16, 2024 21:26
Proton+Wine DLL Override

WINEDLLOVERRIDES="dinput8.dll=n,b" gamemoderun mangohud %command%

No need to rewrite this again and again.

@Zeitwaechter
Zeitwaechter / Handler.php
Last active September 16, 2023 16:11
laravel api generalized http exception responses
<?php
namespace App\Exceptions;
use App\Http\Controllers\Traits\HasHttpResponses;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\RedirectResponse;
@Zeitwaechter
Zeitwaechter / HasAuthOpenApiVersion1Descriptors.php
Last active September 16, 2023 16:27
Laravel Auth / Sanctum routes are not annotated by default, right? So here we go - with a bit extra...
<?php
namespace App\Helpers\Traits\OpenApi\Routes\Auth;
use OpenApi\Attributes as OAT;
#[OAT\Post(
path: '/v1/auth/login',
operationId: 'v1-auth-login',
description: <<<'NOW'
@Zeitwaechter
Zeitwaechter / REAMDE.md
Created January 6, 2023 15:39
docker issues

Docker Issues

Got any fancy error message?

  • failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: docker-credential-desktop resolves to executable in current directory (./docker-credential-desktop), out: ''
    • Check your ~/.docker/config.json file, maybe something happend inside of it... like when you wanted to "check" Docker Desktop
    • You might want to just clear the file completely, depending on your use-case, and docker-compose should build imagea again, without any problem
  • Some also reported that renaming the credsStore attribute helped them
@Zeitwaechter
Zeitwaechter / steam-deck-unlocks.md
Last active August 9, 2022 16:52
steam deck commands after another system update
  1. install apps via discover, like firefox+addons + disable pocket + configure, keepassxc, ...
  2. setup emudeck
  3. sudo steamos-readonly disable && sudo pacman-key --init && sudo pacman-key --populate archlinux && sudo rm -fr /etc/vpnc/vpnc-script && sudo rm /etc/ppp/ip-up.d/50-sstp.PROFILE.sh.sample && sudo rm /etc/sstpc/sstp.options.sample && yay -Sy base-devel mtpfs networkmanager-openvpn networkmanager-openconnect networkmanager-pptp network-manager-sstp protontricks
  4. setup vpn setup
@Zeitwaechter
Zeitwaechter / final-fantasy-pixel-remaster-memoria-steam-deck.md
Last active December 24, 2023 06:47
final fantasy pixel remasters on steam deck - steps to set up memoria.ffpr
  1. download the newest release of Albeoris/Memoria.FFPR.
  2. navigate to your FF Pixel Remaster game of choice.
  3. unpack the referenced BepInEx_UnityIL2CPP of the latest release into the root of your game folder (e.g. .local/share/Steam/steamapps/common/FINAL FANTASY VI PR/).
  4. unpack the referenced game specific files (e.g. FF6_v2022.08.07.zip) into the root as well (so you will basically override your BepInEx directory).
  5. install protontricks onto your Arch Linux / Steam (Deck) OS
  6. (the rest is basically taken from bepinex.dev)
    1. run protontricks --gui
    2. select your game of choice (e.g. Final Fantasy VI (check game id!)) and hit "OK" image displaying the protontricks --gui command and the game selection
@Zeitwaechter
Zeitwaechter / 00-final-fantasy-viii-remastered-config.txt
Last active July 3, 2022 10:51
final fantasy viii remastered on steam - config.txt error fix - check your compatdata savegame directory
; %USER%/Documents/My Games/FINAL FANTASY VIII Remastered/Steam/%steamid%/config.txt
width 3840
height 2160
language EN
mastervol 100
bgmvol 100
screenmode 1
display 0
cameraspeed 6
brightness 50
  • ~/.local/share/Steam/config/htmlcache/UserPrefs.json set directories to [] to disable type checking.

Composer Auth File

nano ~/.config/composer/auth.json