Apoc Lite

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

Thanks for that borka. :)

Edited op with installation guide and FAQs.

Will follow up with scripting guide and a minor bugfix update in the coming days.
User avatar
Ninijutsu
Posts: 2228
Joined: Sat May 22, 2010 4:22 am

Re: Apoc Lite

Post by Ninijutsu »

I'm running Windows 7 x64 Home Premium, my graphics card is an Nvidia GeForce GTX 760

I don't know how to be more descriptive.

This is exactly what the console spits out:

Code: Select all

C:\Haven>java -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
Warning: Caught Exception while retrieving executable temp base directory:
java.lang.RuntimeException: Could not determine a temporary executable directory

        at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1391)
        at com.jogamp.common.util.cache.TempFileCache.<clinit>(TempFileCache.jav
a:80)
        at com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.
java:89)
        at com.jogamp.common.os.Platform$1.run(Platform.java:201)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:179)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:120)
        at javax.media.opengl.GLCapabilities.<init>(GLCapabilities.java:84)
        at haven.HavenPanel.<clinit>(HavenPanel.java:74)
        at haven.MainFrame.<init>(MainFrame.java:168)
        at haven.MainFrame.main2(MainFrame.java:309)
        at haven.MainFrame.access$100(MainFrame.java:56)
        at haven.MainFrame$6.run(MainFrame.java:364)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: Can't lo
ad library: C:\Haven\nativewindow_awt.dll
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoad
erBase.java:596)
        at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.ja
va:64)
        at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNIL
ibLoaderBase.java:96)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.j
ava:459)
        at jogamp.nativewindow.NWJNILibLoader.access$000(NWJNILibLoader.java:39)

        at jogamp.nativewindow.NWJNILibLoader$1.run(NWJNILibLoader.java:49)
        at jogamp.nativewindow.NWJNILibLoader$1.run(NWJNILibLoader.java:41)
        at java.security.AccessController.doPrivileged(Native Method)
        at jogamp.nativewindow.NWJNILibLoader.loadNativeWindow(NWJNILibLoader.ja
va:41)
        at jogamp.nativewindow.jawt.JAWTUtil.<clinit>(JAWTUtil.java:327)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at javax.media.nativewindow.NativeWindowFactory$3.run(NativeWindowFactor
y.java:338)
        at javax.media.nativewindow.NativeWindowFactory$3.run(NativeWindowFactor
y.java:334)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.nativewindow.NativeWindowFactory.initSingleton(NativeWind
owFactory.java:334)
        at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.
java:1690)
        at javax.media.opengl.GLProfile.access$000(GLProfile.java:77)
        at javax.media.opengl.GLProfile$1.run(GLProfile.java:201)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:187)
        at javax.media.opengl.GLProfile.getDefaultDevice(GLProfile.java:1977)
        at javax.media.opengl.GLCapabilities.<init>(GLCapabilities.java:84)
        at haven.HavenPanel.<clinit>(HavenPanel.java:74)
        at haven.MainFrame.<init>(MainFrame.java:168)
        at haven.MainFrame.main2(MainFrame.java:309)
        at haven.MainFrame.access$100(MainFrame.java:56)
        at haven.MainFrame$6.run(MainFrame.java:364)
        at java.lang.Thread.run(Unknown Source)

C:\Haven>pause
Press any key to continue . . .
Of another era.
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

This is what confuses me "C:\Haven\nativewindow_awt.dll".

The openGL files are located in the lib folder. Your client somehow is trying to find them in the main directory. Why its doing it is confusing.

According to your specs it all looks to be working fine. It's just the odd way your client is trying to get the openGL files from the wrong folder. Can you try to do a clean download, extract and run without editing anything.
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Apoc Lite

Post by borka »

Could not determine a temporary executable directory

Temp/tmp variable not set in Windows environment?
Image
right click - open in new tab to enlarge


