Resolved Terasology wont launch: windows version

OryHara

New Member
Greetings terasologists, I am Ory'Hara. I have just discovered this day while checking for good free MC clones and found this game, the quality of the graphics caught my attention :)

I'd like to try the game, but it will not launch for me, can you guys help me, pls and thanks :)
 

Immortius

Lead Software Architect
Contributor
Architecture
GUI
A few questions then:
1. Where did you download it from/what version
2. What happens when you try to launch it
3. Is anything recorded in the log file (logs/Terasology.log)
4. What version of Java do you have installed?

Cervator - There is something wrong with the download links off of Jenkins, the download generally aborts early for me leaving me with a partial download.
 

Cervator

Org Co-Founder & Project Lead
Contributor
Design
Logistics
SpecOps
I just downloaded the last artifact in some 10 seconds no problem. But I did see a weird slow period just recently where it would take multiple minutes, maybe there's something quirky going on again.

We should probably set the build to also separately upload to GitHub as a fallback download location :)

OryHara - welcome! Yeah, we could use a little more information. A general piece of advice is to also make sure you have your latest video card drivers.
 

OryHara

New Member
i downloaded it from the terasology blog where is says latest build :)
http://blog.movingblocks.net/blockmania/

it appears to open a window for a second then closes, here is the log

Jul 10, 2012 5:41:40 PM org.terasology.game.TerasologyEngine init
INFO: Initializing Terasology...
Jul 10, 2012 5:41:40 PM org.terasology.audio_OpenALManager initialize
INFO: Initializing OpenAL audio manager
Jul 10, 2012 5:41:41 PM org.terasology.audio_OpenALManager initialize
INFO: OpenAL 1.1 initialized!
Jul 10, 2012 5:41:41 PM org.terasology.audio_OpenALManager initialize
INFO: Using OpenAL: Software by Creative Labs Inc.
Jul 10, 2012 5:41:41 PM org.terasology.audio_OpenALManager initialize
INFO: Using device: Generic Software
Jul 10, 2012 5:41:41 PM org.terasology.audio_OpenALManager initialize
INFO: Available AL extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
Jul 10, 2012 5:41:41 PM org.terasology.audio_OpenALManager initialize
INFO: Available ALC extensions: ALC_ENUMERATION_EXT ALC_EXT_CAPTURE
Jul 10, 2012 5:41:41 PM org.terasology.game.Terasology main
SEVERE: Uncaught Exception
org.lwjgl.openal.OpenALException: Invalid Enum
at org.lwjgl.openal.Util.checkALCError(Util.java:55)
at org.lwjgl.openal.ALC10.alcGetInteger(ALC10.java:185)
at org.terasology.audio_OpenALManager.initialize(OpenALManager.java:50)
at org.terasology.game.TerasologyEngine.initOpenAL(TerasologyEngine.java:270)
at org.terasology.game.TerasologyEngine.init(TerasologyEngine.java:82)
at org.terasology.game.Terasology.main(Terasology.java:43)
Jul 10, 2012 5:42:17 PM org.terasology.game.TerasologyEngine init
INFO: Initializing Terasology...
Jul 10, 2012 5:42:17 PM org.terasology.audio_OpenALManager initialize
INFO: Initializing OpenAL audio manager
Jul 10, 2012 5:42:18 PM org.terasology.audio_OpenALManager initialize
INFO: OpenAL 1.1 initialized!
Jul 10, 2012 5:42:18 PM org.terasology.audio_OpenALManager initialize
INFO: Using OpenAL: Software by Creative Labs Inc.
Jul 10, 2012 5:42:18 PM org.terasology.audio_OpenALManager initialize
INFO: Using device: Generic Software
Jul 10, 2012 5:42:18 PM org.terasology.audio_OpenALManager initialize
INFO: Available AL extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
Jul 10, 2012 5:42:18 PM org.terasology.audio_OpenALManager initialize
INFO: Available ALC extensions: ALC_ENUMERATION_EXT ALC_EXT_CAPTURE
Jul 10, 2012 5:42:18 PM org.terasology.game.Terasology main
SEVERE: Uncaught Exception
org.lwjgl.openal.OpenALException: Invalid Enum
at org.lwjgl.openal.Util.checkALCError(Util.java:55)
at org.lwjgl.openal.ALC10.alcGetInteger(ALC10.java:185)
at org.terasology.audio_OpenALManager.initialize(OpenALManager.java:50)
at org.terasology.game.TerasologyEngine.initOpenAL(TerasologyEngine.java:270)
at org.terasology.game.TerasologyEngine.init(TerasologyEngine.java:82)
at org.terasology.game.Terasology.main(Terasology.java:43)
Jul 10, 2012 5:42:22 PM org.terasology.game.TerasologyEngine init
INFO: Initializing Terasology...
Jul 10, 2012 5:42:23 PM org.terasology.audio_OpenALManager initialize
INFO: Initializing OpenAL audio manager
Jul 10, 2012 5:42:23 PM org.terasology.audio_OpenALManager initialize
INFO: OpenAL 1.1 initialized!
Jul 10, 2012 5:42:23 PM org.terasology.audio_OpenALManager initialize
INFO: Using OpenAL: Software by Creative Labs Inc.
Jul 10, 2012 5:42:23 PM org.terasology.audio_OpenALManager initialize
INFO: Using device: Generic Software
Jul 10, 2012 5:42:23 PM org.terasology.audio_OpenALManager initialize
INFO: Available AL extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
Jul 10, 2012 5:42:23 PM org.terasology.audio_OpenALManager initialize
INFO: Available ALC extensions: ALC_ENUMERATION_EXT ALC_EXT_CAPTURE
Jul 10, 2012 5:42:23 PM org.terasology.game.Terasology main
SEVERE: Uncaught Exception
org.lwjgl.openal.OpenALException: Invalid Enum
at org.lwjgl.openal.Util.checkALCError(Util.java:55)
at org.lwjgl.openal.ALC10.alcGetInteger(ALC10.java:185)
at org.terasology.audio_OpenALManager.initialize(OpenALManager.java:50)
at org.terasology.game.TerasologyEngine.initOpenAL(TerasologyEngine.java:270)
at org.terasology.game.TerasologyEngine.init(TerasologyEngine.java:82)
at org.terasology.game.Terasology.main(Terasology.java:43

i have java V6 update 33, i have the latest drivers for my geforce gt430 :)
 

