Main > Main Forum

Anyone adjusting HLSL on a per game basis?

<< < (2/4) > >>

thatpurplestuff:

--- Quote from: lcmgadgets on November 01, 2013, 10:37:50 am ---...I didn't even know what HLSL was, until I read part of the wiki. Now, I have a vague inkling.  :dunno

--- End quote ---



I was in the same boat a few months ago until I googled it and found some youtube videos.  This Final Fight vid gives an idea as to what the capabilities are... basically offers a cool CRT simulation for flatscreens.

lcmgadgets:
Wow. Thanks for that! What a difference!

BadMouth:
The more I get into this, the more I realize that you really do need to do need to have different settings for each original resolution.
The lines on the screen really need to line up with the edges of the pixels for it to look right.

B2K24:
I'm currently using these settings. Also, THIS thread is an interesting that has a batch ini creator.


--- Code: ---hlsl_enable               1
hlslpath                  hlsl
hlsl_ini_read             0
hlsl_ini_write            0
hlslini                   %g
hlsl_prescale_x           6
hlsl_prescale_y           6
hlsl_preset               -1
hlsl_write               
hlsl_snap_width           1024
hlsl_snap_height          768
shadow_mask_alpha         0.1
shadow_mask_texture       aperture.png
shadow_mask_x_count       320
shadow_mask_y_count       240
shadow_mask_usize         0.09375
shadow_mask_vsize         0.109375
curvature                 0.0
pincushion                0.02
scanline_alpha            1.0
scanline_size             1.0
scanline_height           1.0
scanline_bright_scale     1.0
scanline_bright_offset    0.0
scanline_jitter           0.05
defocus                   0.0,0.0
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.05,1.05,0.0
blu_ratio                 -0.025,-0.025,1.05
saturation                1.0
offset                    -0.15,-0.16,-0.16
scale                     1.15,1.16,1.16
power                     1.1,0.95,0.8
floor                     0.0,0.0,0.0
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                     0.0
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.350
raster_bloom_scale        0.2
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
--- End code ---

BadMouth:

--- Quote from: B2K24 on November 01, 2013, 09:40:21 pm ---I'm currently using these settings. Also, THIS thread is an interesting that has a batch ini creator.

--- End quote ---

Good info in that thread.  I'm going about creating the ini files in a different way though.

Using an early beta version of the MAWS replacement that ids is working on (http://forum.arcadecontrols.com/index.php/topic,129498.0.html), I'm able to get a list of all games of a particular resolution with a couple clicks.  I copy and paste that list into a google spreadsheet and manipulate it into a batch file that will copy and rename an ini file containing the HLSL settings for that particular resolution.  (just copy and paste column D to notepad and save as a batch file)
https://docs.google.com/spreadsheet/ccc?key=0Aq37CSO6oe1fdE9MRG54MG1sZHQtY1hvTzlNVHFLbUE&usp=sharing

This is still a work in progress, but the whole process of making a batch file for a given resolution takes less than a minute.
I'll probably update the spreadsheet tonight with more resolutions while watching football.

On the 640x480 resolution, I sorted by genre first and deleted the casino games.
I'll be switching over to a different xml that has nearly all of the gambling and adult games removed, so we won't be cluttering it up with those.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version