A new Trespasser patch/update (Trespasser CE)

Discuss the game Trespasser here!

Moderators: TresCom Support Team, TresCom Board Managers

Post Reply
Lee Arbuco
Parasaurolophus
Parasaurolophus
Posts: 271
Joined: Tue Aug 05, 2014 7:09 pm

Re: A new Trespasser patch/update (Trespasser CE)

Post by Lee Arbuco »

TheIdiot wrote:Also, was wondering if you could post the hex-code which you put into the .ini file to enable all missing actions? I have no idea what I'm doing in that area, but would like to see the remaining ActionTypes ingame.
The quick and dirty way is to set it to -1, that enables everything.

Otherwise you don't need hex. You can just do regular math and sum all 2^activity for the ones you want (using the windows calculator or whatever) and specify the value as a decimal value. For example 2^8 + 2^15 + 2^30 to activate 8, 15 and 30, the result of that would be 1073774848.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: A new Trespasser patch/update (Trespasser CE)

Post by machf »

Lee Arbuco wrote:Could you give a rough description of it? Maybe it's something I've encountered before.
Dinosaurs getting horribly distorted when they roar...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4352
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: A new Trespasser patch/update (Trespasser CE)

Post by TheIdiot »

Lee Arbuco wrote:
TheIdiot wrote:Also, was wondering if you could post the hex-code which you put into the .ini file to enable all missing actions? I have no idea what I'm doing in that area, but would like to see the remaining ActionTypes ingame.
The quick and dirty way is to set it to -1, that enables everything.

Otherwise you don't need hex. You can just do regular math and sum all 2^activity for the ones you want (using the windows calculator or whatever) and specify the value as a decimal value. For example 2^8 + 2^15 + 2^30 to activate 8, 15 and 30, the result of that would be 1073774848.
Heh heh, I got it anyway. Added all of the values together one by one, the equation was extremely long but it worked. I think I'll just set it to -1 for now, haha. Do you have to manually add the remaining ActionTypes to dinosaurs to make them work? I noticed that the Raptors aren't jumping, so I imagine I have to give them bool ActJump = true. The ActDie and ActOuch seem to work for the most part though, I noticed when I shot Raptors they would screech using the correct vocalizations, and upon dying they used the death sounds as well. :D
However, most if not all of the Tribe A Raptors (only Tribe A) would stand and stare upward at the sky, unmoving unless I hit them with a weapon or shot them. The Tribe B and C's were fine, so I wonder if this has anything to do with a specific ActionType exclusive to the Tribe A's. I'll give it a test and see what I can come up with. :)

One problem I failed to mention, when I try playing any retail level except Summit, there is no sound at all, and even on Summit a Raptor calling out with ActOuch (maybe others, not sure yet) will cause the ambient sound to pause completely. I didn't really notice on my playthrough as I was listening to music and had Tres muted. The menu sounds work no matter what, but I won't hear anything from the other three TPA files. Is there something I'm doing wrong? Perhaps it has something to do with my 5.1 surround sound system?

Also, dat water! :o I failed to notice it my first time around, but wow. Standing on the Beach and throwing stuff at the water is actually as impressive as it would've been in retail Tres back in '98. Would love to see additional optional shaders added in if possible, in the long run of course. :P
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: A new Trespasser patch/update (Trespasser CE)

Post by machf »

TheIdiot wrote: Heh heh, I got it anyway. Added all of the values together one by one, the equation was extremely long but it worked. I think I'll just set it to -1 for now, haha. Do you have to manually add the remaining ActionTypes to dinosaurs to make them work?
Yes.
I noticed that the Raptors aren't jumping, so I imagine I have to give them bool ActJump = true. The ActDie and ActOuch seem to work for the most part though, I noticed when I shot Raptors they would screech using the correct vocalizations, and upon dying they used the death sounds as well. :D
Makes a nice difference, right?
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4352
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: A new Trespasser patch/update (Trespasser CE)

Post by TheIdiot »

machf wrote:
I noticed that the Raptors aren't jumping, so I imagine I have to give them bool ActJump = true. The ActDie and ActOuch seem to work for the most part though, I noticed when I shot Raptors they would screech using the correct vocalizations, and upon dying they used the death sounds as well. :D
Makes a nice difference, right?
A very nice difference! I've yet to try any fan levels with this yet, I wonder if any of them used the removed ActionTypes...
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: A new Trespasser patch/update (Trespasser CE)

Post by machf »

Well, my Pens level does, but since it hasn't been released to the public yet, you wouldn't know...
There are one or two persons who have had access to it, IIRC, maybe they can tell. Otherwise, you'll just have to take my word for it.

Maybe I'll try to make a quick test level with raptors named after the Seven Dwarfs in order to demonstrate the activities...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
Lee Arbuco
Parasaurolophus
Parasaurolophus
Posts: 271
Joined: Tue Aug 05, 2014 7:09 pm

