Thursday, 4 April 2013

Minecraft Forge Modding Setup Part Two: Setting up the Eclipse IDE

Welcome to the second part of the modding setup tutorials for Minecraft Forge modders (and want-to-be modders)!

This time round we will be setting up our integrated development environment (IDE) which is simply a program that allows us to write code easily. For this tutorial we will use Eclipse. I will warn you now: even if you think you know what you're doing, never ever use Notepad!!! Notepad sadly cannot save files correctly, so even if you use it, it will save files as one single line. There are many other editors that can handle multiple lines of text, but Notepad cannot. Now that is explained, let's get going.

Part Two: Set up Eclipse

First, download and install the Java Development Kit (JDK) and Java Runtime Environment (JRE) from this website. The below image shows where to click. Remember where you installed them. If your browser asks you whether you want to download it, choose Yes. "?" and "????" refer to the versions of Java.
(Don't click the second button on the website if Minecraft runs fine or you know you have "Java". Generally games, programs and browsers refer to the JRE as "Java", but the JRE and JDK are completely different apart from the fact that they use the same programming language.)


Now, we need to download Eclipse from their website. Click "Windows 32-bit" (or "Windows 64-bit" if you know what it means) next to "Eclipse IDE for Java Developers" and again, allow the file to download.
Create a folder for Eclipse then extract the file to it using Windows Explorer or perhaps if you have a better one, any zip utility. Eclipse doesn't install itself, meaning you just need to create a folder for it.
As of writing, the current version of it is 4.2/Juno.
In Eclipse's folder, there is an "eclipse.exe" file. Run this file, and it should ask you about a "workspace" of some sort. We don't need to create one, but instead we'll need to find our Minecraft Coders Pack folder (inside the forge folder in your mod's folder), and use the "eclipse" folder inside it. You should also click the "Use this as default and don't ask again" option if you don't want this prompt every time you start Eclipse.

That's it for the two-part setup seires. Next time we'll get into the actual making of the mod file. Also may I mention that today (4th of April) is my birthday! Until next time, goodbye!

Monday, 1 April 2013

Minecraft Forge Modding Setup Part One: Setting up MCP and Forge

Welcome to my Minecraft Forge tutorials for modders (and want-to-be ones too)!

NOTE: This is currently out of date.

I'm here today to start a series of tutorials for modding the game Minecraft using an API known as Minecraft Forge. Before I begin, please allow me to explain that although modding games is usually illegal, in the case of Minecraft the creators of the game (first Markus Persson then Mojang) have allowed us to do so. However, we are not allowed to sell our mods. My next point is that we will use a tool called Minecraft Coders Pack (or MCP for short) to get into the game's code. Now, let's begin by setting up our coding enviroment!

Part One: Set up Forge

Please remember that I will describe some things as I do them, however more professional modders may use different ideas.

First, click here to download the latest version of Forge. Click absolutely NOTHING else than Skip Ad. This will download the compressed file.

Next, create a folder for where you will keep your MCP setups. I call this MinecraftModding. Create a folder inside that one for your new mod. I use a format which is 151-whiteStoneForge0.2, where 151 is the Minecraft version (1.5.1 in this case), whiteStoneForge is my mod's internal name (what it calls itself from the code) and 0.2 is the version.
Now we need to copy the forge folder in the zip file we downloaded to the mod folder (in my case 151-whiteStoneForge0.2).
The last thing we need to do is go into the forge folder and run the install.cmd (Linux users will have to install Python 2.7 then run install.sh). We don't have to get MCP, Forge and Minecraft anymore as Forge does it for us. Also, if you want to make a ModLoader mod, DO NOT set up ModLoader in the minecraft.jar. Forge Mod Loader inplements all of the old obselete ModLoader methods. In my opinion Forge is much easier, more compatible and much better than ModLoader anyway as well as allowing mods to run without needing to edit Mnecraft's code.

Saturday, 22 December 2012

PSP Softmodding: How to install PRO-B10 in a dualboot with ME

What is this?

This is a tutorial on how to dualboot 6.60 ME and PRO on your PSP.

What do I need?


You will need the following:
  • A PlayStation Portable 1000 or older 2000 (non TA-088v3) model handheld
  • A computer with internet access
  • An archiving utility (eg. 7zip)
  • A standard USB to USB mini cable
  • PlayStation Portable charger
  • Memory Stick Duo with at least 1 GB of free space
  • OFW 6.60

What do I need to do?

Step 1: Download the CFWs

You need to download the ME and PRO B10 firmwares onto your computer.
6.60 ME-1.8

Step 2: Copy onto Memory Stick Duo

Connect your console to the computer using the USB cable and activate USB connection.
Copy the UPDATE folder from the folder in the release_660me_18.zip file to G:\PSP\GAME (assuming G: is the drive of your PSP).
Copy the PSP folder from the 660PRO-B10.rar file to G: (assuming G: is the drive of your PSP).

Step 3: Installation

Disconnect your console from the computer. Go to the XMB Game menu and to Memory Stick.
a) Launch "PSP(TM) Update ver 6.60".
If the console says that the game failed to load, skip to b), then try a) again.
If the console displays a black screen with white text press X.
ME 1.8 will now install. If you are not redirected to the XMB, press X.
b) Select the Memory Stick and select the unnamed game (with the smaller picture saying pro Update).  
When text appears on the screen, if the text is white with a black background press X.
PRO-B10 will install. Press X.
The console will return to the XMB.

Step 4: Using the CFWs


Go to the XMB Settings menu > System Settings > System Information. 
If the System Software is "6.60 ME-1.8", skip a) and go to b).
If the System Software is "6.60 PRO-B10" go to a), then to b).
a) Exit the settings and go to the XMB Game menu. Press Select and scroll down to "RECOVERY MENU   ->". Press X. Now scroll to "Reset device" and press X. The system will now reboot.
b) Now, by default, ME will boot automatically, as PRO-B10 is a Light CFW, meaning it runs on top of other firmware when launched. However, ME is a direct firmware patch, and will only work on PSP 1000 consoles and some older 2000 models, due to changes in the motherboard in later models. However, if you ever want to boot into PRO-B10, just run the "660 PRO-B Fast Recovery" in the XMB Game menu > Memory Stick with your softmodded stick inserted to boot into it.

And now you're done!


That was easy, wasn't it? Check back for more softmodding tutorials!

Saturday, 8 December 2012

BlogMD officially opens!

Well, it's about time I set this blog up.

I've meant to do it for quite a while now, but only just got round to it. I'll talk about random stuff here, as well as my mod(s).

What you should expect here:

  • Minecraft-related stuff
  • Softmodding tutorials
  • Development stuff (web, Java, games)

So... this is my blog!

I hope you enjoy your stay. There might even be an RSS feed to keep up to date with me! So, goodbye for now.

Comments