Alien Flux Alpha Test 5

Works fine on an AMD 1.4GHz (256MB RAM, 64MB GeForce 3, WinXP Pro)

One bug: after dying and respawning on level one*, this…err…red creature appeared. The sound it made shooting looped non-stop - even on the menu screen and after several restarts.

Other than that, it’s great!

*Yes, level one. No comment.

Worked great! Very nice game–I’ll be looking at these threads to learn more about the technology behind it.

Cool

Zac

Athlon 1.6 GHZ
NVidia GEForce 2 MX

Andrew - I forgot to put the OpenAL32.dll in the .jar zip! Whoops. The dll itself is at http://www.shavenpuppy.com/downloads/openal32.zip

Everyone else - please try the .JAR version (and grab the OpenAL dll while you’re at it - it goes in the same dir as A.F.) and get posting those exceptions! I’m desperate to find out where that NPE is coming from.

Cas :slight_smile: (New Sig - wooo!!!)

I too get the

Found OpenAL at '.\OpenAL32.dll'
org.lwjgl.openal.OpenALException
        at org.lwjgl.openal.ALC.getInteger
v(Native Method)
        at com.shavenpuppy.jglib.openal.AL.init(AL.java:149)
        at org.lwjgl.openal.BaseAL.create(BaseAL.java:106)
        at com.shavenpuppy.jglib.openal.AL.<init>(AL.java:122)
        at xap.Game.init(Game.java:411)
        at xap.Game.main(Game.java:230)

with the jar-version (and the NPE ofcourse with the exe)

/M

I think you mean http://www.shavenpuppy.com/downloads/openal32.dll

Still no joy. Looks the same as cmfdobbie’s problem.

...
Window registered
Created window
Pixel format is 4
Found 9 OpenAL paths
Testing 'C:\WINDOWS\OpenAL32.dll'
Testing '.\OpenAL32.dll'
Found OpenAL at '.\OpenAL32.dll'
org.lwjgl.openal.OpenALException
        at org.lwjgl.openal.ALC.getIntegerv(Native Method)
        at com.shavenpuppy.jglib.openal.AL.init(AL.java:149)
        at org.lwjgl.openal.BaseAL.create(BaseAL.java:106)
        at com.shavenpuppy.jglib.openal.AL.<init>(AL.java:122)
        at xap.Game.init(Game.java:411)
        at xap.Game.main(Game.java:230)
Delete GL context
Destroying directinput
Releasing DC
Destroy window
Destroyed window

However, the openal test programs work. Although it took me ages. I kept getting NoClassDefFound, and eventually had to comment out the package statements to run the damn things. Grr. I think it has a grudge against me.

Hi there, I can’t start this game since Test 3

when I run, screen is more brightly but get back soon, and doent’t play without any message.

but I found something in my computer.

Actually, I have started making a game which uses LWJGL 0.5.

So, I can’t make it run on my computer by following codes. - this is sample code in NEHE ( It works window mode but Not in FullScreen)


    DisplayMode[] modes = Display.getAvailableDisplayModes();
    for (int i = 0; i < modes.length; i++) {
      if (modes[i].width == 800 &&
          modes[i].height == 600 &&
          modes[i].bpp == 16) {
        displayMode = modes[i];
        break;
      }
    }

But I changed it to


    DisplayMode[] modes = Display.getAvailableDisplayModes();
    for (int i = 0; i < modes.length; i++) {
      if (modes[i].width == 800 &&
          modes[i].height == 600 &&
          modes[i].bpp == 16 && 
          modes[i].depth == 16 &&
          modes[i].stencil == 0 &&
          modes[i].alpha == 0) {
        displayMode = modes[i];
        break;
      }
    }

Finnally, I make it.

My spec is

AMD Duron 700, GeForce2MX400, 256MB.

If you can, please make it window-mode for me.

GAK! What happen to the mouse movement? I have to move the mouse about 4 feet to get across the screen now. This makes dealing with the menu very icky.

-> Options -> Mouse sensitivity :wink:

tellamon, I’m afraid you’ll need to change your DisplayMode picking code. The modes returned by getAvailableDisplayModes() aren’t guaranteed to work, so try something like this:

