Skip to content

Instantly share code, notes, and snippets.

View Traderain's full-sized avatar
:octocat:
Learning AI

Hambalkó Bence Traderain

:octocat:
Learning AI
View GitHub Profile
Source engine save files: //Version 115
-----------------------------
struct Header
{
char[4] MagicWord == "J","S","A","V";
int SaveVersion; //int32
int TokenTableFileTableOffset; //int32
int TokenCount; //int32
int TokenTableSize; //int32
@Traderain
Traderain / RedscriptParser.cs
Created March 14, 2017 21:06
Redscripts reader
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace Redscript
{
class Program
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Cache
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WolvenKit.W3Strings;
namespace TestStuff
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows.Forms;
using System.Xml.Linq;
using System.Security.Cryptography;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace wcclitedumper
{
class Program
{
@Traderain
Traderain / witcher3.yar
Last active July 19, 2017 20:40
Yara ruleset for "The Witcher 3: The Wild Hunt"
/*
Yara ruleset for "The Witcher 3: The Wild Hunt"
*/
rule CR2W
{
meta:
author = "Traderain"
description = "Finds the magic of CR2W files."
version = "0.1"
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace wcclitedumper
{
class Program
Type: entities
Values:
name
layerid
class
componentsCount
componentsClassNames
templatePath
posx
posy
"####"
"$any"
"$single"
"%i"
"%s_%s_%s"
"..\\wcc.log"
".w3strings"
".wav"
"2DArrayModified"
"<="