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: cant create mame.ini  (Read 13101 times)

0 Members and 1 Guest are viewing this topic.

BlackFox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:March 24, 2010, 11:30:16 am
  • Joystick Junkie
cant create mame.ini
« on: June 24, 2005, 04:14:33 am »
okay i know how to do the -cc command and create an mame.ini file, but ive done this about 20 times and i still have nothing. example: my mame on my desktop is in "D:\Emulators\Mame" so i go into the command line and type "D:\Emulators\Mame\Mame.exe -cc"... it jumps to a blank command line like i would expect after preforming any dos-like command, but i check all my directories and there isnt a mame.ini file ANYWHERE. its driving me nuts because i want to be able to edit the configuration without having to do all of the text commands.
anyone got any ideas as to why this is happening?
"Your Anger Is A Gift" - Zack De La Rocha

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: cant create mame.ini
« Reply #1 on: June 24, 2005, 04:49:25 am »
D:\Emulators\Mame\Mame.exe -cc

That is your problem

You need to change to mame's directory before you run that command

Example

cd D:\Emulators\Mame\
Mame.exe -cc

The problem is that mame doesnt know where to write the .ini file to if you run a command from a different directory
« Last Edit: June 24, 2005, 04:55:07 am by vibez »

BlackFox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:March 24, 2010, 11:30:16 am
  • Joystick Junkie
Re: cant create mame.ini
« Reply #2 on: June 24, 2005, 05:43:59 am »
yeah, i feel somewhat retarted now, because i ran a search and it showed up in D:\Documents and Settings\Administrator.
now i feel like i wasted forum space. lol
"Your Anger Is A Gift" - Zack De La Rocha

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8183
  • Last login:April 12, 2023, 09:22:35 pm
  • The Bears Still Suck!
Re: cant create mame.ini
« Reply #3 on: June 24, 2005, 10:16:45 am »
The problem is that mame doesnt know where to write the .ini file to if you run a command from a different directory
Actually, it should have wrote it in whatever directory it was run from.  But yeah, it wouldn't be in the mame folder if run like that :)

BTW, some older frontends have this problem.  They won't run mame from within the  mame folder so the exe will be looking for stuff based in the executing folder.
« Last Edit: June 24, 2005, 10:18:57 am by SirPoonga »

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: cant create mame.ini
« Reply #4 on: June 24, 2005, 12:56:25 pm »
-createconfig , not -cc.

I'm not sure when this was changed, but -cc hasn't worked on the last few versions.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8183
  • Last login:April 12, 2023, 09:22:35 pm
  • The Bears Still Suck!
Re: cant create mame.ini
« Reply #5 on: June 24, 2005, 04:48:26 pm »
cc and createconfig are the same.  It's always worked for me.

From the sourcecode
/* name, shortname, type, dest, deflt, min, max, func, help */
{ "createconfig", "cc", rc_set_int, &createconfig, NULL, 1, 0, NULL, "create the default configuration file" },

The first argument is the name, the second argument is the shortname.  either work.

another good option to help with problems
{ "verbose", "v", rc_bool, &verbose, "0", 0, 0, NULL, "display additional diagnostic information" },

So you can either use mame -v or mame -verbose.

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: cant create mame.ini
« Reply #6 on: June 25, 2005, 07:16:25 am »
cc and createconfig are the same.  It's always worked for me.

From the sourcecode
/* name, shortname, type, dest, deflt, min, max, func, help */
{ "createconfig", "cc", rc_set_int, &createconfig, NULL, 1, 0, NULL, "create the default configuration file" },

The first argument is the name, the second argument is the shortname.  either work.

another good option to help with problems
{ "verbose", "v", rc_bool, &verbose, "0", 0, 0, NULL, "display additional diagnostic information" },

So you can either use mame -v or mame -verbose.
That's what I thought, but one one of my BuddaMAME's -createconfig worked and -cc didn't, I'm pretty sure.  Wouldn't hurt to try anyway.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.