Month: September 2008

Multiwinia

Posted on

Multiwinia Multiwinia is finally out.

Advertisements

Gluglu on PDA

Posted on Updated on

Gluglu 1.4 running on an i-mate PDA-N with CrE-ME JVMWith CrE-ME installed on my PDA, I’ve managed to play my cellphone game, Gluglu. I’ve tried also my unfinished games: Pusztulat and Bee.
What a pity, that CrE-ME’s evaluation time expires within 30 days. I try to find the best JVM + compiler combo, to develop Java ME games on my PDA.
I’ve already found an IDE named IpaqIDE (can compile, but Run button not working), and an another named FLM Javac wrapper (Run button give strange errors).

There are some possibilities to compile and run your project.

Using CKE as IDE

I’m using and recommend CKE for write the source code, and I made some .bat file to compile and run easily.

Steps I followed to make this available:

  1. Installed all the necessary files, to use the cmd.exe properly
  2. Installed CrE-ME (with Java ME support)
  3. Using this directives I installed to my desktop PC the JDK 1.3.1_15 and copied the following files to my SD card (\Storage Card\jar\): c:\jdk1.3.1_15\jre\lib\rt.jar and c:\jdk1.3.1_15\lib\tools.jar
  4. installed CKE
  5. made some batch file (see below)
  6. configured CKE to use this batchfile

Note: Steps 1-3 is necessary if you want to work with IpaqIDE.jar, and only steps 1-2 neccesary if you want to work with FLM Javac Wrapper (javacw.jar) but in javacw.jar source editor not included.

Batch files I created:

JavaCompile.bat

“\Windows\CreME\bin\creme.exe” -Ob -classpath ‘\storage card\jar\tools.jar;\storage card\jar\rt.jar;%2’ sun.tools.javac.Main %1

JavaStart.bat

“\Windows\CreME\bin\creme.exe” -classpath %2 %1

I added two new command to CKE:

Java Compile

Program: \Windows\CMD.exe

Arguments: /c “\JavaCompile.bat” “$fullname” \$filepath

[X] Save actual document

Java Start

Program: \Windows\CMD.exe

Arguments: /c “\JavaStart.bat” $filename ‘\$filepath’

[ ] Save actual document

Or you can use one of the two IDE if you want

IPAQIDE.JAR

To start ipaqide.jar you should create a batch file:

“\Windows\CrEme\bin\CrEME.exe” -Ob -classpath ‘\ipaqide.jar;\storage card\jar\tools.jar;\storage card\jar\rt.jar’ ipaqide.Javacw2

Please keep in mind, that the RUN button do nothing. You should read the manual on the homepage.

It’s a complete IDE, you can add files, edit and compile them. The Run command do nothing. You cannot save your project and the source editor doesn’t support syntax highlighting. It is using the rt.jar and tools.jar you copied from desktop PC.

FLM Javac Wrapper

Easy to start, as you can double click on the javacw.jar and the IDE start. It isn’t a full ide as source editor not included. You can add files to the project, save/load project, compile and run. Unfortunately the RUN command isn’t working for me. javacw.jar contains all the necessary files to compile a .java file, so no need to copy manually the rt.jar and tools.jar from your desktop PC, also you can download the wrapper.jar without this files if you want.

CrE-ME

CrE-ME’s installer copies manual documents to your PDA in .html format (\Windows\CrEme\Documentation).

If you want to run a .jar file, then just double click on it. If the manifest file is containing the main class then Creme start it automatically, otherwise you should write a batch file like this:

“\Windows\CrEme\bin\CrEME.exe” -Ob -classpath ‘\ipaqide.jar’ ipaqide.Javacw2

where -Ob means output directed to the Creme console. You can use -Of to create \jscpout.txt,

and ipaqide.javac is the main class

To start a Java ME program you should create a batch file like this:

“\Windows\CrEme\bin\CrEME.exe” -Of -mv -classpath ‘\my documents\Gluglu1_4.jar’ Gluglu

