Coder Social home page Coder Social logo

travelc / minecrift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jrbudda/minecrift

0.0 1.0 0.0 20.32 MB

Modified version of Minecrift VR mod that focuses on the Vive and room scale VR

Home Page: http://www.vivecraft.org

License: Other

Makefile 0.01% Batchfile 0.07% Python 3.63% Shell 0.08% HTML 4.12% Java 87.04% C 4.27% CSS 0.76% JavaScript 0.03%

minecrift's Introduction

Vivecraft for Minecraft 1.7.10

This readme is intended for developers. For downloads and gameplay instructions please see the official website

Using this Repository

Vivecraft uses a system of patches to avoid distributing Minecraft code. This complicates the build process a little bit.

  • Fork, checkout or download the repo using your Git method of choice.
  • Install Java JDK 1.6, 1.7 or 1.8. The Java JRE will NOT work.
  • Set the JAVA_HOME environment variable to the JDK directory
  • Add %JAVA_HOME%\bin to your PATH environment variable
  • Install Python 2.7.x (NOT 3.x). Be sure to tick the 'add python to your PATH' option during install. Download from python.org
  • Open a command prompt and navigate to the repo directory
  • Run install.bat

The install process (install.py) does a number of things:

  • It downloads MCP (Minecraft coder's pack) and extracts it to the \mcp908\ directory.
  • It downloads a ton of dependencies.
  • It merges Optifine into vanilla minecraft jar.
  • It decompiles and deobfuscates the combined minecraft/optifine into \mcp908\src.minecraft_orig_nofix\
  • It applies any patches found in \mcppatches\ and copies the result to\mcp908\src.minecraft_orig\
  • It applies all the patches found in \patches\ and copies the result to \mcp908\src\minecraft.
  • It copies all code files found in \src\ to \mcp908\src\minecraft. This directory is now the full 'Vivecraft' codebase.

IF you use Eclipse you can open the workspace found in \mcp908\eclipse. You may have to redirect some build path jar's to the correct location. To run the game form eclipse you have to attach natives to lwjgl jar.

Make all changes to the game in the \mcp908\src\minecraft directory.

To build an installer:

  • run getchanges.bat. This compares mcp908\src\minecraft to mcp908\src\minecraft_orig. patches are generated for modified files and copied to \patches. Whole new files are copied to \src.
  • run build.bat. This takes the new files and patches and creates a jar. It then uses the code and jsons found in \installer\ to make an installer.exe.

To update code from github

  • After pulling changes from github run applychanges.bat. This backs up mcp908\src\minecraft to mcp908\src\minecraft_bak, and starts over by applying all patches in \patches\ to mcp908\src\minecraft_orig, and copies the result o mcp908\src\minecraft

minecrift's People

Contributors

stellaartois avatar mabrowning avatar jrbudda avatar automat-gh avatar techjar avatar jjtparadox avatar clintchil avatar timcharper avatar

Watchers

 avatar

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.