Skip to content

Instantly share code, notes, and snippets.

View manavortex's full-sized avatar

manavortex manavortex

View GitHub Profile
import bpy
import bmesh
# script originally created by engres
for armature in filter(lambda obj: obj.type == 'ARMATURE', bpy.data.objects):
print("Checking armature {}".format(armature.name))
boneNames = []
for pBone in armature.pose.bones:
boneName = pBone.name
@manavortex
manavortex / cyberpunk_npv_shapekey_script.py
Last active January 30, 2023 07:26
A Blender script to automatically apply shape keys to NoraLee's glb template for your NPV
import bpy
import bmesh
import re
import os
# For use with the meshes from NoraLee's tutorial
# https://docs.google.com/document/d/1clFJhpi7H5jk73vUQPnjIwjkuQV6VnYkKMoXt1eYMb0/view
# video documentation on how to use this (thanks Vesna!): https://youtu.be/Zt9Shl8d5rM
# TL;DW:
@manavortex
manavortex / additem.md
Last active February 8, 2024 16:12
WIP of guide how to add items via archiveXl

The final version of this guide can be found here!

This guide was created after reading this one and being left with a bunch of question marks. The good people on the modding discord have been extremely helpful and clarified many questions. To get a deeper understanding, refer to the initial guide and follow the linked resources.

Assumed skill level: You should be able to find your way around WolvenKit, but I aim to keep this as noob-friendly as possible.

You will find the framework's official documentation here.

Parts of this guide

@manavortex
manavortex / waitForElement.js
Last active March 13, 2021 10:58
async function waitForElement
let timeout = 75;
const maxTimeout = 5000;
/**
* Async function: call with checkElement('#myElement').then((el) { ... }) .
* Or see first block in waitForAndPrepend as per nightpool's suggestion in MR 2037
*
* @param {string} selector - document query selector.
* @param {string} returnAry - run querySelectorAll rather than querySelector?
*/
@manavortex
manavortex / showToast.js
Last active February 25, 2021 09:48
showToast.js
// https://codepen.io/uffou/pen/JNVWVy
function showToast(_title='', _text=''){
window.toast.create({
title: _title,
text: _text
});
}
window.showToast = showToast;
(function(root, factory) {
@manavortex
manavortex / restart_wacom_driver.sh
Created October 3, 2019 17:32
Makes older wacom tables less unusable on osX mojave
#!/bin/sh
tail -F /var/log/system.log | while read line; do
if echo "$line" | grep -q '.*wacom.*'; then
kill $(pidof PenTabletDriver)
sleep 1
open /Library/Application\ Support/Tablet/PenTabletDriver.app
fi
done
@manavortex
manavortex / Accessible_Info_Viewer.ahk
Created July 2, 2019 09:54
a resizable version of Accessible Info Viewer
; Accessible Info Viewer
; http://www.autohotkey.com/board/topic/77888-accessible-info-viewer-alpha-release-2012-09-20/
; https://dl.dropbox.com/u/47573473/Accessible%20Info%20Viewer/AccViewer%20Source.ahk
#SingleInstance force
_colTextW := 55
_col2W := 120
_col4W := 51
@manavortex
manavortex / Accessible_Info_Viewer.ahk
Created July 2, 2019 09:54
a resizable version of Accessible Info Viewer
; Accessible Info Viewer
; http://www.autohotkey.com/board/topic/77888-accessible-info-viewer-alpha-release-2012-09-20/
; https://dl.dropbox.com/u/47573473/Accessible%20Info%20Viewer/AccViewer%20Source.ahk
#SingleInstance force
_colTextW := 55
_col2W := 120
_col4W := 51
@manavortex
manavortex / package.bat
Last active June 11, 2019 11:32 — forked from haggen/package.bat
Package your ESO add-on ready for distribution.
:: Package your ESO add-on ready for distribution.
:: Version 1.3 Sat, 14 Nov 2015 22:36:23 +0000
@echo off
setlocal enableextensions enabledelayedexpansion
REM set to location where you want this zipped. Leave it empty if you want to zip to current dir.
set EXPORTPATH=%USERPROFILE%\Dropbox
REM delete zips of previous versions? Delete or clear if not
set DELETEOLDZIPS=true
/*
* Copyright (C) 2004-2009 See the AUTHORS file for details.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* Made by Mini
*/