Regresar   Foro de marcianitos.org > Emuladores y programas de todo tipo > Sistemas operativos > MS-DOS

 
 
Old 15-mar-2009, 04:55   #271
tikbalang
Usuario registrado
ok, hang on.
   
Old 15-mar-2009, 06:27   #272
tikbalang
Usuario registrado
my advmame.rc for PC MONITOR, with notes:

Code:
#monitor ARCADE
device_video_clock 5-50 / 15.75 / 50-100
device_video auto
##monitor PC
# this setting was taken from advanceCD, works with most pc monitors
# device_video_clock 5-150 / 31.5 / 55-130
# i keep this to AUTO, i don't mess with it.
# device_video AUTO
#audio AC97
device_sound vsync/ac97
##audio SB PCI
# i keep this to AUTO for ALL soundcards (except ac97)
# unless "vsync/sb" works without the need for sbpci dos drivers (like ac97)
# device_sound AUTO
#joystick KEYBOARD
device_joystick none
##joystick PSX-LPT
#device_joystick allegro/psxlpt1
debug_crash no
debug_rawsound no
debug_speedmark no
# limit the colors here, you have all YES here but allow only one in "display_color".
# allow a "fallback" color if the favorite (bgr16) is unable to work.
device_color_bgr15 NO
device_color_bgr16 YES
device_color_bgr24 NO
device_color_bgr32 NO
device_color_bgr8 YES
device_color_palette8 NO
device_color_yuy2 NO
device_joystick auto
device_mouse auto
device_sound vsync/ac97
device_svgaline_divideclock no
device_svgaline_skipboard 0
device_vbeline_16bit_clock_multiplier 1
device_vbeline_8bit_clock_multiplier 1
device_vbeline_clock_multiplier 1
device_vbeline_mode bigger
device_video_cursor auto
device_video_doublescan yes
device_video_fastchange no
# i also don't set values for this anymore
# device_video_format 31500 0.8 0 0.12 0.08 0.914286 0.0190476 0.00380952 0.0628571
# allows resolutions for monitors that are not capable in non-interlaced mode
device_video_interlace YES
# i cannot help with this section, maybe useful for arcade monitors?
device_video_modeline ntsc_256x224 4.90901 256 264 288 312 224 236 239 262 -hsync -vsync # H 15734 [Hz] V 60.0534 [Hz]
device_video_modeline ntsc_256x240 4.90901 256 264 288 312 240 244 247 262 -hsync -vsync # H 15734 [Hz] V 60.0534 [Hz]
device_video_modeline ntsc_320x224 6.04186 320 328 352 384 224 236 239 262 -hsync -vsync # H 15734 [Hz] V 60.0534 [Hz]
device_video_modeline ntsc_320x240 6.04186 320 328 352 384 240 245 248 262 -hsync -vsync # H 15734 [Hz] V 60.0534 [Hz]
device_video_modeline ntsc_512x480 9.69214 512 528 568 616 480 488 494 525 -hsync -vsync interlace # H 15734 [Hz] V 59.939 [Hz]
device_video_modeline standard_256x224 5.40768 256 280 304 344 224 226 229 244 -hsync -vsync
device_video_modeline standard_256x240 5.40768 256 280 304 344 240 243 246 262 -hsync -vsync
device_video_modeline standard_320x224 6.79104 320 352 384 432 224 226 229 244 -hsync -vsync # H 15720 [Hz] V 64.4262 [Hz]
208x248x60/display_mode standard_256x240
240x224x30/display_mode ntsc_320x240
256x224x60/display_mode ntsc_256x240
320x224x60/display_mode ntsc_256x224
512x480x30/display_mode ntsc_256x240
512x480x30/display_resize fractional
device_video_output auto
device_video_overlaysize 1024
device_video_singlescan yes
dir_artwork artwork
dir_diff diff
dir_hi hi
dir_image image
dir_inp inp
dir_memcard memcard
dir_nvram nvram
dir_rom c:\arcados\arc_roms
dir_sample c:\arcados\arc_samp
dir_snap c:\arcados\arc_snap
dir_sta sta
# always gives correct screen size
display_adjust GENERATE_YCLOCK
display_antialias yes
display_artwork_backdrop yes
display_artwork_bezel no
display_artwork_crop yes
display_artwork_overlay yes
display_aspectx 4
display_aspecty 3
display_beam 1
display_brightness 1
display_buffer yes
# also see "device_color" above
# allow advmame to pick the proper color depth
display_color AUTO
display_expand 1
display_flicker 0
display_flipx no
display_flipy no
display_frameskip auto
display_gamma 1
display_intensity 1.5
display_interlaceeffect none
# allows more available resolutions for stretching
display_magnify AUTO
display_mode auto
display_pausebrightness 1
# compromise of integer (horizontal) and fractionnal (vertical) stretching
display_resize MIXED
display_resizeeffect auto
# leaves existing graphics on screen, good if you have a frontend (advmenu)
display_restore NO
display_rgbeffect none
display_rol no
display_ror no
display_scanlines yes
display_skipcolumns auto
display_skiplines auto
display_translucency yes
display_vsync yes
include 
input_hotkey yes
# helps to conserve energy, exits game after 3 minutes idle
input_idleexit 180
input_map[coin5] auto
input_map[coin6] auto
input_map[coin7] auto
input_map[coin8] auto
input_map[event10] auto
input_map[event11] auto
input_map[event12] auto
input_map[event13] auto
input_map[event14] auto
input_map[event1] auto
input_map[event2] auto
input_map[event3] auto
input_map[event4] auto
input_map[event5] auto
input_map[event6] auto
input_map[event7] auto
input_map[event8] auto
input_map[event9] auto
input_map[p1_dialx] auto
input_map[p1_dialy] auto
input_map[p1_lightgunx] auto
input_map[p1_lightguny] auto
input_map[p1_mousex] auto
input_map[p1_mousey] auto
input_map[p1_paddlex] auto
input_map[p1_paddley] auto
input_map[p1_pedalbrake] auto
input_map[p1_pedalgas] auto
input_map[p1_pedalother] auto
input_map[p1_stickx] auto
input_map[p1_sticky] auto
input_map[p1_stickz] auto
input_map[p1_trackballx] auto
input_map[p1_trackbally] auto
input_map[p2_dialx] auto
input_map[p2_dialy] auto
input_map[p2_lightgunx] auto
input_map[p2_lightguny] auto
input_map[p2_mousex] auto
input_map[p2_mousey] auto
input_map[p2_paddlex] auto
input_map[p2_paddley] auto
input_map[p2_pedalbrake] auto
input_map[p2_pedalgas] auto
input_map[p2_pedalother] auto
input_map[p2_stickx] auto
input_map[p2_sticky] auto
input_map[p2_stickz] auto
input_map[p2_trackballx] auto
input_map[p2_trackbally] auto
input_map[p3_dialx] auto
input_map[p3_dialy] auto
input_map[p3_lightgunx] auto
input_map[p3_lightguny] auto
input_map[p3_mahjong_a] auto
input_map[p3_mahjong_b] auto
input_map[p3_mahjong_bet] auto
input_map[p3_mahjong_c] auto
input_map[p3_mahjong_chance] auto
input_map[p3_mahjong_chi] auto
input_map[p3_mahjong_d] auto
input_map[p3_mahjong_double_up] auto
input_map[p3_mahjong_e] auto
input_map[p3_mahjong_f] auto
input_map[p3_mahjong_flip_flop] auto
input_map[p3_mahjong_g] auto
input_map[p3_mahjong_h] auto
input_map[p3_mahjong_i] auto
input_map[p3_mahjong_j] auto
input_map[p3_mahjong_k] auto
input_map[p3_mahjong_kan] auto
input_map[p3_mahjong_l] auto
input_map[p3_mahjong_m] auto
input_map[p3_mahjong_n] auto
input_map[p3_mahjong_pon] auto
input_map[p3_mahjong_reach] auto
input_map[p3_mahjong_ron] auto
input_map[p3_mahjong_score] auto
input_map[p3_mousex] auto
input_map[p3_mousey] auto
input_map[p3_paddlex] auto
input_map[p3_paddley] auto
input_map[p3_pedalbrake] auto
input_map[p3_pedalgas] auto
input_map[p3_pedalother] auto
input_map[p3_stickx] auto
input_map[p3_sticky] auto
input_map[p3_stickz] auto
input_map[p3_trackballx] auto
input_map[p3_trackbally] auto
input_map[p4_dialx] auto
input_map[p4_dialy] auto
input_map[p4_lightgunx] auto
input_map[p4_lightguny] auto
input_map[p4_mahjong_a] auto
input_map[p4_mahjong_b] auto
input_map[p4_mahjong_bet] auto
input_map[p4_mahjong_c] auto
input_map[p4_mahjong_chance] auto
input_map[p4_mahjong_chi] auto
input_map[p4_mahjong_d] auto
input_map[p4_mahjong_double_up] auto
input_map[p4_mahjong_e] auto
input_map[p4_mahjong_f] auto
input_map[p4_mahjong_flip_flop] auto
input_map[p4_mahjong_g] auto
input_map[p4_mahjong_h] auto
input_map[p4_mahjong_i] auto
input_map[p4_mahjong_j] auto
input_map[p4_mahjong_k] auto
input_map[p4_mahjong_kan] auto
input_map[p4_mahjong_l] auto
input_map[p4_mahjong_m] auto
input_map[p4_mahjong_n] auto
input_map[p4_mahjong_pon] auto
input_map[p4_mahjong_reach] auto
input_map[p4_mahjong_ron] auto
input_map[p4_mahjong_score] auto
input_map[p4_mousex] auto
input_map[p4_mousey] auto
input_map[p4_paddlex] auto
input_map[p4_paddley] auto
input_map[p4_pedalbrake] auto
input_map[p4_pedalgas] auto
input_map[p4_pedalother] auto
input_map[p4_stickx] auto
input_map[p4_sticky] auto
input_map[p4_stickz] auto
input_map[p4_trackballx] auto
input_map[p4_trackbally] auto
input_map[safequit] auto
input_map[service_coin5] auto
input_map[service_coin6] auto
input_map[service_coin7] auto
input_map[service_coin8] auto
input_map[ui_toggle_ui] auto
input_map[ui_select] keyboard[0,1]
input_steadykey no
misc_bios default
misc_cheat no
misc_cheatfile cheat.dat
misc_difficulty none
misc_eventdebug no
misc_eventfile event.dat
misc_freeplay no
misc_hiscorefile hiscore.dat
misc_lang none
misc_languagefile english.lng
misc_mutedemo no
misc_quiet yes
# i find this annoying, i don't use coins, i want to quit right away
misc_safequit NO
misc_timetorun 0
record_sound no
record_sound_time 15
record_video no
record_video_interleave 2
record_video_time 15
script_coin1 
script_coin2 
script_coin3 
script_coin4 
script_emulation 
script_event1 
script_event10 
script_event11 
script_event12 
script_event13 
script_event14 
script_event2 
script_event3 
script_event4 
script_event5 
script_event6 
script_event7 
script_event8 
script_event9 
script_led1 on(kdb, 0b1); wait(!event()); off(kdb, 0b1);
script_led2 on(kdb, 0b10); wait(!event()); off(kdb, 0b10);
script_led3 
script_play 
script_safequit 
script_start1 
script_start2 
script_start3 
script_start4 
script_turbo while (event()) { toggle(kdb, 0b100); delay(100); } off(kdb, 0b100);
script_video wait(!event()); set(kdb, 0);
sound_adjust auto
sound_equalizer_highvolume 0
sound_equalizer_lowvolume 0
sound_equalizer_midvolume 0
sound_latency 0.10
# i like to play loud all the time, adjusting volume thru speakers
# stereo, because most pc's have basic left/right channels.
sound_mode STEREO
sound_normalize no
# keep samplerate low, gives more cpu resources to game emulation
# - will default to next higher value if not available
# real arcades do not have high quality sound anyway
sound_samplerate 22050
sound_samples yes
sound_volume 0
sync_fps auto
sync_resample auto
sync_speed 1
# speedup game startup if possible
sync_startuptime AUTO
sync_turbospeed 3
ui_color[help_other] 000000 808080
ui_color[help_p1] 000000 ffff00
ui_color[help_p2] 000000 00ff00
ui_color[help_p3] 000000 ff0000
ui_color[help_p4] 000000 00ffff
ui_color[interface] 000000 ffffff
ui_color[select] 000000 aaaaaa
ui_color[tag] 247ef0 ffffff
ui_font auto
ui_fontsize auto
ui_helpimage auto
ui_translucency 0.8
input_map[p1_doubleright_up] keyboard[0,r]
input_map[p1_doubleright_down] keyboard[0,f]
input_map[p1_doubleright_left] keyboard[0,d]
input_map[p1_doubleright_right] keyboard[0,g]
input_map[p1_doubleleft_up] keyboard[0,up]
input_map[p1_doubleleft_down] keyboard[0,down]
input_map[p1_doubleleft_left] keyboard[0,left]
input_map[p1_doubleleft_right] keyboard[0,right]
input_map[p2_up] keyboard[0,r]
input_map[p2_down] keyboard[0,f]
input_map[p2_left] keyboard[0,d]
input_map[p2_right] keyboard[0,g]
input_map[p2_button1] keyboard[0,a]
input_map[p2_button2] keyboard[0,s]
input_map[p2_button3] keyboard[0,q]
otwalls/input_map[p1_dial_left] keyboard[0,lalt]
otwalls/input_map[p1_dial_right] keyboard[0,lcontrol]
otwalls/input_map[p2_doubleleft_left] keyboard[0,d]
otwalls/input_map[p2_doubleleft_right] keyboard[0,g]
otwalls/input_map[p2_dial_left] keyboard[0,s]
otwalls/input_map[p2_dial_right] keyboard[0,a]
input_map[coin2] keyboard[0,2] keyboard[0,a]
input_map[p1_button1] keyboard[0,lcontrol]
input_map[p1_button2] keyboard[0,lalt]
input_map[p1_button3] keyboard[0,space]
input_map[ui_on_screen_display] 
# i don't have this section:
224x256/display_resize none
224x256/display_vsync no
256x224/display_resize none
256x224/display_magnify auto
224x256/display_magnify auto



the same settings above can be used for advmenu.rc, but i use the new feature:

Code:
idle_screensaver_preview shutdown
- instead of displaying snaps when idle, ADVMENU shuts down the pc. "EXIT" can also be used, will exit to OS.