Open ajthemacboy opened 9 years ago
Note: I don't think this computer has JDK, but the other two I tried DO. They also use Gradle 2.3.
Did you do gradlew setupDecompWorkspace?
This is not forge. There is no setupDecompWorkspace. You need 2 additional files: forge jar (because Cuchaz wants to implement forge API) and deobfuscated minecraft jar - generated when building m3l.
Any particular forge version? And where do I put them, the root directory of the project?
Edit: Also, I assume you mean compiling M3L with gradle. Where is the project? I can't find it!
Currently compiling TWM is more complicated than it seems to be. It will be improved in the future. If you want to compile it now: Forge version 1.8-11.14.1.1334 is specified in build.gradle. It needs to be in libs directory.
M3L can't be compiled with gradle. To get deobfuscated minecraft jar you need to: Clone m3l (using mercurial), Clone ssjb, Install python if you don't have it. In m3l directory create lib directory and copy forge jar to it (the same version). Run thses commands: python build.py getMappings python build.py getDeps python build.py deobfMinecraftClient
location for deobfuscated minecraft jar specified in buildscript is ../m3l/lib so if m3l and TWM repositories are in the same directory you don't need to copy anything.
I haven't made a nice mod development environment for M3L yet. Until then, compiling M3L will be painful. =)
You devs sure do go through a lot of hoops.. xD
Anyway, I got the deobfuscated client now.. thanks!
Update: Still having issues: http://pastebin.com/hqewzGuq
Update 2: I checked build.gradle and saw that forge was supposed to be in libs, not lib, so I changed that, but still got this: http://pastebin.com/uqsa6sYh
It doesn't seem to use latest M3L version
I just cloned the repository with Mercurial, which I've never used before, but I assume it uses the latest version by default?
It uses version from Cuchaz's maven repository, not the version you used to generate deobfuscated minecraft jar. Actually you probably didn't even compile that version. It used enigma to generate the jar.
So confused (not your fault).. I'll try this later when I get some time. Thanks for all your help!
It doesn't compile for me too. You eighter need to compile m3l yourself (and add jar file to dependencies) or wait until Cuchaz updates M3L in maven repository.
Can I have the link to the Maven repo? All I can find is Bitbucket.
Gradle downloadds it automatically from the repository. But the version in maven repository isn't up to daye with the version on bitbucket. If you remove the 2 methods with compile errors - it will compile but there will be memory leaks when you save and exit and load other world (see #27)
Hi, I know this isn't an issue with CubicChunks but I ask for your help anyway. I've tried compiling CubicChunks on 3 different machines now, and each time I get a build failure. Here are my versions:
Gradle 2.3
Build time: 2015-02-16 05:09:33 UTC Build number: none Revision: 586be72bf6e3df1ee7676d1f2a3afd9157341274
Groovy: 2.3.9 Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013 JVM: 1.8.0_45 (Oracle Corporation 25.45-b02) OS: Linux 3.19.0-14-generic amd64
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
I use 'git clone https://github.com/TallWorlds/CubicChunks', then 'cd CubicChunks', then 'gradle', at which point it goes through something for about 15 seconds then says build failure.
Here's the build log: http://pastebin.com/EzFKWUum
Thanks for any help you can offer.