where -mv mean it is a Java ME program (default is Java SE applet).

But these batch files aren’t working for me. I have to copy paste this command to my console. I don’t know why, if you know a workaround please let me know. Maybe the ‘my documents’ is unreachable?

Compiling Java ME

To compile Java ME source, install to your desktop PC the Sun Wireless Toolkit 2.5.2 (this is the oldest what you can download from Sun homepage without registration required). Copy the following files to SD card (\Storage Card\jar\): C:\WTK2.5.2\lib\ cldcapi*.jar and C:\WTK2.5.2\lib\ midpapo*.jar.

I’ve created Batch scripts for compile and start:

MIDPCompile.bat

“\Windows\CreME\bin\creme.exe” -Ob -classpath ‘\storage card\jar\tools.jar;\storage card\jar\rt.jar;\Storage Card\JAR\midpapi10.jar;\Storage Card\JAR\cldcapi10.jar;%2’ sun.tools.javac.Main %1

MIDPStart.bat

“\Windows\CreME\bin\creme.exe” -mv -classpath %2 %1

(%1 is $filename and %2 is \$filepath in CKE)

I’ve used this HelloMIDlet source to test the compiler:

import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;

public class HelloMIDlet
extends MIDlet
implements CommandListener {
private Form mMainForm;

public HelloMIDlet() {
mMainForm = new Form(“HelloMIDlet”);
mMainForm.append(new StringItem(null, “Hello, MIDP!”));
mMainForm.addCommand(new Command(“Exit”, Command.EXIT, 0));
mMainForm.setCommandListener(this);
}

public void startApp() {
Display.getDisplay(this).setCurrent(mMainForm);
}

public void pauseApp() {}

public void destroyApp(boolean unconditional) {}

public void commandAction(Command c, Displayable s) {
notifyDestroyed();
}
}

City Simulator

Posted on Updated on

City SimulatorI’ve found this City Simulator program written by Soós Balázs, and I said: “OMIGOD! Traffic!”. Actually it is not a game, but a homework made for the Budapest University of Technology and Economics. I think, if somebody sometime want to make a PC remake from the Commodore 64/Amstrad CPC/… Traffic, it should be look like this!

Destructivator

Posted on

Destructivator is a retro styled platform shooter – 20 levels of fast and furious arcade action. Blast your way to Zallagor’s lair to rid the world of this evil monster!”

First look to the screenshots, and you say Lode Runner, but it isn’t. Just play the video and you’ll see. You control the very agile green man (the Destructivator) armed with a macine gun (as rapid as minigun).

Iji

Posted on

IjiRengeteg post van már angolul az Iji nevű játékról, gondoltam álljon itt egy magyar nyelvű is.

Elsőre egy átlagos, a Flashback kinézetére hajazó platform játéknak tűnik, és nincs is messze a valóságtól. A játék közben azonban állandóan a System Shock II jut eszembe: nanobot-ok vannak Iji szervezetében és ha szintet lép (elég új nanobotot gyűjt be), akkor a falon lévő kis monitoroknál oszthatja el a pontjait a képességek tápolására.

Ez a játék tele van extrákkal és titkos helyekkel. Érdemes a pályákon alaposan körülnézni, mert felfedezett sidestory-k is befolyásolják a későbbiekben a történéseket, más dialógusokat kapunk, és magát a befejezést is befolyásolja, hogy mennyire aggresszívan játszunk. Bevallom én eddig nem sok titkosat találtam, pedig a 10 pályából már 8-at kivégeztem, de mindeddig csak egy posztert találtam meg (mindegyik pályán egy van elrejtve). De nem csak a pályákon a honlapon is van elrejtett tartalom.

Nekem elnyerte a tetszésemet. Máris beleöltem körülbelül 3 óra játékidőt és már most látom, hogy az unlockolható extra játékmódokkal vár még rám egypár újrajátszás.

Trailer