change: Finished loading command and added some scripts for extracting world saves

This commit is contained in:
Nicholas Novak
2023-11-13 22:56:20 -08:00
parent 6719b6e929
commit 4fd4b6112f
4 changed files with 141 additions and 57 deletions

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
SAVES := imperial-save
SAVES += skygrid-save
SAVES += witchcraft-save
all: $(SAVES)
imperial-save:
mkdir imperial-save
./spatial-db load worldsave "saves/Imperialcity v14.1/region" --output "imperial-save"
skygrid-save:
mkdir skygrid-save
./spatial-db load worldsave "saves/SkyGrid/region" --output "skygrid-save"
witchcraft-save:
mkdir witchcraft-save
./spatial-db load worldsave "saves/Witchcraft/region" --output "witchcraft-save"
.PHONY: clean
clean:
rm -r $(SAVES)