Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Duke Nukem > Duke Nukem 3D Modifications
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 09-19-2007, 05:32 AM   #1
Searinox

Searinox's Avatar
Remade music to be included?
Mark McWane's already remade the most of it, and it sounds damn good too. There's also several other fanmade tracks. Whaddya think? Could we ditch the midis once and for all and compile a suite of true, orchestrated music for the game? I haven't seen talk about it since I've joined, but I'm sure it must have been discussed in the past. I'm just surprised it hasn't happened yet. Is it planned for DN3D's future?
Last edited by Searinox; 09-19-2007 at 05:37 AM.
Searinox is offline  
Old 09-19-2007, 07:07 AM   #2
Lord Misfit

Lord Misfit's Avatar
Re: Remade music to be included?
The main issue at the moment is someone being able to finish their mission to program a new sound engine or something along that line for EDuke. JonoF is/was working on JfAud, which for a long time everyone else was waiting on to come out, but Hunter_rus has also appearantly decided to take matters into his own hands, at least to some extent. People have been wanting both use of MP3/OGG and higher quality sound for a while, so you're not alone. I wouldn't mind it either to be honest, but I can for now use Winamp when I test my own mod. :P

P.S. Some of my info might be rusty and I apologize if I got anything wrong.
__________________
http://www.zxdware.net/NR/ - Naferia's Reign: Invasion of the Dark Mistress. Version: 5.15.07152009
NR:IotDM's next release [5.16]: ?
Lord Misfit is offline  
Old 09-20-2007, 01:04 PM   #3
NightFright

NightFright's Avatar
Re: Remade music to be included?
Hmmm... I am wondering whether a music pack should be integrated into current HRP or rather be offered as a separate file as some kinda add-on. It would increase HRP filesize considerably. It wouldn't be a problem for the majority of DSL users, but I am also thinking of the 56k users still spooking around out there...
NightFright is offline  
Old 09-20-2007, 01:40 PM   #4
Searinox

Searinox's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by NightFright View Post
Hmmm... I am wondering whether a music pack should be integrated into current HRP or rather be offered as a separate file as some kinda add-on. It would increase HRP filesize considerably. It wouldn't be a problem for the majority of DSL users, but I am also thinking of the 56k users still spooking around out there...
If a 56K user wants HRP without the music "bloat" they still wouldn't be able to download the existing 220MB pack in the first place. XD And anyone who doesn't want it can just download the old version. ^.=.^

All in all I'd say zip it into the Autoload folder - that way it stays fair for everyone.

Either way, the most tedious part - remaking the music - has been done, long ago. All it needs now is to incorporate some freeware, open-source mp3/ogg/whatever engine.
Searinox is offline  
Old 09-20-2007, 02:33 PM   #5
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
Two weeks are passed and the OpenAL still is not ready.

That isn't that complex but I haven't had much time to work at it last week.
HERE is a new snapshot. It has all features which I was going to implement.
Status(todo): reverb(no need for now?),error handling,optimizing,cleaning up.

About features(that is done).
Improved "music" command:
Support OpenAL:VOC,WAV,OGG;
Support MIDI:MID.
No size limit anymore.

Improved "definesound" command:
Support OpenAL:VOC,WAV,OGG;
N.B. Sound should be mono. The EDuke32 can convert to mono but it takes more resources.

Implemented DEF override.
Format is differ from one of the "eDuke32 Music Pack". See sounds.def(it is a example)
The "eDuke32 Music Pack" may be alive at megaupload. LINK

About reverb(echo).
It seems it never works for EDuke. I did not hear the effect in EDuke but I did hear the effect in duke3d.exe(DOS).
So it doesn't work in EDuke and doesn't work in my snapshot aswell.
You can see locations of reverb zone via ShowReverb.exe. It need only *.map files. Key 'A' to open map.

About MP3.
There is no problem to add support for it but MP3 is kinda patented technology. I haven't studied the license yet but there may be some limitations.

About [misc.]
I have headphones so I don't know if sound is properly located. For example, sound may be in front instead of behind.
Quote:
Originally Posted by NightFright
Hmmm... I am wondering whether a music pack should be integrated into current HRP or rather be offered as a separate file as some kinda add-on. It would increase HRP filesize considerably. It wouldn't be a problem for the majority of DSL users, but I am also thinking of the 56k users still spooking around out there...
1. It could be a separate pack because I think the music won't be revised often.
2. Size of HRP can be reduced by implementing the palmap. EDuke32 are using ARB extension for the glowmap and the detailmap. I'm not sure ARB is enough flexible for the palmap. Complex blending always can be done via shaders.
Hunter_rus is offline  
Old 09-20-2007, 02:52 PM   #6
NightFright

