Wednesday, 31 October 2012

Blackberry Development Mac

Blackberry Eclipse tutorial for Mac

Introduction

In my opinion, RIM makes it harder than it needs to be to develop Blackberry apps on a Mac. (Despite the tools being written in Java). However it is possible, and once your environment is setup correctly, does get a little easier..

The first thing that differs from the Windows setup, is that you need an actual Blackberry device. No Simulators are available for Mac unfortunately. (I managed to bag a pretty cheap, Blackberry Curve 8520 from eBay for around £50, and can be put back on eBay to get most of cost back afterwards if you find it's not your cup of tea)

N.B Blackberry App World only accepts BB OS 4.5 or greater. Devices seem to be locked into the OS they are manufactured with, so bear that in mind when purchasing a device that's used for development.

Blackberry Eclipse Setup

I'll be using the Blackberry Eclipse Plugin that can be downloaded from the Blackberry site here: Blackberry Eclipse 7.1 Mac

You will also need the Blackberry Desktop Software, again downloadable from the Blackberry site here also (optional, but useful):
Blackberry Desktop Software Mac

After downloading the latest version, 7,1 and installing, you should be presented with the standard Eclipse welcome tab.

Blackberry Eclipse tutorial for Mac

Close 'Welcome' tab Window->Open Perspective->Blackberry Application Development

Blackberry Eclipse tutorial for Mac

File -> New -> BlackBerry Project

Blackberry Eclipse tutorial for Mac

Blackberry project setup with default source code.

Blackberry Eclipse tutorial for Mac

Setup JRE for Device

The latest version of Blackberry Eclipse comes with BB JRE version 7.1. Unless your device is brand new, it's likely to have an older version installed, and wont be able to run with 7.1

My device, a Blackberry Curve 8520 comes with version 5.0, so this is the JRE version I need also.

Help -> Instal new Software

In the 'work with' field (drop down) ad the following url:
http://www.blackberry.com/go/eclipseUpdate/mac/java

Blackberry Eclipse tutorial for Mac

A list of the available JRE's will be displayed, select the version suitable for your device.

Once the JRE's have been installed you can go back to the main project, right click and then select properties.

From properties, select 'Java Build Path'. Then in the 'Libraries' tab, click 'Add Library'

Blackberry Eclipse tutorial for Mac
Add 'JRE System Library' and the 'Alternate JRE', select the one you want, in my case Blackberry JRE5.0.0

Once the new JRE has been added, remove the 7.1 one, and we're set to debug on the actual device.

Running on the device

At this stage make sure your Blackberry device is plugged in using the USB cable, and that the 'Blackberry Desktop Software ISN'T running'

Back to package explorer, right click on the project, and then Debug - > Blackberry Device

Blackberry Eclipse tutorial for Mac

Ignore any errors or warning that pop up. Also an info popup telling you that it want's to download 'Debug' files will appear, just agree to this and continue. (No need to create debug files from the Windows version as the official RIM documentation/website tells you.) Looks like they've improved the Mac version without updating the docs.

Blackberry Eclipse tutorial for Mac

A bit more compiling will occur, the Blackberry device will light up, and either the app will start automatically, or will have created an executable in the 'downloads' folder on the device. That's it, a fully functional Blackberry App (Wont actually appear to do much however) running on your device.

Sunday, 21 October 2012

Dungeon Master 2 Mac

Dungeon Master 2 Mac download
Dungeon Master II: The Legend of Skullkeep

Dungeon Master 2 is very similar to the first. This time you must Assemble a party of 4 heroes to prevent 'Dragoth's' minions from creating the 'Zo Gate', which will allow them to enter SkullKeep.

Sounds easy enough, however there are a lot of puzzles to solve and enemies to slay before you are able to achieve this.

A classic First person grid based dungeon crawler Created by Wayne Holder, Doug Bell, Michael Newton, Dennis Walker and Andy Jaros

Dungeon Master 2 Mac download

  • Producer: FTL Games
  • Publisher: Interplay Entertainment Corp.
  • Year: 1995




Dungeon Master 2 Mac Download


If you find any of these Mac ports useful, please feel free to throw a Coffee my way. If not then enjoy the game anyway. Kind Regards Paul

Friday, 12 October 2012

Roguelike BlackBerry

Blackberry Roguelike

I've taken a slight break from working on my current project, Dungeon Dude, a 3D Hack and slash RPG to convert an old J2ME roguelike I did a while back to BlackBerry.

It was called Rogues Lair which I posted here. At the time I was quite happy to release the source as I thought I couldn't monetize it at all, but forgot about BlackBerry App World.

The plan was to make some minor tweaks and add a new Menu Background as I used the original 'Rogue' splash as temporary artwork, should have been a couple days max. However I didn't plan on the Blackberry tool chain being a complete load of pants, or at least for Mac users. RIM certainly doesn't make it easy!

Anyway, I think I'm nearly there now, just the final push over the line.

Monday, 8 October 2012

Dungeon Hack Mac

Dungeon Hack Mac download

This is another classic DOS game I've created a MAC version for. No other files or programs required as everything is self contained to run as a single executable. Dungeon Hack Mac download

  • Publisher: SSI
  • Developer: DreamForge Intertainment
  • Release Date: 1993

Dungeon Hack, utilizes a pseudo-3D game screen based on Strategic Simulations Inc, (SSI) own Eye of the Beholder series. Levels are randomly created each time a new game is started. SSI claimed that billions of different games are possible. Players can also play identical dungeons by sharing a 'seed code' the game uses to create at run time.

Dungeon Hack uses the rules of AD&D 2nd Edition. Most notable about this game is the option to have "perma-death", unlike other such graphical AD&D games, i.e. Pool of Radiance. Restored saves are deleted upon character death, as with traditional roguelike games. Dungeon Hack Mac Download



Dungeon Hack Mac Download


If you find any of these Mac ports useful, please feel free to throw a Coffee my way. If not then enjoy the game anyway. Kind Regards Paul

Twitter Facebook Pinterest YouTube