Modified version of Minecrift VR mod that focuses on the Vive and room scale VR
Java C HTML Python CSS GLSL Other
Pull request Compare This branch is 194 commits ahead, 1 commit behind Automat-GH:vive_1_7_10.
Latest commit f6a6b01 Jan 16, 2017 @jrbudda r3 fixes, pumpkin
Permalink
Failed to load latest commit information.
assets/vivecraft/shaders r3 fixes, pumpkin Jan 16, 2017
bin Windows builds? Jun 10, 2013
images Create gh-pages branch via GitHub Jul 4, 2013
installer r3 fixes, pumpkin Jan 16, 2017
javascripts Create gh-pages branch via GitHub Jul 4, 2013
mcppatches restore mcppatches Jun 11, 2016
patches/net/minecraft r3 fixes, pumpkin Jan 16, 2017
src r3 fixes, pumpkin Jan 16, 2017
stylesheets Fixing stylesheet Jul 4, 2013
.gitattributes Always use CR eol for patch files Aug 25, 2014
.gitignore 4 Aug 3, 2016
.gitmodules Removed partially implemented OpenVR library. Mar 20, 2016
.public_rev Implement basic dynamic head prediction time value (auto mode) based … May 7, 2014
CHANGES.md Added change notes. Mar 20, 2016
CNAME Adding CNAME Jul 4, 2013
CONTRIBUTING.md Update CONTRIBUTING.md Jun 25, 2016
LICENSE.md Updated license with JNA/JMonkey/OpenVR details. Mar 20, 2016
Makefile Creating initial build system May 22, 2013
README.md Update README.md Jul 29, 2016
applychanges.bat Support comfort yaw transition via controller buttons as well Feb 13, 2016
applychanges.py Fix patch the correct version of Optifine!! Feb 19, 2016
applychanges.sh Windows builds? Jun 10, 2013
build.bat fix mr cam and gui Jul 29, 2016
build.log fix this nonsense Jun 11, 2016
build.py 35 pre, shaders update, main menu Jan 11, 2017
build.sh Windows builds? Jun 10, 2013
copyfilteredfiles.bat Fix patch the correct version of Optifine!! Feb 19, 2016
copyfilteredfiles.py Fix patch the correct version of Optifine!! Feb 19, 2016
copyfilteredfiles.sh Fix patch the correct version of Optifine!! Feb 19, 2016
create_install.bat Update installer to 1.7.10. Forge version fixed at 1180. Jul 21, 2014
create_install.py Port 1.8 scripting changes to 1.7.10 Nov 26, 2014
create_install.sh Update installer to 1.7.10. Forge version fixed at 1180. Jul 21, 2014
getchanges.bat Move to Minecrift 1.8.1 method of two stage patching, client.md5 gene… Mar 13, 2015
getchanges.py 28r1 pre Jul 13, 2016
getchanges.sh Windows builds? Jun 10, 2013
getcompilechanges.bat Move to Minecrift 1.8.1 method of two stage patching, client.md5 gene… Mar 13, 2015
getcompilechanges.sh Move to Minecrift 1.8.1 method of two stage patching, client.md5 gene… Mar 13, 2015
idea.py Removed partially implemented OpenVR library. Mar 20, 2016
index.html Test change Jul 31, 2013
install.bat Port 1.8 scripting changes to 1.7.10 Nov 26, 2014
install.py Start to make install entirely self-contained. WIP, doesn't build. Feb 26, 2016
install.sh Windows builds? Jun 10, 2013
minecriftversion.py r3 fixes, pumpkin Jan 16, 2017
normalisePatchLineEndings.bat Start to implement use of createSwapTextureSet Nov 16, 2015
normalisePatchLineEndings.py Start to implement use of createSwapTextureSet Nov 16, 2015
params.json Create gh-pages branch via GitHub Jul 4, 2013
sync-public.sh First pass support for 1.6.4 Oct 25, 2013
test.sh First pass support for 1.6.4 Oct 25, 2013

README.md

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