GithubHelp home page GithubHelp logo

stoneddiscord / cavex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xtreme8000/cavex

0.0 1.0 1.0 1.27 MB

Project to recreate your favourite block game for the Wii (Beta 1.7.3)

License: GNU General Public License v3.0

C 98.46% Makefile 0.82% CMake 0.56% GLSL 0.16%

cavex's Introduction

CavEX

Cave Explorer is a Wii homebrew game with the goal to recreate most of the core survival aspects up until Beta 1.7.3. Any features beyond will not be added.


Features

  • great performance on Wii (about 60fps)
  • 5 chunk render distance currently
  • load any beta world save
  • nearly all blocks added, except redstone related
  • many items from the original
  • correct light propagation
  • ambient occlusion on blocks

Planned features (in no particular order, not complete)

  • main menu
  • generation of new chunks
  • biome colors
  • player physics
  • inventory management
  • block placement and destruction logic
  • (random) block updates
  • item actions
  • real texture pack support
  • Beta 1.7.3 multiplayer support

Screenshot

ingame0 (from the PC version)

Build instructions

You need to download these libraries yourself and place their source files to the following directories. They are required for any platform.

library files destination
LodePNG lodepng.h and lodepng.c source/lodepng/
cglm include/cglm/ source/cglm/
cNBT buffer.c, buffer.h, list.h, nbt_loading.c, nbt_parsing.c, nbt_treeops.c, nbt_util.c and nbt.h source/cNBT/
parson parson.h and parson.c source/parson/
M*LIB any root *.h compiler include path

Wii

For the Wii platform you need to install the devkitPro Wii/Gamecube environment. Additionally install zlib using pacman of devkitPro.

dkp-pacman -S wii-dev ppc-zlib

To build, simply run make in the root directory. You might need to load the cross compiler env first (required e.g. if you use fish instead of bash).

source /etc/profile.d/devkit-env.sh
make

There should then be a .dol file in the root directory that your Wii can run. To copy the game to your apps/ folder, it needs to look like this:

cavex
├── assets
│   ├── terrain.png
│   ├── items.png
│   ├── anim.png
│   ├── default.png
│   ├── gui.png
│   └── gui2.png
├── saves
│   ├── world
│   └── ...
├── boot.dol
├── config.json
├── icon.png
└── meta.xml

GNU/Linux

The game can also run on any PC with support for OpenGL 2.0 and played with keyboard and mouse.

Building requires the following additional libraries, which you can install with your system package manager: zlib, glfw3 and glew. You can then use CMake and gcc to build. The already existing Makefile is for the Wii platform only and might be removed sometime later.

mkdir build_pc
cd build_pc
cmake ..
make

Please also copy the fragment and vertex shaders from resources/ next to your assets/ directory.

cavex's People

Contributors

xtreme8000 avatar stoneddiscord avatar

Watchers

 avatar

Forkers

dsmirc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.