Author Topic: AttractMode won't read my mame.ini file?  (Read 588 times)

amonkeynameddonkey

  • Newbie
  • *
  • Posts: 3
    • View Profile
AttractMode won't read my mame.ini file?
« on: June 11, 2025, 05:16:24 PM »
I use MAME 0.78 command prompt flavor, but now I have started a dedicated arcade cabinet build. Attract mode rules for this purpose, hands down nevato theme is slick. I have done everything and even added all my art for marquees and snaps etc. Everything works great, my buttons are setup (mapped to keys by encoder and joy to key), lots of fun has been had already. But the only way I know how to make my MAME talk to a mouse is to adjust the MAME.ini file to reflect "Mouse    1" instead of "0" then you can use it as an input and map it to lightgun crosshair, steer with it and so on. Here's the kicker, it won't recognize my mouse through attract mode and my mame.ini file is set to "mouse    1". BUT when I run a cmd prompt window and tell mame to -cc or -showconfig it spits out this:

###  mame running parameters ###

### Frontend Related ###
clones                  1

### Windows path and directory options ###
rompath                 roms
samplepath              samples
# inipath               <NULL> (not set)
cfg_directory           cfg
nvram_directory         nvram
memcard_directory       memcard
input_directory         inp
hiscore_directory       hi
state_directory         sta
artwork_directory       artwork
snapshot_directory      snap
diff_directory          diff
ctrlr_directory         ctrlr
cheat_file              cheat.dat
history_file            history.dat
mameinfo_file           mameinfo.dat

### Windows video options ###
autoframeskip           1
frameskip               0
waitvsync               0
triplebuffer            0
window                  0
ddraw                   1
direct3d                0
hwstretch               1
cleanstretch            auto
resolution              auto
zoom                    2
refresh                 0
scanlines               0
switchres               1
switchbpp               1
maximize                1
keepaspect              1
matchrefresh            0
syncrefresh             0
throttle                1
full_screen_brightness   0.000000
frames_to_run           0
effect                  none
screen_aspect           4:3
sleep                   1
rdtsc                   0
high_priority           0

### Windows Direct3D 2D video options ###
d3dtexmanage            1
d3dfilter               1
d3dfeedback             0
d3dscan                 100
d3deffectrotate         1
d3dprescale             auto
d3deffect               none
# d3dcustom             <NULL> (not set)
# d3dexpert             <NULL> (not set)

### Windows sound options ###
audio_latency           1

### Input device options ###
mouse                   0
joystick                0
lightgun                0
dual_lightgun           0
offscreen_reload        0
steadykey               0
keyboard_leds           1
a2d_deadzone            0.300000
# ctrlr                 <NULL> (not set)

### Mame CORE video options ###
norotate                0
ror                     0
rol                     0
autoror                 0
autorol                 0
flipx                   0
flipy                   0
debug_resolution        auto
gamma                   1.000000
brightness              1.000000
pause_brightness        0.650000

### Mame CORE vector game options ###
antialias               1
translucency            1
beam                    1.000000
flicker                 0.000000
intensity               1.500000

### Mame CORE sound options ###
samplerate              44100
samples                 1
resamplefilter          1
sound                   1
volume                  0

### Mame CORE misc options ###
artwork                 1
use_backdrops           1
use_overlays            1
use_bezels              1
artwork_crop            0
artwork_resolution      0
cheat                   0
debug                   0
# playback              <NULL> (not set)
# record                <NULL> (not set)
log                     0
maxlogsize              10000
oslog                   0
skip_disclaimer         0
skip_gameinfo           0
crconly                 0
bios                    default

### Configuration options ###
readconfig              1
verbose                 0


So... this means that attract mode is sending a cmd prompt to mame that tells it settings from a NEW ini file or something. What do?
Where in attract mode is the config for mame cmds? I can even delete my old mame.ini and it runs with this new mouse   0 ini setting. Attract mode is awesome, but it's making me feel like a noob because I can't adjust the mame.ini to make it work and it won't read the mame.ini I have.