Skip to content

Instantly share code, notes, and snippets.

View Calinou's full-sized avatar
🦄
______ is best pony.​

Hugo Locurcio Calinou

🦄
______ is best pony.​
View GitHub Profile
@Calinou
Calinou / dxvk.conf
Created September 18, 2022 20:34
Personal DXVK configuration file for lower input lag and better quality
# 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
Calinou / godot-rocketchat.css
Created July 23, 2022 21:33
Custom CSS used on the Godot Contributors Chat Rocket.Chat instance
.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
Calinou / README.md
Created July 4, 2022 22:37
Godot 3.x pull requests from Calinou
@Calinou
Calinou / README.md
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
@agyild
agyild / FSR.glsl
Last active May 21, 2024 04:40
AMD FidelityFX Super Resolution v1.0.2 for mpv
// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
@Calinou
Calinou / github-gist-increase-height.user.css
Created November 18, 2021 18:13
Increase height of GitHub Gist editors to full screen height
/* ==UserStyle==
@name gist.github.com - 11/18/2021, 7:11:18 PM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document domain("gist.github.com") {
div.CodeMirror.cm-s-github-light {
@Calinou
Calinou / t248-no-deadzone.sh
Created November 9, 2021 23:16
Disable built-in deadzone on Thrustmaster T248 steering wheel on Linux
#!/usr/bin/env bash
# Source: https://forum.scssoft.com/viewtopic.php?t=291342
set -euo pipefail
IFS=$'\n\t'
evdev-joystick --e /dev/input/by-id/usb-Thrustmaster_Thrustmaster_Racing_Wheel_FFB-event-joystick --d 0
@Calinou
Calinou / godot-tuxfamily-download-all.sh
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
IFS=$'\n\t'
export DIR
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@Calinou
Calinou / tasks.json
Created September 3, 2021 13:07
Godot build tasks for Linux using Clang + LLD + Pyston to speed up incremental builds
{
"version": "2.0.0",
"tasks": [
{
"label": "Build (editor)",
"type": "shell",
"command": "pyston-scons -j10 platform=linuxbsd use_llvm=yes use_lld=yes werror=no tests=no",
"problemMatcher": [],
"group": {
"kind": "build",
@atyuwen
atyuwen / opt_fsr.fxh
Last active May 17, 2024 11:09
An optimized AMD FSR implementation for Mobiles
//==============================================================================================================================
// An optimized AMD FSR's EASU implementation for Mobiles
// Based on https://github.com/GPUOpen-Effects/FidelityFX-FSR/blob/master/ffx-fsr/ffx_fsr1.h
// Details can be found: https://atyuwen.github.io/posts/optimizing-fsr/
// Distributed under the MIT License. Copyright (c) 2021 atyuwen.
// -- FsrEasuSampleH should be implemented by calling shader, like following:
// AH3 FsrEasuSampleH(AF2 p) { return MyTex.SampleLevel(LinearSampler, p, 0).xyz; }
//==============================================================================================================================
void FsrEasuL(
out AH3 pix,