Skip to content

Instantly share code, notes, and snippets.

Avatar

Pavel Djundik xPaw

View GitHub Profile
View KeyValues.cpp
//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#if defined( _WIN32 ) && !defined( _X360 )
#include <windows.h> // for widechartomultibyte and multibytetowidechar
@xPaw
xPaw / lazyload_intersection.js
Last active Oct 20, 2020
Lazy load elements when they appear in view using IntersectionObserver
View lazyload_intersection.js
let observer;
function LazyLoad( element, callback )
{
if( !( 'IntersectionObserver' in window ) )
{
callback();
return;
}
View underlords_mobile_download.php
<?php
declare(strict_types=1);
// Alternatively manifest_ios
$manifest = file_get_contents( 'https://raw.githubusercontent.com/SteamDatabase/GameTracking-Underlords-Android/master/manifest_android.json' );
$manifest = json_decode( $manifest, true );
$out = "#!/bin/bash\n";
foreach( $manifest[ 'assets' ] as $assetName => $asset )
View alien_swarm_p4_binary_changes.txt
//ValveGames/rel/swarm/game/bin/AdminServer.dll#8 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/Dist2alpha.exe#9 - edit change 6019183 (binary+x)
//ValveGames/rel/swarm/game/bin/Dist2alpha.pdb#9 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/FileSystemOpenDialog.dll#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/FileSystemOpenDialog.pdb#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/FileSystem_Stdio.dll#12 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/MaterialSystem.dll#10 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/QC_Eyes.exe#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/QC_Eyes.pdb#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/SDKLauncher.exe#15 - edit change 6019183 (binary)
View gist:5edd1c3f207559ad4192975888e709d6
//ValveGames/rel/swarm/game/bin/ep3.fgd#1 - branch change 863790 (text)
//ValveGames/rel/swarm/game/swarm/sound/scapes/2D/interior1/Beep3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/game/swarm_base/sound/physics/metal/metal_box_footstep3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/game/swarm_base/sound/physics/plaster/ceiling_tile_step3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/game/swarm_base/sound/physics/plaster/drywall_footstep3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/game/swarm_base/sound/physics/wood/wood_box_footstep3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/src/game/client/client_ep3.vpc#1 - branch change 863790 (text)
//ValveGames/rel/swarm/src/game/client/ep3/Splatter.cpp#1 - branch change 863790 (text)
//ValveGames/rel/swarm/src/game/client/ep3/c_blob_mine.cpp#1 - branch change 863790 (text)
//ValveGames/rel/swarm/src/game/client/ep3/c_blob_mine.h#1 - branch change 863790 (text)
View l4d2_beta_diff.txt
CScriptBaseButton
DT_ScriptBaseButton
script_func_button
.?AV?$CEntityFactory@VCScriptBaseButton@@@@
Attempted to ConvertToCopiedData for unsupported type (%d)
ScriptSetPoseParameter
@xPaw
xPaw / _install.md
Last active Apr 22, 2020
CS:GO Text Mod
View _install.md

Installing text mod

  1. Move csgo_bananagaming.txt inside this folder: Steam\SteamApps\Common\Counter-Strike Global Offensive\csgo\resource
  2. Add -language bananagaming to your launch options

Not working? Make sure that:

  • csgo_bananagaming.txt is placed in the right folder (it needs to be inside the resource folder)
  • Launch options is spelled correctly, this is an example that will work: -novid -language bananagaming -tickrate 128

Installing radio mod

View steam_accounts_per_month.csv
2003-09-01 430,159
2003-10-01 164,740
2003-11-01 115,910
2003-12-01 125,061
2004-01-01 105,668
2004-02-01 85,764
2004-03-01 118,380
2004-04-01 126,378
2004-05-01 99,905
2004-06-01 84,291
View steam_accountids.csv
Range Count
1060000000 1029447
1050000000 9997326
1040000000 9984846
1030000000 9981487
1020000000 9978689
1010000000 9978952
1000000000 9978825
990000000 9988693
980000000 9993601
View steam_removed_2019_11_26.csv
AppID Name
332780 National Zombie Park
341980 Dispatcher
345920 The Note
348020 Bloodbath Kavkaz
350710 Wizards' Clash
354260 Bloodbath Kavkaz - Soundtrack
366890 Zombie Zoeds
371210 Gridberd
371690 Pixel Space