Skip to content

Instantly share code, notes, and snippets.

______ is best pony.​

Hugo Locurcio Calinou

______ is best pony.​
View GitHub Profile
Calinou / game.c
Created January 12, 2023 03:21
Dirt Rally Linux fix (source:
View game.c
// Source: <>
// Instructions:
// 1. Paste contents of this file to a new file called "game.c" within your home folder.
// 2. Open a terminal, install GCC from distribution repositories and compile this source file: gcc game.c -shared -o
// 3. Move to the same folder as the DirtRally binary (within the bin/ folder, not
// Use Manage > Browse Local Files on Dirt Rally to reach this folder, then enter the bin/ folder.
// 4. Modify Steam launch options: LD_PRELOAD=./ %command%
// 5. Run the game on Steam.
#include <sys/mman.h>
Calinou /
Last active January 2, 2023 21:19
Compress ISO/CUE files to CHD on a remote filesystem accessible via SFTP/SSH
set -euo pipefail
# Compresses ISO/CUE files to CHD on a remote filesystem accessible via SFTP/SSH.
# Source ISO files on the remote host are not removed after conversion
# (you have to do this manually if desired).
# chdman must be installed (it's typically packaged as `mame-tools`).
# If it's not in your distribution repositories, build
Calinou /
Created December 14, 2022 01:56
Cube 1 master server perl script (downloaded from
#!/usr/bin/perl -w
## cube masterserver
## (c) 2004, Hungerburg, License same as Cube (z-lib)
Calinou / dxvk.conf
Created September 18, 2022 20:34
Personal DXVK configuration file for lower input lag and better quality
View dxvk.conf
# Create the VkSurface on the first call to IDXGISwapChain::Present,
# rather than when creating the swap chain. Some games that start
# rendering with a different graphics API may require this option,
# or otherwise the window may stay black.
# Supported values: True, False
# dxgi.deferSurfaceCreation = False
# d3d9.deferSurfaceCreation = False
Calinou / godot-rocketchat.css
Created July 23, 2022 21:33
Custom CSS used on the Godot Contributors Chat Rocket.Chat instance
View godot-rocketchat.css
.register-link-replacement {
display: none
.rcx-box.rcx-box--full.rcx-badge.rcx-badge--primary {
background: red !important
.code-colors {
background-color: #1d1f21 !important
Calinou /
Created July 4, 2022 22:37
Godot 3.x pull requests from Calinou
Calinou /
Last active June 8, 2022 21:32
Stunt Rally contribution notes

Tracks with checkpoint issues

  • Mos6-TaraMosses: Wrong checkpoint can be triggered in pipe section at the top
  • Sur6-AkkaPadre: Wrong checkpoint can be triggered in the pipe section below the large cave
  • Sur8-BloCorcle: Wrong checkpoint can be triggered shortly after the wallride jump

Tracks with water planes that are too shallow

  • Jng25-CantorJungle
  • Vlc13-BorVolcano
Calinou / github-gist-increase-height.user.css
Created November 18, 2021 18:13
Increase height of GitHub Gist editors to full screen height
View github-gist-increase-height.user.css
/* ==UserStyle==
@name - 11/18/2021, 7:11:18 PM
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document domain("") { {
Calinou /
Created November 9, 2021 23:16
Disable built-in deadzone on Thrustmaster T248 steering wheel on Linux
#!/usr/bin/env bash
# Source:
set -euo pipefail
evdev-joystick --e /dev/input/by-id/usb-Thrustmaster_Thrustmaster_Racing_Wheel_FFB-event-joystick --d 0
Calinou /
Last active November 3, 2021 22:02
Download files for a given Godot release from the TuxFamily servers (for mirroring purposes)
#!/usr/bin/env bash
# Copyright © 2019-2021 Hugo Locurcio
# Licensed under the MIT license.
set -xeuo pipefail
export DIR
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"