Difference between revisions of "Mamewah FAQ"

From BYOAC OLD Wiki
Jump to navigation Jump to search
(added questions from MAMEWAH v1.6 FAQ, added sub categories)
 
(added 'improve performance')
Line 136: Line 136:
 
If you have problems starting your computer after making this change, you may need to use Safe mode (pressing F8 on bootup prior to Windows logo) to recover/change the setting back to explorer.exe
 
If you have problems starting your computer after making this change, you may need to use Safe mode (pressing F8 on bootup prior to Windows logo) to recover/change the setting back to explorer.exe
  
 +
'''How can I improve performance of Mamewah?'''
 +
 +
Use the lowest resolution possible for your layout. Using no background image will enhance performance, but if you must use one then make sure it is exactly the same dimensions as the main form (ie the resolution) - eg for a 640x480 layout use an image of 640x480 pixels, this will help reduce flicker. Try to avoid using transparent objects where possible. Use as few 'Artwork' objects as possible, and make them as small as possible. If using emulator and/or list specific layouts, use the same resolution, colour depth and refresh rate for all layouts.
 +
 +
Use as few sounds as possible - avoid the 'navigate' sound in particular if you are having performance problems. Don't use background music (MP3's etc. take CPU power to decode).
 +
 +
Use as few different inputs per event as possible, eg using only 'cursor up' will perform better than 'cursor up or mouse up'.  In some cases you may be able to use emulator or list-specific ctrlr files for separate inputs (eg if using swappable control panels). Disable keyboard, mouse and/or joystick devices where possible.
 +
 +
Make sure refresh_images is set to 0. Set keep_image_aspect to 0. Using small lists will improve performance on Win98 systems when switching lists. Don't use movie previews.
  
 
==Misc==
 
==Misc==

Revision as of 11:32, 11 May 2006

---DISCLAIMER---
This Wikipage explains how to install software or modify your computer's settings. Build Your Own Arcade Controls Wiki recommends reading the manuals or "readme" files of the software. If you are changing settings on your computer make sure you understand what you are doing. In doubt let a more experienced user execute the steps for you.


Please note that the contents of this website is a collection of advise and experience of many hobbyists. None of the individual contributors or operators of this website can take any responsibility for the results or consequences of any the information presented on this web site.

General Configuration

Q: MAMEWAH won't run properly, I keep getting [insert error here] when I try to run it. Whats up?

A: Make sure you have DirectX8 or above installed. Also, make sure you have installed the system files from the MAMEWAH downloads page, as instructed ;)


Q: When I run [game name] from MAMEWAH it doesn't work. What's up?

A: Could be a number of things...open \mamewah\mamewah.log, and see what it says. The commandline in mamewah.log is how MAMEWAH is attempting to launch the emulator. Run the emulator manually from a commandline to figure out how to launch it, then use MAMEWAH's Execution Settings to try and duplicate the commandline format.


Q: Why don't my snapshots show up?

A: First, make sure you installed the system files (system.zip from the MAMEWAH downloads page). If this fails, try: Start > Run > regsvr32 paintx.dll . This should register the PaintX.dll component which is required to decode PNG files


Q: How do I get movie previews to show up in MAMEWAH?

A: Edit the relevant \mamewah\ini\emuname.ini file, and set 'movie_preview_path' accordingly, eg 'c:\mame\previews', and set 'movie_artwork_no' to the Artwork # you wish to display the previews in (eg 1). You may also want to tweak the '### Movie Options ###' in \mamewah\mamewah.ini - see \mamewah\docs\ini.txt for more details.


Q: How do I specify an order for my emulators to appear in the menu?

A: Use numbers to preceed your emuname's, eg 1-mame.ini, 2-fusion.ini, 3-zsnes.ini etc. - they are displayed in alphanumerical order.



Emulator Configuration

Q: Can I use multiple rom paths?

A: Not as such, but for MAME if you use the 'verifysets_vs_listxml' (or _listinfo for old MAME versions) list_generation_method then you can - just make sure you have your rom paths setup accordingly in your (MAME) mame.ini file.


Q: Can I use multiple rom extensions?

A: As a rule, no - I recommend you use the same file type for all roms for a given emulator (eg .zip). However, setting 'rom_extension *' will allow all files to be listed, BUT if the emulator requires 'send_rom_extension 1' then the emulator/game will probably not launch correctly.


Q: How do I display/use CatVer category information in MAMEWAH?

A: Edit the relevant \mamewah\ini\emuname.ini file, and set 'catver_ini_file' accordingly, eg 'c:\mame\catver.ini'. Then refresh the main list for the category information to be read.


