Skip to content

Instantly share code, notes, and snippets.

View TeoTwawki's full-sized avatar
🤒
sick of social features on github

TeoTwawki

🤒
sick of social features on github
View GitHub Profile
@TeoTwawki
TeoTwawki / npc_renamer.py
Created November 10, 2022 16:56 — forked from zach2good/npc_renamer.py
NPC DAT Renamer script for FFXI
#!/usr/bin/env python
# npc_renamer by zach2good, use as you please!
#
# For use on the NPC DATs listed here:
# https://www.reddit.com/r/ffximodding/comments/9ndg2d/complete_list_of_zone_dats_by_zone_id/
#
# Usage: npc_renamer.py <input file to read>
# : If the input file is .DAT, a corresponding .json file will be made.
# : If the input file is .json, a corresponding .new.DAT file will be made.
@TeoTwawki
TeoTwawki / Prose.md
Created October 24, 2019 01:15 — forked from shakna-israel/Prose.md
Obfuscating Lua

Obfuscating Lua

I've had some fun ruining Python recently, but Python is what I use at work. I prefer to use other languages when I'm doing stuff for fun.

And obfuscation only really makes sense in fun and competition - given a suffeciently determined actor, your code will be reverse engineered. Unless you write it in Malboge.

For this particular experiment, I'll be using Lua 5.3. As I'll probably need to dive into some of the less portable functions to commit our atrocities, I can't guarantee it will run on other popular versions like Luajit or 5.1.