Difference between revisions of "User:Twoelk/sandbox1"

From Luanti Wiki
Jump to navigation Jump to search
(→‎Details of file structures within a mod: added lua_api.txt example)
Line 194: Line 194:
 
</pre>
 
</pre>
  
== Category tree ==
+
== Category tree (as of early 2014) ==
  
  
Line 290: Line 290:
  
  
 +
== Notes ==
  
 +
limit to the number of nodes types loaded = 32766 (as said on [http://irc.minetest.ru/minetest/2014-06-16#i_3765667 irc] )
 
[[Category:UserPages]]
 
[[Category:UserPages]]

Revision as of 17:15, 16 June 2014

This shall be my sandbox

folder structure playtree

Example structure

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

Category tree (as of early 2014)


Notes

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