Skip to content

Instantly share code, notes, and snippets.

View parnic's full-sized avatar
😅
Slow is smooth, smooth is fast

parnic

😅
Slow is smooth, smooth is fast
View GitHub Profile
'use strict';
const SLMessage = require('./SLMessage.js').SLMessage;
const MSG_ID = 12566;
exports.SLEquipmentConfigurationMessage = class SLEquipmentConfigurationMessage extends SLMessage {
constructor(buf) {
var size;
if (buf) {
@parnic
parnic / settings.json
Created February 21, 2020 03:47
My VSCode settings for Go development
{
"telemetry.enableTelemetry": false,
"editor.fontFamily": "'Fira Code Retina', Consolas, 'Courier New', monospace",
"editor.fontSize": 13,
"editor.fontLigatures": true,
"explorer.confirmDelete": false,
"window.zoomLevel": 0,
"extensions.ignoreRecommendations": false,
"files.associations": {
"*.tmpl": "html"
@parnic
parnic / Program.cs
Last active September 24, 2020 01:01
Assassin's Creed IV Black Flag PC Multiplayer launcher for Steam. Compile this and add it as a non-Steam game in your Steam library. It'll launch just like the SP game, but straight into the MP portion. For bonus speed, delete or rename the following 4 files under AC4\multi\videos: abstergo_logo.bik ac4bf_logo.bik TWIMTBP.bik ubi_logo.bik
using System.Diagnostics;
namespace ac4bfmp_launcher
{
class Program
{
static void Main(string[] args)
{
var p = new ProcessStartInfo(@"path\to\Ubisoft Game Launcher\UbisoftGameLauncher.exe", "-upc_uplay_id 437 -upc_game_version 0 -upc_exe_path [path_to_exe_base64_encoded] -upc_working_directory [working_directory_base64_encoded] -uplay_steam_mode");
// for example, my AC4BFMP.exe is located at D:\games\Steam\steamapps\common\Assassin's Creed IV Black Flag\AC4BFMP.exe,