NightFright's Avatar
Re: Remade music to be included?
If it just were a matter of 2 weeks... it's much more than 1.5 years now, almost two. compatible48x (the late) had proven MP3 music is possible without having OpenAL in place. Too bad he acted foolishly.

And BTW: I have uploaded a 20-files split version of the HRP, for those who haven't noticed yet. So there is still a chance for 56k guys to get it.
NightFright is offline  
Old 09-20-2007, 03:27 PM   #7
lycanox

lycanox's Avatar
Re: Remade music to be included?
We currently have 2 artist working on the music. I don't know about the status of those projects. But they at least should have some songs ready.

Mark Mcwane has already completed one complete pack and is currently working on its second. Pete Has released some good songs, but we haven't heard from him for a while.
Add to that that there are currently a zillion versions of mostly grab bag circulating on the forum and last but not least, the Plutonium CD.

It would be better if we just collect all those songs and post links to them on the music page. So people can have a choice.

Aldo I must seriously recommend hosting the songs posted on the forum, since everything past page 3 gets deleted by 3drealms. Some good songs have been lost that way.
lycanox is offline  
Old 09-21-2007, 01:46 AM   #8
Searinox

Searinox's Avatar
Re: Remade music to be included?
Wow I only posted it as a question and already projects start coming in... I feel special. XD
Just kidding. Great work guys. I still couldn't get my talons on the music package, and I'm NOT ganna be installing their toolbar for them to let me. >.=.>;

I have all of Mark's tracks though and maybe I could compile it myself. Just tell me - do his soundtracks need to have the names that the original midi soundtrack has?
Searinox is offline  
Old 09-21-2007, 01:51 AM   #9
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by NightFright
...compatible48x (the late) had proven MP3 music is possible without having OpenAL in place.
DirectSound and OpenAL actually support only unpacked raw samples. So MP3 support requires only the MP3 decoder(algorithm which convert MP3 to standard unpacked raw samples). But here is problem with legality. See here(look for MP3).
Quote:
Originally Posted by lycanox
Aldo I must seriously recommend hosting the songs posted on the forum, since everything past page 3 gets deleted by 3drealms. Some good songs have been lost that way.
I don't think they are all lost.
You could adjust cut off at "User CP->Edit Options->Thread Display Options->Default Thread Age Cut Off".

EDIT
Quote:
Originally Posted by Searinox
I have all of Mark's tracks though and maybe I could compile it myself. Just tell me - do his soundtracks need to have the names that the original midi soundtrack has?
Code:
Music { ID "briefing" file "Briefing.ogg" } // using Briefing.ogg
Music { ID "E1L2" } // look for "dethtoll.ogg"(because original is "dethtoll.mid")
Last edited by Hunter_rus; 09-21-2007 at 01:59 AM.
Hunter_rus is offline  
Old 09-21-2007, 02:58 AM   #10
Searinox

Searinox's Avatar
Re: Remade music to be included?
Oh crap! I have them in MP3 not OGG. I've got a converter but I'm too lazy to repeat the process with all 40 tracks. o.=.O;
Last edited by Searinox; 09-21-2007 at 03:13 AM. Reason: I've got balls of steel!
Searinox is offline  
Old 09-21-2007, 03:19 AM   #11
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
McWane's tracks are available here. Also OGG is smaller then MP3.
Hunter_rus is offline  
Old 09-21-2007, 04:37 AM   #12
Wellenreiter

Wellenreiter's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by Hunter_rus View Post
Two weeks are passed and the OpenAL still is not ready.

That isn't that complex but I haven't had much time to work at it last week.
HERE is a new snapshot. It has all features which I was going to implement.
Status(todo): reverb(no need for now?),error handling,optimizing,cleaning up.

About features(that is done).
Improved "music" command:
Support OpenAL:VOC,WAV,OGG;
Support MIDI:MID.
No size limit anymore.
[snip]
Hmmm, this sort of works. Music plays fine, but all sounds are heavily distorted. Also, at first I didn't have grabbag.ogg, so I think it tried to play the midi instead, and that was heavily distorted, too. Maybe my sound card(Sound Blaster Live!) is not completely compatible with OpenAl?
Wellenreiter is offline  
Old 09-21-2007, 06:40 AM   #13
Hankparish

Hankparish's Avatar
Re: Remade music to be included?
Eh probly

(or is my sound card so bad that it makes the distoreted music so clear lol)
Hankparish is offline  
Old 09-21-2007, 06:57 AM   #14
Wellenreiter

Wellenreiter's Avatar
Re: Remade music to be included?
Strange, tried it again, this time with onboard sound. Which works fine. So it is sort of a driver issue, but I have no problems with other games...

Hanparish, note that music was not the problem anyway.
Wellenreiter is offline  
Old 09-21-2007, 09:36 AM   #15
Blade Nightflame

Blade Nightflame's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by Searinox View Post
Oh crap! I have them in MP3 not OGG. I've got a converter but I'm too lazy to repeat the process with all 40 tracks. o.=.O;
batch processing ftw.
__________________

Blade Nightflame is offline  
Old 09-21-2007, 10:41 AM   #16
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
About distortion.

I need more info:
Which Windows?
Which format(OGG,VOC,WAV)? MID is played by MIDI not OpenAL.
Which file(if you know)?

Here is a snapshot which uses the "generic software" device.
Hunter_rus is offline  
Old 09-21-2007, 10:42 AM   #17
Blade Nightflame

Blade Nightflame's Avatar
Re: Remade music to be included?
Just started to test this.

You ****ing rock.
__________________

Blade Nightflame is offline  
Old 09-21-2007, 11:39 AM   #18
Wellenreiter

Wellenreiter's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by Hunter_rus View Post
About distortion.

I need more info:
Which Windows?
Which format(OGG,VOC,WAV)? MID is played by MIDI not OpenAL.
Which file(if you know)?

Here is a snapshot which uses the "generic software" device.
This 'generic snapshot' actually works fine! Nice!

