Difference between revisions of "User:Twoelk/sandbox1"

From Luanti Wiki
Jump to navigation Jump to search
Line 327: Line 327:
  
 
limit to the number of nodes types loaded = 32766 (as said on [http://irc.minetest.ru/minetest/2014-06-16#i_3765667 irc] )
 
limit to the number of nodes types loaded = 32766 (as said on [http://irc.minetest.ru/minetest/2014-06-16#i_3765667 irc] )
 +
 +
<categorytree>Blocks</categorytree>
 +
 +
 
[[Category:UserPages]]
 
[[Category:UserPages]]

Revision as of 12:18, 30 January 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 hase 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

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)


Notes

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

<categorytree>Blocks</categorytree>