Difference between revisions of "User:Twoelk/sandbox1"

From Minetest Wiki
Jump to navigation Jump to search
(building category tree wip)
Line 4: Line 4:
  
 
== Example structure ==
 
== 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)
 +
<pre>
 +
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/
 +
</pre>
 +
 +
 +
* File structure with the folders Minetest adds after some usage as client and server, as well as the positions (...) that costum made content goes.
 
<pre>
 
<pre>
 
minetest/
 
minetest/
Line 24: Line 55:
 
│  ├── minetest_game/
 
│  ├── minetest_game/
 
│  ├── minimal/
 
│  ├── minimal/
│  └── ...
+
│  └── ... (installed extra games)
├── locale/ (+lots of language folders)
+
├── locale/ (lots of language folders)
 
├── mods/
 
├── mods/
│  └── ...
+
│  └── ... (installed extra mods and modpacks)
 
├── textures/
 
├── textures/
 
│  ├── base/
 
│  ├── base/
 
│  │  └── pack/
 
│  │  └── pack/
│  └── ...
+
│  └── ... (installed extra texturepacks)
 
└── worlds/
 
└── worlds/
     └── ...
+
     └── ... (saved worlds. Some with exclusive world mods)
 +
</pre>
 +
 
  
 +
* Folder structure with extra folders for screenshots and minetest-mapper
 +
<pre>
 +
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)
 
</pre>
 
</pre>
  
 
+
=== Details of file structures within a mod ===
 
In this example the mods "carts" and "tnt" are installed:
 
In this example the mods "carts" and "tnt" are installed:
 
<pre>
 
<pre>

Revision as of 16:51, 30 March 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
            └── ...


Category tree