Concerning the earlier snapshot:
Win XP SP2
Music format is .OGG, but they worked fine, sounds are .voc(didn't fiddle about with them). Sorry, I was mistaken about the midi files being distorted too.
Actually ALL sounds are distorted and noisy! eduke32.log doesn't seem to show anything helpful, but I can still upload it if you like.

I actually have two sound "cards" in my system, one being the soundblaster live! (for everything, standard device), and the other being the integrated sound chip, which I only use for music on my stereo. Also, I don't use the standard driver for the live!, but an Audigy2 driver(I think). This setup didn't make any problems before. I also downloaded the OpenAL driver from creative, didn't make a difference. "Use only standard device"(live!) didn't make any difference, but it worked fine with making the integrated chip the standard device.
Wellenreiter is offline  
Old 09-21-2007, 01:45 PM   #19
Searinox

Searinox's Avatar
Re: Remade music to be included?
I'm running on Windows Vista, and I know the sound's distorted. If I pop it into VMware where I have Windows ME it sounds fine. Is this sound engine upgrade also going to solve Vista problems?

Random: 233 Degrees, Ah Geez, Pissed Office Box, and Layers Of Dust sound keeeeeeeewl! @@;;;
Last edited by Searinox; 09-21-2007 at 02:35 PM. Reason: PRESS SPACE TO RESTART LEVEL
Searinox is offline  
Old 09-21-2007, 05:39 PM   #20
NightFright

NightFright's Avatar
Re: Remade music to be included?
Currently, the sound engine at least partially utilizes DirectSound which isn't existing in Vista any more. That's why you have sound problems. OpenAL is a cross-platform API, so yes, it would solve sound issues in Vista.
NightFright is offline  
Old 09-22-2007, 07:56 AM   #21
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
Sorry, thing are going very slow. I think I will soon have more time to work on it.
Here are some explanations:

EDuke32:
DirectSound: VOC, WAV
MIDI device: MID
EDuke32_OpenAL:
OpenAL: VOC, WAV, OGG
MIDI device: MID

Resume:
MID-files are played by MIDI device not by DirectSound/OpenAL. I changed nothing here. If Vista don't have proper support for MIDI device, the problem will remain. Possible solution: using OGG music instead of MID.
Hunter_rus is offline  
Old 09-22-2007, 09:50 AM   #22
NightFright

NightFright's Avatar
Re: Remade music to be included?
Did you make it so that you have to name the MP3/OGG files after the original MIDIs in order to play the right tracks in the levels automatically (when you put them in a separate folder, e.g. "music")? compatible48x did that and it worked quite well.

Hope you use latest EDuke32 snapshot (Sep 1) for your mod, btw... And don't forget to make your sourcecode changes available (on demand, at least)!

BTW I want to (repeatedly) hint at Mark Knight's excellent renderings of the Duke3D Playstation soundtrack which also contain several tracks from the PC version: http://www.gamesounds.co.uk/downloads.html
Last edited by NightFright; 09-22-2007 at 10:04 AM.
NightFright is offline  
Old 09-22-2007, 10:39 AM   #23
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by NightFright
Did you make it so that you have to name the MP3/OGG files after the original MIDIs in order to play the right tracks in the levels automatically
If file isn't specified, EDuke32 try to use same file with OGG extension.
See "sounds.def".
Also the files can be loaded from ZIP,GRP.

Quote:
Originally Posted by NightFright
Hope you use latest EDuke32 snapshot (Sep 1) for your mod
Yes, I do.
Quote:
Originally Posted by NightFright
And don't forget to make your sourcecode changes available (on demand, at least)!
I have no reason to forget about it. I can release it at any time but don't want bother someone to finish it. I had been going to finish everything before I became busy(week ago) but I was unlucky. I'll try finish tomorrow(it's Sunday) or at least prepare the source code changes(a patch).
Hunter_rus is offline  
Old 09-22-2007, 11:17 AM   #24
Searinox

Searinox's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by Hunter_rus View Post
MID-files are played by MIDI device not by DirectSound/OpenAL. I changed nothing here. If Vista don't have proper support for MIDI device, the problem will remain. Possible solution: using OGG music instead of MID.
I figured as much. Must be why the only thing that sounds clearly in the game is the background music, LOL. That means that if I switch to OGG music it's ganna sound bad again. XD

Btw, a while ago there was an OpenAL proof-of-concept in a thread I seem to have forgotten about. XD It contained an EDuke32 and a few files which, added into the game, solved all of the crackling on Vista. The engine wasn't able to display more than 8-bit graphics and crashed on exit, but it proved that it was possible.

Btw NightFright thanks for the link, mk_nukem_grabbag sounds just plain awesome! <3
Last edited by Searinox; 09-22-2007 at 11:31 AM. Reason: I'm all outta gum.
Searinox is offline  
Old 09-22-2007, 11:28 AM   #25
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
Do you have distorted sound on Windows Vista or XP...
1. ...when you are using DirectSound EDuke32?
2. ...when you are using "hardware" OpenAL EDuke32?
3. ...when you are using "software" OpenAL EDuke32?
Hunter_rus is offline  
Old 09-22-2007, 11:43 AM   #26
Searinox

Searinox's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by Hunter_rus View Post
Do you have distorted sound on Windows Vista or XP...
1. ...when you are using DirectSound EDuke32?
2. ...when you are using "hardware" OpenAL EDuke32?
3. ...when you are using "software" OpenAL EDuke32?
That's strange... now neither the hardware nor software OpenALs provide any sound. All I can hear is the music, no sound effects. And if I try to start a level it freezes.
Searinox is offline  
Old 09-22-2007, 11:56 AM   #27
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
Freezing means, a error happed during opening a sound but hasn't been handled(error handling isn't done). Show me a log. Most likely problem in DEF.
Hunter_rus is offline  
Old 09-22-2007, 11:58 AM   #28
Searinox

Searinox's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by Hunter_rus View Post
Freezing means, a error happed during opening a sound but hasn't been handled(error handling isn't done). Show me a log. Most likely problem in DEF.
Here ya go.
Attached Files
File Type: txt EDuke32.txt (5.0 KB, 5 views)
Searinox is offline  
Old 09-22-2007, 11:59 AM   #29
Wellenreiter

Wellenreiter's Avatar
Re: Remade music to be included?
Windows XP...

1. No (latest snapshot)
2. Yes
3. No
Wellenreiter is offline  
Old 09-22-2007, 12:00 PM   #30
Searinox

Searinox's Avatar
Re: Remade music to be included?
Quote:
Originally Posted by Wellenreiter View Post
Windows XP...

1. No (latest snapshot)
2. Yes
3. No
Windows Vista, yes, latest snapshot.
Searinox is offline  
Old 09-22-2007, 02:43 PM   #31
NightFright

NightFright's Avatar
Re: Remade music to be included?
Can you also replace music that's VOC in the game (e.g. the E1L2 bar music or the level ending tune) with MP3s like the ones made by Mark Knight? That'll be great!

Plus: How do you setup the game to use OGG?
Last edited by NightFright; 09-22-2007 at 02:50 PM.
NightFright is offline  
Old 09-22-2007, 02:59 PM   #32
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
That's BAR_MUSIC(ID=95). It can be overridden.
But MP3 isn't supported. I pointed out the reason.

