Difference between revisions of "Compiling Workspace"

From Galacticraft Wiki
Jump to: navigation, search
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 also download the latest build from [http://ci.micdoodle8.com/job/Galacticraft-Dev/ Jenkins].
+
** 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}}
== Galacticraft 3 ==
 
 
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}}
== Setting up the workspace ==
 
 
# 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:Tutorials]]
+
[[Category:API]]

Revision as of 15:37, 2 November 2014

Prerequisites

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
  1. Open "Forge/mcp/libs".
  2. Copy the Galacticraft dev deobf files here.
  3. Open Eclipse.
  4. Right-click on the Minecraft project, click Properties->Java Build Path->Libraries->Add External Jars and select the 4 dev files.
  5. Extract the Galacticraft Github code.
  6. Open common.
  7. Copy all files to "Forge/mcp/src".
  8. Open "Forge/mcp/src/micdoodle8/mods/galacticraft/".
  9. Delete all folders without the API folder.
  10. At "Forge/mcp", Run "recompile.bat/.sh" then "updatemd5.bat/.sh".

Notes

  • This workspace is just for compiling; you can't run Minecraft MCP.


Impt.png
Unless stated otherwise, all information contained on this wiki should be considered outdated and might not reflect in-game experiences