Skip to content

Instantly share code, notes, and snippets.

View M3ales's full-sized avatar

Matthew M3ales

  • Luna Software Solutions
  • South Africa
  • 17:21 (UTC +02:00)
View GitHub Profile
@M3ales
M3ales / rename.bat
Last active November 5, 2017 12:12
Short script to automate file renaming for custom heroes duplicated off base heroes in Darkest Dungeon. Copy the heroes/<heroname> folder, rename it to what you want, and place this file inside it. Run it, specify the old name (original hero class name), and your new name and it'll go through all the filenames, atlases, and art.darkest/info.dark…
@echo off
setlocal enabledelayedexpansion
:start
set /p "Pattern=Old Name:"
set /p "Replace=New Name:"
set /a num=0
set /a total=0
echo ------
for /D %%# in (%~dp0%Pattern%_*) Do (
echo Renaming %%#
@M3ales
M3ales / gist:fe836c1074ba3c9e4dddbb5c4f31121b
Last active August 15, 2017 10:54
Proposed Entity Storage per Level in Json
"level":
{
"seed":"askdaoko23kfwifsjd30892jwe"
}
"entity":
{
{
"id":"player"
"active":true
"components":