Skip to content

Instantly share code, notes, and snippets.

@natyusha
natyusha / autovsr.lua
Last active June 21, 2025 18:37 — forked from azumukupoe/autovsr.lua
AutoVSR for MPV w/ HEVC Main 10 Support
local mp = require 'mp'
-- Configuration
local autovsr_enabled = true -- Default to VSR enabled
-- Function to apply VSR with dynamic scaling
local function apply_vsr()
-- Get video and display properties
local video_width = mp.get_property_number("width")
local video_height = mp.get_property_number("height")
@natyusha
natyusha / LuaRenamer-NN.lua
Last active May 14, 2025 21:15
Shoko Anime Lua Renamer Config
-- ###### Shoko LuaRenamer NN ######
-- ### Table Manipulation Functions ###
function append(t, s)
s = string.lower(s)
custom_tags = {}
for i = 1,#t do
if(s:match("%[" .. t[i] .. "%]")) then table.insert(custom_tags, s:match("%[" .. t[i] .. "%]")) end
end
return " " .. table.concat(custom_tags, " ")
@natyusha
natyusha / anidb_tmdb_xrefs.csv
Last active June 23, 2025 19:05
Shoko: AniDB → TMDB Mappings
We can't make this file beautiful and searchable because it's too large.
AnidbAnimeId,AnidbEpisodeId,TmdbMovieId,IsAutomatic
5,163129,969850,False
7,6585,128,False
28,10063,149,False
43,257,919,True
44,19968,62182,False
61,378,9323,True
66,399,15999,False
78,472,9606,True
83,11614,823,False
@natyusha
natyusha / anidb_tmdb_xrefs+comments.csv
Last active June 23, 2025 19:05
Shoko: AniDB → TMDB Mappings (Comments)
We can't make this file beautiful and searchable because it's too large.
#--------------------------------------------------
# AniDB/TMDB Movie Cross-References
AnidbAnimeId,AnidbEpisodeId,TmdbMovieId,IsAutomatic
#--------------------------------------------------
# AniDB: TV ``Seikai no Senki II`` (a5) S01 (e163129) ``Banner of the Stars II Movie`` (e163129) → TMDB: ``Banner of the Stars II Movie`` (m969850)
5,163129,969850,False
# AniDB: MV ``Mononoke-hime`` (a7) 001 (e6585) ``Complete Movie`` (e6585) → TMDB: ``Princess Mononoke`` (m128)
@natyusha
natyusha / pairedmuxing.py
Last active June 16, 2025 18:30
This script takes a raw video file and muxes it together with another video file. It will retain chapters/subtitles/attachments from the old file and sync them if there is a delay. Options are included for simply formatting a new file.
#!/usr/bin/env python3
import os, re, sys, json, time, argparse, subprocess
from xml.etree import ElementTree
r"""
Description:
- This script takes a raw video file and muxes it together with another video file
- It will retain chapters/subtitles/attachments from the old file and sync them if there is a delay
Author:
- natyusha
@natyusha
natyusha / FFXIV Macro HUD.md
Last active April 27, 2025 12:43
An example FFXIV macro HUD.

FFXIV Macro HUD

Macros from an example HUD configuration intended for those who don't use a controller and have no need for the cross hotbars. The hotbar number(s) and slots used in the reference image are listed next to the macro name when applicable (hotbar# :: slot#).

References

FFXIV-MACRO-HUD-Reference HUD Video Walkthrough

Required FFXIV Settings

Tip

Consider disabling "Error Messages" under Character Configuration > Log Window Settings > Log Filters > Chat Tab Name > Announcements. Otherwise some of these macros will spawn errors in the chat under certain circumstances. To avoid this while leaving "Error Messages" enabled you can prepend /merror off to all of the macros below instead.

@natyusha
natyusha / Naty's FFXIV Dawntrail Add-ons, Plugins and Mods.md
Last active June 26, 2025 01:56
All the third party add-ons, plugins and mods I use for FFXIV.

Last Updated: Patch 7.25

The program which most people use for parsing in FFXIV and several other MMOs. For an open source alternative consider using IINACT though configuring it won't be covered here.

Options

  • Main Table Encounters
    • General
      • Uncheck: Number of seconds to wait after the last combat action to begin a new encounter.
      • Uncheck: Number of seconds to wait after the last combat action to pause the encounter duration.

Plugins

@natyusha
natyusha / KeepUI_FFXIV.fx
Created October 22, 2019 10:51
Keep UI for FFXIV Mirror
// KeepUI for FFXIV
// Author: seri14
//
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, commercial or non-commercial, and by any
// means.
//
@natyusha
natyusha / BBWVR2-Helper.ms
Last active October 26, 2019 17:24
BBWVR2 Helper
rollout BBWVR2_Rollout "BBWVR2 Helper" width:170 ( -- main rollout
/*
BBWVR2 Helper maxscript written by natyusha for use with the BBWVR2-Rig.
Designed to facilitate fast exports of preset body sizes with automated vertex normal smoothing.
With this tool custom body sizes can be created and exported at an extremely rapid pace.
*/
group "Prep Modifiers and Smooth" ( -- buttons for calling functions that smooth normals and enable the correct modifiers for a given bodytype
button 'btnBody' "Body\nStandard" across:2 width:70 height:30 align:#left tooltip:"average normals and prep modifiers for the nude upper body"
button 'btnBodyF' "Body\nFeatureless" width:70 height:30 align:#right tooltip:"average normals and prep modifiers for the featureless upper body"
button 'btnLegs' "Legs\nNew Gens" across:2 width:70 height:30 align:#left tooltip:"average normals and prep modifiers for the nude legs, genitals and anus"
@natyusha
natyusha / Witcher3Builds.md
Last active January 7, 2020 08:01
Witcher 3 TRYHARDING

ALCHEMICAL MELEE CRIT BUILD

This build has unparalleled damage output alongside superior survivability. It requires a decently high level, but there are modifications one can make to bring the requirement down significantly and still get 90% of the effect. A playthrough with this build on Death March will start to feel like you are playing ‘Just the story.’

PLAYSTYLE BASICS:

This build revolves around stacking Toxicity by using 4 decoctions + Superior Thunderbolt/Tawny Owl in combination with the Euphoria mutation, stacking crit damage alongside items and abilities ensuring near constant criticals, buffing stamina regeneration and using adrenaline points to have constant Quen to maintain full health, and stacking damage boost at full health. Basically, the idea is to deal massive damage to end fights quickly whilst ensuring full health with life steal (Ekimmara decoction) plus constant Quen and other means.

MUTATION:

Euphoria (Alchemy)

Easy to get earlier on and at the core of this build. With