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: Question about older Mame ini files  (Read 1623 times)

0 Members and 1 Guest are viewing this topic.

Thurman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:March 12, 2018, 09:15:33 pm
  • The suspense is terrible . . . I hope it'll last.
Question about older Mame ini files
« on: March 08, 2005, 10:22:54 am »
I'm running Mame v0.55 and I haven't found any way to set up an ini folder to store game-specific ini files.  If I put the game-specific ini files in the root directory, it finds them just fine.  But I haven't found anywhere in the mame.ini to set these in an ini folder.  Maybe this wasn't a feature back then?  I'll post my mame55.ini file at the bottom of this message.

Also, how do I get Mamewah to recognize these game-specific ini files?  They run just fine when I launch from the command line but not when I launch from Mamewah.  I'm assuming that there's a setting in the emu-name.ini file that I'm missing?



### mame55.ini ###

### Frontend Related ###
clones                  1

### Windows path and directory options ###
rompath                 roms
samplepath              samples
cfg_directory           cfg
nvram_directory         nvram
memcard_directory       memcard
input_directory         inp
hiscore_directory       hi
state_directory         sta
artwork_directory       artwork
snapshot_directory      snap
cheat_file              cheat.dat
history_file            history.dat
mameinfo_file           mameinfo.dat

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

### Input device options ###
hotrod                  0
hotrodse                0
mouse                   0
joystick                0
steadykey               0

### Mame CORE video options ###
bpp                     0
norotate                0
ror                     0
rol                     0
flipx                   0
flipy                   0
debug_resolution        auto
gamma                   1.000000

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

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

### Mame CORE misc options ###
artwork                 1
cheat                   0
debug                   0
# playback              <NULL> (not set)
# record                <NULL> (not set)
log                     0

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



Thurman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:March 12, 2018, 09:15:33 pm
  • The suspense is terrible . . . I hope it'll last.
Re: Question about older Mame ini files
« Reply #1 on: March 09, 2005, 12:22:30 pm »
I've been searching all over the place and still no answers.  Can you put game-specific ini files in their own folder in older versions of Mame?  And how do you get Mamewah to recognize these game-specific ini files?  Thanks for any help that anyone can offer on this!

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Yesterday at 11:04:07 pm
  • The Bears Still Suck!
Re: Question about older Mame ini files
« Reply #2 on: March 09, 2005, 01:21:39 pm »
There are two types of ini files so to speak.

There are the ones you put in the root directory.  They contain any options you can put in the mame.ini file.  This allows you to setup mame specificalyl for that game.  Say you want pacman always rotated.  You could put ror 1 in a pacman.ini file.

there there are/were controler and cgf ini files.  The cfg file is created by mame in the cfg folder.  The ctrlr file you create using ini file format so you can spefic key mappings for specific games.

Are you launching mamewah from a different folder than your mame folder?  You will have to ask minwah about that.  It sounds like the executable isn't being run from it's root directory.  If you have mamewah and mamewah is running mame while mamewah's directory is the active directory, mame will look there for the ini files.  I thought mamewah addressed this long ago.  So it could be something else.

Thurman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:March 12, 2018, 09:15:33 pm
  • The suspense is terrible . . . I hope it'll last.
Re: Question about older Mame ini files
« Reply #3 on: March 09, 2005, 02:34:56 pm »
There are the ones you put in the root directory.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Question about older Mame ini files
« Reply #4 on: March 10, 2005, 01:50:16 am »
There are the ones you put in the root directory.

I thought that in the newer versions of mame, you could actually save your game-specific ini files (like pacman.ini) into a separate ini folder.

Yes, at some point mame added the -inipath option, which allows the game specific ini's be in a different path.  I searched the mame.net whatsnew page, however, and didn't find anything on when it was added.  All I know is 0.55 doesn't have it, but 0.70 does; I don't have the versions in between set up to test.
Robin
Knowledge is Power

Thurman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:March 12, 2018, 09:15:33 pm
  • The suspense is terrible . . . I hope it'll last.
Re: Question about older Mame ini files
« Reply #5 on: March 21, 2005, 11:53:44 am »
I finally found the solution to Mamewah launching with game-specific ini files so I figured I would post the info just in case someone else runs into this problem....

Basically Mamewah doesn't recognized ini files, but can recognize cfg files.  So set the "game_specific_config_path" to the folder that you'll be saving these config files.  These config files will contain the entire commandline that you want to use for that specific game (not just Sound 0 like it's stored in an ini file).  And the name of the file must be (name).cfg (example ghouls.cfg).  Not ghouls.ini or anything else.  With the documentation for Mamewah being a little light, and the game_specific_config_path being a new feature, it took quite a few tries to get this right.  Just figured I would pass it along for anyone else in need.