When I start the Webstart it asks, if it can create a directory '/kumari' to write settings to.

1. I don't want it to write settings in a directory directly located at the root of my filesystem (on Windows this might be ok, though)2. It also hasn't got write acess there (only root can add directorys to / )

Why don't you create a directory in the home dir? That would be much cleaner.

BTW: The screenshots look very nice

Arne

Good feedback. I didn't put much work into the webstart version (as the note says, it's hacked ) - I'll have it check the users home and put it there instead. That's less hacky overall . I'll add a post when its uploaded.

Take care with backslashes. You used a backslash for locating it into the homedir. It does not seem to be translated into the correct file-seperator for Unix-like systems ( a slash) The Java VM does this for slashes though (it replaces slashes with backslashes on windows), so it would be better, if you used a slash instead.Another Note:The path is now (I already used the slash instead):<homedir>/Kumari/better even would be<homedir>/.Kumari/because .name files are interpreted as hidden and mostly contain settings and stuff (like in this case)

Another important thing would be (if we already have all those filesystem issues), that Linux has a case-sensitive file-system unlike Windows.

The Exception:java.lang.RuntimeException: java.io.IOException: Permission denied at com.vorax.utils.LocalFilesManager.copyFile(LocalFilesManager.java:77) at Kumari.main(Kumari.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1108) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1055) at com.sun.javaws.Launcher.continueLaunch(Launcher.java:898) at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:469) at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:217) at com.sun.javaws.Launcher.run(Launcher.java:164) at java.lang.Thread.run(Thread.java:595)Caused by: java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:850) at com.vorax.utils.LocalFilesManager.copyFile(LocalFilesManager.java:67) ... 12 more

But now I get another Error (I believe this has to do something with lwjgl):Console:Error log started - Kumari Kandum Version 0.3.5 (alpha) - December 3rd, 2005Console log started - Kumari Kandum Version 0.3.5 (alpha) - December 3rd, 2005Creating new Engine instance: com.vorax.VoraxEngine@16df84bKumari home directory is: /home/arne/kumari/Copying files to local machineCopied 113366 bytes to /home/arne/kumari/soundfx/explosion1.wavCopied 455226 bytes to /home/arne/kumari/soundfx/fire_loop1.wavCopied 157754 bytes to /home/arne/kumari/soundfx/levitate.wavCopied 275616 bytes to /home/arne/kumari/soundfx/magic_alert1.wavCopied 238524 bytes to /home/arne/kumari/soundfx/magic_alert_03.wavCopied 315552 bytes to /home/arne/kumari/soundfx/magic_alert_08.wavCopied 336032 bytes to /home/arne/kumari/soundfx/magic_alert_15.wavCopied 79514 bytes to /home/arne/kumari/soundfx/missle_launch.wavCopied 226848 bytes to /home/arne/kumari/soundfx/mod_explosion.wavCopied 107930 bytes to /home/arne/kumari/soundfx/mod_explosion2.wavCopied 22918 bytes to /home/arne/kumari/soundfx/small_explosion.wavCopied 81572 bytes to /home/arne/kumari/soundfx/small_gun.wavCopied 309918 bytes to /home/arne/kumari/soundfx/stone_roll.wavCopied 81060 bytes to /home/arne/kumari/soundfx/stone_smallimpact1.wavCopied 58020 bytes to /home/arne/kumari/soundfx/stone_smallimpact2.wavCopied 60068 bytes to /home/arne/kumari/soundfx/stone_smallimpact3.wavCopied 27802 bytes to /home/arne/kumari/soundfx/swish.wavCopied 317600 bytes to /home/arne/kumari/soundfx/targeting_powerup.wavCopied 428194 bytes to /home/arne/kumari/soundfx/woosh1.wavCopied 600226 bytes to /home/arne/kumari/soundfx/woosh2.wavCopied 208032 bytes to /home/arne/kumari/soundfx/woosh3.wavCopied 175008 bytes to /home/arne/kumari/soundfx/woosh4.wavCopied 77026 bytes to /home/arne/kumari/soundfx/woosh5.wavCopied 1775464 bytes to /home/arne/kumari/music/sg1.oggCopied 1003053 bytes to /home/arne/kumari/music/sg4.oggReading configuration dataError reading configuration. May not exist, using defaultsReading game dataGame data not found.Saving game data as game.datAttempting to set display: 1024x768 @72MhzCould not choose visualorg.lwjgl.LWJGLException: Could not choose visual at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method) at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:52) at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:206) at org.lwjgl.opengl.Display.create(Display.java:629) at org.lwjgl.opengl.Display.create(Display.java:607) at com.vorax.VoraxEngine.initialize(VoraxEngine.java:465) at com.vorax.VoraxEngine.engineLoop(VoraxEngine.java:1118) at Kumari.main(Kumari.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1108) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1055) at com.sun.javaws.Launcher.continueLaunch(Launcher.java:898) at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:469) at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:217) at com.sun.javaws.Launcher.run(Launcher.java:164) at java.lang.Thread.run(Thread.java:595)#### Java Web Start Error:#### null

