Author Topic: Windows 95 startup and shutdown WAV  (Read 11359 times)

Well, I want to use the Windows 95 startup and shutdown as a wav file so I can use them as sound FX in blockland.
http://www.youtube.com/watch?v=miZHa7ZC6Z0
http://www.youtube.com/watch?v=3JQF-c3ROSA



I am afraid of me messing up.

How?

Just convert the videos into a MP3 then use Audacity to export the files to a .wav file. I'm not sure if the sound must be mono, but since .ogg music files must be mono it'd be a safe bet to make the files mono in Audacity too (Tracks>Stereo Track to Mono).

Just made it, but yes, I did mess up.
RTB detected the add-on and i enabled it. I opened a custom server, no errors about it being Stereo. Yup, I converted to mono. When I got in the game, I check the Music list by wrenching a brick and using the playSound event to see them. The sounds were not there.

File in case anyone can fix it:
http://www.mediafire.com/download/eo0xif564d844dx/Sound_Win95.zip
doge hates when things like add-ons go wrong.
« Last Edit: November 04, 2013, 06:44:22 PM by Mr Queeba »

do you want it to be music or a sound?
oh nevermind i read it wrong


A console.log would help find out the problem.

I tried it on my server, and this is what happened on the console.log; bold wasn't in the original console.log

//add-on loads on my server

Loading Add-On: Sound_Win95 (CRC:-995973316)
Add-Ons/Sound_Win95/server.cs Line: 3 - Syntax error.
>>> Some error context, with ## on sides of error halt:
atablock AudioProfile(Win95start)

{

^filename = â##€##œ./win95start.wav”;  (I'd also capitalize the win in win95 to match the sound file name.)

};



datablock AudioProfile(Win95end)

{

^filename = “./Win95end.wav";

};


>>> Error report complete.

ADD-ON "Sound_Win95" CONTAINS SYNTAX ERRORS


//end console.log
« Last Edit: November 04, 2013, 07:47:49 PM by QuadStorm »

Why the hell do you have those characters in there?

Fix dat stuff.


probably Cyrillic characters

What the forget happened here?

Looks like some encoding thing got messed up somehow.

I opened the server.cs in NotePad++ and tried out ANSI compared to UTF-8

ANSI:
Code: [Select]
datablock AudioProfile(Win95start)
{
filename = “./win95start.wav”;
};

datablock AudioProfile(Win95end)
{
filename = “./Win95end.wav";
};


UTF-8:
Code: [Select]
datablock AudioProfile(Win95start)
{
filename = “./win95start.wav”;
};

datablock AudioProfile(Win95end)
{
filename = “./Win95end.wav";
};


he's using weird quotes

I don't know how to code.
Syntax error? Wow. That server.cs file needs to be fixed.
I basically borrowed the server.cs file from another sound add-on and edited it, which was actually a bad idea.
« Last Edit: November 04, 2013, 08:36:50 PM by Mr Queeba »

Bumped. Someone needs to fix the server.cs.

paste the program into notepad, and save as server.cs
whats so hard