Difference between revisions of "User:Twoelk/sandbox1"

From Luanti Wiki
Jump to navigation Jump to search
Line 359: Line 359:
 
***[[:Category:UserPages]]
 
***[[:Category:UserPages]]
 
**[[:Category:Tutorials]]
 
**[[:Category:Tutorials]]
 +
 +
 +
 +
== Alphabet Blocks ==
 +
 +
*Alphabet [https://forum.minetest.net/viewtopic.php?id=2312 (alphabet)] by cactuz_pl
 +
*Glowing letters A-Z + 0-9 [https://forum.minetest.net/viewtopic.php?id=3260 (neon)] by webdesigner97
 +
*minetest-teaching  [https://github.com/sfan5/minetest-teaching (teaching)] by sfan5
 +
*Learn how to read  [https://forum.minetest.net/viewtopic.php?id=4237 (phonics)] by Neuromancer
 +
*Letters [https://github.com/Amaz1/letters (letters)] by Amaz1
 +
*Abjphabet [https://forum.minetest.net/viewtopic.php?f=11&t=11744 (abjphabet)] by ABJ, integrated into [https://forum.minetest.net/viewtopic.php?f=9&t=11890 Awesomepack]
  
  

Revision as of 03:40, 9 May 2015

This shall be my sandbox

folder structure playtree

Folder structure examples

based on the run-in-place builts for Windows


  • File structure as installed by minetest-0.4.9-65d1cb8 compiled by sfan5 (2014-03-30)
minetest/
├── bin/
├── builtin/
├── client/
│   ├── serverlist/
│   └── shaders/
│       ├── alpha_shader/
│       ├── leaves_shader/
│       ├── liquids_shader/
│       ├── plants_shader/
│       └── solids_shader/
├── doc/
├── fonts/
├── games/
│   ├── minetest_game/
│   └── minimal/
├── locale/ 
│   └── (lots of language folders)
├── mods/ 
├── testsounds/
└── textures/
    └── base/
        └── pack/


  • File structure with the folders Minetest adds after some usage as client and server, as well as the positions (...) that costum made content goes.
minetest/
├── bin/
├── builtin/
├── cache/
│   ├── media/
│   └── tmp/
├── client/
│   ├── serverlist/
│   └── shaders/
│       ├── alpha_shader/
│       ├── leaves_shader/
│       ├── liquids_shader/
│       ├── plants_shader/
│       └── solids_shader/
├── doc/
├── fonts/
├── games/
│   ├── minetest_game/
│   ├── minimal/
│   └── ... (installed extra games)
├── locale/ (lots of language folders)
├── mods/
│   └── ... (installed extra mods and modpacks)
├── testsounds/ (soundpack folder)
├── textures/
│   ├── base/
│   │   └── pack/
│   └── ... (installed extra texturepacks)
└── worlds/
    └── ... (saved worlds. Some with exclusive world mods)


  • Folder structure with extra folders for screenshots and minetest-mapper
minetest/
├── bin/
├── builtin/
├── cache/
│   ├── media/
│   └── tmp/
├── client/
│   ├── serverlist/
│   └── shaders/
│       ├── alpha_shader/
│       ├── leaves_shader/
│       ├── liquids_shader/
│       ├── plants_shader/
│       └── solids_shader/
├── doc/
├── fonts/
├── games/
│   ├── minetest_game/
│   ├── minimal/
│   └── ... (installed extra games)
├── locale/ (lots of language folders)
├── mods/
│   └── ... (installed extra mods and modpacks)
├── screenshots/
├── testsounds/ (soundpack folder)
├── textures/
│   ├── base/
│   │   └── pack/
│   └── ... (installed extra texturepacks)
├── util/
│   └── mapper/
└── worlds/
    └── ... (saved worlds. Some with exclusive world mods)

Details of file structures within a mod

In this example the mods "carts" and "tnt" are installed:

    mods/
    ├── carts/
    │   ├── depends.txt
    │   ├── init.lua
    │   ├── functions.lua
    │   ├── README.txt
    │   ├── textures/
    │   │   ├── carts_top.png
    │   │   └── ...
    │   └── models/
    │       ├── cart.x
    │       └── ...
    ├── tnt/
    │   ├── init.lua
    │   ├── depends.txt
    │   ├── README.txt
    │   ├── textures/
    │   │   ├── tnt_side.png
    │   │   └── ...
    │   └── sounds/
    │       ├── tnt_explode.ogg
    │       └── ...
    └── modname/
        ├── init.lua
        ├── depends.txt
        ├── description.txt
        ├── screenshot.png
        ├── README.txt
        ├── textures/
        │   ├── modname_stuff.png
        │   ├── modname_something_else.png
        │   └── ...
        ├── sounds/
        │   ├── some_sound.ogg
        │   └── ...
        ├── media/
        │   ├── some_media
        │   └── ...
        └── <custom data>/
            ├── some_data
            └── ...

Details of file structures within a game

This example has the default games "minetest_game" and "minimal" installed and shows a possible structure of an own game in "my_game":

    games/
    ├── minetest_game/
    │   ├── game.conf
    │   ├── README.txt
    │   ├── menu/
    │   │   ├── header.png
    │   │   └── icon.png
    │   └── mods/
    │       ├── some mod
    │       ├── some other mod 
    │       └── ...
    ├── minimal/
    │   ├── game.conf
    │   ├── menu/
    │   │   ├── background.png
    │   │   ├── icon.png
    │   │   └── ...
    │   └── mods/
    │       ├── some mod
    │       ├── some other mod
    │       └── ...
    ├── my_game/
    │   ├── game.conf
    │   ├── minetest.conf
    │   ├── README.txt
    │   ├── license.txt
    │   ├── menu/
    │   │   ├── background.png
    │   │   ├── footer.png
    │   │   ├── header.png
    │   │   ├── icon.png
    │   │   ├── overlay.png
    │   │   └── ...
    │   └── mods/
    │       ├── license.txt
    │       ├── some mod
    │       ├── some other mod
    │       └── ...
    └── some more games


Details of file structures within a world

This commented example shows the location and structure of a world called "someworld":

    minetest/
    ├── bin/ (contains the executable program file)
    ├── builtin/
    ├── cache/
    ├── client/
    ├── doc/
    ├── fonts/
    ├── games/  (collection of mods tweacked or designed to work well together)
    │   ├── minetest_game/
    │   ├── minimal/
    │   └── … (installed extra games)
    ├── locale/ (language files)
    ├── mods/
    │   └── … (installed extra mods and modpacks)
    ├── textures/
    │   ├── base/
    │   │   └── pack/
    │   └── … (installed extra texturepacks)
    │
    ├── worlds/   (this folder will be created when the first local/singleplayer world is created
    │   ├── "someworld"  (the name given to the world by the user when it is created)
    │   │   ├── players/
    │   │   ├── worldmods/   (create this folder for world exclusive mods)
    │   │   ├── auth.txt
    │   │   ├── env_meta.txt
    │   │   ├── map.sqlite
    │   │   ├── map_meta.txt
    │   │   └── world.mt
    │   └── … (more saved worlds. Some with exclusive world mods)
    ├── minetest.conf   (will be created with first start of Minetest)
    └── minetest.conf.example   (a list of all possible settings)

Folder structure according to CMakeLists.txt

based on the building scripts in CMakeLists.txt on github

DirVariable WIN32 APPLE UNIX/Linux/BSD RUN_IN_PLACE UNIX/Linux/BSD Description
SHAREDIR . ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME} . ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME} Directory to install data files into
BINDIR bin bin bin ${CMAKE_INSTALL_PREFIX}/bin Directory to install binaries into
DOCDIR doc share/doc/${PROJECT_NAME} doc ${CMAKE_INSTALL_PREFIX}/share/doc/${PROJECT_NAME} Directory to install documentation into
EXAMPLE_CONF_DIR . ${DOCDIR} . ${DOCDIR} Directory to install example config file into
MANDIR unix/man ${CMAKE_INSTALL_PREFIX}/share/man Directory to install manpages into
XDG_APPS_DIR unix/applications ${CMAKE_INSTALL_PREFIX}/share/applications Directory to install .desktop files into
APPDATADIR ${CMAKE_INSTALL_PREFIX}/share/appdata
ICONDIR unix/icons ${CMAKE_INSTALL_PREFIX}/share/icons Directory to install icons into
LOCALEDIR locale locale locale ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/locale Directory to install l10n files into


Category tree (as of early 2014)


Alphabet Blocks


Notes

limit to the number of nodes types loaded = 32766 (as said on irc )

<categorytree>Blocks</categorytree>