Q: Launching [emulator name] or [PC game/app] results in MAMEWAH hanging. WTF?!

A: MAMEWAH is probably not hanging, the emulator/app is running in the background. In \mamewah\ini\emuname.ini, try adding the {dosbox} and/or {safelaunch} flags. NEVER use the {autodosbox} flag for any emulator other than MAME.


External Applications

Q: How do I launch CPViewer / Johnny5 / any other controls.dat viewer from MAMEWAH?

A: Use the app_x_ options within \mamewah\ini\emuname.ini. First point to the viewer by setting 'app_x_executable' suitably, eg 'c:\cpviewer\cpviewer.exe'. Then set the 'app_x_commandline_format' to '[name] -clone [cloneof]'. You can also set 'auto_launch_apps' to 1, 2 or 3 (depending which app. number you used as 'x') - this will auto-launch the viewer every time you launch a game, prior to launching the emulator. Finally you can use the shortcut set in \mamewah\ctrlr\default.ini as 'LAUNCH_APP_x' to launch the viewer any time you like.


Q: How can I use WinIPAC to program my IPAC from MAMEWAH?

A: First, edit mamewah.ini, and set 'winipac_file' accordingly, eg 'c:\winipac\winipac.exe'. Then set 'mamewah_ipc_file' to your standard IPAC file, which contains the key mappings for controlling MAMEWAH (eg 'c:\ipc\mamewah.ipc'). Now edit \mamewah\ini\emuname.ini, and set 'ipc_file_or_path' to your emulators relevant IPC file, eg 'c:\ipc\stella.ipc'. IF this 'emulator' is for PC apps, then you should point to a folder which contains the IPC files for each game, eg 'c:\ipc\pcgames'. MAMEWAH will use WinIPAC to reprogram the IPAC each time an emulator (or PC app) is launched, and reprogram it back to the MAMEWAH IPC mappings after quitting.


Q: When I try to launch DOS program shortcuts with the PC App. support they don't work, why not?

A: DOS Program shortcuts have the .PIF extension - MAMEWAH can only use .LNK (Windows) shortcuts for it's PC App. support. To get around this, create a batch file to launch the .PIF file, and then create a shortcut to the batch file.


Controllers

Q: Why won't my HotRod / X-Arcade / other control panel work with MAMEWAH?

A: The default ctrlr is setup for MAME defaults. The HotRod, X-Arcade and possibly other similar products uses the number pad keys (as opposed to 'normal' cursor keys) so you must make some changes in \mamewah\ctrlr\default.ini:

UP_1_GAME "DIK_NUMPAD8" DOWN_1_GAME "DIK_NUMPAD2" UP_1_LETTER "DIK_NUMPAD4" DOWN_1_LETTER "DIK_NUMPAD6"


Q: How do I get my trackball to work in MAMEWAH?

A: Edit \mamewah\ctrlr\default.ini, and set 'mouse 1'. By default up/down on the trackball (or any mouse device) will scroll up/down the games list.


Q: My mouse / trackball / spinner doesn't work when I launch games from MAMEWAH...it used to work with MAME32 so what's up?

A: Settings such as enabling mouse input are MAME settings, which should be set in (MAME) mame.ini when using Windows Commandline MAME. See www.mameworld.net/easyemu for further help.


Q: How do I get my PC joystick device to work in MAMEWAH?

A: Edit \mamewah\ctrlr\default.ini, and set 'joystick 1'. By default up/down on joystick 1 will scroll up/down the games list. Note that joysticks are numbered in the order they appear in Control Panel > Game Controllers, so you may need to edit the joystick no. throughout the ctrlr file. Note that setting 'joystick 1' enables all joystick input, this can only be set to 1 or 0 (enable or disable).


Q: Why does my analog PC joystick device behave funny in MAMEWAH?

A: You can play around with the relevant _deadzone, _saturation & _sensitivity settings in the \mamewah\ctrlr\default.ini file, however I am not entirely happy with the analog joystick support (I will try to improve in future). In the meantime, I recommend you set _analog 0, and your joystick will be treated the same as a digital stick.


Layout Editing

Q: How do I get my layouts to show up?

A: Read \mamewah\docs\layouts.txt.


Supported Features

Q: Can I use animated GIF's in MAMEWAH?

