Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MAME Movie Preview Delay?  (Read 1964 times)

0 Members and 1 Guest are viewing this topic.

Rahzel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 168
  • Last login:May 14, 2025, 11:23:34 pm
  • MAME4LiFE
MAME Movie Preview Delay?
« 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

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAME Movie Preview Delay?
« Reply #1 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!

Rahzel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 168
  • Last login:May 14, 2025, 11:23:34 pm
  • MAME4LiFE
Re: MAME Movie Preview Delay?
« Reply #2 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

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAME Movie Preview Delay?
« Reply #3 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.

Rahzel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 168
  • Last login:May 14, 2025, 11:23:34 pm
  • MAME4LiFE
Re: MAME Movie Preview Delay?
« Reply #4 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.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: MAME Movie Preview Delay?
« Reply #5 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.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAME Movie Preview Delay?
« Reply #6 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??

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: MAME Movie Preview Delay?
« Reply #7 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.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAME Movie Preview Delay?
« Reply #8 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...

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAME Movie Preview Delay?
« Reply #9 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.

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Re: MAME Movie Preview Delay?
« Reply #10 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

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAME Movie Preview Delay?
« Reply #11 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)