WinUAE launcher for you!

Hello guys and gals, first off let me thank you developers for a media portal with class. It has everything I've ever wanted, so thanks a LOT!

Feeling the urge to give something back to you for this excellent product, and being a bit of an emulator freak, I've put together a wrapper for my favourite computer Amiga, and it's emulator WinUAE. My goal was this:

* Launch any game conveniently, even multidisk games.
* Being able to control the emulator without keyboard, only remote and joypads.
* And of course, using My Programs to launch it seamlessly. Thanks waeberd for writing this plugin, you rock!

Longer explanation:
You need a good WinUAE configuration file, so create a one that you really like, or take inspiration from "mediaportal.uae" in the launcher directory. It's the one I use.
[edit] Important: Be sure to set use_gui=no in the configuration! [/edit]

The script will work without effort for any single-disk game. What you need for multidisk is a consistent naming scheme. The default is (Disk X of Y), which needs to be somewhere in the file name for all disks. The script will then locate all disks with this pattern, put them in disk drives up to df3:, and finally put all disks in the disk swapper, so you can switch disks in case you have lots of disks, or a game that doesn't support more than one drive.

You can change this naming pattern in the configuration in case you have another naming already.

For the remote, use HIP to configure your remote with winuae. Except for the disk swapper, everything seems to be remote configurable. To use the disk swapper from the keyboard, hold down the End key and press 1-0 on the normal keyboard (not the numeric) to swap to disk 1-10 in df0:. If you are able to map the remote to the disk swapper, please let me know! I lost too many hours of sleep trying to make it work...

Use the following settings for My Programs:Launcher Application:launcher_dir\launcher.batShellexecute: NoWait for exit: YesArguments: <blank>Startup directory:launcher_dirQuotes around filenames: YesFile-extensions: .zip,.adf,.adz

I fixed a problem in this updated version - all unix tools required for the job is now included in the zip file. I hope it will work perfecly now.

If you still wonder what this launcher really does, it rewrites the .uae configuration file with "useful" data, and launches winuae with the new config. It would be very nice to hear if it works for you, so please let me know here!

I just want to say, I wil post I just had a lot of things to do.
Today I get visit from my brother and kids, and they wil spend the night.
Pherhaps I wil try your new files and the other sugestions tonight.

Although I did download the files after this post.

Code (Text):

I fixed a problem in this updated version - all unix tools required for the job is now included in the zip file. I hope it will work perfecly now.

If I use zip files to store the correctly named adf files ( Disk 1 of 3, etc), the launcher tries to load zip files with winuae - nothing happens.

If I unzip the files, so that I have three correctly named adf files in a directory, the launcher only starts the one I chose in media portal. If I look at the created configuration it says "one floppy", nothing loaded into disk swap or other df:s.

I have a question regarding exiting WinUAE. I've configured WinUAE to exit when I press CTRL + F11, but everything just seems to hang when I do that. I don't know if it has something to do with the waitclose.exe stuff or what. Any suggestions?