Skip to content

Instantly share code, notes, and snippets.

View drowhunter's full-sized avatar
💭
I may be slow to respond.

Trevor Jones drowhunter

💭
I may be slow to respond.
  • Toronto, Canada
View GitHub Profile

Additional settings for Tokyo Xtreme Racer, HDR, VSM, Streaming, Weather, Time of Day and more

This UE4SS script will allow you to adjust render settings in Tokyo Xtreme Racer.

This allows you to:

  • Enable 10 bit HDR Display Output, requires HDR enabled in Windows settings
  • Enable Virtual Shadow Maps, more crisp and accurate shadows
  • Disable textures streaming. Game will load all texture assets on level load to reduce CPU overhead at a cost of memory usage. Requires 8GB GPU or better.
  • Enable lowest possible settings for a low end hardware, to improve compatbility with old hardware, run game with -dx11 launch argument.
  • Control time of day with key bindings
@giacomof
giacomof / Taker.cpp
Created June 3, 2020 09:14
Redout Shared Memory Taker example
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <tchar.h>
#include <math.h>
#pragma comment(lib, "user32.lib")
#define BUF_SIZE 256
TCHAR szName[] = TEXT("Global\\RedoutSimulatorParams");
@ShimmyMySherbet
ShimmyMySherbet / SteamProtocalHelper.cs
Created May 14, 2020 12:27
A Steam Protocol Helper for C#
namespace SteamProtocal
{
public static class SteamProtocalHelper
{
public static string Advertise(int GameID)
{
return $@"steam://advertise/{GameID}";
}
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// This is not the original CinematicDOF but a modified version which uses a custom depth input.
//
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Cinematic Depth of Field shader, using scatter-as-gather for ReShade 3.x.
// By Frans Bouma, aka Otis / Infuse Project (Otis_Inf)
@varunon9
varunon9 / graphql-query-client-side.js
Created May 26, 2018 17:41
Querying to graphql server from browser using JQuery Ajax
var globals = {}; // application wide global variable
globals.constants = {
}
globals.showToastMessage = function(heading, message, icon) {
$.toast({
heading: heading,
text: message,
showHideTransition: 'slide',
@AlbertoMonteiro
AlbertoMonteiro / ObjectSpread.cs
Created February 14, 2018 23:24
Spread object in C#
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
namespace Playground
{
public class Program
"""
This module provides objects to control the HIDGuardiand driver.
This is achieved by modifying registry values that the driver looks for.
Classes can be used independantly or through the HidGuardian class
"""
import winreg
class AffectedDevices(object):
"""Manipulate a REG_Multi_SZ value to define HID devices
@DanDiplo
DanDiplo / JS-LINQ.js
Last active May 8, 2025 17:25
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Dan B.
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version):
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]
@thomseddon
thomseddon / gist:4703968
Last active September 9, 2024 04:24
Auto Expanding/Grow textarea directive for AngularJS
/**
* The MIT License (MIT)
*
* Copyright (c) 2013 Thom Seddon
* Copyright (c) 2010 Google
*
* 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