While i'm not really sure where Java on Windows is "caching" while extracting jar at runtime (or if it's all in RAM)
User avatar
Ninijutsu
Posts: 2228
Joined: Sat May 22, 2010 4:22 am

Re: Apoc Lite

Post by Ninijutsu »

@xcom I tried a fresh download but it seems to be giving me the same thing.

Code: Select all

C:\Users\Ni^2\Desktop\New folder>java -Xms256m -Xmx512m -jar haven.jar moltke.se
atribe.se -r ./res
Warning: Caught Exception while retrieving executable temp base directory:
java.lang.RuntimeException: Could not determine a temporary executable directory

        at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1391)
        at com.jogamp.common.util.cache.TempFileCache.<clinit>(TempFileCache.jav
a:80)
        at com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.
java:89)
        at com.jogamp.common.os.Platform$1.run(Platform.java:201)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:179)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:120)
        at javax.media.opengl.GLCapabilities.<init>(GLCapabilities.java:84)
        at haven.HavenPanel.<clinit>(HavenPanel.java:74)
        at haven.MainFrame.<init>(MainFrame.java:168)
        at haven.MainFrame.main2(MainFrame.java:309)
        at haven.MainFrame.access$100(MainFrame.java:56)
        at haven.MainFrame$6.run(MainFrame.java:364)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: Can't lo
ad library: C:\Users\Ni^2\Desktop\New folder\gluegen-rt.dll
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoad
erBase.java:596)
        at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.ja
va:64)
        at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNIL
ibLoaderBase.java:96)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.j
ava:459)
        at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrar
y(DynamicLibraryBundle.java:388)
        at com.jogamp.common.os.Platform$1.run(Platform.java:209)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:179)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:120)
        at javax.media.opengl.GLCapabilities.<init>(GLCapabilities.java:84)
        at haven.HavenPanel.<clinit>(HavenPanel.java:74)
        at haven.MainFrame.<init>(MainFrame.java:168)
        at haven.MainFrame.main2(MainFrame.java:309)
        at haven.MainFrame.access$100(MainFrame.java:56)
        at haven.MainFrame$6.run(MainFrame.java:364)
        at java.lang.Thread.run(Unknown Source)

C:\Users\Ni^2\Desktop\New folder>pause
Press any key to continue . . .
I also tried copying the files it's asking for into the root directory but it didn't do anything.

@borka
Image
Of another era.
User avatar
shubla
Posts: 13041
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Apoc Lite

Post by shubla »

Automated landsc aping doesnt work. It lets you select area but it doesnt lay stone in it.
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Apoc Lite

Post by borka »

@Nini
have you tried with copying all the jogl and gluegen-rt files over from fresh Ender into Apoc and running it?
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

Also try to place all the files inside the lib folder in the main directory next to the run.bat. That might fix the problem as for some random reason your client attempts to look for the jogl files in the main directory of the client.
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Apoc Lite

Post by borka »

Xcom wrote:That might fix the problem as for some random reason your client attempts to look for the jogl files in the main directory of the client.
from my understanding the runtime (the client) executes the extraction of /lib jars - thus we get the error message of not finding gluegen-rt.dll and where the runtime looks for it
- so at last the runtime knows where to look for the jars (?)

btw. no troubles on my side running your latest version of client for a short test
Windows 7 x64 Home Professional, graphics card is an Nvidia GeForce GTX 560TI, 8Gigs, AMD 6core FX
User avatar
Ninijutsu
Posts: 2228
Joined: Sat May 22, 2010 4:22 am

Re: Apoc Lite

Post by Ninijutsu »

Xcom wrote:Also try to place all the files inside the lib folder in the main directory next to the run.bat. That might fix the problem as for some random reason your client attempts to look for the jogl files in the main directory of the client.
borka wrote:@Nini
have you tried with copying all the jogl and gluegen-rt files over from fresh Ender into Apoc and running it?
Neither of these fixed the problem. It gives the exact same error.
Of another era.

Return to “The Wizards' Tower”