From 3441bc931ce25338c14e65decff09f5e31fca9d0 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Tue, 22 Mar 2016 23:22:18 -0400 Subject: [PATCH] updated naming of signals txt --- README.md | 8 ++++---- generator.py | 2 +- install-chunkymap-on-ubuntu.sh | 2 +- send signal - STOP.bat | 2 +- send signal - stop refreshing player.bat | 2 +- send signal - verbose_enable True.bat | 2 +- signals example - verbose_enable True.txt | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index bd35065..70adacf 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,12 @@ This program comes without any warranty, to the extent permitted by applicable l #Then if you are using screen and want to leave the output without terminating the process press Ctrl a d #NOTE: now that loop is default, cron job scripts, which now disable loop for compatibility with new version, are ALL optional and NOT recommended # ( to run only once, run: python chunkymap-regen.py --no-loop true ) -* Change program options (or stop it) while looping or rendering by placing chunkymap-signals.txt in the same directory as chunkymap-regen.py (see chunkymap-signals example files) - * to maintain stability of your text editor, save the file, close it, then move/copy it to the directory (or save it as something else then rename it to chunkymap-signals.txt). +* Change program options (or stop it) while looping or rendering by placing signals.txt in the same directory as chunkymap-regen.py (see signals example files) + * to maintain stability of your text editor, save the file, close it, then move/copy it to the directory (or save it as something else then rename it to signals.txt). * alternatively, in *nix do something like: - echo "refresh_map_enable:False" > $HOME/chunkymap/chunkymap-signals.txt + echo "refresh_map_enable:False" > $HOME/chunkymap/signals.txt sleep 15s - echo "loop_enable:False" > $HOME/chunkymap/chunkymap-signals.txt + echo "loop_enable:False" > $HOME/chunkymap/signals.txt * list of signals: loop_enable:True loop_enable:False diff --git a/generator.py b/generator.py index b0b8d37..45fcb88 100644 --- a/generator.py +++ b/generator.py @@ -430,7 +430,7 @@ class MTChunks: return os.path.join(os.path.dirname(os.path.abspath(__file__)), self.get_chunk_image_name(chunky_x, chunky_z)) def get_signal_name(self): - return "chunkymap-signals.txt" + return "signals.txt" def get_signal_path(self): return os.path.join(os.path.dirname(os.path.abspath(__file__)), self.get_signal_name()) diff --git a/install-chunkymap-on-ubuntu.sh b/install-chunkymap-on-ubuntu.sh index 78f215e..eb4044c 100644 --- a/install-chunkymap-on-ubuntu.sh +++ b/install-chunkymap-on-ubuntu.sh @@ -59,7 +59,7 @@ rm "$CHUNKYMAP_DEST/install-chunkymap-on-windows.py" # mkdir "$CHUNKYMAP_DEST/chunkymap" #fi #cp -f "$CHUNKYMAP_INSTALLER_PATH/minetestmapper-expertmm.py" "$CHUNKYMAP_DEST/" -#cp --no-clobber $CHUNKYMAP_INSTALLER_PATH/chunkymap-signals* "$CHUNKYMAP_DEST/" +#cp --no-clobber $CHUNKYMAP_INSTALLER_PATH/signals* "$CHUNKYMAP_DEST/" #cd "$CHUNKYMAP_INSTALLER_PATH" cd $CHUNKYMAP_DEST python replace-with-current-user.py # the py file only manipulates the shell scripts that must run as root but use regular user's minetest diff --git a/send signal - STOP.bat b/send signal - STOP.bat index d4e6f3d..7c0f3e2 100644 --- a/send signal - STOP.bat +++ b/send signal - STOP.bat @@ -1,3 +1,3 @@ echo loop_enable:False > tmp_signals.txt echo refresh_map_enable:False >> tmp_signals.txt -rename tmp_signals.txt chunkymap-signals.txt \ No newline at end of file +rename tmp_signals.txt signals.txt \ No newline at end of file diff --git a/send signal - stop refreshing player.bat b/send signal - stop refreshing player.bat index fa1098e..64c101f 100644 --- a/send signal - stop refreshing player.bat +++ b/send signal - stop refreshing player.bat @@ -1 +1 @@ -echo refresh_players_enable:False > chunkymap-signals.txt +echo refresh_players_enable:False > signals.txt diff --git a/send signal - verbose_enable True.bat b/send signal - verbose_enable True.bat index 912df99..8736529 100644 --- a/send signal - verbose_enable True.bat +++ b/send signal - verbose_enable True.bat @@ -1 +1 @@ -echo verbose_enable:True > chunkymap-signals.txt +echo verbose_enable:True > signals.txt diff --git a/signals example - verbose_enable True.txt b/signals example - verbose_enable True.txt index 5c27daf..5156410 100644 --- a/signals example - verbose_enable True.txt +++ b/signals example - verbose_enable True.txt @@ -1,3 +1,3 @@ -#or echo "verbose_enable:True" > $HOME/chunkymap/chunkymap-signals.txt +#or echo "verbose_enable:True" > $HOME/chunkymap/signals.txt verbose_enable:True