- --
Viewing Issue Advanced Details
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
08125 | Interface | Major | Always | Nov 8, 2021, 02:10 | Nov 9, 2021, 20:22 |
Tester | john_iv | View Status | Public | Platform | MAME (Official Binary) |
Assigned To | Resolution | Invalid report | OS | Windows 10/11 (64-bit) | |
Status [?] | Closed | Driver | |||
Version | 0.237 | Fixed in Version | Build | 64-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 08125: armora, dkong: Getting 'generic:13 Permissions denied' error when trying to playback *.inp created via mame.ini | ||||
Description |
Trying to create an INP to play back for a snapshot. INP is created in .\INP successfully. using 'mame.exe armora -playback OneOff.inp' results in error as it attempts to playback. Tried w/ today's trunk and .237. c:\O\Games\MAME>mame dkong -playback oneoff.inp Warning: layout view 'Upright_Artwork' contains deprecated bezel element Warning: layout view 'Upright_Artwork' contains deprecated backdrop element Warning: layout view 'Upright_Artwork_D2K' contains deprecated bezel element Warning: layout view 'Cocktail_Inst' contains deprecated bezel element Warning: layout view 'Hausjam_Artwork' contains deprecated bezel element Warning: layout view 'Upright_Artwork' contains deprecated bezel element Warning: layout view 'Upright_Artwork' contains deprecated backdrop element Warning: layout view 'Upright_Artwork_D2K' contains deprecated bezel element Warning: layout view 'Cocktail_Inst' contains deprecated bezel element Warning: layout view 'Hausjam_Artwork' contains deprecated bezel element Input file: oneoff.inp INP version 3.0 Created Sun Nov 07 17:58:14 2021 Recorded using MAME 0.237 (mame0237-124-g467a11 Fatal error: ioport_manager::record_init: Failed to open file for recording (generic:13 Permission denied) Total playback frames: 0 Average recorded speed: 0% Exiting MAME now... |
||||
Steps To Reproduce |
In my mame.ini I have: Record OneOff.inp This creates a new OneOff.inp for every game that is played, overwriting itself. Play a game. See OneOff.inp in \inp directory. Try to playback the recording *from command-line* not from playback OneOff.inp in mame.ini. mame dkong -playback OneOff.inp Receive error. |
||||
Additional Information |
Done from commandline instead of w/in front-end just in case some multi-session code was keeping the file open. Same thing happens. Note: just tried two separate commands and it worked. mame dkong -record dkong.inp then mame dkong -playback dkong.inp So it doesn't appear to like a static named inp in the mame.ini and trying to play that back(?). |
||||
Github Commit | |||||
Flags | |||||
Regression Version | |||||
Affected Sets / Systems | armora, dkong | ||||
Attached Files
|
MAME.ini (11,442 bytes) Nov 8, 2021, 05:03 Uploaded by john_iv [Show Content] [Hide Content]# # CORE CONFIGURATION OPTIONS # readconfig 1 writeconfig 0 # # CORE SEARCH PATH OPTIONS # homepath . rompath roms;software;d:\CHDs hashpath hash samplepath samples artpath artwork;artwork_handheld;artwork_ingame ctrlrpath ctrlr inipath .;ini;ini/presets fontpath . cheatpath cheat crosshairpath crosshair pluginspath plugins languagepath language 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 default.inp record_timecode 0 exit_after_playback 1 mngwrite aviwrite wavwrite snapname %g%i snapsize 222x167 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 0 lowlatency 0 # # 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.0 contrast 1.0 gamma 1.0 pause_brightness 1.0 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 48000 samples 1 volume 0 compressor 1 speaker_report 0 # # CORE INPUT OPTIONS # coin_lockout 1 ctrlr XBOXONE 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 natural 0 joystick_contradictory 1 coin_impulse 0 # # CORE INPUT AUTOMATIC ENABLE OPTIONS # paddle_device mouse adstick_device mouse pedal_device mouse dial_device mouse 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 0 skip_gameinfo 1 uifont default ui cabinet ramsize confirm_quit 0 ui_mouse 1 language English nvram_save 1 # # SCRIPTING OPTIONS # autoboot_command autoboot_delay 0 autoboot_script console 0 plugins 1 plugin noplugin # # HTTP SERVER OPTIONS # http 0 http_port 8080 http_root web # # OSD KEYBOARD MAPPING OPTIONS # uimodekey SCRLOCK # # OSD FONT OPTIONS # uifontprovider auto # # OSD OUTPUT OPTIONS # output auto # # OSD INPUT OPTIONS # keyboardprovider auto mouseprovider auto lightgunprovider auto joystickprovider winhybrid # # 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 5 # # OpenGL-SPECIFIC OPTIONS # gl_forcepow2texture 0 gl_notexturerect 0 gl_vbo 1 gl_pbo 1 gl_glsl 0 gl_glsl_filter 1 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 auto audio_latency 2 # # PORTAUDIO OPTIONS # pa_api none pa_device none pa_latency 0 # # BGFX POST-PROCESSING OPTIONS # bgfx_path bgfx bgfx_backend d3d11 bgfx_debug 0 bgfx_screen_chains Fighters,Fighters,Fighters:Fighters,Fighters,Fighters bgfx_shadow_mask slot-mask.png bgfx_lut bgfx_avi_name auto # # WINDOWS PERFORMANCE OPTIONS # priority 1 profile 0 # # WINDOWS VIDEO OPTIONS # menu 0 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.0 smooth_border 0.0 reflection 0.0 vignetting 0.0 scanline_alpha 0.0 scanline_size 1.0 scanline_height 1.0 scanline_variation 1.0 scanline_bright_scale 1.0 scanline_bright_offset 0.0 scanline_jitter 0.0 hum_bar_alpha 0.0 defocus 0.0,0.0 converge_x 0.0,0.0,0.0 converge_y 0.0,0.0,0.0 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 1.0 offset 0.0,0.0,0.0 scale 1.0,1.0,1.0 power 1.0,1.0,1.0 floor 0.0,0.0,0.0 phosphor_life 0.0,0.0,0.0 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.57954545 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_beam_smooth 0.0 vector_length_scale 0.5 vector_length_ratio 0.5 # # BLOOM POST-PROCESSING OPTIONS # bloom_blend_mode 0 bloom_scale 0.0 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.06 bloom_lvl6_weight 0.04 bloom_lvl7_weight 0.02 bloom_lvl8_weight 0.01 lut_texture lut_enable 0 ui_lut_texture ui_lut_enable 0 # # FULL SCREEN OPTIONS # triplebuffer 0 full_screen_brightness 1.0 full_screen_contrast 1.0 full_screen_gamma 1.0 # # INPUT DEVICE OPTIONS # global_inputs 0 dual_lightgun 0 # # FRONTEND COMMAND OPTIONS # dtd 1 | ||||
Relationships
There are no relationship linked to this issue. |
Notes
7
No.19424
Tafoid Administrator
Nov 8, 2021, 04:49
|
For the record, I cannot trigger it using current Git or release 0.237 binary and command-line with a simple -record (filename) and -playback (filename). I run a minimal ini only change essential paths and directories. Added the "record dkongini.inp" then launched "mame dkong" and it recorded without error. Added "playback dkongini.inp" then launched "mame dkong" and it played back without issue. Seems to work for me. What is the "input_directory" setting in your .ini. By default it should show "inp" What does a -showconfig output show for it when you try to load? Could case be an issue.. either in the command in the .ini or the filename you are trying to record/playback? Maybe others have ideas. |
---|---|
No.19425
john_iv Senior Tester
Nov 8, 2021, 04:54
|
1. inp directory in mame.ini is default 'inp' 2. To duplicate my steps you need the "record blah.inp" in mame.ini but not the playback. 3. Play your game. 4. Try to playback the inp from *command line*, do not add "playback blah.inp" to mame.ini. Use 'mame.exe game -playback blah.inp'. 5. Cases are accounted for. |
No.19426
john_iv Senior Tester
Nov 8, 2021, 05:02
|
Hmm, I can get it to work if I nix the rest of mame.ini with -norc Record the game to blah.inp with it being created by the mame.ini. Then on commandline use 'mame dkong -playback blah.inp -norc'. So somebody's unhappy w/ the mame.ini. |
No.19427
john_iv Senior Tester
Nov 8, 2021, 05:11
edited on: Nov 8, 2021, 05:21 |
Ok Tafoid, I figured it out. Apparently you can't have record blah.inp in mame.ini and then run 'mame dkong -playback blah.inp' because the -showconfig shows that that blah.inp is trying to be used *at the same time* by both options, hence the file permissions lock. :( playback default.inp record default.inp I like the idea of generating an INP automatically for ever game played, but will have to be careful on playback apparently. Looks like I just have to add a null.inp to the record command line argument, like 'mame dkong -playback blah.inp -record null.inp'. That way two inps aren't trying to be used at the same time. |
No.19437
Tafoid Administrator
Nov 8, 2021, 14:32
|
That would likely be expected, I think, if both are filled in MAME doesn't know (or care) which one to use so it tries both with same filename. I'll leave to others to see if anything needs to be done here. |
No.19445
cuavas Administrator
Nov 9, 2021, 20:20
|
Being able to play back and record at the same time is necessary for people creating TAS videos in multiple sessions among other use cases. It's correctly getting a sharing violation when it tries to open the file twice. |
No.19446
cuavas Administrator
Nov 9, 2021, 20:22
|
Playing and recording to the same file is not supported. |