mamedev / mame

MAME
https://www.mamedev.org/
Other
7.97k stars 1.98k forks source link

MAME 0.260 and 0.261 Access violation crash on all ROMs that use the STV Bios #11850

Closed NJW1979 closed 9 months ago

NJW1979 commented 9 months ago

MAME version

0.261

System information

Windows 11 Home 23H2, AMD Ryzen 9 3900x, 32Gb Crucial Ballistix 3200 DDR4 RAM, Gigabyte Aorus Elite B550 AX V2 MoBo, ASUS TUF Gaming VG27AQL1A, 8BitDo Arcade Controller for Xbox, over 20Tb storage.

INI configuration details

#
# CORE CONFIGURATION OPTIONS
#
writeconfig               0

#
# CORE SEARCH PATH OPTIONS
#
homepath                  .
rompath                   "I:\_____Arcade Machine Games\MAME 0.261\roms"
hashpath                  hash
samplepath                samples
artpath                   artwork
ctrlrpath                 ctrlr
inipath                   .;ini
fontpath                  .
cheatpath                 cheat
crosshairpath             crosshair
pluginspath               plugins
swpath                    software

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory             cfg
nvram_directory           nvram
input_directory           inp
state_directory           sta
snapshot_directory        snap
diff_directory            diff
comment_directory         comments
share_directory           share

#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  0
rewind                    0
rewind_capacity           100
playback                  
record                    
exit_after_playback       0
mngwrite                  
aviwrite                  
wavwrite                  
snapname                  %g/%i
snapsize                  auto
snapview                  internal
snapbilinear              1
statename                 %g
burnin                    0

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             0
frameskip                 0
seconds_to_run            0
throttle                  1
sleep                     0
speed                     1.0
refreshspeed              1
lowlatency                1

#
# CORE RENDER OPTIONS
#
keepaspect                1
unevenstretch             1
unevenstretchx            0
unevenstretchy            0
autostretchxy             0
intoverscan               0
intscalex                 0
intscaley                 0

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   0
flipx                     0
flipy                     0

#
# CORE ARTWORK OPTIONS
#
artwork_crop              1
fallback_artwork          
override_artwork          

#
# CORE SCREEN OPTIONS
#
brightness                1.00
contrast                  1.00
gamma                     1.00
pause_brightness          1.00
effect                    none

#
# CORE VECTOR OPTIONS
#
beam_width_min            1.0
beam_width_max            1.0
beam_dot_size             1.0
beam_intensity_weight     0
flicker                   0

#
# CORE SOUND OPTIONS
#
samplerate                192000
samples                   1
volume                    0
compressor                1
speaker_report            0

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     
mouse                     1
joystick                  1
lightgun                  0
multikeyboard             0
multimouse                0
steadykey                 0
ui_active                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85
joystick_threshold        0.3
natural                   0
joystick_contradictory    0
coin_impulse              0

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             mouse
adstick_device            none
pedal_device              keyboard
dial_device               keyboard
trackball_device          mouse
lightgun_device           mouse
positional_device         mouse
mouse_device              mouse

#
# CORE DEBUGGING OPTIONS
#
verbose                   0
log                       0
oslog                     0
debug                     0
update_in_pause           0
debugscript               
debuglog                  0

#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15112
comm_remotehost           127.0.0.1
comm_remoteport           15112
comm_framesync            0

#
# CORE MISC OPTIONS
#
drc                       1
drc_use_c                 0
drc_log_uml               0
drc_log_native            0
bios                      
cheat                     1
skip_gameinfo             1
uifont                    default
ui                        cabinet
ramsize                   
confirm_quit              1
ui_mouse                  0
nvram_save                1

#
# SCRIPTING OPTIONS
#
autoboot_command          
autoboot_delay            2
autoboot_script           
console                   0
plugins                   1
plugin                    autofire
noplugin                  

#
# HTTP SERVER OPTIONS
#
http                      0
http_port                 8080
http_root                 web

#
# OSD INPUT MAPPING OPTIONS
#
uimodekey                 SCRLOCK
controller_map            none
background_input          0

#
# OSD FONT OPTIONS
#
uifontprovider            auto

#
# OSD OUTPUT OPTIONS
#
output                    auto

#
# OSD INPUT OPTIONS
#
keyboardprovider          auto
mouseprovider             auto
lightgunprovider          auto
joystickprovider          auto

#
# OSD DEBUGGING OPTIONS
#
debugger                  auto
debugger_port             23946
debugger_font             auto
debugger_font_size        0
watchdog                  0

#
# OSD PERFORMANCE OPTIONS
#
numprocessors             auto
bench                     0

#
# OSD VIDEO OPTIONS
#
video                     bgfx
numscreens                1
window                    0
maximize                  1
waitvsync                 0
syncrefresh               0
monitorprovider           auto

#
# OSD 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

#
# OSD FULL SCREEN OPTIONS
#
switchres                 0

#
# OSD ACCELERATED VIDEO OPTIONS
#
filter                    1
prescale                  1

#
# OpenGL-SPECIFIC OPTIONS
#
gl_forcepow2texture       0
gl_notexturerect          0
gl_vbo                    0
gl_pbo                    0
gl_glsl                   0
gl_glsl_filter            0
glsl_shader_mame0         none
glsl_shader_mame1         none
glsl_shader_mame2         none
glsl_shader_mame3         none
glsl_shader_mame4         none
glsl_shader_mame5         none
glsl_shader_mame6         none
glsl_shader_mame7         none
glsl_shader_mame8         none
glsl_shader_mame9         none
glsl_shader_screen0       none
glsl_shader_screen1       none
glsl_shader_screen2       none
glsl_shader_screen3       none
glsl_shader_screen4       none
glsl_shader_screen5       none
glsl_shader_screen6       none
glsl_shader_screen7       none
glsl_shader_screen8       none
glsl_shader_screen9       none

