MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

casm
Cinematronics > *
Reged: 08/27/07
Posts: 668
Send PM
Re: Any way in mame to add a video file before game starts?
05/17/16 02:15 AM


> To my knowledge, no frontend has the ability to play a video before loading the
> emulator.

Agreed, but I can see a way that might (note the conditional) make it doable.

If the front end allows the user to explicitly specify the location of the emulator executable, it may be possible to alter that string so that it calls the video player first, then calls the emulator immediately at the end of the video player's run.

Example: if the frontend defines the location of the emulator as /opt/local/bin/mamearcade64, changing that location to something like the following may work:

/path/to/videoplayer [path to video to play] && /opt/local/bin/mamearcade64 [insert variable containing commandline options for MAME here]

Total conjecture on my behalf, though, as I haven't tried it, and converting that to whatever Windows would use in this instance is an exercise left to the reader

My guess is that whether it works or not is going to be highly dependent on the frontend in use, however.







Entire thread
Subject Posted by Posted on
* Any way in mame to add a video file before game starts? dracos2112 05/16/16 06:58 AM
. * Re: Any way in mame to add a video file before game starts? zambr  05/18/16 11:49 AM
. * First off, I'm the ultimate hero. Sheeez. ((:-)) Traso  05/17/16 12:27 AM
. * Re: Any way in mame to add a video file before game starts? Envisaged0ne  05/16/16 01:32 PM
. * Re: Any way in mame to add a video file before game starts? CiroConsentino  05/16/16 01:09 PM
. * Re: Any way in mame to add a video file before game starts? Mamesick  05/18/16 10:24 AM
. * Re: Any way in mame to add a video file before game starts? casm  05/17/16 02:15 AM
. * Re: Any way in mame to add a video file before game starts? uman  05/18/16 09:54 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 159 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1926