{
      DisplayMode[] modes = Display.getAvailableDisplayModes() ;
      DisplayMode[] useful = new DisplayMode[modes.length] ;
      int nUsefulModes = 0 ;

      for(int i = 0 ; i < modes.length ; i++)
            if(modes[i].width == 800 && modes[i].height == 600 && modes[i].bpp == 16)
                  useful[nUsefulModes++] = modes[i] ;

      for(int i = 0 ; i < nUsefulModes ; i++)
      {
            try
            {
                  Display.create(useful[i], true, "Window Name") ;
                  break ;
            }
            catch(Exception e) {}
      }

      if(Display.isCreated() == false)
            throw new RuntimeException() ;
}

The screen will blink a few times as it tries various displays, then either succeed and continue or fail and throw an exception.

Ooops, I didn’t know them. Thank you!

Cas, any idea what’s going wrong on my machine? ??? More info for you:

EXE version:
Prints out “OpenAL 0.0” on the console.
Doesn’t produce any exceptions.
Last message on console is “Resetting feature: jelly_incursion”.
Reaches menu system, crashes on pressing New Game.
Sound plays when I enter the Options menu, and when I alter the volume slider!

JAR version:
Doesn’t print out an “OpenAL *” line.
Produces an OpenAL exception (details above).
No stdout messages between “Found OpenAL at ‘.\OpenAL32.dll’” and “Delete GL context”.
Doesn’t reach the menu system.

Sound system is a Yamaha DS-XG (built in). It passes all DirectSound and DirectMusic tests.

Finally, this version works on my Radeon9700pro/Win XP/Cat3.2 setup. It seems to ignore the 32bit-switch though (judging from the ugly banding i get here and there). But other than that, it works fine. It’s not my kind of game though.

Egon - :stuck_out_tongue: :stuck_out_tongue: :stuck_out_tongue:

Right then fearless testers, for those of you with the jar version and the OpenAL dll I have created a patch which is a delightfully small 1MB or so.

Unzip the patch, which has a new LWJGL dll in it too.

Run it like this:


java -Xincgc -cp patch.jar;AlienFlux.jar xap.Game

I think I’ve finally fixed it ::slight_smile: Let me know how it goes. Egon - see if this new version takes any notice of 32 bit setting now.

Cas :slight_smile:

Worse than before. :frowning: Tells me I need a sound card, and leaves my screen looking rather brighter.

OpenAL 0.0
java.lang.Exception: Illegal OpenAL version number.
        at com.shavenpuppy.jglib.openal.AL.init(AL.java:151)
        at org.lwjgl.openal.BaseAL.create(BaseAL.java:103)
        at xap.Game.init(Game.java:362)
        at xap.Game.main(Game.java:230)

Try this new openal32.dll which you should have had all along except Brian gave me a duffer: (the git!)

http://www.shavenpuppy.com/downloads/OpenAL32.dll

This is different to the one that was up there before.

Cas :slight_smile:

The zip-file is corrupt yada yada (downloaded it some seven times, tried with WinZip, WinRar) But it seems to work for Andrew?!? Can it be my aNTi-vIRUs? Usually not the case… :frowning:

/M

I think I’ve got the right files, but I get this exception.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x1
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


Current Java thread:
      at org.lwjgl.opengl.CoreGL.activeTexture(Native Method)
      at xap.background.TextureSortState.preRender(TextureSortState.java:36)
      at com.shavenpuppy.jglib.renderer.Renderer$StateList.render(Renderer.java:135)
      at com.shavenpuppy.jglib.renderer.Renderer.draw(Renderer.java:373)
      at com.shavenpuppy.jglib.renderer.Renderer.render(Renderer.java:256)
      at xap.features.BackgroundFeature.render(BackgroundFeature.java:484)
      at xap.BattleZone.render(BattleZone.java:78)
      at xap.GamePanel.renderBackground(GamePanel.java:419)
      at xap.gui.Component.render(Component.java:1277)
      at xap.gui.Component.renderChildren(Component.java:1337)
      at xap.gui.Component.render(Component.java:1285)
      at xap.gui.Interface.render(Interface.java:556)
      at xap.Game.main(Game.java:265)

Dynamic libraries:
0x7CC00000 - 0x7CC1D000       C:\WINDOWS\SYSTEM\IMAGEHLP.DLL

Local Time = Tue Apr 01 13:13:34 2003
Elapsed Time = 37
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
#