logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
  Welcome, Guest. Please Login or Register
 
  HomeHelpSearchLoginRegister  
 
 
ALAudio for DeusEx - development and links (Read 1735 times)
Smirftsch
YaBB Administrator
******
Offline



Posts: 6412
at home
Gender: male
ALAudio for DeusEx - development and links
05/09/14 at 06:51:55
 
www.oldunreal.com/betatest/OpenAL_v0.02_DeusEx.7z

Version 0.02 from latest 227j development for DeusEx, Windows version.

Changes:
Switched in OpenAL from FMod Music output to libxmp.
This player is not only free and open source (GNU LESSER GENERAL PUBLIC LICENSE), but better portable and is yet actively maintained unlike most other players. It also plays some tracker files "more correctly" than old FMod3. OGG playing is now done directly via ogg vorbis (BSD-License).

Added CrossFading ability in OpenAL when using MTRAN_Segue
Added ability to play sounds in OGG format (you need to rename the .ogg files to .wav to allow the import)

Changed from Creative Labs OpenAL to OpenALSoft to eliminate problems with non Creative cards in Windows 7 and Windows8


Don't forget to update your ini:
[ALAudio.ALAudioSubsystem]
ALDevices=OpenALSoft
DopplerFactor=0.010000
UseOriginalUnreal=True
SoundVolume=200
UseReverb=True
EmulateOldReverb=True
OldReverbIntensity=1.000000
AmbientFactor=0.700000
MusicVolume=130
MusicPanSeparation=70
Channels=64
OutputRate=44100Hz
UseDigitalMusic=True
bSoundAttenuate=False
ProbeDevicesOnly=False

Known issues:
Code (C++):
void StopSoundId( INT Id );
void SetInstantSoundVolume( BYTE newSoundVolume );	// DEUS_EX CNN - instantly sets the sound volume
void SetInstantSpeechVolume( BYTE newSpeechVolume );	// DEUS_EX CNN - instantly sets the speech volume
void SetInstantMusicVolume( BYTE newMusicVolume );	// DEUS_EX CNN - instantly sets the music volume
 


missing still, so no support for speech yet.

Early development stage, needs feedback on performance and behavior as well as possible bugs.
Report bugs or possible issues here.
Back to top
« Last Edit: 01/12/15 at 08:41:21 by Smirftsch »  

Sometimes you have to lose a fight to win the war.
WWW WWW Smirftsch 52832995  
IP Logged
 
bjorn98009_91
YaBB Newbies
*
Offline


Oldunreal member

Posts: 2
Stockholm, Sweden
Gender: male
Re: OpenAL for DeusEx - development and links
Reply #1 - 05/11/14 at 10:56:31
 
In case it helps, Deus Ex stores speech as MP3, 44100hz/48kbps/16-bit mono.
Back to top
 
 
IP Logged
 
Smirftsch
YaBB Administrator
******
Offline



Posts: 6412
at home
Gender: male
Re: OpenAL for DeusEx - development and links
Reply #2 - 05/11/14 at 16:42:02
 
thanks, found this out already. Problem currently is, that I didn't implement MP3 into OpenAL so far because other UE1 games don't need it and MP3 is not patent free. Looking for a suitable solution yet.

See here for details:
http://www.oldunreal.com/cgi-bin/yabb2/YaBB.pl?num=1120621121
Back to top
 

Sometimes you have to lose a fight to win the war.
WWW WWW Smirftsch 52832995  
IP Logged
 
Dr.Flay™
Full Member
***
Offline


C=AMIGA

Posts: 207
Kernow, UK
Gender: male
Re: OpenAL for DeusEx - development and links
Reply #3 - 05/29/14 at 06:12:31
 
Back to top
 
WWW WWW Dr.Flay™ Dr.Flay™ dr.flay dr_flay dr.flay 75837936 doktor_flay DrFlay  
IP Logged
 
han
YaBB Newbies
Developer Team
*
Offline


Oldunreal member

Posts: 28
Germany
Gender: male
Re: OpenAL for DeusEx - development and links
Reply #4 - 12/17/14 at 07:14:03
 
Always crashes for me with UseDigitalMusic=True.

Quote:
Log: Bound to ALAudio.dll
Log: OpenAL: ALDEVICES found 1:OpenALSoft
Log: Loading: Package ALAudio
Log: OpenAL: ALDevice 1, OutputRate Enum 5
DevAudio: OpenAL: rate 44100
Init: OpenAL: Selected ALDevice is: 1
DevAudio: OpenAL: Trying to use ALDevice: OpenAL Soft
Log: OpenAL: We are using OpenAL device: OpenAL Soft
Log: OpenAL: EFX Extensions found
Log: OpenAL: Check for EFX Version - OK

