AGS Editor Plugin: Media Manager (Preview Edition)

Started by edmundito, Sun 09/05/2004 23:59:44

Previous topic - Next topic

edmundito


I always wondered how people like Grundislav managed with several voice and sound and music files in their game folder (for like Carver Island 3), so I decided to come up with a solution for it. This is the first step, which just organizes the sound files. It does not yet organize the voice files based on character, but I'll implement that sometime soon. I always wanted to make a media player of some sort, and this is where this plugin is heading towards. Eventually you'll be able to play the sound and audio files, as long as you have support for them (like an OGG plugin for DirectX and whatnot). I have already messed with playing files, but this version does not include that feature because it's still very buggy.

I wanted to release a full-featured version in one blow, which might be the next version you'll see, but I wanted people to test this to test AGS Editor plugins and also to test .NET-based plugins, which was not the original idea supported by CJ-. It seems to work very well, just follow the 3 step install process in the readme file enclosed with the plugin.

Enjoy!

Download


Update: There's a new update to the plugin... download it if you downloaded it before the "Last edit" date on this post.

jannar85

Hey! This looks (sounds) cool! Awesome!
The sound is muted right now, but I can try it tomorrow :D
Veteran, writer... with loads of unreleased games. Work in progress.

Scummbuddy

i look forward to the idea of seperating characters in their own tree branches, and the ability to preview the selected sounds. keep up the good work. i cant wait for the next version.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Rui 'Trovatore' Pires

I'll add it to my site... which SHOULD have unfrozen by now. I'll try e-mailing FreeWebs. In the meantime, great work!

EDIT - Loading up agsedit.exe, I get

---------------------------
AGS Editor Warning
---------------------------
Unable to create instance for plugin: 'AGS_MediaMan_NET.PluginMain'.

Ensure that the plugin filename has the correct case and that it really is an AGS plugin.
---------------------------
OK   
---------------------------

...and then AGS runs normally, but without the plugin.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

strazer

I suppose you need .NET runtimes for this?

I want to install as little as possible, so assuming they work like the VB runtimes, what are the names of the required DLLs so I can put them into the application directory as needed?

Vel

That looks really useful, Ill download the final version.

edmundito

Yes, you need to go to windows update and get the .NET Framework... it's not too dificult to install, if your IE is working fine. I mentioned it in the readme file included in the zip but I should have mentioned here, too, I guess.

Grundislav

I always wondered how people like me managed their files too...maybe that's why it's taken forever for me to release Carver Island 3.

Anyway, good work.  This will definitely come in handy.

TerranRich

Hah, with BTS, I'm just keeping a list in Notepad, but this looks awesome and would help immensely! Will the character voice tree diagrams be able to support matching lines of text with the voice file? For example, if EGO123.OGG says "It is a tree!" then it would be good to have that line  point to that voice file.
Status: Trying to come up with some ideas...

Scorpiorus

Nice work netmonkey! I look forward to the next release. :)

~Cheers

Pumaman

Good work :)

I tried it out, but whenever I click anything in the tree, I get this:


System.IO.FileNotFoundException: File or assembly name Microsoft.DirectX.AudioVideoPlayback, or one of its dependencies, was not found.
File name: "Microsoft.DirectX.AudioVideoPlayback"
   at AGS_MediaMan_NET.AGSPanel.getDuration(String file)
   at AGS_MediaMan_NET.AGSPanel.loadMediaList(String s)
   at AGS_MediaMan_NET.AGSPanel.onNodeSelect(Object sender, TreeViewEventArgs e)
   at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
   at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
   at System.Windows.Forms.TreeView.WmNotify(Message& m)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



I presume you need some sort of DirectX-.net installed, any ideas where to get it?

Scummbuddy

did you get the .net downloads from windows update?
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Pumaman

Yeah, I've got the .net framework installed. I presume there's some sort of extra bit you need for .net DX support though.

edmundito

#13
Oh, I know why... you can't get the time from WAVE file neither with DirectX... Hmm... apparently it's  just MP3s... that's kind of crappy. I'll fix it and reupload it.

Pet Terry

#14
Nice job!

Forgot to mention that I got the same error as CJ when clicking the Media tree, though.

EDIT: Updated the plugin, now I don't get the error anymore. However, the lists are empty even though I have voice files, sound effects and OGG-music in my games... ??? The earlier version, on the other hand, show the files I had in my game folder.
<SSH> heavy pettering
Screen 7

edmundito

Another build is up, this time the problems are  fixed.

Here's a new problem, though. Before you copy the new plugin, make sure you unselect it from your game, and then once you copy the new file, open your game and re-select the plugin. Otherwise,  it might not work properly. I'm not sure if this is an AGS Editor fault, or my own fault. I'm trying to figure out what's going on...

Thanks to petteri for his assistance on testing these problems  ;D

Pumaman


SMF spam blocked by CleanTalk