@ -17,11 +17,14 @@ This program comes without any warranty, to the extent permitted by applicable l
# ( to run only once, run: python chunkymap-regen.py --no-loop true )
# ( to run only once, run: python chunkymap-regen.py --no-loop true )
* 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)
* 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).
* 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:
* alternatively, in GNU/Linux systems do something like:
#verbose_enable is false for looped (default) mode and true for non-looped mode
#verbose_enable is false for looped (default) mode and true for non-looped mode
@ -37,6 +40,7 @@ This program comes without any warranty, to the extent permitted by applicable l
refresh_map_seconds:1
refresh_map_seconds:1
#where 1 is number of seconds:
#where 1 is number of seconds:
refresh_players_seconds:1
refresh_players_seconds:1
`
* Save jpg or png named as player's index to the players folder of the world to change player's icon on map (index is a number assigned for use with ajax when $show_player_names_enable is false). The index can be found in the player's yml file generated by chunkymap-regen.py.
* Save jpg or png named as player's index to the players folder of the world to change player's icon on map (index is a number assigned for use with ajax when $show_player_names_enable is false). The index can be found in the player's yml file generated by chunkymap-regen.py.
* Can show a static html version of map (echo_chunkymap_table() php function) -- see viewchunkymap.php
* Can show a static html version of map (echo_chunkymap_table() php function) -- see viewchunkymap.php
@ -54,6 +58,7 @@ Because of the feature, chunkymap-regen.py must prevent duplicates based on valu
This should be hard to corrupt since id is used as the indexer for the players dict (however, extra files with no matching entry in the dict will still need to be deleted if they exist)
This should be hard to corrupt since id is used as the indexer for the players dict (however, extra files with no matching entry in the dict will still need to be deleted if they exist)
* games_path, mods_path, players_path, and other subdirectories of the major ones should not be stored in minetestmeta.yml, since otherwise the values may deviate from the parent directories when the parent directories change.
* games_path, mods_path, players_path, and other subdirectories of the major ones should not be stored in minetestmeta.yml, since otherwise the values may deviate from the parent directories when the parent directories change.
To avoid this problem, instead derive the paths from the parent paths using your favorite language such as in the following examples:
To avoid this problem, instead derive the paths from the parent paths using your favorite language such as in the following examples:
OPTION 2: IF you are using Ubuntu go to a terminal, cd to this directory,
OPTION 2: IF you are using Ubuntu go to a terminal, cd to this directory,
then switch user to the one that will run minetestserver
then switch user to the one that will run minetestserver
(since install-chunkymap-on-ubuntu.sh DOES replace "/home/owner" with current user's home [replace-with-current-user.py, which is automatically called by install, will change /home/owner to current user's directory in each script that install copies to $HOME/chunkymap])
(since install-chunkymap-on-ubuntu.sh DOES replace "/home/owner" with current user's home [replace-with-current-user.py, which is automatically called by install, will change /home/owner to current user's directory in each script that install copies to $HOME/chunkymap])
then go to Terminal and run:
then go to Terminal and run:
`minetestserver`
`minetestserver`
then when it is finished loading, press Ctrl C then run:
then when it is finished loading, press Ctrl C then run:
* Rename viewchunkymap.php so it won't be overwritten on update if you want to modify it (or anything you want) then make a link to it on your website or share the link some other way.
* Rename viewchunkymap.php so it won't be overwritten on update if you want to modify it (or anything you want) then make a link to it on your website or share the link some other way.
`# The commands below will work if you are using the web installer, or have done mv minetest-chunkymap-master "$HOME/Downloads/minetest-chunkymap" (and if you are using /var/www/html/minetest -- otherwise change that below)`
`
`MT_MY_WEBSITE_PATH=/var/www/html/minetest`
# The commands below will work if you are using the web installer, or have done mv minetest-chunkymap-master "$HOME/Downloads/minetest-chunkymap" (and if you are using /var/www/html/minetest -- otherwise change that below)
`# after you do this, the update script will do it for you if you are using /var/www/html/minetest, otherwise edit the update script before using it to get these things updated`
#--no-clobber: do not overwrite existing
# after you do this, the update script will do it for you if you are using /var/www/html/minetest, otherwise edit the update script before using it to get these things updated
`
* IF you are using Windows
* IF you are using Windows
* Install Python 2.7
* Install Python 2.7
* Run install-chunkymap-on-windows.bat
* Run install-chunkymap-on-windows.bat
@ -137,6 +151,7 @@ To avoid this problem, instead derive the paths from the parent paths using your
* numpy such as can be installed via the easy unofficial installer wheel at
* numpy such as can be installed via the easy unofficial installer wheel at
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
then:
then:
`#cd to the folder where you downloaded the whl file `
`#cd to the folder where you downloaded the whl file `