Sound file for cinematic.

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
King Semos
Posts: 123
Joined: Sun Apr 15, 2012 6:05 pm

Sound file for cinematic.

Post by King Semos »

Just wondering, does the sound file for a custom intro need to be a certain type of sound file?
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Sound file for cinematic.

Post by Neikun »

I believe .ogg is the proper one.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
King Semos
Posts: 123
Joined: Sun Apr 15, 2012 6:05 pm

Re: Sound file for cinematic.

Post by King Semos »

Neikun wrote:I believe .ogg is the proper one.

Ty, the option I get is Ogg Vorbis Files. I hope that's the same thing.
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Sound file for cinematic.

Post by msyblade »

I convert anything i want to 128 kb .ogg on this site. always works perfect in Grimrock.

http://media.io/

Also use it to convert anything to .wav for custom sounds in the editor. For music, no scripting is needed, but for sounds, you need to define the sound, and point to it in the sounds.lua file in your dungeons scripts folder.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
King Semos
Posts: 123
Joined: Sun Apr 15, 2012 6:05 pm

Re: Sound file for cinematic.

Post by King Semos »

I got the sound working for my cinematic.



But the picture wont display. When I run the dungeon in Grimrock it crashes immediately with an error message.


[string "cinematicMode.lua"]:0: Unkown uncompressed DDS pixel format in file
mod_assets/textures/lost_ruins_of_xaae.dds

stack traceback:
[C:]: in function 'load'
[string "CinematicMode.lua"]: in function 'showImage'
[string "CinematicMode.lua"]: in main chunk
[string "CinematicMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk

An error log has been written to:
C:\Users\Me\Documents\Almost Human\Legend of Grimroc\error.log


----------------------------------------------
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Sound file for cinematic.

Post by msyblade »

I THINK you CALL it a .tga in your cinematic script. EVEN TOHUGH ITS a .dds

Or

May be a resolution issue. Say the game wants 1280x1024, and you're feeding it 1024x768. (Those are not accurate figures! Not sure what resolution Grimrock requires!)
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Post Reply