Extension Chain Error [help]

Hi there, I’ve been writing an Interactive fiction for a few days in Inform 7 and for context i am trying to make a voiceline for spell casting in the style of ‘zork grand inquisitor’ I’m trying to Include

Simple Multimedia Effects for v10 by Mathbrush
Music by Daniel Stelzer

either way if i add

Include Music by Daniel Stelzer
Include Simple Multimedia Effects for v10 by Mathbrush

both return with the same problems:
I have manually downloaded

The script builds fine without the addons but obviously sound is not happening without them despite the code being right to trigger and locate the sound files

Glux Entry Points.i7x
GLK Definitions.i7x
GLK Events.i7x
Glk Object Recovery.i7x

here is my Problem list.

Check the name of the file in the Extensions section of the IDE. It might differ from what you’re writing. Additionally, make sure that you put a period/full stop after your include code, or it might not work. Lastly, make sure whatever extension you use is compatible with your version of Inform 7, and that you’re downloading the right version.

1 Like

I don’t believe that “music” has been updated to version 10 of inform yet. Simple Multimedia Effects should work if you download the version of Glulx entry points contained in this thread:

I think the errors you are getting are from the old way of redefining Inform 6 features.

1 Like

Yep, this comes from a change in Inform that the extensions haven’t been updated for yet. Get the new version of Mathbrush’s and you should be good!


Thanks so much for your repllies!
It built correctly after adding the ends here line to the new script!
back to happily creating!
(havent tested the sounds yet!! too excited that it built! lol!)

1 Like

just to clarify

in the beginning of the script i put

include Simple Multimedia Effects for v10 by Mathbrush.
When play begins:
upload-audio "RAMLIG" with internal name sound of ramligcast;

early in the script i set up the path

Sound of ramligcast is the file "RAMLIG.ogg".

The .ogg is in Materials/Sounds

in my (if) condition script i put

play the sound of ramligcast;

and play the game in a sound supporting interpreter ?

1 Like

That should work. If it doesn’t then let us know!

It should compile fine for offline interpreters but will only work online with the Bisquixe interpreter. There is a way to get it to work with just quixe by manually editing the html if that’s something you prefer.

I honestly have no idea what I’m doing in order to run it with Bisquixe! haha! advice would be appreciated! thanks so much

1 Like

(p.s day 4 of using Inform here! but I am picking up how to construct a game very quick its mostly everything outside like interpreters and extensions tripping me up!!)

1 Like

A new interpreter is just like a new extension, but instead of the extensions folder you put it on the templates folder.

You can download it at the first link in this post:

The one annoying thing is that you have to put your sound files in twice. Once as .ogg files in the sounds folder in Materials (just like the inform book describes) and once as mp3s in an identical folder called sounds in the Release folder. It’s because the offline interpreters don’t use mp3s and Safari only uses mp3s. Sorry about that!

1 Like

you’re a genius friend! all working!

1 Like

Hi again!! I was just wondering if your multiple sounds addon allows seamless looping of music before certain conditions decide it otherwise

i didn’t plan on it when writing this post but it certainly adds a layer of depth

1 Like

It does allow looping and you can pause and play sounds at any time.

However some browsers (I think safari) playing music on loop introduces a small pause between the end and the beginning. This is a problem with mp3s and the safari mobile browser in general

1 Like

would you be so kind as to give me a quick example of how to cause a looping sound

more specifically (sorry i cant find any documentation on the sound looping) how to add a background loop to a specified room

1 Like

You’ll need pieces of a sound extension like Daniel Stelzer’s Music. The extension as a whole doesn’t work right now in Inform 10 (I think you should try it just in case), but adapting parts of it should work. I will try to work up a sample game that does what you ask and then I’ll send it to you. My strategy will be to copy the “play on loop” part of his code as well as all the other code it depends on.

You can do this all directly with glulx op codes but those are hard to read and meant to be “behind the scenes”.

1 Like

appreciate the help ive had a go but can’t quite figure it out

1 Like

Here is a working example:

"SoundTest" by Mathbrush

Include Simple Multimedia Effects for v10 by Mathbrush.
Include Music by Daniel Stelzer.

Sound of Background Music is the file "Strings-of-Sadness.ogg".

When play begins:
	upload-audio "Strings-of-Sadness"  with internal name sound of  Background Music;

Room A is a room.

Room B is north of room A.

After going to Room B:
	loop sound of Background Music;
	continue the action;
Every turn:
	if the player is not in Room B:
		stop Sound of Background Music;

For this I used Eric Matyas sound files.

Turns out Daniel Stelzer’s Music works just fine! I got it here:

If I remember correctly now, it’s only the fade-in/fade-out that doesn’t work with my current extension and needs to be updated. But fade-in/fade-out doesn’t work anyway on mobile safari because Apple doesn’t allow volume control by anyone but the end user.

Edit: Okay, it’s actually having trouble when releasing to a website, so I’ll keep checking on this. Works offline for now.

Editedit: Nevermind, it works great! I was just on my work computer and was using an old version of Bisquixe that didn’t have sound enabled. Once I downloaded the newest version it worked great.

1 Like

Awesome!! I’ll work through it using your example and let you know when I succeed / encounter anything i didn’t manage

1 Like


1 Like