Init: OpenAL: EFX initialized.
Init: OpenAL: Audio subsystem initialized.
Init: Game engine initialized
Log: Startup time: 1.641920 seconds
DevMusic: OpenAL: Transiting to Title_Music with MTRAN 3
DevMusic: RegisterMusic Title_Music
Critical: UALAudioSubsystem::Update
Critical: UGameEngine:Cheesyraw
Back to top
 
 
IP Logged
 
Smirftsch
YaBB Administrator
******
Offline



Posts: 6412
at home
Gender: male
Re: OpenAL for DeusEx - development and links
Reply #5 - 12/17/14 at 17:50:43
 
Back to top
 

Sometimes you have to lose a fight to win the war.
WWW WWW Smirftsch 52832995  
IP Logged
 
Smirftsch
YaBB Administrator
******
Offline



Posts: 6412
at home
Gender: male
Re: OpenAL for DeusEx - development and links
Reply #6 - 12/29/14 at 18:14:46
 
http://www.oldunreal.com/betatest/OpenAL_v0.04_DeusEx.7z

added mp3 support by using mpg123 (LGPL 2.1) and ALURE (X11/MIT licensed), fixed some issues with crackling in IT tracks, some improvements, details are in the OpenAL for UT and OpenAL for Unreal topic.
Still missing the special DeusEx functions, probably coming soon. Happy testing.
Back to top
« Last Edit: 12/29/14 at 18:51:05 by Smirftsch »  

Sometimes you have to lose a fight to win the war.
WWW WWW Smirftsch 52832995  
IP Logged
 
Smirftsch
YaBB Administrator
******
Offline



Posts: 6412
at home
Gender: male
Re: OpenAL for DeusEx - development and links
Reply #7 - 01/05/15 at 10:06:56
 
http://www.oldunreal.com/betatest/OpenAL_v0.05_DeusEx.7z

added the missing interface for

StopSoundId( INT Id );
void SetInstantSoundVolume( BYTE newSoundVolume );
void SetInstantSpeechVolume( BYTE newSpeechVolume );
void SetInstantMusicVolume( BYTE newMusicVolume );

so these functions should be working now, including the menu sliders.
Back to top
 

Sometimes you have to lose a fight to win the war.
WWW WWW Smirftsch 52832995  
IP Logged
 
Radi
Full Member
***
Offline


UEd goblin

Posts: 171
DeGie - PL
Gender: male
Re: ALAudio for DeusEx - development and links
Reply #8 - 01/23/15 at 00:01:49
 
Hi, I downloaded from that link above, copied files to System folder, added [ALAudio.ALAudioSubsystem] section (from txt file) and changed AudioDevice in [Engine.Engine] too.


When I run a game then game crash with:

CRITICAL ERROR
Failed to find object 'Class ALAudio.ALAudioSubsystem'
(in short)

Deus Ex game log:
http://pastebin.com/Keve00J0

Im missing something ? hardware, software?
Back to top
 
 
IP Logged
 
han
YaBB Newbies
Developer Team
*
Offline


Oldunreal member

Posts: 28
Germany
Gender: male
Re: ALAudio for DeusEx - development and links
Reply #9 - 01/23/15 at 06:03:18
 
Can you post a screenshot of the crashing dialogue?
A nopasted output of CPU-Z would be helpful too.
But more important, which DeusEx version do you use? Steam, non Steam, latest patch applied, 3rd party stuff?
You could also try using microsofts DEPENDS.EXE and check if ALAudio.dll requires dll files which are not present on your system.
Back to top
« Last Edit: 01/23/15 at 06:07:29 by han »  
 
IP Logged
 
Smirftsch
YaBB Administrator
******
Offline



Posts: 6412
at home
Gender: male
Re: ALAudio for DeusEx - development and links
Reply #10 - 01/23/15 at 07:31:25
 
this message indicates that it doesn't find any of its dependencies, such as alure, openal32 (both included) or the visual studio 2010 runtime (http://www.microsoft.com/en-us/download/details.aspx?id=14632) .
Back to top
« Last Edit: 01/23/15 at 07:32:48 by Smirftsch »  

Sometimes you have to lose a fight to win the war.
WWW WWW Smirftsch 52832995  
IP Logged
 
Radi
Full Member
***
Offline


UEd goblin

Posts: 171
DeGie - PL
Gender: male
Re: ALAudio for DeusEx - development and links
Reply #11 - 01/23/15 at 19:18:45
 
Hi han & Smirftsch Smiley   I have VB c++ 2010 installed (installed again now, just for sure).

I discussed this with Smirftsch not long ago and this is probably the same problem (or similiar) as I have with 227j. Sad
Back to top
 
 
IP Logged
 
(Moderator: Smirftsch)