Coder Social home page Coder Social logo

abrarsyed / gmcp Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 6.0 2.91 MB

Gradle plugin for Modding Minecraft and making non-base-edit mods with Forge and FML. This is the actual usage of the GMCP_scripts repo.

License: GNU Lesser General Public License v3.0

Groovy 58.23% Shell 0.79% Java 40.98%

gmcp's People

Contributors

abrarsyed avatar azenla avatar captainshadows avatar lexmanos avatar m3gafr3ak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gmcp's Issues

"Start.java" patch should start with a capital S

Currently, when applying the Start.java patch, GMCP looks for a file called "start.java", but the real file name is "Start.java". This breaks GMCP on filesystems with case-sensitive file names.

Out Of Memory error & fix.

When running the assemble task in Gradle I ran across an error.

If you add a gradle.properties setting the JVM args to:

 -Xmx256.

However since I am new to github I accidentally edited the wiki thinking it would fork it then pull request it.

Also the astyle fix does not seem to have worked. getting permission denied.

Thanks,

Joshua

exception on java 6

See gist: https://gist.github.com/piotrb/e2c9432a5e302aa8fe4f

Seems to crash very early on in the build running on Apple's default JDK

java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)


Confirmed to be fine running on Sun's latest java after upgrading.

GMCP Clean error.

After copying resource files that get tokens replaced, the next build fails to override them with updated versions. This causes problems with version numbers and similar.

Minecraft on mac does not work with java 1.7.

When trying to get gmcp to work it fails with:

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/joshuacoles/Downloads/SecretRoomsMod-forge-master 2/build.gradle' line: 13

  • What went wrong:
    A problem occurred evaluating root project 'SecretRoomsMod-forge-master 2'.

    com/github/abrarsyed/gmcp/tasks/CachedTask : Unsupported major.minor version 51.0

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

This is because I have java 6 which is required for Minecraft and so I cant run it and if i could it would not properly work with lwjgl errors. Is there a say this could be Java 6 compatible.

This is because I have java 6, java 7 causes problems with lwjgl. Is there any way this could be made java 6 compatible the commit that changed it is:
a2b88d0.

Link to the java 7 mac discussion is:
http://www.minecraftforum.net/topic/1954605-162-mac-osx-latest-java-osx-update-causing-minecraft-to-hang-and-crash/.

Joshua

PS sorry for posting without content miss clicked enter.

Mods built in GMCP fail to work on mac

I recently installed GMCP and tried building my mod with it. Works really well except when I put it in the mine craft mods folder it crashes soon after startup, here is the crash http://pastebin.com/q0J5wYL8. Something similar also happened with the built version of Dream Dimension after mod jam.

Other people who I have asked to test have had no problems running it so I believe the issue is because I am working on a mac.

Crash while decompiling minecraft on linux

I tried to set GMCP up on an Ubuntu 12.04 system in jenkins. While decompiling minecraft, it crashed with the following error http://hastebin.reening.nl/dasukoriwa.txt

I use GMCP 0.7.3, link to the build.gradle file: https://github.com/jk-5/SuperPowers/blob/master/build.gradle

If there's any more information i have to provide, tell me

Update:
After looking into it more, it seems that the astyle executable is missing from minecraft/misc where it is normally. Shouldn't this be downloaded automaticly?

Downloading Assets

If I understand GMCP correctly, it will have the minecraft decompiler as well as the build function. If this is the case would it be possible to select an assets folder to use on the client instead of redownloading them every time the environment is set up as the stage takes a long time for me with my terrible internet.

There is no Wiki :(

No wiki for nobs to learn how to do stuffs :(

I'l try to keep it up to date if you make it cause I can't make it.

jAstyle

I can't compile this until jAstyle on maven central is compiled on java 6 :(
jAstyle has as java version version 7, so i cant compile gmcp with it...

SetupDevWorkspace, regexp error.

When trying to run 'gradle setupDevWorkspace --stacktrace' I get this error:

vCaused by: java.util.regex.PatternSyntaxException: Look-behind group does not have an obvious maximum length near index 119
(?m)^(?<modifiers>(?:(?:public|protected|private|static|abstract|final|native|synchronized|transient|volatile|strict) )*)(?<type>enum) (?<name>[\w$]+)(?: implements (?<implements>[\w$.]+(?:, [\w$.]+)*))? \{(?:\r\n|\r|\n)(?<body>(?:.*(?:\r\n|\n|\r))*?)(?<end>\})
                                                                                                                       ^
    at com.github.abrarsyed.gmcp.source.FFPatcher.<clinit>(FFPatcher.java:28)
    ... 61 more

Full stack trace here http://pastebin.com/eLYix5bW

I think this is fixable by replacing the:

import java.util.regex.Matcher
import java.util.regex.Pattern

Imports with:

import com.google.code.regexp.Matcher;
import com.google.code.regexp.Pattern;

While this was partially fixed in the commit b57c781 it was not corrected for FFPatcher.

If you want me to I will make a pull request to fix these issues.

Regards Joshua.

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.