DirectShow for Adventure Maker

This forum is meant for announcing new plugins, downloading other people's plugins, posting questions, etc.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

DirectShow for Adventure Maker

Postby time-killer-games » Sat Dec 02, 2017 9:36 am

DirectShow Video Player Plugin v1 by Samuel Venable

This plugin allows you to play videos that are NOT skippable, even if the escape key is pressed.
The cursor will be hidden whenever a video is currently playing, to match the new v4.7.1 feature.
Regardless of whether the video is played from a hotspot click OR a frame load, you can resize it.
Other benefits of this plugin include more video format and codec support than the default player.

Supported video formats and codecs are listed and explained at this link.

100% free, open source, and public domain.
*.ocx made with Visual Studio 2017 Community.
Source code was written in C++ (MFC).

DOWNLOADS


IMPORTANT NOTE

This plugin under-the-hood relies on looping timed events for every frame, so whenever you remove timed events with code, you shouldn't assume the timed events you created are the only ones floating around.

In other words, instead of doing this:
Code: Select all
CreateTimedEvent ...


And this:
Code: Select all
RemoveTimedEvent 1


You should store the timed events you create in a variable, like so:
Code: Select all
TimedEventVar = CreateTimedEvent ...


And then remove it like this:
Code: Select all
RemoveTimedEvent TimedEventVar


You can replace "TimedEventVar" with whatever variable name suits your needs.

If you aren't dynamically removing timed events with code in your project, then you won't need to worry about this, and you can then use the plugin without compensation. I'm going to be working on a new version soon that will hopefully no longer rely on Adventure Maker's timed event system, but until then, keep this stuff in mind.

Cheers!
Samuel
Last edited by time-killer-games on Fri Dec 15, 2017 10:25 am, edited 15 times in total.
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby reneuend » Sat Dec 02, 2017 6:38 pm

Cool! 8)
Very excited to see your demo and sample code.
Thanks! :mrgreen:
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2660
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Re: DirectShow for Adventure Maker

Postby time-killer-games » Sat Dec 02, 2017 7:03 pm

Hi reneuend!

All the downloads are now up. This plugin requires zero lines of code to write, everything is done in AM's interface. :D

However, if you would like to modify the plugin itself, as usual, that would require some code.

You're welcome, it's my pleasure! :)
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby time-killer-games » Sun Dec 03, 2017 1:23 am

I don't know if anyone has downloaded it since the time I posted the original links, but anyway the original build I posted had a bug where the taskbar wasn't being hidden in fullscreen. That bug I have fixed and I have replaced the download links with a new build that solves the issue. The taskbar should now remain hidden in fullscreen at all times.

If anyone encounters new bugs with this plugin, please let me know.

I'm hoping to update my HostExe plugin soon. Wish me luck! :D
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby skype6 » Sun Dec 03, 2017 12:39 pm

Very nice! Good job :)
User avatar
skype6
Frequent Poster
 
Posts: 112
Joined: Fri Jan 10, 2014 2:17 pm

Re: DirectShow for Adventure Maker

Postby time-killer-games » Sun Dec 03, 2017 9:30 pm

Thanks skype6!

I fixed a new bug I found and updated the download links again. If you already downloaded the plugin, please re-download everything you may have gotten from those links in the OP and uninstall + delete all older versions of this plugin you may have that were published before the writing of this post.

So the bug was, if you had "enable the option to switch between fullscreen/windowed" checked in project settings, and you tried to switch in and out of fullscreen at least once in-game, the taskbar would go back to being visible in fullscreen, which the taskbar should never be visible in fullscreen. This is now fixed, (for real this time), that no matter what, the taskbar will NOT be visible at all whenever you are in fullscreen. :mrgreen:

If I or anyone else encounters any new bugs that I end up fixing, or if I add any new features at this point, I will change the version number from v1 to v2, depending on how much gets fixed/added within the next update.
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby reneuend » Mon Dec 04, 2017 1:26 am

I'm going to add this to the Plug-ins listing.
Downloading now to test it out!
It's nice to see something new to use in AM despite the fact that AM itself hasn't been updated or converted to a newer language.
Thanks again!!!!!

TKG!!! I'm getting 404 errors on your download links!!!!
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2660
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Re: DirectShow for Adventure Maker

Postby time-killer-games » Mon Dec 04, 2017 2:27 am

reneuend wrote:TKG!!! I'm getting 404 errors on your download links!!!!


lol, sorry reneuend. I was in the middle of updating the links again.
Make that version 1.3. :)

Cheers.
Samuel
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby time-killer-games » Sun Dec 10, 2017 3:46 am

Just published v1.4!

This is just a quick bugfix version, no added features.

Fixed bugs:

  • Fixed a problem where the game window would overlap the taskbar when NOT in fullscreen.
  • Fixed a bug where the plugin would prevent the save and load game windows from appearing when you click save or load from the menu.

That's all for now! :mrgreen:
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby time-killer-games » Tue Dec 12, 2017 8:21 pm

Just published v1.4.1!

This is just a quick bugfix version, no added features.
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby time-killer-games » Thu Dec 14, 2017 6:55 am

Just published v1.4.2!

This is just a quick bugfix version, no added features.

Fixed bugs:

  • Fixed a problem where the taskbar would still show when in fullscreen after playing a video at the start of a game. (I must've broke that in a previous version).
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby time-killer-games » Fri Dec 15, 2017 4:59 am

Just published v1.4.3!

New Features:

  • You can now (optionally) execute Adventure Maker VBS code automatically once the video has finished playing.
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby time-killer-games » Fri Dec 15, 2017 6:15 am

Just published v1.4.4!

This is just a quick bugfix version, no added features.
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby time-killer-games » Fri Dec 15, 2017 10:27 am

Just published v1.4.5!

New Features:

  • Added a checkbox for executing VBScript, so that you can turn on and off VBS execution without having to constantly backspace and re-type the same code.
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Re: DirectShow for Adventure Maker

Postby Vengeance66 » Sat Jan 06, 2018 5:32 pm

Man, you've been busy! Awesome!!!
Stay a while and listen...

Rainbow Enterainment - http://rainbowenter.com/
User avatar
Vengeance66
Administrator
 
Posts: 628
Joined: Wed Oct 13, 2010 2:17 pm
Location: Macedonia

Re: DirectShow for Adventure Maker

Postby time-killer-games » Tue Jan 09, 2018 10:09 pm

Thanks V66! I have a lot of downtime right now for someone my age so I do my best to keep myself busy. :)
User avatar
time-killer-games
Expert Member
 
Posts: 398
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA


Return to The Plugins Corner

Who is online

Users browsing this forum: No registered users and 1 guest

cron