Re: A new Trespasser patch/update (Trespasser CE)

Post by Lee Arbuco »

You can see if a level uses the ATX action types of you set LogDevInfo=1 in trespasser.ini (Debug section). After loading a level the trespasser.log will have "ERROR: Unknown action type" messages if there are ATX actions.

I'm almost done adding the first ATX action. If all goes well with the others, that problem will soon be no more.
machf wrote:Dinosaurs getting horribly distorted when they roar...
I wonder if it could possibly be the result of one of the action types that wasn't in the retail game?
TheIdiot wrote:One problem I failed to mention, when I try playing any retail level except Summit, there is no sound at all, and even on Summit a Raptor calling out with ActOuch (maybe others, not sure yet) will cause the ambient sound to pause completely. I didn't really notice on my playthrough as I was listening to music and had Tres muted. The menu sounds work no matter what, but I won't hear anything from the other three TPA files. Is there something I'm doing wrong? Perhaps it has something to do with my 5.1 surround sound system?
Post your trespasser.log (to be on the safe side after playing a level other than Summit) so I can get an idea of what settings and sound device is being used.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: A new Trespasser patch/update (Trespasser CE)

Post by machf »

Lee Arbuco wrote: I wonder if it could possibly be the result of one of the action types that wasn't in the retail game?
No, I hadn't even enabled them. Hasn't happened again, either, I've played the same level two or three more times on the same laptop.
In "regular" Trespasser you would see something like that when a dinosaur had some vertices which weren't attached to a bone, for example. But here it was happening to any dinosaur while it opened its mouth to make a sound...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4352
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: A new Trespasser patch/update (Trespasser CE)

Post by TheIdiot »

I'm almost done adding the first ATX action. If all goes well with the others, that problem will soon be no more.
You, sir, are a hero. Will it be okay once we have full ATX support if I use your patch as the base engine for Return to Jurassic Park? The lack of ATX is really the only thing holding me back at the moment, but once it's done it will be the perfect engine and will hopefully handle the high detail level of Isla Nublar much better than the current, crash-prone ATX build. No offense to Big Red. :P

Additionally will there be support for all the functionality of the ATXconfig.ini as well as the MAPS folder included with ATX? I'm astonished by the speed at which you are bringing updates and new features to Tres.
Post your trespasser.log (to be on the safe side after playing a level other than Summit) so I can get an idea of what settings and sound device is being used.
No problem, here it is on Beach:
Spoiler: show

Code: Select all

PID: 4224
CPU: arch=x86 , fam=586 , cpus=2
SIMD: SSE=3 , 3DNow=0
OS Version: 6.1.7601 Service Pack 1
Desktop resolution: 1360 x 768
Virtual desktop resolution: 1360 x 768
-----------------------------------------------------------
CWD: E:\Games\Trespasser\Jurassic Park Trespasser
-----------------------------------------------------------
Version: Trespasser CE 1.0.125
Target Processor: Intel Pentium Pro / Pentium II
---------------------- user options -----------------------
General::EnableQuickSaveKey=True
General::EnableDualStow=True
General::TryIncompleteInstall=False
Game::EnableAiActivityEx=-1
Game::EnableWoodSapParticles=3
Game::MaxActiveAi=6
Game::MaxAiActivateOnRenderDist=500
Sound::NoSavegameSysSettings=True
Memory::SysMemSizeD3D=8192
Memory::MemSizeD3D=350
Memory::TexPoolSizeD3D=24000
Memory::MaxTerrainMem=30000
Memory::MaxTerrainDynaShadowMem=24000
Memory::ExtraTerrainNodes=10
Display::ScreenBitDepth=32
Display::MaxFramerate=61
DisplayDX9::UseDX9=True
DisplayDX9::MultiSamplingLevel=16
DisplayDX9::EnableVSync=False
DisplayDX9::Enable10bitDisplay=True
DisplayDX9::ScaleModeMenus=2
DisplayDX9::PixelShaderBump=True
DisplayDX9::TexFilterBump=True
DisplayDX9::WaterRefraction=True
DisplayDX9::TexFilterWater=True
DisplayDX9::ATOCMode=1
Render::CacheMinDist=250.0
Render::MaxCullDistance=1500.0
Render::MinCullDistance=200.0
Render::MinCullDistanceShadow=100.0
Render::ObjectCullDistScale=5.0
Render::ObjectCullDistScaleShadow=1.25
Render::CachedObjectCullDistScale=10.0
Render::MinObjectCullDist=200.0
Render::MinObjectCullDistShadow=30.0
Render::MinCachedObjectCullDist=700.0
Render::MinTerrainNodeEvalDist=35
Render::ForceMaxObjectDetail=True
Render::32bitHardwareTextures=True
Render::FOV=90.0
Render::TexFilterD3D=16
Render::ForceNoBlendTrans=True
MaxQualityParams::MinSubdivison=8
MaxQualityParams::AltMinSubdivision=16
MaxQualityParams::DetailReductionScale=12.0
MaxQualityParams::CullDistScale=12.0
MaxQualityParams::CullShadowDistScale=4.0
MaxQualityParams::WaterResScale=3.0
MaxQualityParams::TerrainTexelScale=3.0
MaxQualityParams::TerrainDistanceScale=3.0
MaxQualityParams::PixelTolAdj=0.25
MaxQualityParams::ResolutionScale=2.0
Sound::MixerFrequency=44100
SoundOpenAL::UseAL=True

Installed Directory=E:\Games\Trespasser\Jurassic Park Trespasser\
Data Drive=E:\Games\Trespasser\Jurassic Park Trespasser\
Installed=1
Registry Init=1
Auto Settings=1

Video GUID=00000000-0000-0000-0000-00000000
D3D GUID=84E63DE0-46AA-11CF-816F-0000C020
Use D3D=1
Width=1360
Height=768
XView=0
YView=0
Dither=1
Max Recommended Tex Dim=256
Triple Buffer=1
Page Managed=1
Video Driver=Primary Display Driver (display)
Hardware Water=1

MasterVolume=0
PlaySFX=-1
PlayAmbient=-1
PlayVoiceOver=-1
PlayMusic=-1
UseSubTitles=-1
AudioEnable3D=-1

RenderQuality=4
Gamma=0
NoVideo=1
Gore=2
-----------------------------------------------------------
Registry mode: INI file
-----------------------------------------------------------
** Enumerating D3D9 Adapters (1)...
Adapter 0
	device name: \\.\DISPLAY1
	driver     : aticfx32.dll
	descr      : AMD Radeon HD 5500 Series
	driver ver : 0x00080011-000A0500
	vendor id  : 0x00001002
	device id  : 0x000068DA
	subsys id  : 0x30801682
	device guid: D7B71EE2-2B9A-11CF-3270-8A10BEC2
	desktop res: 1360 x 768
	Modes
		640 x 480 x 32
		720 x 480 x 32
		720 x 576 x 32
		800 x 600 x 32
		1024 x 768 x 32
		1280 x 720 x 32
		1280 x 768 x 32
		1360 x 768 x 32
** Enumerating D3D9 Adapters Done

** OpenAL Init...
OpenAL32.dll: 6.14.357.19
wrap_oal.dll: 2.1.4.0
Default device: Generic Hardware
Enumerating devices without validation...
	Device: Generic Hardware
	Device: Generic Software
found 2 unvalidated device(s)
Opening user defined OpenAL device "Generic Software"...
	Device 0
		name       : Generic Software
		version    : 1.1
		version str: 1.1
		vendor     : Creative Labs Inc.
		renderer   : Software
		3D sources : 248
		2D sources : 8
		EFX        : 1
		EAX2       : 1
		EAX3       : 0
		EAX4       : 0
		EAX5       : 0
Opened device 'Generic Software'
EAX reverb support enabled
** OpenAL Init Done.

Selected D3D9 Adapter 0 (AMD Radeon HD 5500 Series)

CreateDevice: res = D3D_OK ; 1360x768 fmt=35 zfmt=75 cnt=1 ms=8 swap=1 fs=1 hz=0 pres=-2147483648 flags=2
Enumerating supported display modes...
	640 x 480 x 32
	720 x 480 x 32
	720 x 576 x 32
	800 x 600 x 32
	1024 x 768 x 32
	1280 x 720 x 32
	1280 x 768 x 32
	1360 x 768 x 32

