Skip to content

Instantly share code, notes, and snippets.

View mtijanic's full-sized avatar

Milos Tijanic mtijanic

  • NVIDIA Corporation
  • Munich, Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mtijanic on github.
  • I am mtijanic (https://keybase.io/mtijanic) on keybase.
  • I have a public key ASA-ynYO_Icbo7HH4zOKdvhD_h-OyDR9xzndXDj1mr-LTgo

To claim this, I am signing this object:

// Released under WTFPL-2.0 license
//
// To compile:
// gcc -m32 -fPIC -shared -o nwmain-list-modes.so nwmain-list-modes.c
//
// To run, add nwmain-list-modes.so to LD_PRELOAD before running nwmain
// LD_PRELOAD=./nwmain-list-modes.so ; ./nwmain
#include <inttypes.h>
@mtijanic
mtijanic / nwmain-patch.c
Last active June 11, 2022 00:52
Patch Linux nwmain to unlock selection of additional classes at character creation
// Released under WTFPL-2.0 license
//
// To compile:
// gcc -m32 -fPIC -shared -o nwmain-patch.so nwmain-patch.c
//
// To run, add nwmain-patch.so to LD_PRELOAD before running nwmain
// LD_PRELOAD=./nwmain-patch.so ; ./nwmain
#define _GNU_SOURCE 1
#include <stdio.h>