Exception:java.lang.NullPointerException at org.lwjgl.opengl.GL11.glGetString(GL11.java:1556) at com.vorax.Renderer.init(Renderer.java:278) at com.vorax.VoraxEngine.initialize(VoraxEngine.java:476) at com.vorax.VoraxEngine.engineLoop(VoraxEngine.java:1118) at Kumari.main(Kumari.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1108) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1055) at com.sun.javaws.Launcher.continueLaunch(Launcher.java:898) at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:469) at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:217) at com.sun.javaws.Launcher.run(Launcher.java:164) at java.lang.Thread.run(Thread.java:595)

If TT works on arne's setup, but your game doesn't, it is probably caused by you requesting a pixel format that is not available. Are you forcing 24 bit colors, an alpha buffer or anything else "weird"?

Btw, running your game on a linux machine gave me a blank screen, an early exit and this in the logs:

If TT works on arne's setup, but your game doesn't, it is probably caused by you requesting a pixel format that is not available. Are you forcing 24 bit colors, an alpha buffer or anything else "weird"?

Pixel format is this:

1

PixelFormatpf = newPixelFormat(32, 8, 16, 1,0);

Quote

Btw, running your game on a linux machine gave me a blank screen, an early exit and this in the logs:

Error log started - Kumari Kandum Version 0.3.6 (alpha) - December 4th, 2005Error reading configuration. May not exist, using defaultsNo OpenGL errorsERROR: FMOD native library not found!!no NativeFmod in java.library.pathNativeFmod library not found : NativeFmod.dll, libNativeFmod.so, libNativeFmod.jnilib or NativeFmodCe.dllNativeFmod may not be well installed.Exit !!!

Exception:JNLPException[category: Download-Error : Exception: null : LaunchDesc: null ] at com.sun.javaws.security.SigningInfo.checkSigning(SigningInfo.java:138) at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(DownloadProtocol.java:456) at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:602) at com.sun.javaws.cache.DownloadProtocol.getResource(DownloadProtocol.java:755) at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:715) at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:638) at com.sun.javaws.Launcher.downloadResources(Launcher.java:969) at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:335) at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:217) at com.sun.javaws.Launcher.run(Launcher.java:164) at java.lang.Thread.run(Thread.java:595)

error.log:Error log started - Kumari Kandum Version 0.3.6 (alpha) - December 4th, 2005Error reading configuration. May not exist, using defaultsNo OpenGL errorsERROR: FMOD native library not found!!/home/arne/.java/deployment/cache/javaws/http/Dvorax.thebodclan.com/P80/DMwebstart/RNnfmod-natives-linux.jar/libNativeFmod.so: libfmod-3.74.so: cannot open shared object file: No such file or directoryNativeFmod library not found : NativeFmod.dll, libNativeFmod.so, libNativeFmod.jnilib or NativeFmodCe.dllNativeFmod may not be well installed.Exit !!!

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org