** RenderShell CreateScreen(640 x 480 x 32, vram 1)...
Main screen created (640 x 480 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

** RenderShell CreateScreen(1360 x 768 x 32, vram 1)...
Main screen created (1360 x 768 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

** RenderShell CreateScreen(640 x 480 x 32, vram 1)...
Main screen created (640 x 480 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

** RenderShell CreateScreen(1360 x 768 x 32, vram 1)...
Main screen created (1360 x 768 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

For comparison, here it is on Summit. Not sure if it helps any:
Spoiler: show

Code: Select all

PID: 4224
CPU: arch=x86 , fam=586 , cpus=2
SIMD: SSE=3 , 3DNow=0
OS Version: 6.1.7601 Service Pack 1
Desktop resolution: 1360 x 768
Virtual desktop resolution: 1360 x 768
-----------------------------------------------------------
CWD: E:\Games\Trespasser\Jurassic Park Trespasser
-----------------------------------------------------------
Version: Trespasser CE 1.0.125
Target Processor: Intel Pentium Pro / Pentium II
---------------------- user options -----------------------
General::EnableQuickSaveKey=True
General::EnableDualStow=True
General::TryIncompleteInstall=False
Game::EnableAiActivityEx=-1
Game::EnableWoodSapParticles=3
Game::MaxActiveAi=6
Game::MaxAiActivateOnRenderDist=500
Sound::NoSavegameSysSettings=True
Memory::SysMemSizeD3D=8192
Memory::MemSizeD3D=350
Memory::TexPoolSizeD3D=24000
Memory::MaxTerrainMem=30000
Memory::MaxTerrainDynaShadowMem=24000
Memory::ExtraTerrainNodes=10
Display::ScreenBitDepth=32
Display::MaxFramerate=61
DisplayDX9::UseDX9=True
DisplayDX9::MultiSamplingLevel=16
DisplayDX9::EnableVSync=False
DisplayDX9::Enable10bitDisplay=True
DisplayDX9::ScaleModeMenus=2
DisplayDX9::PixelShaderBump=True
DisplayDX9::TexFilterBump=True
DisplayDX9::WaterRefraction=True
DisplayDX9::TexFilterWater=True
DisplayDX9::ATOCMode=1
Render::CacheMinDist=250.0
Render::MaxCullDistance=1500.0
Render::MinCullDistance=200.0
Render::MinCullDistanceShadow=100.0
Render::ObjectCullDistScale=5.0
Render::ObjectCullDistScaleShadow=1.25
Render::CachedObjectCullDistScale=10.0
Render::MinObjectCullDist=200.0
Render::MinObjectCullDistShadow=30.0
Render::MinCachedObjectCullDist=700.0
Render::MinTerrainNodeEvalDist=35
Render::ForceMaxObjectDetail=True
Render::32bitHardwareTextures=True
Render::FOV=90.0
Render::TexFilterD3D=16
Render::ForceNoBlendTrans=True
MaxQualityParams::MinSubdivison=8
MaxQualityParams::AltMinSubdivision=16
MaxQualityParams::DetailReductionScale=12.0
MaxQualityParams::CullDistScale=12.0
MaxQualityParams::CullShadowDistScale=4.0
MaxQualityParams::WaterResScale=3.0
MaxQualityParams::TerrainTexelScale=3.0
MaxQualityParams::TerrainDistanceScale=3.0
MaxQualityParams::PixelTolAdj=0.25
MaxQualityParams::ResolutionScale=2.0
Sound::MixerFrequency=44100
SoundOpenAL::UseAL=True

Installed Directory=E:\Games\Trespasser\Jurassic Park Trespasser\
Data Drive=E:\Games\Trespasser\Jurassic Park Trespasser\
Installed=1
Registry Init=1
Auto Settings=1

Video GUID=00000000-0000-0000-0000-00000000
D3D GUID=84E63DE0-46AA-11CF-816F-0000C020
Use D3D=1
Width=1360
Height=768
XView=0
YView=0
Dither=1
Max Recommended Tex Dim=256
Triple Buffer=1
Page Managed=1
Video Driver=Primary Display Driver (display)
Hardware Water=1

MasterVolume=0
PlaySFX=-1
PlayAmbient=-1
PlayVoiceOver=-1
PlayMusic=-1
UseSubTitles=-1
AudioEnable3D=-1

RenderQuality=4
Gamma=0
NoVideo=1
Gore=2
-----------------------------------------------------------
Registry mode: INI file
-----------------------------------------------------------
** Enumerating D3D9 Adapters (1)...
Adapter 0
	device name: \\.\DISPLAY1
	driver     : aticfx32.dll
	descr      : AMD Radeon HD 5500 Series
	driver ver : 0x00080011-000A0500
	vendor id  : 0x00001002
	device id  : 0x000068DA
	subsys id  : 0x30801682
	device guid: D7B71EE2-2B9A-11CF-3270-8A10BEC2
	desktop res: 1360 x 768
	Modes
		640 x 480 x 32
		720 x 480 x 32
		720 x 576 x 32
		800 x 600 x 32
		1024 x 768 x 32
		1280 x 720 x 32
		1280 x 768 x 32
		1360 x 768 x 32
** Enumerating D3D9 Adapters Done

** OpenAL Init...
OpenAL32.dll: 6.14.357.19
wrap_oal.dll: 2.1.4.0
Default device: Generic Hardware
Enumerating devices without validation...
	Device: Generic Hardware
	Device: Generic Software
found 2 unvalidated device(s)
Opening user defined OpenAL device "Generic Software"...
	Device 0
		name       : Generic Software
		version    : 1.1
		version str: 1.1
		vendor     : Creative Labs Inc.
		renderer   : Software
		3D sources : 248
		2D sources : 8
		EFX        : 1
		EAX2       : 1
		EAX3       : 0
		EAX4       : 0
		EAX5       : 0
Opened device 'Generic Software'
EAX reverb support enabled
** OpenAL Init Done.

Selected D3D9 Adapter 0 (AMD Radeon HD 5500 Series)

CreateDevice: res = D3D_OK ; 1360x768 fmt=35 zfmt=75 cnt=1 ms=8 swap=1 fs=1 hz=0 pres=-2147483648 flags=2
Enumerating supported display modes...
	640 x 480 x 32
	720 x 480 x 32
	720 x 576 x 32
	800 x 600 x 32
	1024 x 768 x 32
	1280 x 720 x 32
	1280 x 768 x 32
	1360 x 768 x 32

** RenderShell CreateScreen(640 x 480 x 32, vram 1)...
Main screen created (640 x 480 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

** RenderShell CreateScreen(1360 x 768 x 32, vram 1)...
Main screen created (1360 x 768 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

** RenderShell CreateScreen(640 x 480 x 32, vram 1)...
Main screen created (640 x 480 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

Lee Arbuco
Parasaurolophus
Parasaurolophus
Posts: 271
Joined: Tue Aug 05, 2014 7:09 pm

Re: A new Trespasser patch/update (Trespasser CE)

Post by Lee Arbuco »

TheIdiot wrote:Will it be okay once we have full ATX support if I use your patch as the base engine for Return to Jurassic Park?
Anyone is free to use it as they see fit.
Additionally will there be support for all the functionality of the ATXconfig.ini as well as the MAPS folder included with ATX?
I don't think all of it, at least not soon, because there's a lot of stuff in there. I'll try to do what's most important (or really simple) first.


Back to your sound problem.

According to the log your master volume slider (in the Audio option menu) is set to 0? Going by that you shouldn't hear any sound at all?



You could try to disable AL (SoundOpenAL section in trespasser.ini) and see if that works. Even if it does work then I'd probably enable AL again anyway and try to get that working before giving up, because it provides EAX support.

You could look at audio related options in Windows. Maybe try and disable 5.1 to see if that affects anything.

If it is an AL only problem, then there are a couple of things to try:

Try another device (depending on the audio HW that may not have EAX support in AL, and I've found the default software device to often work better, but still worth a test run):
Device=Generic Hardware

I don't think this does much difference, but you could try adding MaxChannels2D=24 (also under SoundOpenAL).

Update OpenAL, there are slightly newer versions.
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4352
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: A new Trespasser patch/update (Trespasser CE)

Post by TheIdiot »

Lee Arbuco wrote:
TheIdiot wrote:Will it be okay once we have full ATX support if I use your patch as the base engine for Return to Jurassic Park?
Anyone is free to use it as they see fit.
Additionally will there be support for all the functionality of the ATXconfig.ini as well as the MAPS folder included with ATX?
I don't think all of it, at least not soon, because there's a lot of stuff in there. I'll try to do what's most important (or really simple) first.
Hmm. Well, once the critical features are in we might change to TresCE. For the moment we're only using the Spit function and additional TPAs off the top of my head in RTJP, but these are somewhat critical to the game, as are several other functions which will be used later on, like object randomization. I really wish we could use your CE instead, but there are quite a few things we will need full ATX integration to do at the moment. :cry: Is there perhaps a way to add ATX as an external feature instead, like a DLL library or something?
According to the log your master volume slider (in the Audio option menu) is set to 0? Going by that you shouldn't hear any sound at all?
That's odd, I made sure it was at the max upon starting this test. And I did get sound on the menu as well as Summit.
You could try to disable AL (SoundOpenAL section in trespasser.ini) and see if that works. Even if it does work then I'd probably enable AL again anyway and try to get that working before giving up, because it provides EAX support.
Tried that, nada.
You could look at audio related options in Windows. Maybe try and disable 5.1 to see if that affects anything.
Also tried that as well, with both my speakers and with headphones. Put it in stereo as well as mono and nothing happened.
Try another device (depending on the audio HW that may not have EAX support in AL, and I've found the default software device to often work better, but still worth a test run):
Device=Generic Hardware
So here I assume I would put in my device's name? Would this be RealTek Audio Driver?
I don't think this does much difference, but you could try adding MaxChannels2D=24 (also under SoundOpenAL).
I think I did that as well, I'll try again.
Update OpenAL, there are slightly newer versions.
I'll try that too. Thanks for the support. :)
User avatar
awesome24712
Pteranodon
Pteranodon
Posts: 889
Joined: Sun Oct 02, 2011 1:56 am
Antispam: No
Location: USA
Contact:

Re: A new Trespasser patch/update (Trespasser CE)

Post by awesome24712 »

I did EnableAiActivityEx=-1 and then much to my disappointment I didn't see any change in the raptors' actions or sounds. Unless these have to be enabled by editing the raptors within the level...

Log:
Spoiler: show
PID: 4032
CPU: arch=x86 , fam=586 , cpus=8
SIMD: SSE=3 , 3DNow=0
OS Version: 6.1.7601 Service Pack 1
Desktop resolution: 1920 x 1080
Virtual desktop resolution: 3200 x 1080
-----------------------------------------------------------
CWD: F:\Tres CD
-----------------------------------------------------------
Version: Trespasser CE 1.0.125
Target Processor: Intel Pentium Pro / Pentium II
---------------------- user options -----------------------
General::TimestampScreenshots=True
General::EnableQuickSaveKey=True
General::EnableDualStow=True
General::TryIncompleteInstall=True
Sound::NoSavegameSysSettings=True
Memory::SysMemSizeD3D=8192
Memory::MemSizeD3D=420
Memory::TexPoolSizeD3D=16384
Memory::MaxTerrainMem=20000
Memory::MaxTerrainDynaShadowMem=12000
Memory::ExtraTerrainNodes=10
Display::ScreenBitDepth=32
Display::MaxFramerate=61
DisplayDX9::UseDX9=True
DisplayDX9::MultiSamplingLevel=4
DisplayDX9::ScaleModeMenus=2
DisplayDX9::WaterRefraction=True
DisplayDX9::ATOCMode=1
Render::CacheMinDist=60.0
Render::MinCullDistance=50.0
Render::MinCullDistanceShadow=20.0
Render::ObjectCullDistScale=5.0
Render::ObjectCullDistScaleShadow=1.25
Render::CachedObjectCullDistScale=8.0
Render::MinObjectCullDist=100.0
Render::MinObjectCullDistShadow=20.0
Render::MinCachedObjectCullDist=500.0
Render::MinTerrainNodeEvalDist=35
Render::ForceMaxObjectDetail=True
Render::32bitHardwareTextures=True
Render::TexFilterD3D=8
Render::ForceNoBlendTrans=True
MaxQualityParams::MinSubdivison=8
MaxQualityParams::AltMinSubdivision=16
MaxQualityParams::DetailReductionScale=8.0
MaxQualityParams::CullDistScale=5.0
MaxQualityParams::CullShadowDistScale=3.0
MaxQualityParams::WaterResScale=3.0
MaxQualityParams::TerrainTexelScale=3.0
MaxQualityParams::TerrainDistanceScale=3.0
MaxQualityParams::PixelTolAdj=0.25
MaxQualityParams::ResolutionScale=2.0
Sound::MixerFrequency=44100
SoundOpenAL::UseAL=True

Installed Directory=F:\Tres CD\
Data Drive=F:\Tres CD\
Installed=1
Registry Init=1
Auto Settings=1

Video GUID=00000000-0000-0000-0000-00000000
D3D GUID=84E63DE0-46AA-11CF-816F-0000C020
Use D3D=1
Width=1920
Height=1080
XView=0
YView=0
Dither=0
Max Recommended Tex Dim=256
Triple Buffer=0
Page Managed=0
Video Driver=Primary Display Driver (display)
Hardware Water=1

MasterVolume=100
PlaySFX=-1
PlayAmbient=-1
PlayVoiceOver=-1
PlayMusic=-1
UseSubTitles=-1
AudioEnable3D=-1

RenderQuality=4
Gamma=0
Gore=2
-----------------------------------------------------------
Registry mode: INI file
-----------------------------------------------------------
** Enumerating D3D9 Adapters (2)...
Adapter 0
device name: \\.\DISPLAY1
driver : nvd3dum.dll
descr : NVIDIA GeForce GTX 650
driver ver : 0x00090012-000D0C5D
vendor id : 0x000010DE
device id : 0x00000FC6
subsys id : 0x26533842
device guid: D7B71E3E-4C86-11CF-AF57-5E061CC2
desktop res: 1920 x 1080
Modes
640 x 480 x 32
720 x 480 x 32
720 x 576 x 32
800 x 600 x 32
1024 x 768 x 32
1152 x 864 x 32
1280 x 720 x 32
1280 x 768 x 32
1280 x 800 x 32
1280 x 960 x 32
1280 x 1024 x 32
1360 x 768 x 32
1366 x 768 x 32
1600 x 900 x 32
1600 x 1024 x 32
1600 x 1200 x 32
1680 x 1050 x 32
1920 x 1080 x 32
1440 x 900 x 32
Adapter 1
device name: \\.\DISPLAY2
driver : nvd3dum.dll
descr : NVIDIA GeForce GTX 650
driver ver : 0x00090012-000D0C5D
vendor id : 0x000010DE
device id : 0x00000FC6
subsys id : 0x26533842
device guid: D7B71E3E-4C86-11CF-AF57-5E061CC2
desktop res: 1280 x 1024 (@ 1920 , 0)
Modes
1280 x 1024 x 32
640 x 480 x 32
720 x 480 x 32
720 x 576 x 32
800 x 600 x 32
1024 x 768 x 32
1152 x 864 x 32
1280 x 720 x 32
1280 x 768 x 32
1280 x 800 x 32
1280 x 960 x 32
** Enumerating D3D9 Adapters Done

OpenAL not found on system or failed to load, install AL redist package or chose other sound driver
Selected D3D9 Adapter 0 (NVIDIA GeForce GTX 650)

CreateDevice: res = D3D_OK ; 1920x1080 fmt=22 zfmt=75 cnt=1 ms=4 swap=1 fs=1 hz=0 pres=1 flags=2
Enumerating supported display modes...
640 x 480 x 32
720 x 480 x 32
720 x 576 x 32
800 x 600 x 32
1024 x 768 x 32
1152 x 864 x 32
1280 x 720 x 32
1280 x 768 x 32
1280 x 800 x 32
1280 x 960 x 32
1280 x 1024 x 32
1360 x 768 x 32
1366 x 768 x 32
1600 x 900 x 32
1600 x 1024 x 32
1600 x 1200 x 32
1680 x 1050 x 32
1920 x 1080 x 32
1440 x 900 x 32

** RenderShell CreateScreen(640 x 480 x 32, vram 1)...
Main screen created (640 x 480 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

** RenderShell CreateScreen(1920 x 1080 x 32, vram 1)...
Main screen created (1920 x 1080 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

** RenderShell CreateScreen(640 x 480 x 32, vram 1)...
Main screen created (640 x 480 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

** RenderShell CreateScreen(1920 x 1080 x 32, vram 1)...
Main screen created (1920 x 1080 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.
Check out the HL2 mod I'm helping with: Image
Visit my Steam! http://steamcommunity.com/id/awesome24712/
Visit my YouTube! http://www.youtube.com/user/awesome24712

Post benchamrks:
1 [x] 2 [x] 4 [x] 8 [x] 16 [x] 32 [x] 64 [x] 128 [x] 256 [x] 512 [x] 1024 [ ] 2048 [ ] 4096 [ ] 9192 [ ]
Lee Arbuco
Parasaurolophus
Parasaurolophus
Posts: 271
Joined: Tue Aug 05, 2014 7:09 pm

Re: A new Trespasser patch/update (Trespasser CE)

Post by Lee Arbuco »

TheIdiot wrote:So here I assume I would put in my device's name? Would this be RealTek Audio Driver?
The other available device is literally named "Generic Hardware" so the ini file should say:
Device=Generic Hardware

But if the same problem persists when AL is disabled then I wouldn't expect that to do much. Maybe I'll think of something else later. You don't happen to have atx config files that set TPA files in the install that you've testing with? CE has some rudimentary atx config support for TPAs, but it was buggy. I've fixed that today, but I want to finish the actions before doing a new release.


And no, atx isn't "compatible" with CE in any form.
Lee Arbuco
Parasaurolophus
Parasaurolophus
Posts: 271
Joined: Tue Aug 05, 2014 7:09 pm

Re: A new Trespasser patch/update (Trespasser CE)

Post by Lee Arbuco »

awesome24712 wrote:I did EnableAiActivityEx=-1 and then much to my disappointment I didn't see any change in the raptors' actions or sounds. Unless these have to be enabled by editing the raptors within the level...
EnableAiActivityEx should go under

[Game]

looking at the log it doesn't appear like it is, because EnableAiActivityEx isn't present.
User avatar
Velociraptor Alfa
Brachiosaurus
Brachiosaurus
Posts: 124
Joined: Sat Mar 07, 2009 2:56 pm
Antispam: No
Location: Czech republic

Re: A new Trespasser patch/update (Trespasser CE)

Post by Velociraptor Alfa »

I've got the same problem as awesome24712.

Log:
Spoiler: show
PID: 560
CPU: arch=x86 , fam=586 , cpus=4
SIMD: SSE=3 , 3DNow=0
OS Version: 4.10.67766446
Desktop resolution: 1366 x 768
Virtual desktop resolution: 1366 x 768
-----------------------------------------------------------
CWD: C:\Jirka\Hry\TRES
-----------------------------------------------------------
Version: Trespasser CE 1.0.125
Target Processor: Intel Pentium Pro / Pentium II
---------------------- user options -----------------------
General::TryIncompleteInstall=True
Sound::NoSavegameSysSettings=True
Memory::SysMemSizeD3D=8192
Memory::MemSizeD3D=220
Memory::TexPoolSizeD3D=16384
Memory::MaxTerrainMem=20000
Memory::MaxTerrainDynaShadowMem=12000
Memory::ExtraTerrainNodes=10
Display::ScreenBitDepth=32
Display::MaxFramerate=61
DisplayDX9::UseDX9=True
DisplayDX9::ScaleModeMenus=2
DisplayDX9::WaterRefraction=True
DisplayDX9::ATOCMode=1
Render::CacheMinDist=60.0
Render::MinCullDistance=50.0
Render::MinCullDistanceShadow=20.0
Render::ObjectCullDistScale=5.0
Render::ObjectCullDistScaleShadow=1.25
Render::CachedObjectCullDistScale=8.0
Render::MinObjectCullDist=100.0
Render::MinObjectCullDistShadow=20.0
Render::MinCachedObjectCullDist=500.0
Render::MinTerrainNodeEvalDist=35
Render::ForceMaxObjectDetail=True
Render::32bitHardwareTextures=True
Render::TexFilterD3D=8
Render::ForceNoBlendTrans=True
MaxQualityParams::MinSubdivison=8
MaxQualityParams::AltMinSubdivision=16
MaxQualityParams::DetailReductionScale=8.0
MaxQualityParams::CullDistScale=5.0
MaxQualityParams::CullShadowDistScale=3.0
MaxQualityParams::WaterResScale=3.0
MaxQualityParams::TerrainTexelScale=3.0
MaxQualityParams::TerrainDistanceScale=3.0
MaxQualityParams::PixelTolAdj=0.25
MaxQualityParams::ResolutionScale=2.0
Sound::MixerFrequency=44100
SoundOpenAL::UseAL=True

Installed Directory=C:\Jirka\Hry\TRES\
Data Drive=C:\Jirka\Hry\TRES\CD\
Installed=1
Registry Init=1
Auto Settings=1

Video GUID=00000000-0000-0000-0000-00000000
D3D GUID=00000000-0000-0000-0000-00000000
Use D3D=1
Width=640
Height=480
XView=0
YView=0
Dither=1
Max Recommended Tex Dim=256
Triple Buffer=0
Page Managed=1
Video Driver=Trespasser's software driver (display)
Hardware Water=1

MasterVolume=100
PlaySFX=-1
PlayAmbient=-1
PlayVoiceOver=-1
PlayMusic=-1
UseSubTitles=-1
AudioEnable3D=-1

RenderQuality=4
Gamma=0
Gore=1
SwapSpaceMb=200
-----------------------------------------------------------
** Enumerating D3D9 Adapters (1)...
Adapter 0
device name: \\.\DISPLAY1
driver : igdumd32.dll
descr : Intel(R) HD Graphics 4000
driver ver : 0x00090011-000A0B21
vendor id : 0x00008086
device id : 0x00000166
subsys id : 0x057E1028
device guid: D7B78E66-4226-11CF-B978-7425B7C2
desktop res: 1366 x 768
Modes
640 x 480 x 32
800 x 600 x 32
1024 x 768 x 32
1280 x 600 x 32
1280 x 720 x 32
1280 x 768 x 32
1360 x 768 x 32
1366 x 768 x 32
** Enumerating D3D9 Adapters Done

** OpenAL Init...
OpenAL32.dll: 6.14.357.23
wrap_oal.dll: 2.2.0.5
Default device: Generic Software
Enumerating devices without validation...
Device: Generic Software
found 1 unvalidated device(s)
Opening user defined OpenAL device "Generic Software"...
Device 0 (default)
name : Generic Software
version : 1.1
version str: 1.1
vendor : Creative Labs Inc.
renderer : Software
3D sources : 248
2D sources : 8
EFX : 1
EAX2 : 1
EAX3 : 0
EAX4 : 0
EAX5 : 0
Opened device 'Generic Software'
EAX reverb support enabled
** OpenAL Init Done.

Selected D3D9 Adapter 0 (Intel(R) HD Graphics 4000)

CreateDevice: res = D3D_OK ; 640x480 fmt=22 zfmt=75 cnt=0 ms=0 swap=1 fs=1 hz=0 pres=1 flags=2
Enumerating supported display modes...
640 x 480 x 32
800 x 600 x 32
1024 x 768 x 32
1280 x 600 x 32
1280 x 720 x 32
1280 x 768 x 32
1360 x 768 x 32
1366 x 768 x 32

** RenderShell CreateScreen(640 x 480 x 32, vram 1)...
Main screen created (640 x 480 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.

** RenderShell CreateScreen(640 x 480 x 32, vram 1)...
Main screen created (640 x 480 x 32, fs 1, vram 1)
Creating renderer (32-bit screen)
** RenderShell CreateScreen Done.
"To defeat an enemy, you must know them. Not simply their battle tactics, but their history, philosophy, art." - Grand Admiral Thrawn
Post Reply