Home

Awesome

Minecraft clone for the N64

NEW: Save the game to your cartridge's SD card!

screenshot

Build instructions

Requires the N64 SDK.

1. Build libcart

Download and build libcart from https://github.com/devwizard64/libcart

The Mine64 Makefile expects libcart to be available at ../libcart.

2. Extract Minecraft textures

Mine64 uses the textures and font from Minecraft Classic 0.30. To build Mine64, you need to extract two files from your own copy of Minecraft Classic as follows:

  1. Install Minecraft Classic 0.30 from the Minecraft launcher.
  2. Find .minecraft/versions/c0.30_01c/c0.30_01c.jar in your Minecraft folder.
  3. Extract default.png and terrain.png from the jar file into the Mine64 project directory.
  4. Create a directory called assets in the Mine64 project directory.
  5. Install Python dependencies with pip install -r requirements.txt.
  6. Run python tex2c.py terrain.png and python font2c.py default.png.

This should generate two header files in the assets directory.

3. Build Mine64

You will need Wine to run the SDK on a modern operating system. On Linux (or WSL), run the following commands to build Mine64:

export ROOT=Z:\\path\\to\\ultra
export N64KITDIR=Z:\\path\\to\\n64kit
mkdir -p build/ff
wine cmd.exe /c build.bat

The rom can be found at build/mine64.n64.

Technical Details

Acknowledgements

Mine64 uses nowl's Perlin noise implementation in C: https://gist.github.com/nowl/828013

Mine64 uses devwizard's libcart library to access files on the cartridge. The files in the src/ff and include/ff directories were copied from the libcart project.