Main > Software Forum

MAMEWAH runs MAME minimized

<< < (2/2)

Minwah:

--- Quote from: headkaze on October 30, 2005, 10:03:36 am ---I've noticed MameWah do this too when I wanted it to launch Internet Explorer with the -k switch for kiosk mode. If the programmer replies to this thread I can give him some ideas on improving the launching of external programs using the Windows API. The only problem is MameWah is written in VB which dosn't always allow the flexibility that C does.

--- End quote ---

I don't really have any problem with the way Mamewah currently launches programs (using Win API).  You may not be able to launch PC apps with an additional switch in v1.61 however (I can't remember exactly), but you should give the latest beta's a try which allows game/app specific 'commandline_format's to be used.

Beware tho that I just tried launching Internet Explorer with the -k switch, and did actually find a small problem (in v1.62b7) which would cause the ' -k' to be improperly trimmed.  I've now fixed this and it launched it perfectly, so it should be fine in b8.

Edit: go here for the beta's:

http://www.mameworld.info/ubbthreads/postlist.php?Cat=&Board=arcadeospc2jamma

headkaze:
Couldn't find the new b8 version there  ???

Anyways, having a few problems with the b7...

When I launch mame, it comes up with the command line options for mame.exe

I assume I'm missing something here...

### Execution Settings ###
pre_emulator_app_commandlines             
emulator_commandline                      C:\Games\Mame\mame.exe
post_emulator_app_commandlines           
general_app_commandlines   

mame.exe accepts the first parameter as the name of the game. So somehow it's missing that.

Also, with my pc ini file, I can't launch .lnk's at all...

Here is a snippet...

### pc.ini (mamewah v1.62) ###

emulator_title                            PC

### List Generation Settings ###
rom_path                                  C:\Games\PCShortcuts
rom_extension                             lnk
dat_file                                 
nms_file                                 
catver_ini_file                           
list_generation_method                    rom_folder

### Execution Settings ###
pre_emulator_app_commandlines             
emulator_commandline                     
post_emulator_app_commandlines           
general_app_commandlines 

Can you give me an idea why they won't launch at all?

Minwah:

--- Quote from: headkaze on October 31, 2005, 09:12:56 am ---Couldn't find the new b8 version there  ???

--- End quote ---

Yeah sorry that's what I was trying to say...it's not out yet but it will fix this issue when it is.


--- Quote ---When I launch mame, it comes up with the command line options for mame.exe

--- End quote ---

Change this line:

emulator_commandline                      C:\Games\Mame\mame.exe

...to:

emulator_commandline                      C:\Games\Mame\mame.exe [name]


Effectively 'emulator_commandline' is the old 'emulator_executable' and 'emulator_commandline_format' merged together.


--- Quote ---Also, with my pc ini file, I can't launch .lnk's at all...

--- End quote ---

Change this line:

emulator_commandline                     

...to:

emulator_commandline                      pc


This is the line you can add extra flags/switches etc. to...for example to launch with a '-k' switch this should be set to 'pc -k'.  As long as the first two characters are 'pc' you can add anything you want afterwards.  Note this is the part which is broken in b7 however, but simply 'pc' will work fine.

Navigation

[0] Message Index

[*] Previous page

Go to full version