Sunday, January 1, 2012

v0.903 released

This version ships to fix the windows launcher, and includes generally better and more repeatable packaging.
---------------------------------------
v0.903 (1 January 2012)
---------------------------------------
3467452: Broken maze.exe

Also, happy 2012!

I'm done and married now, still catching my breath after the event. Perhaps updates to this hobby project of mine will be a little more frequent. 2011 was a busy year for me and 2012 promises more of the same, but Maze is close to my heart and I'll try and carve space for it out of the chaos.

3 comments:

  1. Congratz on the life-changing event! :)

    When I start (had to replace all '\' with '/' first) on Arch Linux 32bit, I get this error:

    $ ./run.sh
    Exception in thread "main" java.lang.IllegalArgumentException: Invalid display mode
    at sun.awt.X11GraphicsDevice.setDisplayMode(X11GraphicsDevice.java:414)
    at mclachlan.maze.ui.diygui.DiyGuiUserInterface.(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at java.lang.Class.newInstance0(Class.java:372)
    at java.lang.Class.newInstance(Class.java:325)
    at mclachlan.maze.game.Maze.start(Unknown Source)
    at mclachlan.maze.game.Maze.(Unknown Source)
    at mclachlan.maze.game.Launcher.startGame(Unknown Source)
    at mclachlan.maze.game.Launcher.(Unknown Source)
    at mclachlan.maze.game.Launcher.main(Unknown Source)

    ReplyDelete
    Replies
    1. Thanks! :)

      I've logged this in the Bug Tracker at SourceForge (https://sourceforge.net/tracker/?func=detail&aid=3477638&group_id=505054&atid=2053889) and I'll try and get it fixed before the next release.

      Sorry about the path problems, my packaging on non-Windows still leaves a lot to be desired.

      I take it that you are running a Linux box with some graphics capabilities? Not a headless or terminal only mode. The game relies on Java 2D to render, which I think on Linux will usually use X windows.

      Unfortunately I can't offer you a workaround at the moment, I'm going to have to make some code changes.

      Delete
  2. It's possible you may be able to work around this by opening the maze.cfg file and editing the mclachlan.maze.screen.width and mclachlan.maze.screen.height properties. As you'll see in there, the game tries to run in 800x600 mode. Your graphics setup may not support this. Maze also requires at least 32-bit colour, but I doubt that's the problem in this day and age.

    ReplyDelete