[Game] Void – A Game That Contains Nothing

Post Reply
User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

[Game] Void – A Game That Contains Nothing

by Linuxdirk » Post

This game for Minetest was reduced to the bare minimum of files and configuration. It contains quite literally “nothing”. It registers no more items than the essentially needed nodes and the hand.

The game is not meant for playing (well, of course you can but there is nothing fun to do except digging the three essential nodes and placing them again).

The purpose of this game is to test mods in an absolutely “clean” environment with absolutely no “3rd-party” mods or APIs provided by such mods.

Image

Contents

Except the bare minimum for a game to be seen as game by the Minetest client, Void contains two mods.

The void_essential mod contains all that is needed for the map generator to create a usable world for testing mods; and the void_hand mod that registers the “hand tool” which is not technically needed to generate terrain and entering a world but not having it, testing would become unnecessary complicated because the unconfigured hand does not even allow to break nodes that are configured to be breakable by hand.

Usage

To use this game simply switch to the game in the client and create a new world. You can use all standards compliant map generators with all of the settings. Except the three essential nodes (stone, water, river water) and the “hand tool” nothing is registered or loaded, or provided. You’ll have a pure, absolutely independent, bare minimum version of a game.

In order to test your mods simply configure the created world and add the mods as needed for testing. Then start the world and see what’s happening. Since there is no creative inventory turning on creative mode does not change the Minetest-provided default inventory. You need a mod for that or use the `/giveme` command.

Game Meta

Code: https://git.0x7be.net/dirk/void
Latest version: main.tar.gz
CDB entry: https://content.minetest.net/packages/Linuxdirk/void/
All code license: MIT license
All media license: CC BY 4.0
Last edited by Linuxdirk on Sun Jul 16, 2023 14:35, edited 1 time in total.

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [Game] Void – A Game That Contains Nothing

by twoelk » Post

interesting-----
seems faster mapgenerating than normal.......................
so can this be used to test mapgen speed without decoration?
or is decoration code still run but none placed

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Game] Void – A Game That Contains Nothing

by Linuxdirk » Post

twoelk wrote:
Wed Aug 26, 2020 08:14
so can this be used to test mapgen speed without decoration?
or is decoration code still run but none placed
While I created the game to be used for testing mods independent of any other game's presets and APIs it can of course be used to test mapgen speed.

Except the three essential nodes (and their aliases for the mapgen) nothing is changed for terrain generation. So if a mapgen tries to load and place decorations then it does that. If it does not try it, then it doesn't ... It's as simply as that :)

There is neither code in the game or the game's mods that registers decorations, nor is there code that prevents the mapgen from trying to place decorations, nor is there code for unregistering biomes/ores/etc.

User avatar
sorcerykid
Member
Posts: 1847
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: [Game] Void – A Game That Contains Nothing

by sorcerykid » Post

I really like the concept of this game. It will prove essential for me to test the performance of some of my mods that require a minimal interactive gameplay environment. Nice work!

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: [Game] Void – A Game That Contains Nothing

by paramat » Post

This is interesting. I am surprised how minimal this is, i did not realise MT could function with so little game code.

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Game] Void – A Game That Contains Nothing

by Linuxdirk » Post

paramat wrote:
Sat Aug 29, 2020 21:05
i did not realise MT could function with so little game code.
Absolutely. Most work is done by the world generators which do a pretty solid job.

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Game] Void – A Game That Contains Nothing

by Sokomine » Post

Very impressive to see that so minimal a setup can be enough.
A list of my mods can be found here.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests