Author |
Message |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Sun Jan 11, 2009 5:05 pm
Subject: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

 
|
|
I've finished most of the code, but I'm having some small crash problems (as in large crash problems). I think the problem is when it is trying to cache everything - therefore in the ASM_Cache function in vieasm.cpp. Here is the code and instructions on how to install it to get it working on Wolf4SDL v1.6. I would really like to get this working.
EDIT: Here are the download links for the working versions:
Pre-Installed on Wolf4SDL v1.6
Code with installation instructions (for those of you have have made significant changes
EDIT 2: Updated the instructions in the Code archive. Thanks for pointing my error out, Richter.
EDIT 3: New version - VIEASM v0.9.1 Patch
This version allows you to change the volume and reverse the stereo channels. See here for a tutorial that implements both of these with a new sound menu.  |
Last edited by AlumiuN on Tue Nov 10, 2009 12:57 am; edited 4 times in total
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Mon Jan 12, 2009 11:52 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
*BUMP*
Anyone taken a look at this yet? |
|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 3:05 ago.
Topics: 165
Posts: 8327
Location: Neo-traditions, Inc.

|
Posted: Tue Jan 13, 2009 6:15 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
I don't really know enough about Ripper's cache routine to help. I do remember him saying that all the VGAGRAPH images are loaded up in one foul swoop, from beginning to end, when the EXE starts up. The AUDIO cache manager might work the same way, but I don't really know.  |
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Tue Jan 13, 2009 11:20 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
Nonononono, this is _my_ cache function that is screwing up, not Ripper's ID_PM one. This caches the external sounds itself. |
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Sat Jan 24, 2009 3:58 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
*BUMP AGAIN*
C'mon, guys!
I'll give you a clue: it involves the functions CA_LoadAllSounds in asmcomp.cpp and ASM_Cache in vieasm.cpp.
Please?  |
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Wed Feb 04, 2009 3:39 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
*FINAL BUMP*
Otherwise I'll bug Ripper or Adam with it. xD |
|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 3:05 ago.
Topics: 165
Posts: 8327
Location: Neo-traditions, Inc.

|
|
 |
BrotherTank
Forum Administrator

Joined: 01 Mar 2003
Last Visit: 13 Sep 2017
Topics: 153
Posts: 2255
Location: Ontario

|
Posted: Thu Feb 05, 2009 4:54 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
lol... Tricob ... are you very far into converting and moving routines into the Bunker SDL? or are you taking code from the Bunker and putting it in DX??
Once the code from the Map of the Month is bug free... I'll be posting it.. lol...
Greg
BrotherTank |
|
|
 |
Raziel
DieHard SS

Joined: 03 Dec 2005
Last Visit: 03 Dec 2009
Topics: 49
Posts: 485
Location: Israhell

|
Posted: Thu Feb 05, 2009 6:55 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
I'm moving routines too since I wasn't able to compile with the bunker source itself for some weird reason...
or maybe I did succeed.. ah yes, I did. But, when I usually compile the code the new EXE. appears in the source folder and for some reason I didn't got any EXE.  |
_________________ Raziel A.
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Thu Feb 05, 2009 7:22 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
Tricob wrote:
AlumiuN wrote:
*FINAL BUMP*
Sorry to keep you hanging like this. This past weekend was much messier than usual, and I've been porting the BunkerSDL code to WolfDX since then. I'll try to look it over this Friday.
Quote:
Otherwise I'll bug Ripper or Adam with it. xD
If you do get in touch with Ripper, you might want to let him know about the bugfixes I posted involving the floor/ceiling and rain/snow code.
I didn't mean just you Tricob, but thank you anyway. I don't mean to bug everyone with this (no pun intended) but this is holding up EoC which both Duartuss and I have been working on for nearly a year now, so I'm really itching to get it done.  |
|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 3:05 ago.
Topics: 165
Posts: 8327
Location: Neo-traditions, Inc.

|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Tue Feb 17, 2009 11:55 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
Well, I has an update! Thanks to Ripper, this now works! As such I shall release it as beta for now. You can find the links in the first post. One note: sounds at the standard 6896 Hz will play too fast and very high, and the best quality to use is 44100 Hz.  |
|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 3:05 ago.
Topics: 165
Posts: 8327
Location: Neo-traditions, Inc.

|
Posted: Wed Feb 18, 2009 6:41 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
Thanks for posting the update on this, AlumiuN. I did try looking over the older version of the code you posted, but couldn't make much progress with it. Glad you were able to get it working without me.  |
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Fri Feb 20, 2009 1:33 am
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
Most of the errors were obscure errors, like malloc calls being off by one byte, me using '==' instead of '=', having two different definitions for one variable in different functions causing a large overflow, y'know... the usual. Ripper was fairly laborious in going over this. I may need some help in the future to fine tune some stuff, as I plan to add some more functionality for some things, like extension-independent music finding, use of sound names for something useful, maybe even ID tag reading, who knows?  |
|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 3:05 ago.
Topics: 165
Posts: 8327
Location: Neo-traditions, Inc.

|
Posted: Fri Feb 20, 2009 9:20 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
AlumiuN wrote:
I may need some help in the future to fine tune some stuff, as I plan to add some more functionality for some things, like extension-independent music finding, use of sound names for something useful, maybe even ID tag reading, who knows?
Okay. I might be able to supply you with a few details on headers and things that music formats use. I'm currently looking over the Midi file structure right now, as I want to write a program that takes notes hard-coded to different volumes, and makes them all one volume, so the volume of the whole track can be controlled from one place, instead of changing the volume of several hundred notes each track (which isn't the least bit fun, or even practical if you have a life). |
|
|
 |
