Main > Main Forum
Single game autoloading MAME?
<< < (2/4) > >>
AlanS17:

--- Quote from: AlanS17 on December 02, 2006, 02:57:32 am ---Are you looking for something you can take from machine to machine in a Windows environment? Or are you looking for a way to play just one game on a particular machine when booted from the USB drive?

--- End quote ---
Ok, you can scratch what I was saying before. I get it all now.
AlanS17:
Can't you just write a batch file and drop it into the root of your USB thumb drive? Then people can double-click the batch file to run MAME. It's not 100% automatic, but it's just 4 clicks of a mouse (well technically two double-clicks). You already get a prompt to explore the directory when you plug the drive in. If it's the only file you leave in the root directory, people should be able to figure it out.

Exactly how dummy proof does this need to be?
Bobbler:
Getting it to autorun on insert is a little tricky, as Windows treats USB devices differently than CD/DVD media. There are applications that will enable it to autorun but AFAIK they make changes to the machines registry.

One double click is the minimum I can get it down to for you

Firstly download http://www.tarma.com/index.htm#/products/autorun/index.htm
and place it on the usb key root drive. You need this as windows will only launch executable files from the autorun menu, a batch file is not considered executable. You could alternatively compile the batch file if you want.

So on my USB key I would have a little batch file and the Mame executable (plus tempest rom):
1. Autorun.inf contains

--- Code: ---[autorun]
OPEN=autorun.exe launch.bat
ICON=tempest.ico
ACTION = Launch Tempest

--- End code ---
Put that in the root of the USB key

2. launch.bat contains:

--- Code: ---@echo off
\mame\mame.exe \mame\roms\tempest -nomouse

--- End code ---

When you insert the USB key you get the standard windows autorun dialogue box, you double click on Launch Tempest and the game should launch. No installation, no changes to the local PC.
NickG:
Interesting project.  Lot of neat info in this thread.  Supposedly some security experts were doing Trojan experiments with thumbdrives...n/m...that's OT.  The point is, since you don't want to modify the computers, the USB device needs to fake out XP and pretend it is a CD drive.  Supposedly, this is one that does just that.  Looks promising;  what a great idea for a gift.
IG-88:

--- Quote from: RetroBorg on December 01, 2006, 10:39:08 pm ---Check out this link: http://surf.to/amoad

It's called Arcade Machine on a Disk.

Unfortunately there is no Tempest yet but I'm sure it's just a matter of time.

Also it's based on booting from your floppy drive but I'm sure you could do the same for a thumb drive. 

--- End quote ---

Do you know if this is still under development? I tried emailing but it bounced back.
Navigation
Message Index
Next page
Previous page

Go to full version