Hey there. I'm struggling with a very annoying problem, namely every time I enter an area that's supposed to start sort - of dialogue thing (using AddEffectVoice function here) my game just freezes, and shows a blackbox. (The level loads up normally without any problems)
The category name matches with the .lang file, as well as the entries, and area. The voice that will be played is not recorded yet, so i'm using a placeholder, as you can see. I tried numerous ways to fix it, and none helped. What's more, if I delete the "AddEffectVoice" from the function, it will work just fine once i enter the area.
The log seems to be empty about that blackbox as well.
Initializing Graphics Module
--------------------------------------------------------
Init lowlevel graphics: 1600x900 disp:0 bpp:32 fs:0 ms:0 gpufmt:2 cap:'- Obsessed by Cruelty - Loading...' pos:(-1x-1)
Setting video mode: 1600 x 900 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon HD 7800 Series
Version: 4.4.13283 Compatibility Profile Context 14.501.1003.0
Max texture image units: 32
Max texture coord units: 16
Max user clip planes: 8
Two sided stencil: 1
Vertex Buffer Object: 1
Anisotropic filtering: 1
Max Anisotropic degree: 16
Multisampling: 1
Texture compression: 1
Texture compression S3TC: 1
Auto generate MipMaps: 1
Render to texture: 1
Max draw buffers: 8
Max color render targets: 8
Packed depth-stencil: 1
Texture float: 1
GLSL Version: 4.40
ShaderModel 2: 1
ShaderModel 3: 0
ShaderModel 4: 1
OGL ATIFragmentShader: 1
Setting up G-Bugger: type: 0 texturenum: 3
Adding engine materials
Initializing DevIL
Vendor String: Abysmal Software
Version String: Developer's Image Library (DevIL) 1.6.8pre Aug 12 2006
Version Number: 168
***** WARNING *****
Expecting IL version 178 and found version 168
Cube Maps may not load correctly in this version and will not render correctly in game
Please use the included version of libIL and not a custom build if you have issues
***** WARNING *****
Adding engine post effects
--------------------------------------------------------
Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
Available OpenAL devices:
0. Generic Software on Głośniki (Realtek High Definition Audio)(OpenAL default)
1. Generic Software on Realtek Digital Output (Realtek High Definition Audio)
Trying to open device 'Generic Software on Głośniki (Realtek High Definition Audio)'... Success!
Number of mono sources: 32
Streaming setup: 4 Buffers x 262144 bytes each
--------------------------------------------------------
User Initialization
--------------------------------------------------------
ERROR: Couldn't create font 'font_default.fnt'
--------------------------------------------------------
Game Running
--------------------------------------------------------
ERROR: Couldn't texture 'game_loading_catacombs.jpg'
ERROR: Couldn't texture 'game_loading_catacombs.jpg'
ERROR: Couldn't texture 'game_loading_catacombs.jpg'
WARNING: Could not find language file entry 'Custom Map'
WARNING: Could not find language file entry 'Custom Map'
WARNING: Could not find language file entry 'InvertGamepadLook'
WARNING: Could not find language file entry 'InvertGamepadLookTip'
WARNING: Could not find language file entry 'GamepadLookSensitivity'
WARNING: Could not find language file entry 'GamepadLookSensitivityTip'
WARNING: Could not find language file entry 'Lean'
WARNING: Could not find language file entry 'Custom Map'
-------- Loading map 'menu_bg.map' ---------
ERROR: Could not open binary file 'E:/STEAAAAM/SteamApps/common/Amnesia The Dark Descent/ObsessedByCruelty/main_menu/menu_bg.map_cache'
ERROR: Could not map cache file 'E:/STEAAAAM/SteamApps/common/Amnesia The Dark Descent/ObsessedByCruelty/main_menu/menu_bg.map'.ERROR: Couldn't find 0-face '../../../../../_pos_x', for cubemap '../../../../../' in path: '../../../../../'
MeshEntity Loading: 0 ms
Primitive Loading: 114 ms
Decal Loading: 0 ms
Object Combining: 0 ms
Compilation: 0 ms
Combining: 30 ms
Sorting: 30 ms
Meshes: 0 ms
Bodies: 0 ms
Static Objects: 144 ms
Entities: 0 ms
Compilation: 0 ms
Total: 148 ms
Meshes created: 2
Bodies created: 2
-------- Loading complete ---------
Setting profile: 'New Player' Path: 'C:\Users\Home\Documents/Amnesia/Obsessed by Cruelty/New Player/'
WARNING: Could not find language file entry 'Custom Map'
WARNING: Could not find language file entry 'Custom Map'
WARNING: Could not find language file entry 'InvertGamepadLook'
WARNING: Could not find language file entry 'InvertGamepadLookTip'
WARNING: Could not find language file entry 'GamepadLookSensitivity'
WARNING: Could not find language file entry 'GamepadLookSensitivityTip'
WARNING: Could not find language file entry 'Lean'
WARNING: Could not find language file entry 'Custom Map'
ERROR: Couldn't create script 'ObsessedByCruelty/maps/ch02/global.hps'
ERROR: Global script 'ObsessedByCruelty/maps/ch02/global.hps' could not be created!
-------- Loading map '04_vault.map' ---------
ERROR: Could not open binary file 'E:/STEAAAAM/SteamApps/common/Amnesia The Dark Descent/ObsessedByCruelty/maps/ch02/04_vault.map_cache'
ERROR: Could not map cache file 'E:/STEAAAAM/SteamApps/common/Amnesia The Dark Descent/ObsessedByCruelty/maps/ch02/04_vault.map'.ERROR: Couldn't find 0-face '../../../../../_pos_x', for cubemap '../../../../../' in path: '../../../../../'
ERROR: Sampler aDiffuseMap does not exist, could not bind it to unit 0
ERROR: Sampler aDiffuseMap does not exist, could not bind it to unit 0
MeshEntity Loading: 1469 ms
Primitive Loading: 374 ms
Decal Loading: 67 ms
Object Combining: 0 ms
Compilation: 44 ms
Combining: 764 ms
Sorting: 223 ms
Meshes: 16 ms
Bodies: 525 ms
Static Objects: 2721 ms
WARNING: Could not find child with unique ID 1 to attach to entity 'safety_normal_vert_1_Body_1' in 'entities/door/safety_normal_vert/safety_normal_vert_valve.ent'
ERROR: Sampler aDiffuseMap does not exist, could not bind it to unit 0
ERROR: Sampler aDiffuseMap does not exist, could not bind it to unit 0
Entities: 1783 ms
Compilation: 13 ms
Total: 4536 ms
Meshes created: 69
Bodies created: 32
-------- Loading complete ---------
ERROR: Sampler aGoboMap does not exist, could not bind it to unit 5
ERROR: Sampler aGoboMap does not exist, could not bind it to unit 5
ERROR: Sampler aGoboMap does not exist, could not bind it to unit 5
ERROR: Sampler aGoboMap does not exist, could not bind it to unit 5
(This post was last modified: 07-08-2015, 12:58 AM by Slanderous.)
(07-08-2015, 01:35 AM)Lazzer Wrote: Yes, it still crashes if I add the ".ogg" extension.
I meant giving it an ACTUAL file. An audio file. Not just saying the name of it. Have a file in your custom story named "placeholder.ogg" or something.
(07-08-2015, 01:35 AM)Lazzer Wrote: Yes, it still crashes if I add the ".ogg" extension.
I meant giving it an ACTUAL file. An audio file. Not just saying the name of it. Have a file in your custom story named "placeholder.ogg" or something.
That's what I have - I took one of the whispers from insanity, and made it into a "custom" sound that should work as a placeholder.
Also, just to state that clear - it's not a custom story, it's a full conversion.
Take one line from the original game, one AddEffectVoice call, try it in your mod and if it works fine, start changing the values one by one to what you want until you find the error.