A: Not currently :(


Tips/Tricks

Q: How can I boot to Mamewah when my computer starts up?

A: When windows starts, the default "Shell" application is explorer.exe, which starts up your taskbar on normal windows boot. You can modify this shell to be any at startup.

1. Go to your Mamewah folder and edit your mamewah.ini file
2. Near the bottom of the list of options is app_to_run_on_exit enter explorer.exe next to it and save the file.
3. Start Menu->Run and enter regedit
4. Navigate to the item HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\system.ini\boot
5. If there is an item in there called Shell right-mouse click and select modify
6. Change the first three letters from SYS to USR
7. Navigate to the item HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
8. Right-mouse click "Winlogon" and select New->String Value
9. Name it Shell then right mouse click Shell and select modify and enter the full path to your Mamewah executeable eg. c:\emu\mamewah\mamewah.exe

If you have problems starting your computer after making this change, you may need to use Safe mode (pressing F8 on bootup prior to Windows logo) to recover/change the setting back to explorer.exe

How can I improve performance of Mamewah?

Use the lowest resolution possible for your layout. Using no background image will enhance performance, but if you must use one then make sure it is exactly the same dimensions as the main form (ie the resolution) - eg for a 640x480 layout use an image of 640x480 pixels, this will help reduce flicker. Try to avoid using transparent objects where possible. Use as few 'Artwork' objects as possible, and make them as small as possible. If using emulator and/or list specific layouts, use the same resolution, colour depth and refresh rate for all layouts.

Use as few sounds as possible - avoid the 'navigate' sound in particular if you are having performance problems. Don't use background music (MP3's etc. take CPU power to decode).

Use as few different inputs per event as possible, eg using only 'cursor up' will perform better than 'cursor up or mouse up'. In some cases you may be able to use emulator or list-specific ctrlr files for separate inputs (eg if using swappable control panels). Disable keyboard, mouse and/or joystick devices where possible.

Make sure refresh_images is set to 0. Set keep_image_aspect to 0. Using small lists will improve performance on Win98 systems when switching lists. Don't use movie previews.

Misc

Q: How do I setup my LCD screen to work with MAMEWAH?

A: In mamewah.ini, edit these settings:

lcd_com_port (place your serial (COM) port no. here) lcd_settings (place settings here*)

  • baud rate (110/300/600/1200/2400/9600/14400/19200/28800/38400/56000/128000/256000), parity ([e]ven,

[o]dd, [n]one, [m]ark, [s]pace), data bits (4-8), stop bits (1, 1.5, 2) - eg 9600,n,8,1 (this will vary depending on your screen etc.)

In your \mamewah\ini\emuname.ini (eg mame.ini):

lcd_display_file_path (place your lcd file path here*)

  • This is the location of your LCD files; basically text files (with .lcd extension) for each game, containing text you wish to be displayed when the game is launched (& any additional characters required by the screen for carriage return etc.).

eg puckman.lcd:

PuckMan - 4-way joystick

Making the .lcd files is down to you...but check out Silver's 'MAME LCD Gen' program at http://www.silverfoxy.plus.com ;)

lcd_fe_text (text to display while in the FE, eg 'MAME - Multiple Arcade Machine Emulator' *)

  • It is also recommended to add your LCD screens 'clear screen' characters as the first part of lcd_fe_text

When in the FE, the lcd_fe_text for the selected emulator will be displayed on the lcd screen. When you launch a game, the corresponding .lcd file will be read and the contents sent to the screen via com port lcd_com_port. Quitting the game will reset the lcd to lcd_fe_text.


Q: Can I use my parallel port interfaced LCD screen with MAMEWAH?

A: No, serial port only :(


Q: Why won't some of my MP3's play?

A: It seems that some MP3's may require the ID3 tag to be in v1 format, not v2 - try converting the tag (eg using Winamp).


Q: Can I setup MAMEWAH to run vertically?

A: Unfortunately MAMEWAH cannot rotate natively. BUT if you have a video card capable of hardware rotation (eg ATi Radeon), or if you have portrait software (eg PivotPro), then you can create a vertical layout - simply reverse the X and Y no. of pixels, eg 480x640.


Q: Can I use MAMEWAH with an ArcadeVGA card?

A: Yes, I would recommend a resolution of 368x240 or similar. Some users like to use 640x288 for maximum screen area without interlacing. Either create your own layouts using the Layout Designer or try my 'Classic' Layouts from the MAMEWAH downloads page.


Q: Can I merge all my emulators / games into one list?

A: At the moment, no :(


Q: I get a screen flicker after I quit a game...why?

A: Try setting MAMEWAH to the same resolution, refresh rate & colour depth as your desktop (or vice versa).


Q: (Windows 98 Specific) When I switch lists it sometimes takes ages to move to the next list, what's up?

A: This is down to the way MAMEWAH is written - it only stores one list in memory at a time. In Windows 98 clearing the current list causes a delay when switching lists - reduce the no. of games in the list(s) in question to speed it up.