Author Topic: Mame not save Hiscore in Attract Mode  (Read 5428 times)

nellino

  • Full Member
  • ***
  • Posts: 44
    • View Profile
Mame not save Hiscore in Attract Mode
« on: March 17, 2020, 02:49:25 PM »
Hi boy I'm going crazy with this problem, I wish I could save the score of the Mame games but some games just don't want to know to save the score instead of others save them

the game in question is JOUST that outside of AM saves me the score but when I play by launching from AM the score is not saved

use mame64 0.191 Attract 2.1.1.

I activated the plugin in mame and I unlocked the mame folder from the check only reads but not fix

jungle1074

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Mame not save Hiscore in Attract Mode
« Reply #1 on: March 21, 2020, 06:34:20 AM »
Wish I could help.  I'm having the exact same problem.

I run MAME directly and hi scores save just fine.  I run them through attract mode and they go back to the default hi score.  I can then go run it again directly (skipping AM) and the old high score shows up just fine.

Hopefully someone will have a pointer for us.

boriskarloff

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Mame not save Hiscore in Attract Mode
« Reply #2 on: March 23, 2020, 07:53:35 AM »
Hi
can you check if the file .hi are all saved in your HI folder?

jungle1074

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Mame not save Hiscore in Attract Mode
« Reply #3 on: March 24, 2020, 03:29:30 PM »
Yes.

The .hi files are saved in c:\MAME\HI

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Mame not save Hiscore in Attract Mode
« Reply #4 on: March 24, 2020, 10:51:49 PM »
Post your /attract/emulators/mame.cfg file and your /mame/mame.ini (or /mame/ini/mame.ini).

nellino

  • Full Member
  • ***
  • Posts: 44
    • View Profile
Re: Mame not save Hiscore in Attract Mode
« Reply #5 on: May 02, 2020, 03:13:34 PM »
in addition to not saving the score, it also does not save the changes in the video and the controls of the individual games



#
# CORE CONFIGURATION OPTIONS
#
readconfig                1
writeconfig               0

#
# CORE SEARCH PATH OPTIONS
#
homepath                  .
rompath                   "roms;D:\Mame 0.191\roms"
hashpath                  hash
samplepath                samples
artpath                   artwork
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

#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  0
playback                 
record                   
record_timecode           0
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                     1
speed                     1.0
refreshspeed              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
use_backdrops             1
use_overlays              1
use_bezels                1
use_cpanels               1
use_marquees              1

#
# CORE SCREEN OPTIONS
#
brightness                1.0
contrast                  1.0
gamma                     1.0
pause_brightness          0.65
effect                    none

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

#
# CORE SOUND OPTIONS
#
samplerate                48000
samples                   1
volume                    0

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     MARemapcontrols
mouse                     1
joystick                  1
lightgun                  1
multikeyboard             0
multimouse                1
steadykey                 0
ui_active                 0
offscreen_reload          1
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             keyboard
adstick_device            keyboard
pedal_device              keyboard
dial_device               keyboard
trackball_device          keyboard
lightgun_device           keyboard
positional_device         keyboard
mouse_device              mouse

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

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

#
# CORE MISC OPTIONS
#
drc                       1
drc_use_c                 0
drc_log_uml               0
drc_log_native            0
bios                     
cheat                     0
skip_gameinfo             0
uifont                    default
ui                        cabinet
ramsize                   
confirm_quit              0
ui_mouse                  1
autoboot_command         
autoboot_delay            0
autoboot_script           
console                   0
plugins                   1
plugin                   
noplugin                 
language                  Italian

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

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

#
# OSD PERFORMANCE OPTIONS
#
numprocessors             auto
bench                     0

#
# OSD VIDEO OPTIONS
#
video                     auto
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                    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              auto
bgfx_debug                0
bgfx_screen_chains        default
bgfx_shadow_mask          slot-mask.png
bgfx_avi_name             auto

#
# WINDOWS PERFORMANCE OPTIONS
#
priority                  0
profile                   0

#
# WINDOWS VIDEO OPTIONS
#
menu                      0

#
# 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.25
shadow_mask_texture       shadow-mask.png
shadow_mask_x_count       12
shadow_mask_y_count       6
shadow_mask_usize         0.5
shadow_mask_vsize         0.5
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.50
scanline_size             1.0
scanline_height           1.0
scanline_variation        1.0
scanline_bright_scale     2.0
scanline_bright_offset    0.0
scanline_jitter           0.0
hum_bar_alpha             0.0
defocus                   0.75,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.05,0.00,0.10
grn_ratio                 -0.10,1.00,0.25
blu_ratio                 -0.25,0.25,1.25
saturation                1.25
offset                    -0.30,-0.20,-0.05
scale                     1.15,1.05,0.90
power                     0.90,0.90,1.15
floor                     0.025,0.025,0.025
phosphor_life             0.25,0.25,0.25

#
# 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.25
bloom_overdrive           1.00,1.00,1.00
bloom_lvl0_weight         1.00
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

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

jungle1074

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Mame not save Hiscore in Attract Mode
« Reply #6 on: August 22, 2020, 10:19:49 AM »
Curious if anyone ever figured out how to solve this issue?

Was messing around again and saw this behavior:

If I run from cmdprompt starting from c:\mame directory it works when I type:
C:\MAME>mame64 galaga


If i run from cmdprompt starting from c:\ it doesn't work (get same thing as launching from AM - defaults to 20,000 hi score)
C:\>c:\mame\mame64 -rompath c:\mame\roms galaga

if I don't specify rompath when running from c:\ then I just get errors
C:\>c:\mame\mame64 galaga
gg1_1b.3p NOT FOUND (tried in galaga galaga)
gg1_2b.3m NOT FOUND (tried in galaga galaga) <<lists about 12 missing items>>

Any ideas?
« Last Edit: August 22, 2020, 10:47:17 AM by jungle1074 »

jungle1074

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Mame not save Hiscore in Attract Mode
« Reply #7 on: August 22, 2020, 12:15:31 PM »
SOLVED!

Pretty simple config issue as it turns out.

In the mame emulator config file in Attract Mode I just needed to change my workdir from c:\AttractMode\ to C:\Mame\:

workdir              C:\Mame\

The work directory was wrong, so it couldn't find the right mame.ini and therefore couldn't save hiscores.

Seems to be working now. 



placebo_yue

  • Full Member
  • ***
  • Posts: 57
  • sup
    • View Profile
    • Instagram
Re: Mame not save Hiscore in Attract Mode
« Reply #8 on: August 22, 2020, 04:31:59 PM »
I would suggest not using working directory and using full paths to folders. I used to have issues like these when i first began using AM and doing so fixed everything