Skip to content

Instantly share code, notes, and snippets.

@quantumjim
Last active January 29, 2022 16:28
Show Gist options
  • Save quantumjim/9fbd7918fc551f45304c22ec1feced3b to your computer and use it in GitHub Desktop.
Save quantumjim/9fbd7918fc551f45304c22ec1feced3b to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ayazskhan
Copy link

ayazskhan commented Dec 16, 2019

Detailed instructions on what to do next with the blocks.csv file

This creates a file called 'blocks.csv' which needs to be copied to the 'csv2terrain' mods folder.

Before copying, the following steps are needed:

  1. Install Minetest
    a) go to http://www.minetest.net/
    b) click on download
    c) download Minetest 5.1.0 - portable, 64-bit (recommended)
    d) extract to an appropriate directory
    e) the executable can be found at \minetest-5.1.0-win64\bin\minetest.exe
    f) click on the executable to start the game

  2. Create Quantworld in Minetest
    a) Click on the "Minetest game" logo at the bottom (this step might not be required)
    b) Click on "new"
    c) Enter the name as Quantworld
    d) Enter a few random letters for seed
    e) Set Mapgen to "flat"
    f) Select "Minetest Game"
    g) Click on "Create"
    h) Alt tab out and leave the game running in the background

  3. Install 'csv2terrain'
    a) go to https://github.com/quantumjim/csv2terrain
    b) click on the Download button and save the zip file
    c) extract the contents of the zip file into the Minetest \mod folder
    d) verify that a blocks.csv file is in the \minetest-5.1.0-win64\mods\csv2terrain\ folder

  4. copy the blocks.csv file created by this Jupyter notebook over the blocks.csv file in the \mods\csv2terrain folder

  5. Turn on the csv2terrain mod for quantworld
    a) Alt Tab back to the Minetest game
    b) click on the new flat world you created "quantworld"
    c) click on "configure"
    d) ensure that you see the csv2terrain mod (if not something is wrong with step 3. above)
    e) click on the "csv2terrain" mod
    f) check the "enabled" checkbox
    g) click on "save"

  6. Play Quantworld
    a) click on Quantworld
    b) check "Creative Mode"
    c) Uncheck "Enable Damage" and "Host Server"
    d) click on "Play Game"
    e) when inside the game type /
    f) this will open a chat command line
    g) now type ltbv in the command line
    h) after a few seconds wait, the quantum generated world will display

  7. Navigating and viewing the world
    a) You should be suspended in the air in fly mode
    b) use the w key to move forward, and use cursor to point in the direction of movement
    c) to end press ESC key and click on "Exit to Menu"

Try different circuits to find out which ones result in nice islands!
After creating a new blocks.csv file from this Jupyter Notebook, skip to Step 4 this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment