BlueGoblin Posted February 6, 2014 Posted February 6, 2014 Hi Everyone, I am still unable to figure out where I can add scan lines to MAME .150 games. I am in the config section but I have no idea where it is. Can anyone please shed some light on where I can go and access scan lines for MAME? Thanks, Will
gigapig Posted February 7, 2014 Posted February 7, 2014 There should be a setting in HLHQ under "edit Global module settings " to switch it on. HyperLaunch would then inject that setting into the cfg or ini, where I think you'll find the settings to change the scanlines look.
BlueGoblin Posted February 7, 2014 Author Posted February 7, 2014 under HyperHQ i am under the main settings under (screen tab) where i enabled it and the scanlines scale is at 2 - scanlines alpha is set at .01 i still see no difference. Suggestions? Please look at attached file.
gigapig Posted February 7, 2014 Posted February 7, 2014 I said HLHQ (Hyperlaunch HQ) if your using that. The setting is here. You can change it to true. The above should be enough to switch it on, but I think the main settings for mame HLSL are in the Mame ini folder.
BlueGoblin Posted February 7, 2014 Author Posted February 7, 2014 i am using Hyperspin 1.2 and HyperHQ 1.1.0
gigapig Posted February 7, 2014 Posted February 7, 2014 Then you would need to try to do it in the Mame ini folder, see the screen shot in my previous post, I have marked what you need to change.
BlueGoblin Posted March 27, 2014 Author Posted March 27, 2014 GigaPig I figured out to to enable the scanlines however the scan lines are only working with the multi wheel portion. I want to be able to have the scanlines work with MAME games only when playing them. Suggestions?
Alpha17x Posted March 27, 2014 Posted March 27, 2014 Scanlines for MAME need to be enabled within MAME. it's in default game options. you may need to browse to the artwork folder for them. They are not enabled by default.
BlueGoblin Posted March 28, 2014 Author Posted March 28, 2014 Alpha, I have MAME .150 Where do I find the options specifically for the scanlines? I cant find them anywhere
gigapig Posted March 28, 2014 Posted March 28, 2014 For anyone who needs it here is my Mame.ini. I'd like to thank potts43 for the wonderful hlsl settings. I never really liked it before, until I got these settings. The paths will be wrong for you, and the only section you need for this, are in this section in the ini " DIRECT3D POST-PROCESSING OPTIONS" I've put the mame.ini in my ftp folder as well. /Upload Here/gigapig/Mame # # CORE CONFIGURATION OPTIONS # readconfig 1 writeconfig 0 # # CORE SEARCH PATH OPTIONS # rompath "E:\MAME 0.152 CHDs;J:\Roms and Emulators\Emulators\Mame\roms" hashpath "J:\Roms and Emulators\Emulators\Mame\hash" samplepath "J:\Roms and Emulators\Emulators\Mame\samples" artpath "J:\Roms and Emulators\Emulators\Mame\artwork" ctrlrpath "J:\Roms and Emulators\Emulators\Mame\ctrlr" inipath "J:\Roms and Emulators\Emulators\Mame\ini" fontpath . cheatpath cheat crosshairpath "J:\Roms and Emulators\Emulators\Mame\crosshair" highpath dats # # CORE OUTPUT DIRECTORY OPTIONS # cfg_directory "J:\Roms and Emulators\Emulators\Mame\cfg" nvram_directory nvram memcard_directory memcard input_directory inp state_directory sta snapshot_directory snap diff_directory diff comment_directory comments hiscore_directory hi video_directory video # # CORE STATE/PLAYBACK OPTIONS # state autosave 0 playback record mngwrite aviwrite wavwrite snapname %g/%i snapsize auto snapview internal statename %g burnin 0 # # CORE PERFORMANCE OPTIONS # autoframeskip 0 frameskip 0 seconds_to_run 0 throttle 1 sleep 0 speed 1.0 refreshspeed 0 # # CORE ROTATION OPTIONS # rotate 1 ror 0 rol 0 autoror 0 autorol 0 flipx 0 flipy 0 # # CORE ARTWORK OPTIONS # artwork_crop 0 use_backdrops 1 use_overlays 1 use_bezels 1 use_cpanels 1 use_marquees 0 # # CORE SCREEN OPTIONS # brightness 1.0 contrast 1.0 gamma 1.0 pause_brightness 0.65 effect none cleanstretch 0 # # CORE VECTOR OPTIONS # antialias 1 beam 1.0 flicker 0 # # CORE SOUND OPTIONS # sound 1 samplerate 48000 samples 1 volume 0 soundsync 0 # # CORE INPUT OPTIONS # coin_lockout 1 ctrlr mouse 1 joystick 1 lightgun 0 multikeyboard 0 multimouse 1 steadykey 0 ui_active 0 offscreen_reload 0 joystick_map auto joystick_deadzone 0.3 joystick_saturation 0.85 natural 0 joystick_contradictory 0 coin_impulse 0 # # CORE INPUT AUTOMATIC ENABLE OPTIONS # paddle_device mouse adstick_device keyboard pedal_device keyboard dial_device mouse trackball_device mouse lightgun_device mouse positional_device joystick mouse_device mouse # # CORE DEBUGGING OPTIONS # log 0 verbose 0 update_in_pause 0 debug 0 debugscript debug_internal 0 # # CORE MISC OPTIONS # drc 1 drc_use_c 0 bios cheat 0 skip_gameinfo 0 uifont default ramsize confirm_quit 0 ui_mouse 0 autoboot_command autoboot_delay 2 autoboot_script http 0 http_port 8080 http_path web hiscore 1 # # WINDOWS DEBUGGING OPTIONS # oslog 0 watchdog 0 debugger_font "Lucida Console" debugger_font_size 9 # # WINDOWS PERFORMANCE OPTIONS # priority 0 multithreading 1 numprocessors auto profile 0 bench 0 # # WINDOWS VIDEO OPTIONS # video d3d numscreens 1 window 0 maximize 1 keepaspect 1 unevenstretch 1 prescale 1 waitvsync 0 syncrefresh 0 menu 0 # # DIRECTDRAW-SPECIFIC OPTIONS # hwstretch 1 # # DIRECT3D-SPECIFIC OPTIONS # filter 1 # # DIRECT3D POST-PROCESSING OPTIONS # hlsl_enable 1 hlslpath hlsl hlsl_prescale_x 4 hlsl_prescale_y 5 hlsl_preset -1 hlsl_write hlsl_snap_width 2048 hlsl_snap_height 1536 shadow_mask_alpha 0.12 shadow_mask_texture crt_slot_mask.png shadow_mask_x_count 320 shadow_mask_y_count 240 shadow_mask_usize 0.18750 shadow_mask_vsize 0.21875 curvature 0.09 pincushion 0.120000 scanline_alpha 1.5 scanline_size 0.95 scanline_height 1.0 scanline_bright_scale 1.1 scanline_bright_offset 0.6 scanline_jitter 0.00 defocus 0.005,0.005 converge_x 0.2,0.0,0.0 converge_y 0.0,0.0,0.0 radial_converge_x 0.2,0.0,0.0 radial_converge_y 0.0,0.0,0.0 red_ratio 0.85,0.15,0.0 grn_ratio -0.1,1.1,0.0 blu_ratio -0.075,0.0,1.075 saturation 1.0 offset -0.15,-0.18,-0.18 scale 1.15,1.18,1.18 power 1.1,0.9,0.7 floor 0.01,0.0,0.01 phosphor_life 0.0,0.0,0.0 # # NTSC POST-PROCESSING OPTIONS # yiq_enable 0 yiq_cc 3.59754545 yiq_a 0.5 yiq_b 0.5 yiq_o 1.570796325 yiq_p 1.0 yiq_n 1.0 yiq_y 6.0 yiq_i 1.2 yiq_q 0.6 yiq_scan_time 52.6 yiq_phase_count 2 # # VECTOR POST-PROCESSING OPTIONS # vector_length_scale 0.8 vector_length_ratio 500.0 # # BLOOM POST-PROCESSING OPTIONS # vector_bloom_scale 0.3 raster_bloom_scale 0.225 bloom_lvl0_weight 1.0 bloom_lvl1_weight 0.21 bloom_lvl2_weight 0.19 bloom_lvl3_weight 0.17 bloom_lvl4_weight 0.15 bloom_lvl5_weight 0.14 bloom_lvl6_weight 0.13 bloom_lvl7_weight 0.12 bloom_lvl8_weight 0.11 bloom_lvl9_weight 0.10 bloom_lvl10_weight 0.09 # # PER-WINDOW VIDEO OPTIONS # screen auto aspect auto resolution auto view auto screen0 auto aspect0 auto resolution0 auto view0 auto screen1 auto aspect1 auto resolution1 auto view1 auto screen2 auto aspect2 auto resolution2 auto view2 auto screen3 auto aspect3 auto resolution3 auto view3 auto # # FULL SCREEN OPTIONS # triplebuffer 0 switchres 0 full_screen_brightness 1.0 full_screen_contrast 1.0 full_screen_gamma 1.0 # # WINDOWS SOUND OPTIONS # audio_latency 2 # # INPUT DEVICE OPTIONS # dual_lightgun 0 joystick_id_1 0 joystick_id_2 1 joystick_id_3 2 joystick_id_4 3 joystick_id_5 4 joystick_id_6 5 joystick_id_7 6 joystick_id_8 7 Those settings will produce this effect. [/img] You will probably need to turn it on in HLHQ as well.
gigapig Posted March 28, 2014 Posted March 28, 2014 And as Alpha17x said you should have the scanlines png's in the mame artwork folder.
gigapig Posted March 28, 2014 Posted March 28, 2014 @creativeOne To have scanlines showing on Hyperspin, you must have that set up in HyperHQ Here. That won't effect Mame of course, have a look at what I've already posted and give some detail about your Mame setup.
Rick74 Posted March 29, 2014 Posted March 29, 2014 For anyone who needs it here is my Mame.ini. I'd like to thank potts43 for the wonderful hlsl settings. I never really liked it before, until I got these settings.The paths will be wrong for you, and the only section you need for this, are in this section in the ini " DIRECT3D POST-PROCESSING OPTIONS" I've put the mame.ini in my ftp folder as well. /Upload Here/gigapig/Mame # # CORE CONFIGURATION OPTIONS # readconfig 1 writeconfig 0 # # CORE SEARCH PATH OPTIONS # rompath "E:\MAME 0.152 CHDs;J:\Roms and Emulators\Emulators\Mame\roms" hashpath "J:\Roms and Emulators\Emulators\Mame\hash" samplepath "J:\Roms and Emulators\Emulators\Mame\samples" artpath "J:\Roms and Emulators\Emulators\Mame\artwork" ctrlrpath "J:\Roms and Emulators\Emulators\Mame\ctrlr" inipath "J:\Roms and Emulators\Emulators\Mame\ini" fontpath . cheatpath cheat crosshairpath "J:\Roms and Emulators\Emulators\Mame\crosshair" highpath dats # # CORE OUTPUT DIRECTORY OPTIONS # cfg_directory "J:\Roms and Emulators\Emulators\Mame\cfg" nvram_directory nvram memcard_directory memcard input_directory inp state_directory sta snapshot_directory snap diff_directory diff comment_directory comments hiscore_directory hi video_directory video # # CORE STATE/PLAYBACK OPTIONS # state autosave 0 playback record mngwrite aviwrite wavwrite snapname %g/%i snapsize auto snapview internal statename %g burnin 0 # # CORE PERFORMANCE OPTIONS # autoframeskip 0 frameskip 0 seconds_to_run 0 throttle 1 sleep 0 speed 1.0 refreshspeed 0 # # CORE ROTATION OPTIONS # rotate 1 ror 0 rol 0 autoror 0 autorol 0 flipx 0 flipy 0 # # CORE ARTWORK OPTIONS # artwork_crop 0 use_backdrops 1 use_overlays 1 use_bezels 1 use_cpanels 1 use_marquees 0 # # CORE SCREEN OPTIONS # brightness 1.0 contrast 1.0 gamma 1.0 pause_brightness 0.65 effect none cleanstretch 0 # # CORE VECTOR OPTIONS # antialias 1 beam 1.0 flicker 0 # # CORE SOUND OPTIONS # sound 1 samplerate 48000 samples 1 volume 0 soundsync 0 # # CORE INPUT OPTIONS # coin_lockout 1 ctrlr mouse 1 joystick 1 lightgun 0 multikeyboard 0 multimouse 1 steadykey 0 ui_active 0 offscreen_reload 0 joystick_map auto joystick_deadzone 0.3 joystick_saturation 0.85 natural 0 joystick_contradictory 0 coin_impulse 0 # # CORE INPUT AUTOMATIC ENABLE OPTIONS # paddle_device mouse adstick_device keyboard pedal_device keyboard dial_device mouse trackball_device mouse lightgun_device mouse positional_device joystick mouse_device mouse # # CORE DEBUGGING OPTIONS # log 0 verbose 0 update_in_pause 0 debug 0 debugscript debug_internal 0 # # CORE MISC OPTIONS # drc 1 drc_use_c 0 bios cheat 0 skip_gameinfo 0 uifont default ramsize confirm_quit 0 ui_mouse 0 autoboot_command autoboot_delay 2 autoboot_script http 0 http_port 8080 http_path web hiscore 1 # # WINDOWS DEBUGGING OPTIONS # oslog 0 watchdog 0 debugger_font "Lucida Console" debugger_font_size 9 # # WINDOWS PERFORMANCE OPTIONS # priority 0 multithreading 1 numprocessors auto profile 0 bench 0 # # WINDOWS VIDEO OPTIONS # video d3d numscreens 1 window 0 maximize 1 keepaspect 1 unevenstretch 1 prescale 1 waitvsync 0 syncrefresh 0 menu 0 # # DIRECTDRAW-SPECIFIC OPTIONS # hwstretch 1 # # DIRECT3D-SPECIFIC OPTIONS # filter 1 # # DIRECT3D POST-PROCESSING OPTIONS # hlsl_enable 1 hlslpath hlsl hlsl_prescale_x 4 hlsl_prescale_y 5 hlsl_preset -1 hlsl_write hlsl_snap_width 2048 hlsl_snap_height 1536 shadow_mask_alpha 0.12 shadow_mask_texture crt_slot_mask.png shadow_mask_x_count 320 shadow_mask_y_count 240 shadow_mask_usize 0.18750 shadow_mask_vsize 0.21875 curvature 0.09 pincushion 0.120000 scanline_alpha 1.5 scanline_size 0.95 scanline_height 1.0 scanline_bright_scale 1.1 scanline_bright_offset 0.6 scanline_jitter 0.00 defocus 0.005,0.005 converge_x 0.2,0.0,0.0 converge_y 0.0,0.0,0.0 radial_converge_x 0.2,0.0,0.0 radial_converge_y 0.0,0.0,0.0 red_ratio 0.85,0.15,0.0 grn_ratio -0.1,1.1,0.0 blu_ratio -0.075,0.0,1.075 saturation 1.0 offset -0.15,-0.18,-0.18 scale 1.15,1.18,1.18 power 1.1,0.9,0.7 floor 0.01,0.0,0.01 phosphor_life 0.0,0.0,0.0 # # NTSC POST-PROCESSING OPTIONS # yiq_enable 0 yiq_cc 3.59754545 yiq_a 0.5 yiq_b 0.5 yiq_o 1.570796325 yiq_p 1.0 yiq_n 1.0 yiq_y 6.0 yiq_i 1.2 yiq_q 0.6 yiq_scan_time 52.6 yiq_phase_count 2 # # VECTOR POST-PROCESSING OPTIONS # vector_length_scale 0.8 vector_length_ratio 500.0 # # BLOOM POST-PROCESSING OPTIONS # vector_bloom_scale 0.3 raster_bloom_scale 0.225 bloom_lvl0_weight 1.0 bloom_lvl1_weight 0.21 bloom_lvl2_weight 0.19 bloom_lvl3_weight 0.17 bloom_lvl4_weight 0.15 bloom_lvl5_weight 0.14 bloom_lvl6_weight 0.13 bloom_lvl7_weight 0.12 bloom_lvl8_weight 0.11 bloom_lvl9_weight 0.10 bloom_lvl10_weight 0.09 # # PER-WINDOW VIDEO OPTIONS # screen auto aspect auto resolution auto view auto screen0 auto aspect0 auto resolution0 auto view0 auto screen1 auto aspect1 auto resolution1 auto view1 auto screen2 auto aspect2 auto resolution2 auto view2 auto screen3 auto aspect3 auto resolution3 auto view3 auto # # FULL SCREEN OPTIONS # triplebuffer 0 switchres 0 full_screen_brightness 1.0 full_screen_contrast 1.0 full_screen_gamma 1.0 # # WINDOWS SOUND OPTIONS # audio_latency 2 # # INPUT DEVICE OPTIONS # dual_lightgun 0 joystick_id_1 0 joystick_id_2 1 joystick_id_3 2 joystick_id_4 3 joystick_id_5 4 joystick_id_6 5 joystick_id_7 6 joystick_id_8 7 Those settings will produce this effect. [/img] You will probably need to turn it on in HLHQ as well. [ATTACH=CONFIG]39749[/ATTACH] Where are you getting "crt_slot_mask.png" from? I don't have that in my artwork folder. Can you kindly upload it to your FTP folder? Thanks!
gigapig Posted March 29, 2014 Posted March 29, 2014 Where are you getting "crt_slot_mask.png" from? I don't have that in my artwork folder.Can you kindly upload it to your FTP folder? Thanks! It's in /Upload Here/gigapig/Mame/Scanlines
Rick74 Posted March 29, 2014 Posted March 29, 2014 It's in /Upload Here/gigapig/Mame/Scanlines OK thanks, I found it. I still can't get HLSL to look as good as the shaders in RetroArch. Maybe I'm just doing something wrong, but even though I can get even, pixel perfect scanlines, I can't get them to display with a uniform brightness. RetroArch shaders don't have this problem. I've tried so many HLSL settings and searched forums left and right, but I can't seem to get HLSL to look all that great. I have tried your HLSL settings, gigapig, but still have scanline issues. Really noticeable on an all white background. Maybe someone who knows HLSL better can help me.
monkeychunkuk Posted March 29, 2014 Posted March 29, 2014 Sorry to hi Jack the thread but I'm using the old hyperspin so can't do the global thing I'm happy to edit the mame.ini file but I can't find it to add those settings can anyone help
gigapig Posted March 29, 2014 Posted March 29, 2014 Sorry to hi Jack the thread but I'm using the old hyperspin so can't do the global thingI'm happy to edit the mame.ini file but I can't find it to add those settings can anyone help I have just downloaded an older version of Mame, version 0.147 x64, to see the folder structure. Your right, there is no ini folder in that version, nor in version 0.152, so i assume that the ini folder is either added by the user or used in other versions of Mame, other than the command line version. However there is a hlsl folder, mine has an hlsl.ini file with the same settings, so the may have to create that ini inside the hlsl folder and enable it. I'm not sure of the history or why things are different, perhaps someone else knows, or I'll have to do some reading. Here is the contents of my hlsl.ini. # DIRECT3D POST-PROCESSING OPTIONS # hlsl_enable 1 hlslpath hlsl hlsl_prescale_x 7 hlsl_prescale_y 7 hlsl_preset -1 hlsl_write 1 hlsl_snap_width 2560 hlsl_snap_height 1440 shadow_mask_alpha 0.20 shadow_mask_texture Shadowmask_Twisty.png shadow_mask_x_count 320 shadow_mask_y_count 240 shadow_mask_usize 0.18750 shadow_mask_vsize 0.21875 curvature 0.03 pincushion 0.03 scanline_alpha 1.0 scanline_size 1.0 scanline_height 0.6566 scanline_bright_scale 1.15 scanline_bright_offset 0.0 scanline_jitter 0.05 defocus 1.5,1.5 converge_x -0.3,0.0,0.3 converge_y -0.3,0.0,0.3 radial_converge_x 0.0,0.0,0.0 radial_converge_y 0.0,0.0,0.0 red_ratio 1.0,0.0,0.0 grn_ratio 0.0,1.0,0.0 blu_ratio 0.0,0.0,1.0 saturation 0.95 offset -0.15,-0.16,-0.16 scale 1.15,1.16,1.16 power 1.1,0.95,0.8 floor 0.01,0.01,0.01 phosphor_life 0.0,0.0,0.0 # # NTSC POST-PROCESSING OPTIONS # yiq_enable 0 yiq_cc 3.59754545 yiq_a 0.5 yiq_b 0.5 yiq_o 1.570796325 yiq_p 1.0 yiq_n 1.0 yiq_y 6.0 yiq_i 1.2 yiq_q 0.6 yiq_scan_time 52.6 yiq_phase_count 2 # # VECTOR POST-PROCESSING OPTIONS # vector_length_scale 0.8 vector_length_ratio 500.0 # # BLOOM POST-PROCESSING OPTIONS # vector_bloom_scale 0.3 raster_bloom_scale 0.17 bloom_lvl0_weight 1.0 bloom_lvl1_weight 0.21 bloom_lvl2_weight 0.19 bloom_lvl3_weight 0.17 bloom_lvl4_weight 0.15 bloom_lvl5_weight 0.14 bloom_lvl6_weight 0.13 bloom_lvl7_weight 0.12 bloom_lvl8_weight 0.11 bloom_lvl9_weight 0.10 bloom_lvl10_weight 0.09 # CORE SCREEN OPTIONS # brightness 0.99 contrast 0.85 gamma 0.75 pause_brightness 1.0
gigapig Posted March 29, 2014 Posted March 29, 2014 I don't run command line Mame, but for those who are missing the Mame.ini file, this may help?? http://www.hyperspin-fe.com/forum/showthread.php?13241-Mame-ini
Min2001 Posted March 29, 2014 Posted March 29, 2014 yep run "mame -cc" from command prompt to get the mame.ini files if you dont have them. I dont run scanlines on mine but you might wanna check out the other ones there and go through them to find the best ones. Theres one called Real_Scanlines.png in the artwork folder too.. dont know if that would be any better than the rest or not. I remember the times when you tried really hard to squint with your eyes to get rid of the scanlines and now people are trying to put them back on
monkeychunkuk Posted March 30, 2014 Posted March 30, 2014 yep run "mame -cc" from command prompt to get the mame.ini files if you dont have them.I dont run scanlines on mine but you might wanna check out the other ones there and go through them to find the best ones. Theres one called Real_Scanlines.png in the artwork folder too.. dont know if that would be any better than the rest or not. I remember the times when you tried really hard to squint with your eyes to get rid of the scanlines and now people are trying to put them back on It's funny I hadn't thought about scan lines and I think old games look great As they are but I think as you get more into the hobby you want to make things as nostalgic as can Thanks for the advice I'll give it a go but I'm not going to break a sweat if I can't get it working
methos01 Posted March 31, 2015 Posted March 31, 2015 Hi I can't figure out how to change the settings in hyperlaunch HQ. In Mame 0.159 and mameui the picture looks great. When I launch through hyperlaunch I get a very classic looking image.. scanlines, curved screen and washed out picture. I can't think of anywhere else to look to change the settings It's driving me crazy anybody know where I should look?
gigapig Posted April 1, 2015 Posted April 1, 2015 HiI can't figure out how to change the settings in hyperlaunch HQ. In Mame 0.159 and mameui the picture looks great. When I launch through hyperlaunch I get a very classic looking image.. scanlines, curved screen and washed out picture. I can't think of anywhere else to look to change the settings It's driving me crazy anybody know where I should look? Sorry I'm not sure what your asking, do you want scanlines or do you want them off? If you want them off then you must change the setting below in HLHQ to false. Changing settings in Mame will make no difference.
methos01 Posted April 1, 2015 Posted April 1, 2015 Sorry I'm not sure what your asking, do you want scanlines or do you want them off?If you want them off then you must change the setting below in HLHQ to false. Changing settings in Mame will make no difference. [ATTACH=CONFIG]52556[/ATTACH] Thanks that worked
Recommended Posts
Archived
This topic is now archived and is closed to further replies.