RichterBelmont12
DieHard Wolfer


Joined: 14 Aug 2004
Last Visit: 7:19 ago.
Topics: 98
Posts: 1516
Location: New Jersey

|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
|
 |
RichterBelmont12
DieHard Wolfer


Joined: 14 Aug 2004
Last Visit: 7:19 ago.
Topics: 98
Posts: 1516
Location: New Jersey

|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Wed Jul 01, 2009 3:00 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
What format is the music, and have you got the right path and file name in ASMCREF.H? |
|
|
 |
RichterBelmont12
DieHard Wolfer


Joined: 14 Aug 2004
Last Visit: 7:19 ago.
Topics: 98
Posts: 1516
Location: New Jersey

|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Thu Jul 02, 2009 3:01 am
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
Look in your stdOut.txt file. Is there anything in there? |
|
|
 |
RichterBelmont12
DieHard Wolfer


Joined: 14 Aug 2004
Last Visit: 7:19 ago.
Topics: 98
Posts: 1516
Location: New Jersey

|
|
 |
RichterBelmont12
DieHard Wolfer


Joined: 14 Aug 2004
Last Visit: 7:19 ago.
Topics: 98
Posts: 1516
Location: New Jersey

|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Thu Jul 02, 2009 1:34 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
No problem. Those errors are because the NOBONUSSND and MISSILEHITSND files don't exist.  |
|
|
 |
RichterBelmont12
DieHard Wolfer


Joined: 14 Aug 2004
Last Visit: 7:19 ago.
Topics: 98
Posts: 1516
Location: New Jersey

|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Tue Jul 21, 2009 1:35 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
Check the documentation on SDL_mixer. You're probably using a newer version of it than I am, so you'll need to get some more DLLs.  |
|
|
 |
RichterBelmont12
DieHard Wolfer


Joined: 14 Aug 2004
Last Visit: 7:19 ago.
Topics: 98
Posts: 1516
Location: New Jersey

|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 3:05 ago.
Topics: 165
Posts: 8327
Location: Neo-traditions, Inc.

|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 2:22 ago.
Topics: 38
Posts: 2536
Location: Christchurch, New Zealand

|
Posted: Tue Jul 21, 2009 7:02 pm
Subject: Re: Advanced Sound Manager - first working Beta!
[ IP : Logged ]
|

  
|
|
I believe they are libogg.dll, libvorbis.dll and libmpeg.dll. I'll go hunting for them.
EDIT: libVorbis
libOgg
SMPEG, and hence the MP3 playback, appears to be broken. Just use Audacity or something and convert your MP3s to OGGs.  |
|
|
 |
RichterBelmont12
DieHard Wolfer


Joined: 14 Aug 2004
Last Visit: 7:19 ago.
Topics: 98
Posts: 1516
Location: New Jersey

|
|
 |
|