Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: mame.ini resetting?  (Read 2916 times)

0 Members and 1 Guest are viewing this topic.

rob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:February 20, 2004, 11:05:45 pm
    • My MAME Project
mame.ini resetting?
« on: February 26, 2004, 01:38:23 am »
Alrighty, here we go.... next problem I can't figure out after hours researching and reaching dead ends:

Everytime I launch a ROM, my mame.ini file resets to it's default values.  So, I make the changes, launch a ROM, and after I escape out, the mame.ini is back to it's default values and all the changes I made are gone.

I then re-installed all of MAME again, and it's still doing it.

Anyone have any ideas?  It's probly something obvious I'm missing.

Thanks in advance.

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re:mame.ini resetting?
« Reply #1 on: February 26, 2004, 04:18:40 am »
So what your saying is you manually edit mame.ini in notepad or something like that.  Save it.  Run eg mame block, then escape and it returns to default settings?

Mame shouldn't be able to modify what's in mame.ini.  I just tried it then by changing from
window                  0
hwstretch               1
to
window                  1
hwstretch               0
Saved it and ran      mame block
worked fine.

rob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:February 20, 2004, 11:05:45 pm
    • My MAME Project
Re:mame.ini resetting?
« Reply #2 on: February 26, 2004, 04:35:23 am »
Yeah, that's what's happening.

OK, so if MAME can't edit it, then something weird is happening then.

Yeah, I'm saving it, but something keeps changing it back to default, like I just installed it.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:mame.ini resetting?
« Reply #3 on: February 26, 2004, 05:14:04 am »
Mame shouldn't be able to modify what's in mame.ini.
How very wrong that statement is.  Mame can change the values in that, where do you think that ini file came from in the first place.

Why mame is overwriting witht he defaults, I have no clue though.  It shouldn;t be.

Is the exe "mame.exe" or is it a different exe like "mamepp.exe"?

rob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:February 20, 2004, 11:05:45 pm
    • My MAME Project
Re:mame.ini resetting?
« Reply #4 on: February 26, 2004, 05:40:05 am »
It's mame.exe

I've been doing a lot of testing, and I'm now 100% positive that SOMETHING is rewriting mame.ini to it's original values everytime I run a ROM.


Mr. Dude

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 477
  • Last login:March 03, 2019, 05:12:50 am
  • Hi...
Re:mame.ini resetting?
« Reply #5 on: February 26, 2004, 10:39:31 am »
I would say check to see if your .INI file is set to "read only" but if that were the case it wouldn't let you save to it. ???

screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
Re:mame.ini resetting?
« Reply #6 on: February 26, 2004, 11:26:02 am »
It's mame.exe
I've been doing a lot of testing, and I'm now 100% positive that SOMETHING is rewriting mame.ini to it's original values everytime I run a ROM.

  This might be kind of a silly suggestion, but make sure you're not running mame.exe with a -cc or -createconfig command-line parameter.

/Steve

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 09:00:39 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:mame.ini resetting?
« Reply #7 on: February 26, 2004, 03:04:25 pm »
Are you running a front end that edits the mame.ini?  None of the ones aroudn here do it, but more windowsie one's like emu loader probably do.

rob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:February 20, 2004, 11:05:45 pm
    • My MAME Project
Re:mame.ini resetting?
« Reply #8 on: February 27, 2004, 12:06:19 am »
Are you running a front end that edits the mame.ini?  None of the ones aroudn here do it, but more windowsie one's like emu loader probably do.

Monst definately, I am sir....  
Just figured out that mamemenu holds all those values in itself and rewrites the mame.ini file everytime it executes a ROM.

Thanks for everyone's help!

Mystery solved..... and it would have gotten away with it too if it wasn't for you pesky MAMERS!

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 09:00:39 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:mame.ini resetting?
« Reply #9 on: February 27, 2004, 04:47:48 am »
And see there's your problem right there, never run a fe that isn't byoac tested and approved.  It's like wearing a condom with a hole in it. ;)