Skip to content

Instantly share code, notes, and snippets.

View m4dEngi's full-sized avatar
🌴
On the longest vacation

Local Nobody m4dEngi

🌴
On the longest vacation
View GitHub Profile
@m4dEngi
m4dEngi / test.cpp
Last active September 29, 2016 23:20
#define STEAMWORKS_CLIENT_INTERFACES
#include "Steamworks.h"
CSteamAPILoader loader;
IClientEngine *pClientEngine;
IClientUser *pClientUser;
HSteamPipe hPipe = -1;
@m4dEngi
m4dEngi / IClientUser.h
Last active September 23, 2017 22:13
//========================== Open Steamworks ================================
//
// This file is part of the Open Steamworks project. All individuals associated
// with this project do not claim ownership of the contents
//
// The code, comments, and all related files, projects, resources,
// redistributables included with this project are Copyright Valve Corporation.
// Additionally, Valve, the Valve logo, Half-Life, the Half-Life logo, the
// Lambda logo, Steam, the Steam logo, Team Fortress, the Team Fortress logo,
// Opposing Force, Day of Defeat, the Day of Defeat logo, Counter-Strike, the
logoutput: stderr
internal: eth0 port = 27015
external: eth0
socksmethod: pam.username
user.privileged: root
user.unprivileged: nobody
user.libwrap: nobody
client pass {
@m4dEngi
m4dEngi / uBootstrap.cpp
Last active December 7, 2022 10:43
Bare minimum steam client bootstrapper. Can be used as drop-in replacement for steam main executable. (windows only)
#include <iostream>
#include <Windows.h>
#define export extern "C" __declspec(dllexport)
typedef void (*SteamUIMainFn) (int, char**);
typedef enum ELauncherType
{
k_ELauncherTypeDefault, // default