See "sounds.def". It's in the old "hardware" OpenAL snapshot
Code:
sound { ID  67 file "gasp.voc" } // sound override
sound { ID 202 file "gasp.voc" } // give money to stripper(not to striper)
Also you can edit USER.CON.
Sound can be OGG,WAV,VOC.
Music can be OGG,WAV,VOC, MID.
Hunter_rus is offline  
Old 09-22-2007, 03:08 PM   #33
NightFright

NightFright's Avatar
Re: Remade music to be included?
And where to put the OGGs? In a "music" subdir or where? Are they used automatically then?

You see: Your goal should probably also be to make it as easy to use as the version compatible48x made.
Last edited by NightFright; 09-22-2007 at 03:12 PM.
NightFright is offline  
Old 09-22-2007, 03:32 PM   #34
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
If filename isn't specified, EDuke32 looks for files in the game folder.

But if filename is specified then DEFs work almost same way as HRP content.
It is possible to make "MusicHRP.zip":
Code:
highres\music.def"(this file is already in duke3d_hrp.zip, used as stub).

highres\music\CF.ogg 
highres\music\Depart.ogg 
highres\music\DethToll.ogg 
highres\music\FatCmdr.ogg 
highres\music\Floghorn.ogg 
highres\music\FuturMil.ogg 
...
File "music.def"
Code:
Sound {ID 95 file "highres/music/bar_music.ogg" }

Music { ID "intro" file "highres/music/intro.ogg"}
Music { ID "briefing" file "highres/music/Briefing.ogg" }

// EPISODE ONE

Music { ID "E1L1" file "highres/music/1.ogg" }
Music { ID "E1L2" file "highres/music/2.ogg" }
Music { ID "E1L3" file "highres/music/3.ogg" }
Music { ID "E1L4" file "highres/music/4.ogg" }
Music { ID "E1L5" file "highres/music/5.ogg" }
Music { ID "E1L6" file "highres/music/6.ogg" }
Music { ID "E1L7" file "highres/music/7.ogg" }
...
Quote:
Originally Posted by NightFright
Are they used automatically then?
Yes, they are. It will be possible to disable/enable DEFs override during game like disabling/enabling models.
Last edited by Hunter_rus; 09-22-2007 at 03:43 PM.
Hunter_rus is offline  
Old 09-22-2007, 04:04 PM   #35
NightFright

NightFright's Avatar
Re: Remade music to be included?
Also need IDs for
- 2BWILD (E2L1 bar music)
- BONUS (level stats)

I will then create a new music pack with all stuff preset for you modified exe.
NightFright is offline  
Old 09-22-2007, 04:12 PM   #36
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
Borntobewildsnd 168
Bonusmusic 249
Hunter_rus is offline  
Old 09-22-2007, 05:05 PM   #37
NightFright

NightFright's Avatar
Re: Remade music to be included?
OK. One issue right now, then:

"Briefing" (Ep4 opening cinematic) crashes on level startup when music file is named "briefing.ogg". Works fine when named/defined as "brief.ogg", however.
Last edited by NightFright; 09-22-2007 at 05:08 PM.
NightFright is offline  
Old 09-22-2007, 05:16 PM   #38
Hunter_rus

Hunter_rus's Avatar
Re: Remade music to be included?
There is a new snapshot.
  • File "duke3d.cfg" have a option "HardwareAL = 0".
  • Improved error handling.
  • Improved format for DEFs(no need to specify filename), see "sounds.def".
  • No freezing(I hope so).
Hunter_rus is offline  
Old 09-22-2007, 06:04 PM   #39
Dennis J
Re: Remade music to be included?
I'd like to try this out, but where can i get the music (other than the theme song "GrabBag", I'll rip that myself from the plutonium CD.)
Dennis J is offline  
Old 09-22-2007, 06:31 PM   #40
NightFright

NightFright's Avatar
Re: Remade music to be included?
On my site, v1.0 of the NEW music mod is available. It contains:

+ full ogg soundtrack, featuring
- "Stalker" by PeteB
- "Grabbag", "2bWild", "Bonus" & "BarMusic" by Mark Knight (http://www.gamesounds.co.uk)
- all other music by Mark McWane (http://www.markmcwane.com)

+ EDuke32 music mod by Hunter_rus, latest snapshot (Sep 23)

Everything is set so that you just need to unzip the file into your EDuke32 base dir, overwriting old "eduke32.exe". Then start the game as usual and you are set, new music pack will be loaded automatically.

Credit is given to the appropriate artists and makers in the provided readme btw.
NightFright is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:48 PM.

Page generated in 0.20693398 seconds (100.00% PHP - 0% MySQL) with 17 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.