Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Rahzel on September 01, 2005, 02:16:36 am

Title: MAME Movie Preview Delay?
Post by: Rahzel on September 01, 2005, 02:16:36 am
Just have a quick question, I tried searching but didn't find anything I though i'm sure it's been talked about before, so sorry if this is a dupe.

/disclaimer

When using the Movie Preview in Mamewah, do the movie cause a short delay when scrolling through the menu? Do they load right away without any delay? Do some cause delay and the smaller one don't? I want to add this feature to my cab but I'm not sure if it's worth it if I have to wait on each game movie to load.

Thanks
Title: Re: MAME Movie Preview Delay?
Post by: Minwah on September 01, 2005, 05:13:33 am
When using the Movie Preview in Mamewah, do the movie cause a short delay when scrolling through the menu? Do they load right away without any delay? Do some cause delay and the smaller one don't? I want to add this feature to my cab but I'm not sure if it's worth it if I have to wait on each game movie to load.

There is a delay (which is user definable, 2 seconds by default).  Movies only play when you haven't touched any controls for x seconds, so the load time is not noticable.

BTW you might consider changing the thread topic to 'Mamewah Movie Preview Delay', I nearly didn't read it!
Title: Re: MAME Movie Preview Delay?
Post by: Rahzel on September 01, 2005, 06:04:23 am
Sorry I should of been more clear. Now that I'm sobering up I realise I sounded like a foreigner. I meant the movies that are played while browsing through the game list, not the screensaver. I'de like it to show up right away but it shows a black screen for a couple seconds then plays. Can I change it somehow to not lag at all, or is this the cause of a slow computer?

Thanks
Title: Re: MAME Movie Preview Delay?
Post by: Minwah on September 01, 2005, 07:42:49 am
Sorry I should of been more clear. Now that I'm sobering up I realise I sounded like a foreigner. I meant the movies that are played while browsing through the game list, not the screensaver. I'de like it to show up right away but it shows a black screen for a couple seconds then plays. Can I change it somehow to not lag at all, or is this the cause of a slow computer?

No I knew what you meant...the delay before the movie preview kicks in is set in mamewah.ini:

delay_before_movie_preview                2

Change this to '0' and there should be no delay, other than however long it takes to load the movie.
Title: Re: MAME Movie Preview Delay?
Post by: Rahzel on September 01, 2005, 02:10:37 pm
Thanks bro, that was it! There's still a bit of a delay but it's a lot less than 2 seconds.
Title: Re: MAME Movie Preview Delay?
Post by: Buddabing on September 02, 2005, 08:55:16 am
Can this be a decimal value? I'd like something like a quarter second so that scrolling isn't interfered with.
Title: Re: MAME Movie Preview Delay?
Post by: Minwah on September 02, 2005, 10:43:10 am
Can this be a decimal value? I'd like something like a quarter second so that scrolling isn't interfered with.

No...but...

I just checked the code as I couldn't remember, and it seems when you set the delay to zero, actually it still uses a delay of 0.25 seconds.  I think I purposely added this delay so that is does not interfere with scrolling if possible.

Should I remove this 'override' and allow decimal values??
Title: Re: MAME Movie Preview Delay?
Post by: Buddabing on September 02, 2005, 11:18:47 am
Can this be a decimal value? I'd like something like a quarter second so that scrolling isn't interfered with.

No...but...

I just checked the code as I couldn't remember, and it seems when you set the delay to zero, actually it still uses a delay of 0.25 seconds.
Title: Re: MAME Movie Preview Delay?
Post by: Minwah on September 02, 2005, 11:27:58 am
Seems like zero should be zero, but you're the programmer. Maybe allow zero with a warning in the default config file.

I would like the decimal values in the next version, though, that should be easy to do.

Yeah OK, I'll do that and people can please themselves...
Title: Re: MAME Movie Preview Delay?
Post by: Minwah on September 02, 2005, 11:51:11 am
Yeah OK, I'll do that and people can please themselves...

Done it, and improved the code so that the scrolling is not affected at all.  Minimum delay is 1/1000 second...seems to be really quick on my desktop.
Title: Re: MAME Movie Preview Delay?
Post by: Silver on September 02, 2005, 11:58:46 am
Hah - when you start answering your own posts with comments about how the codes now been fixed - you know you're back in the saddle.....  ;D
Title: Re: MAME Movie Preview Delay?
Post by: Minwah on September 02, 2005, 12:03:26 pm
Hah - when you start answering your own posts with comments about how the codes now been fixed - you know you're back in the saddle.....  ;D

Tell me about it...I'll learn to leave it alone one day...

 8)