Difference between revisions of "User:Twoelk/sandbox1"
Jump to navigation
Jump to search
m (added comparism table) |
|||
Line 3: | Line 3: | ||
folder structure playtree | folder structure playtree | ||
− | == | + | == Folder structure examples == |
based on the run-in-place builts for Windows | based on the run-in-place builts for Windows | ||
Line 193: | Line 193: | ||
└── some more games | └── some more games | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | == Folder structure according to CMakeLists.txt == | ||
+ | based on the building scripts in [https://github.com/minetest/minetest/blob/c39e46c00d41c534eb33e608e2536edde9212876/CMakeLists.txt CMakeLists.txt on github] | ||
+ | |||
+ | {|class="wikitable sortable" | ||
+ | !'''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) == | == Category tree (as of early 2014) == |
Revision as of 12:22, 18 June 2014
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/ └── 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) ├── 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/ ├── 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)
- Category:Minetest (Root Category)
- Category:Game Content
- Category:Gameplay
- Category:Games
- Category:Map
- Category:Mods
- Category:People
- Category:Pictures
- Category:Animated Picture
- Category:Bronze
- Category:Bucket
- Category:Copper
- Category:Diamond
- Category:Dyes
- Category:Flowers
- Category:Gold
- Category:GUI Picture
- Category:Ingot
- Category:Iron
- Category:Isometric Picture
- Category:Mese
- Category:Mob Picture
- Category:Plants
- Category:Rails
- Category:Screenshot
- Category:Steel
- Category:Related software
- Category:Server
- Category:Special Categories
- Category:Tutorials
Notes
limit to the number of nodes types loaded = 32766 (as said on irc )