Mamewah Ini

From BYOAC New Wiki
Revision as of 22:19, 11 May 2006 by Liquid8 (talk) (added mamewah.ini explanation)
Jump to navigation Jump to search

This is how the ini system works: MAMEWAH uses three main types of ini config files; mamewah.ini (main/global settings), emuname.ini (emulator-specific settings), and emuname-?.ini (list-specific settings, where ? is the list no.).

mamewah.ini is auto-generated/updated when you run MAMEWAH, and resides in \mamewah.

To generate emuname.ini or emuname-?.ini, simply place suitably named text file(s) in the \mamewah\ini folder (eg mame.ini, mame-0.ini, mame-1.ini etc.), and run MAMEWAH. The ini files will be automatically populated/updated with default settings. You must have emuname.ini for each emulator you require, and the number of lists available is determined by however many emuname-?.ini files you have (emuname-0.ini will be the main, non-filterable list).

mamewah.ini

The mamewah.ini file is the global configuration file, meaning any changes made in here will take effect no matter what emulator/games list you are looking at in the frontend. These settings should override (?) any settings made in your emulator specific .ini files.

(Global) Screen Saver Options

Setting default description
delay 5 in seconds, the delay before the screen saver begins
slide_duration 3 in seconds, the time to wait in between slides

Audio Options

Setting default description
enable_sounds 1 1=yes/0=no, whether sounds are enabled
sound_volume 100 0-100, % of the sound volume
music_path (empty) full path to folder containing music (mp3's) to play
enable_music 1 1=yes/0=no, whether music is enabled
music_volume 100 0-100, % of the music volume

Movie Options

Setting default description
intro_movie_file (empty) full path to a movie file (mpg/avi) that plays at startup
exit_movie_file (empty) full path to a movie file (mpg/avi) that plays at exit
keep_movie_preview_aspect game_aspect (no/video_aspect/game_aspect)
delay_before_movie_preview 2 in seconds, the delay before a movie preview is shown
music_movie_mix mute_movies (mute_movies/merge/pause_music) when playing movies and music, should it mute the movie sound and only play the music, play the movie sound with the music, or pause the music and only play the movie sound
movie_volume 100 0-100, % of the movie volume

Misc Options

Setting default description
layout Classic 640x480 the name of the layout/skin to use
ctrlr (empty) name of the ctrlr file to use
wrap_list 0 1=yes/0=no,
remember_current_game 1 1=yes/0=no, should MAMEWAH start on the last game selected
keep_image_aspect 1 1=yes/0=no, should MAMEWAH keep the image aspect ratio
refresh_images 0 1=yes/0=no, should MAMEWAH refresh images as you are scrolling (1) or once you have finished scrolling (0)
correct_orientations horizontal (horizontal/vertical/no)
safe_mode 0 1=yes/0=no
show_cursor 0 1=yes/0=no, show/hide the windows cursor
keyboard_led_states (-,-,-) (x,x,x where x=: -=leave, 0=off, 1=on, eg 1,1,1)
winipac_file (empty) full path of the winipac.exe file
mamewah_ipc_file (empty) default ipac ipc file
lcd_com_port 1 1-4, com port that an LCD is hooked up to
lcd_settings (empty) 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

exit_action choice (choice / windows / run_app / reboot / shutdown)
app_to_run_on_exit (empty) full path of application to run on exit of MAMEWAH

Settings used by MAMEWAH

DO NOT CHANGE, THIS IS GENERATED AUTOMATICALLY BY MAMEWAH

Setting Default Description
current_emulator mame the last emulator that was used
locked 0 ?
last_ipc (empty) last ipc file used

emuname.ini

List Generation Settings

Setting default description
rom_path (empty) the full path of the location to your rom files
rom_extension zip the file extension(s) that your roms use
dat_file (empty) the full file path to a dat file with rom information
nms_file (empty) the full file path to an nms file with rom information
catver_ini_file (empty) the full file path to a catver.ini file
list_generation_method rom_folder_vs_listxml (rom_folder / rom_folder_subfolders / dat_file / rom_folder_vs_dat_file / rom_folder_vs_listinfo / verifysets_vs_listinfo / rom_folder_vs_listxml / verifysets_vs_listxml), how Mamewah generates its game list

Execution Settings

Setting default description
emulator_executable (empty) the full path to the executable for the emulator
commandline_format (empty) any command line parameters that need to be passed to the emulator when executed
alt_commandline_format_1 (empty) an alternate set of commandline options to pass
alt_commandline_format_2 (empty) a 2nd set of alternate commandline options to pass
game_specific_config_path (empty) certain emulators require a specific path to the config files, which can be included here

Artwork Locations

Setting default description
artwork_#_image_path (empty) 1-10, ten seperate paths for image locations (i.e. screens, titles, boxart, etc)
movie_preview_path (empty) full path to a movie preview
movie_artwork_no 1 which artwork_#_image_path contains movies instead of images

emuname-?.ini