Difference between revisions of "Compiling Workspace"
From Galacticraft Wiki
Line 1: | Line 1: | ||
== Prerequisites == | == Prerequisites == | ||
* Galacticraft dev deobf files - You can download them from http://www.micdoodle8.com/mods/galacticraft/downloads/dev. | * Galacticraft dev deobf files - You can download them from http://www.micdoodle8.com/mods/galacticraft/downloads/dev. | ||
− | ** You may | + | ** You may alternatively download the latest dev build from: |
+ | *** Galacticraft 2: [http://ci.micdoodle8.com/job/Galacticraft-Dev/ Jenkins] | ||
+ | *** Galacticraft 3: [http://ci.micdoodle8.com/job/Galacticraft3-dev/ Jenkins] | ||
* Galacticraft Github code [https://github.com/micdoodle8/Galacticraft Galacticraft Github Code] (download zip) | * Galacticraft Github code [https://github.com/micdoodle8/Galacticraft Galacticraft Github Code] (download zip) | ||
+ | Galacticraft Dev builds are versions of the game referencing de-obfuscated Forge code, automatically compiled at the same time as regular Galacticraft player release builds are made. The major/minor version numbers should match up with regular release builds, but the build numbers will not match up. Don't worry, it's still the same code. Example: in GC3, the dev build 3.0.5.64 is the same as the release build 3.0.5.229. | ||
+ | |||
+ | == Galacticraft 3 == | ||
{{msgbox | {{msgbox | ||
|type=danger | |type=danger | ||
|text=For Galacticraft 3 with Minecraft 1.7.2 or 1.7.10}} | |text=For Galacticraft 3 with Minecraft 1.7.2 or 1.7.10}} | ||
− | |||
See [[GC3_API#Full Galacticraft Sources]] for a guide to installing the sources in your Forge workspace for Minecraft 1.7.x. | See [[GC3_API#Full Galacticraft Sources]] for a guide to installing the sources in your Forge workspace for Minecraft 1.7.x. | ||
+ | == Galacticraft 2: Setting up the workspace == | ||
{{msgbox | {{msgbox | ||
|type=danger | |type=danger | ||
|text=For Galacticraft 2 with Minecraft 1.6.4}} | |text=For Galacticraft 2 with Minecraft 1.6.4}} | ||
− | |||
# Open "Forge/mcp/libs". | # Open "Forge/mcp/libs". | ||
# Copy the Galacticraft dev deobf files here. | # Copy the Galacticraft dev deobf files here. | ||
Line 28: | Line 32: | ||
Eclipse GC Libs.png | Eclipse GC Libs.png | ||
</gallery> | </gallery> | ||
− | == Notes == | + | === Notes === |
* This workspace is just for compiling; you can't run Minecraft MCP. | * This workspace is just for compiling; you can't run Minecraft MCP. | ||
{{Galacticraft}} | {{Galacticraft}} | ||
− | [[Category: | + | [[Category:API]] |
Revision as of 15:37, 2 November 2014
Prerequisites
- Galacticraft dev deobf files - You can download them from http://www.micdoodle8.com/mods/galacticraft/downloads/dev.
- Galacticraft Github code Galacticraft Github Code (download zip)
Galacticraft Dev builds are versions of the game referencing de-obfuscated Forge code, automatically compiled at the same time as regular Galacticraft player release builds are made. The major/minor version numbers should match up with regular release builds, but the build numbers will not match up. Don't worry, it's still the same code. Example: in GC3, the dev build 3.0.5.64 is the same as the release build 3.0.5.229.
Galacticraft 3
For Galacticraft 3 with Minecraft 1.7.2 or 1.7.10
See GC3_API#Full Galacticraft Sources for a guide to installing the sources in your Forge workspace for Minecraft 1.7.x.
Galacticraft 2: Setting up the workspace
For Galacticraft 2 with Minecraft 1.6.4
- Open "Forge/mcp/libs".
- Copy the Galacticraft dev deobf files here.
- Open Eclipse.
- Right-click on the Minecraft project, click Properties->Java Build Path->Libraries->Add External Jars and select the 4 dev files.
- Extract the Galacticraft Github code.
- Open common.
- Copy all files to "Forge/mcp/src".
- Open "Forge/mcp/src/micdoodle8/mods/galacticraft/".
- Delete all folders without the API folder.
- At "Forge/mcp", Run "recompile.bat/.sh" then "updatemd5.bat/.sh".
Notes
- This workspace is just for compiling; you can't run Minecraft MCP.
Unless stated otherwise, all information contained on this wiki should be considered outdated and might not reflect in-game experiences
|