Browse Source

work around textures location bug

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
97a4ed890c
  1. 2
      README.md
  2. 3
      webapp/README.md
  3. 3
      webapp/install-mts.sh
  4. 7
      webapp/server.js

2
README.md

@ -299,8 +299,6 @@ mv unmounter unmounter.sh
minetest.set_node(pos, {name = "bones:bones", param2 = param2}) minetest.set_node(pos, {name = "bones:bones", param2 = param2})
add the new line (not sure if the format call is really ok--it was copied from compassgps: add the new line (not sure if the format call is really ok--it was copied from compassgps:
minetest.chat_send_player(player:get_player_name(), S("Bones placed at %s."):format(pos)) minetest.chat_send_player(player:get_player_name(), S("Bones placed at %s."):format(pos))
## Known issues:
* The tsm_pyramids fork by xisd is available again at <https://framagit.org/xisd-minetest/tsm_pyramid> (xisd had deleted his GitHub account). * The tsm_pyramids fork by xisd is available again at <https://framagit.org/xisd-minetest/tsm_pyramid> (xisd had deleted his GitHub account).
Compare to https://github.com/poikilos/tsm_pyramids and see whether that repo can be deleted. Compare to https://github.com/poikilos/tsm_pyramids and see whether that repo can be deleted.
* minetestserver git installer doesn't take into account that minetest_game is NOT updated automatically and must overwrite existing one (should be /usr/local/share/minetest/games/minetest_game --tested on Ubuntu 17.10 Artful) * minetestserver git installer doesn't take into account that minetest_game is NOT updated automatically and must overwrite existing one (should be /usr/local/share/minetest/games/minetest_game --tested on Ubuntu 17.10 Artful)

3
webapp/README.md

@ -19,6 +19,9 @@ npm install
## Planned Features ## Planned Features
* Replace the "write" (stdout) method of the minetestserver process (see * Replace the "write" (stdout) method of the minetestserver process (see
<https://stackoverflow.com/questions/18543047/mocha-monitor-application-output>) <https://stackoverflow.com/questions/18543047/mocha-monitor-application-output>)
* parse Lua mods
- show armor strengths
* list mods (only additional ones vs basis such as Bucket_Game)
## Developer Notes ## Developer Notes

3
webapp/install-mts.sh

@ -56,7 +56,7 @@ if [ ! -d minetest ]; then
exit 1 exit 1
fi fi
echo "Installing minetest to '$HOME'..." echo "Installing minetest to '$HOME'..."
rsync -rt minetest $HOME rsync -rt minetest/ $HOME/minetest
if [ ! -f "$dest_flag_file" ]; then if [ ! -f "$dest_flag_file" ]; then
echo "ERROR: not complete--couldn't create '$dest_flag_file'" echo "ERROR: not complete--couldn't create '$dest_flag_file'"
exit 1 exit 1
@ -67,6 +67,7 @@ if [ ! -d "$flag_dir" ]; then
exit 1 exit 1
fi fi
if [ ! -d "$HOME/minetest/games/ENLIVEN" ]; then if [ ! -d "$HOME/minetest/games/ENLIVEN" ]; then
echo "Copying $flag_dir to $HOME/minetest/games/ENLIVEN..."
cp -R "$flag_dir" "$HOME/minetest/games/ENLIVEN" cp -R "$flag_dir" "$HOME/minetest/games/ENLIVEN"
echo "name = ENLIVEN" > "$HOME/minetest/games/ENLIVEN/game.conf" echo "name = ENLIVEN" > "$HOME/minetest/games/ENLIVEN/game.conf"
else else

7
webapp/server.js

@ -58,9 +58,10 @@ var unique_flags = [
function regeneratePaths() { function regeneratePaths() {
skinDir = minetestPath + "/games/Bucket_Game/mods/codercore/coderskins/textures"; skinDir = minetestPath + "/games/Bucket_Game/mods/codercore/coderskins/textures";
if (fs.existsSync( minetestPath + "/games/ENLIVEN")) { //doesn't work due to bug:
skinDir = minetestPath + "/games/ENLIVEN/mods/codercore/coderskins/textures"; //if (fs.existsSync( minetestPath + "/games/ENLIVEN")) {
} //skinDir = minetestPath + "/games/ENLIVEN/mods/codercore/coderskins/textures";
//}
console.log("skinDir: \"" + skinDir + "\""); console.log("skinDir: \"" + skinDir + "\"");
} }

Loading…
Cancel
Save