#
# OSD SOUND OPTIONS
#
sound                     dsound
audio_latency             1

#
# PORTAUDIO OPTIONS
#
pa_api                    none
pa_device                 none
pa_latency                0

#
# OSD MIDI OPTIONS
#
midiprovider              auto

#
# OSD EMULATED NETWORKING OPTIONS
#
networkprovider           auto

#
# BGFX POST-PROCESSING OPTIONS
#
bgfx_path                 bgfx
bgfx_backend              d3d12
bgfx_debug                0
bgfx_screen_chains        super-xbr-6p
bgfx_shadow_mask          
bgfx_lut                  
bgfx_avi_name             auto

#
# WINDOWS PERFORMANCE OPTIONS
#
priority                  1
profile                   0

#
# WINDOWS VIDEO OPTIONS
#
attach_window             

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlslpath                  hlsl
hlsl_enable               0
hlsl_oversampling         0
hlsl_write                auto
hlsl_snap_width           2048
hlsl_snap_height          1536
shadow_mask_tile_mode     0
shadow_mask_alpha         0.0
shadow_mask_texture       shadow-mask.png
shadow_mask_x_count       6
shadow_mask_y_count       4
shadow_mask_usize         0.1875
shadow_mask_vsize         0.25
shadow_mask_uoffset       0.0
shadow_mask_voffset       0.0
distortion                0.0
cubic_distortion          0.0
distort_corner            0.0
round_corner              0.125
smooth_border             0.010
reflection                0.180
vignetting                0.250
scanline_alpha            1.125
scanline_size             0.9
scanline_height           1.0
scanline_variation        1.0
scanline_bright_scale     0.5
scanline_bright_offset    0.0
scanline_jitter           0.9
hum_bar_alpha             0.0
defocus                   4.2,4.2,4.2
converge_x                0.5,0.0,-0.5
converge_y                0.0,0.5,-0.5
radial_converge_x         0.5,0.0,-0.5
radial_converge_y         0.0,0.5,-0.5
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                1.5
offset                    0.0,0.0,0.0
scale                     0.95,0.95,0.95
power                     0.8,0.8,0.8
floor                     0.05,0.05,0.05
phosphor_life             0.5,0.5,0.5
chroma_mode               3
chroma_conversion_gain    0.299,0.587,0.114
chroma_a                  0.64,0.33
chroma_b                  0.30,0.60
chroma_c                  0.15,0.06
chroma_y_gain             0.2126,0.7152,0.0722

#
# NTSC POST-PROCESSING OPTIONS
#
yiq_enable                0
yiq_jitter                0.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_beam_smooth        0.0
vector_length_scale       0.5
vector_length_ratio       500.0

#
# BLOOM POST-PROCESSING OPTIONS
#
bloom_blend_mode          1
bloom_scale               0.25
bloom_overdrive           1.0,1.0,1.0
bloom_lvl0_weight         1.0
bloom_lvl1_weight         0.64
bloom_lvl2_weight         0.32
bloom_lvl3_weight         0.16
bloom_lvl4_weight         0.08
bloom_lvl5_weight         0.04
bloom_lvl6_weight         0.04
bloom_lvl7_weight         0.02
bloom_lvl8_weight         0.02
lut_texture               lut-default.png
lut_enable                0
ui_lut_texture            lut-default.png
ui_lut_enable             0

#
# FULL SCREEN OPTIONS
#
triplebuffer              0
full_screen_brightness    1.00
full_screen_contrast      1.00
full_screen_gamma         1.00

#
# INPUT DEVICE OPTIONS
#
dual_lightgun             0

#
# FRONTEND COMMAND OPTIONS
#
dtd                       1

Emulated system/software

All Sega STV Bios ROMs

Incorrect behaviour

I use the mamepgui GUI interface for all versions of MAME I use as I can put my favorite games in my favorites folder. I used to be able to play STV Bios ROMs on MAME 0.260, without any issues, and then one day they all started crashing. This crashing continues with MAME 0.261 as well. the ROMs/CHDs all match the emulator version. These games still work with my old copy of MAME Plus! 0.168, which I configured to look like a real CRT screen with HLSL shaders, but the later versions of MAME emulate them better and I use BGFX on MAME 0.261 with the Super-XBR-6p chain. Please assist. MAME 0 261 Acess Violation STVBIOS DxDiag.txt

Expected behaviour

It is expected to run these ROMs, without any issue.

Steps to reproduce

1: Start MAME 0.261 via mamepgui. 2: Select any ROM that utilizes STVBios.zip as the BIOS. 3: Double-click on said ROM. 4: Access Violation Crash!

Additional details

No response

Kaede573 commented 9 months ago

https://www.reddit.com/r/MAME/comments/18ksr2m/mame_0260_and_0261_access_violation_on_all_roms/

angelosa commented 9 months ago

Looks installation misconfiguration mostly, cross-posting, can't repro etc., also we do not accept MAME pus bug reports so closing.

NJW1979 commented 9 months ago

I finally fixed the issue by enabling controlled folder access and adding MAME.EXE and MAMEPGUI.EXE as allowed apps. It looks like Windows was blocking the STV BIOS games from accessing protected memory or something along those lines.