begla

Project Founder and Lead Developer
Contributor
Architecture
Logistics
Seems to be related to OpenAL (the API we use to access your audio device). Mind posting some more information on your system specs?
 

OryHara

New Member
intel core 2 duo e4400 @ 2 ghz
250 GB hdd
evga nvidia geforce gt 430
it uses the nvidia sound drivers
onboard soundmax mobo audio
windows xp pro SP3
 

Cervator

Org Co-Founder & Project Lead
Contributor
Design
Logistics
SpecOps
should i disable the nnvidia audio and try soundmax digital audio, QSO?
Definitely wouldn't hurt to try :)

And it isn't particularly likely to help, IMHO, but - try updating to the latest audio drivers if not current?
 

OryHara

New Member
no luck, i disabled the nvidia audio, and still the same problem. I have the latest drivers for my onboard soundmax digital audio. I guess i gotta buy a new soundcard and hope that will fix the problem :eek:
 

Cervator

Org Co-Founder & Project Lead
Contributor
Design
Logistics
SpecOps
Heh, in an interesting observation this thread is already hit #2 on Google for "org.lwjgl.openal.OpenALException: Invalid Enum"

The 1st hit also mentions a Soundmax card encountering issues with OpenAL. Replacing the OpenAL32.dll in system32 with an older version was a fix there - http://lwjgl.org/forum/index.php?topic=2707.5;wap2 (and going back to page 1)

OryHara - are you sure the nvidia audio was the active choice for your first test? If your system somehow picked the Soundmax card the first time then disabling nvidia the second time wouldn't do anything, and could possibly match that user's situation. Try with Soundmax disabled and nvidia enabled?

If you're up for it there are some other potential workarounds / tests in that thread and the other Google hits that might yield a solution. Although I'm not sure if Terasology would pay attention to a DLL in system32 - Immortius - do you think there's an easy way for a user to test differing versions of OpenAL with the current native loading setup? Last time around we switched from caring about System32 to forcing the use of bundled DLLs, so not sure if that makes testing harder.
 

OryHara

New Member
I'll check that thread out, and hopefully it will work with my pc :)
it uses this driver for my soundmax:
Title : Audio:Analog Devices ADI 198x Integrated HD Audio Driver
Version : A02
OEM Name : Analog Devices
OEM Ver : 5.10.x.7265
Computers : OptiPlex - 745
Oses : Windows 2000 Professional, Windows XP Home Edition, Windows XP ProfessionalWindows XP x64 Professional Client
Languages : Brazilian Portuguese, Chinese-S, Chinese-T, English, French, German, Japanese, Korean, Spanish
Created : Tue Oct 13 22:31:23 CDT 2009

yea, disabling the nvidia audio was my first try, then i re enabled nvidia and disabled soundmax, and had no audio at all, and both times the game wouldnt start. pc was rebooted for both tests :)

I'll check out the links you gave me and try the fixes in them, thanks :)

*update* the openal32 dll link is dead, so i won't be able to swap any dll's for the tes :(
 

Cervator

Org Co-Founder & Project Lead
Contributor
Design
Logistics
SpecOps
Interesting that you had no audio at all with nvidia solo. Might indeed be a hardware issue.

Alternatively we do need to provide an option to start the game without any audio period. We had (have) another confirmed OpenAL issue in the tracker as #235

There's also #221 to outright do the no audio toggle, with another mention of a 64 bit issue on Ubuntu, same as #235
 

OryHara

New Member
so, even tho its mainly designed as a video card, but it has the sound hardware and the nvidia HD audio drivers, it should be able to play audio without soundmax digital audio?
 

OryHara

New Member
ah, my Open al drivers were outdated, i gave them the latest update, and now terasology runs fine :D

my sound drivers are up to date, but Openal wasnt.
 

Cervator

Org Co-Founder & Project Lead
Contributor
Design
Logistics
SpecOps
Woohoo! Great to hear you got it fixed :thumbsup:

Might I ask exactly what you did / downloaded? I guess we don't force the use of a bundled OpenAL (entirely?) if you were able to update it and have that matter then :)

Also, weird on a combo video/sound card, haven't really heard about that before.
 
Top